lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1391862850-24620-1-git-send-email-ard.biesheuvel@linaro.org>
Date:	Sat,  8 Feb 2014 13:34:08 +0100
From:	Ard Biesheuvel <ard.biesheuvel@...aro.org>
To:	linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
	akpm@...ux-foundation.org, linux-arch@...r.kernel.org
Cc:	torvalds@...ux-foundation.org,
	Ard Biesheuvel <ard.biesheuvel@...aro.org>
Subject: [PATCH v2 0/2] generic CPU feature based udev module autoprobing

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ