Re: [PATCH 03/13] [RFC] ipath copy routines

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

 



Robert Walsh <[email protected]> wrote:
>
> > > +	movl %edx,%ecx
> > > +	shrl $1,%ecx
> > > +	andl $1,%edx	
> > > +	cld
> > > +	rep 
> > > +	movsq 
> > > +	movl %edx,%ecx
> > > +	rep
> > > +	movsd
> > > +	ret
> > 
> > err, we have a portability problem.
> 
> Any chance we could get these moved into the x86_64 arch directory,
> then?

That would make sense.  Give it a non-ipath-related name and require that
all architectures which wish to run this driver must implement that
(documented) function.

And, in Kconfig, make sure that architectures which don't implement that
library function do not attempt to build this driver.  To avoid breaking
`make allmodconfig'.

>  We have to do double-word copies, or our chip gets unhappy.

In what form is this chip available?  As a standard PCI/PCIX card which
people will want to plug into power4/ia64/x86 machines?  Or is it in some
way exclusively tied to x86_64?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux