This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Provide a stub ioperm implementation for ARMv5 and later
- From: Phil Blundell <pb at pbcl dot net>
- To: Arnd Bergmann <arnd at arndb dot de>
- Cc: libc-alpha at sourceware dot org, Aurelien Jarno <aurelien at aurel32 dot net>
- Date: Sat, 12 Dec 2015 22:40:52 +0000
- Subject: Re: [PATCH] Provide a stub ioperm implementation for ARMv5 and later
- Authentication-results: sourceware.org; auth=none
- References: <1449946774-18072-1-git-send-email-aurelien at aurel32 dot net> <1449951987 dot 2002 dot 52 dot camel at pbcl dot net> <2587887 dot mhfL9i7uo3 at wuerfel>
On Sat, 2015-12-12 at 21:57 +0100, Arnd Bergmann wrote:
> No other machines call register_isa_ports(), and I would very much
> expect this to stay that way, so we could still disable the code for
> ARMv7.
I agree that it seems very unlikely anybody will be using these
functions on ARMv7. But, if we remove the legacy /proc/cpuinfo-based
stuff (which is certainly obsolete) as I suggested to Aurelien earlier,
the remaining cost of this code will be only a couple of hundred bytes
of binary size. At that point I think the potential benefit from
eliminating it on ARMv7 will be so small that isn't worth taking any
risk at all to do so, and we should just leave it alone.
Obviously we should refrain from adding these functions to aarch64 :-)
p.