[parisc-linux] alternate insn for parisc (ccio/sba)
Kyle McMartin
kyle at mcmartin.ca
Fri Mar 3 17:35:31 MST 2006
On Fri, Mar 03, 2006 at 05:38:02PM -0700, Grant Grundler wrote:
> Anyplace we use asm that could be different for PA20 vs PA11.
> __ffs() in include/asm/bitops.h probaby isn't the best example
> but it might be good enough to give an idea.
> Ie kernel built for PA11 could be optimized for PA20-32bit.
>
*nod*
> hrm...are kernel modules loaded into write protected space as well?
> If so, then we can't apply this to kernel modules...would kinda limit
> how it could be used. E.g. we couldn't get rid of dma_ops indirect
> calls.
>
Unfortunately, this can't directly be applied to modules. It could
though, be extended by exporting the code, and hacking it into the module
loader, I imagine.
> > - /* FIXME: PCX_W platforms don't need FDC/SYNC. (eg C360)
> > - ** PCX-U/U+ do. (eg C200/C240)
> > - ** PCX-T'? Don't know. (eg C110 or similar K-class)
> > - **
> > - ** See PDC_MODEL/option 0/SW_CAP word for "Non-coherent IO-PDIR bit".
>
> I'd like to save the comments that specify which CPU/platforms need
> certain ops. We need these comments to document which platforms/CPUs
> needs to be tested if something related changes.
> Can you add leave them someplace in ccio/sba code?
>
Will do.
> Can we put instruction patching declarations in a new header file?
> system.h is way overloaded already.
>
Yeah, touching system.h sucks too, as it causes basically everything
to be rebuilt.
> very cool! ++kyle. :)
>
Thanks,
Kyle
More information about the parisc-linux
mailing list