Re: [RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Ard Biesheuvel
On 7 November 2013 20:33, Dave Martin wrote: > On Thu, Nov 07, 2013 at 06:17:35PM +0100, Ard Biesheuvel wrote: >> This patch implements a generic modalias 'cpu:feature:...' which >> enables CPU feature flag based module loading in a generic way. >> All the arch needs to do is enable CONFIG_ARCH_HA

Re: [RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Ard Biesheuvel
> On 7 nov. 2013, at 20:33, Dave Martin wrote: > >> On Thu, Nov 07, 2013 at 06:17:35PM +0100, Ard Biesheuvel wrote: >> This patch implements a generic modalias 'cpu:feature:...' which >> enables CPU feature flag based module loading in a generic way. >> All the arch needs to do is enable CONFIG_A

Re: [RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Dave Martin
On Thu, Nov 07, 2013 at 06:17:35PM +0100, Ard Biesheuvel wrote: > This patch implements a generic modalias 'cpu:feature:...' which > enables CPU feature flag based module loading in a generic way. > All the arch needs to do is enable CONFIG_ARCH_HAS_CPU_AUTOPROBE > and export a u32 called 'cpu_feat

[RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Ard Biesheuvel
This patch implements a generic modalias 'cpu:feature:...' which enables CPU feature flag based module loading in a generic way. All the arch needs to do is enable CONFIG_ARCH_HAS_CPU_AUTOPROBE and export a u32 called 'cpu_features'. (What each bit actually means is irrelevant on this level.) Sign