| To: | tsbogend@alpha.franken.de |
|---|---|
| Subject: | Re: [PATCH] IP28: added cache barrier to assembly routines |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Wed, 28 Nov 2007 23:41:42 +0900 (JST) |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org |
| In-reply-to: | <20071126223955.9BAAAC2B26@solo.franken.de> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20071126223955.9BAAAC2B26@solo.franken.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Sun, 25 Nov 2007 11:47:56 +0100, Thomas Bogendoerfer <tsbogend@alpha.franken.de> wrote: > IP28 needs special treatment to avoid speculative accesses. gcc > takes care for .c code, but for assembly code we need to do it > manually. > > This is taken from Peter Fuersts IP28 patches. > > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> > --- > arch/mips/lib/memcpy.S | 10 ++++++++++ > arch/mips/lib/memset.S | 5 +++++ > arch/mips/lib/strncpy_user.S | 1 + > include/asm-mips/asm.h | 8 ++++++++ > 4 files changed, 24 insertions(+), 0 deletions(-) I do not know details of this patch at all, but in general, memcpy-inatomic.S and csum_pertial.S are candidates if you changed memcpy.S. --- Atsushi Nemoto |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] IP28 support, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] IP28: added cache barrier to assembly routines, Ralf Baechle |
| Previous by Thread: | Re: [PATCH] IP28: added cache barrier to assembly routines, Ralf Baechle |
| Next by Thread: | Re: [PATCH] IP28: added cache barrier to assembly routines, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |