lkml.org 
[lkml]   [2014]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] generic CPU feature based udev module autoprobing
Date
This series implements a generic way to wire up udev module autoprobing to
optional CPU features.

Patch #1 implements the actual generic part. It relies on the include file
<asm/cpufeature.h> to be supplied by the architecture to map CPU features to
the number based scheme used by modalias.

Patch #2 aligns x86 with the generic code. As x86 allows matching on CPU vendor,
family and model IDs, it still retains much of the original code for creating
the module metadata.

Changes since v1:
- squashed into 2 patches, all the generic bits are now added in patch #1 and
all alignment of the x86 code with the newly introduced generic code is done
in patch #2
- add more elaborate commit message for patch #1
- added hpa's ack on patch #2

Ard Biesheuvel (2):
cpu: add generic support for CPU feature based module autoloading
x86: align x86 arch with generic CPU modalias handling

arch/x86/Kconfig | 4 +--
arch/x86/include/asm/cpufeature.h | 7 +++++
arch/x86/kernel/cpu/match.c | 42 ---------------------------
drivers/base/Kconfig | 3 ++
drivers/base/cpu.c | 46 ++++++++++++++++++++++++++----
include/linux/cpu.h | 7 -----
include/linux/cpufeature.h | 60 +++++++++++++++++++++++++++++++++++++++
include/linux/mod_devicetable.h | 9 ++++++
scripts/mod/devicetable-offsets.c | 3 ++
scripts/mod/file2alias.c | 20 +++++++++----
10 files changed, 139 insertions(+), 62 deletions(-)
create mode 100644 include/linux/cpufeature.h

--
1.8.3.2



\
 
 \ /
  Last update: 2014-02-08 14:01    [W:0.063 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site