Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222273

Re: [RFC PATCH 01/10] arm64: feature registers: Documentation

From Dave Martin <Dave.Martin@arm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 01/10] arm64: feature registers: Documentation
Date 2015-09-10 18:00 +0200
Message-ID <q7cqu-5Zm-23@gated-at.bofh.it> (permalink)
References (2 earlier) <pVXO9-2OQ-1@gated-at.bofh.it> <pVZdf-4Jg-1@gated-at.bofh.it> <pVZmW-4Uw-15@gated-at.bofh.it> <pWiIV-7IE-9@gated-at.bofh.it> <pWjOG-Ph-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 11, 2015 at 04:37:46PM +0100, Suzuki K. Poulose wrote:
> On 11/08/15 15:23, Catalin Marinas wrote:
> >On Mon, Aug 10, 2015 at 07:48:48PM +0200, Ard Biesheuvel wrote:
> >>>On 10/08/15 17:06, Catalin Marinas wrote:
> >>>>And to debunk some of the counter arguments:
> >>>>
> >>>>a) Running out of HWCAP bits - I really doubt this, we can always
> >>>>     introduce 64 more via a new elf_hwcapX
> >>
> >>Note that ELF_HWCAP is also wired into ifunc resolution of GNU
> >>indirect functions, which looks like a useful feature although it
> >>isn't used that widely yet.
> >
> >I forgot to mention, we also need an HWCAP_CPUID with these patches when
> >we expose the MRS interface. The ifunc resolver could use MRS when
> >available. But I would still keep adding HWCAP bits for new features,
> >even if we risk running out of the 64-bit we have now.
> >
> 
> Sure, I will add the HWCAP_CPUID in the next version of the series.

+1

Playing with this, I realise that I get a splat if my userspace code
tries to do an MRS for an ID register when this series is absent -- we
need an hwcap that we can check first.

Cheers
---Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH 01/10] arm64: feature registers: Documentation Dave Martin <Dave.Martin@arm.com> - 2015-09-10 18:00 +0200

csiph-web