Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

Russell King
2007-10-29T15:51:19Z

On Mon, Oct 29, 2007 at 11:21:52AM -0400, Kyle McMartin wrote:
> On Mon, Oct 29, 2007 at 08:10:10AM +0000, Russell King wrote:
> > May I suggest trying:
> >
> > $ grep RESOURCES_64BIT=y arch/*/configs/* arch/*/defconfig
> >
> > to locate those architectures which use this?
> >
> > FYI, that grep says ARM, ia64, mips, parisc, powerpc, PPC, s390, sparc64,
> > and x86 use this feature.
> >
>
> It would be nice if the people who actually needed it would have
> select-ed it. That's how I built the list.
>
> Most of the other examples you listed are obviously 64bit... there should be
> more occurances, but I guess they've (alpha, for instance) not updated
> their defconfig in a dogs age.
>
> Anyway, sorry I didn't notice ARM. I'll add it to the list on the next
> round.
>
> Regards,
> Kyle
> (but seriously, this should be select-ed, not just set in a defconfig
> somewhere...)

No. On ARM it depends on the configuration. It's not an architectural
thing. For example, someone might decide to stuff a PCI bus with 64 bit
addressing onto an ARM CPU. Anyone without that definitely does not want
64 bit resources.

Some ARM systems with PCI busses, the PCI is added via means of an
external chip. You can't predict whether any particular SoC will have
a PCI bus, or whether it'll be 32-bit or 64-bit.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/