Re: [PATCH] IP28: added cache barrier to assembly routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 28, 2007 at 11:41:42PM +0900, Atsushi Nemoto wrote:

> On Sun, 25 Nov 2007 11:47:56 +0100, Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>
> > ---
> >  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.

tlbex.c may also need modifications.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux