coreboot/src
Felix Held 6a6ac1e0b9 arch/x86/cpu: introduce and use device_match_mask
Instead of always doing exact matches between the CPUID read in
identify_cpu and the device entries of the CPU device ID table,
offer the possibility to use a bit mask in the CPUID matching. This
allows covering all steppings of a CPU family/model with one entry and
avoids that case of a missing new stepping causing the CPUs not being
properly initialized.

Some of the CPU device ID tables can now be deduplicated using the
CPUID_ALL_STEPPINGS_MASK define, but that's outside of the scope of this
patch.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0540b514ca42591c0d3468307a82b5612585f614
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72847
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2023-02-08 15:07:45 +00:00
..
acpi acpi/acpigen.c: Add a comment to deprecate acpigen_write_processor() 2023-02-07 11:47:50 +00:00
arch arch/x86/cpu: introduce and use device_match_mask 2023-02-08 15:07:45 +00:00
commonlib bsd/cb_err: Add error code for UEFI variable store 2023-02-07 12:57:36 +00:00
console console: Print architecture 2023-01-31 15:26:16 +00:00
cpu arch/x86/cpu: introduce and use device_match_mask 2023-02-08 15:07:45 +00:00
device device/pci_device.c: Add way to limit max bus numbers 2023-02-06 00:22:46 +00:00
drivers src: Move POST_BOOTBLOCK_CAR to common postcodes and use it 2023-02-07 10:53:34 +00:00
ec ec/google/wilco/acpi: Add DPTF RCDP() method 2023-02-01 14:59:44 +00:00
include acpi/acpigen.h: Fix EVENT_OP value 2023-02-08 02:51:47 +00:00
lib treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
mainboard mb/amd/mayan: update EC FW offset in spirom 2023-02-08 13:46:40 +00:00
northbridge mb/*: Replace SNB PCI devices with references from chipset.cb 2023-02-04 01:42:39 +00:00
sbom src/sbom: Add code documentation + fix misspelling 2023-01-31 15:20:51 +00:00
security security/vboot: Don't build with flashrom support 2023-02-05 01:11:21 +00:00
soc arch/x86/cpu: introduce and use device_match_mask 2023-02-08 15:07:45 +00:00
southbridge tree: Drop repeated words 2023-02-07 04:37:31 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode tree: Drop repeated words 2023-02-07 04:37:31 +00:00
Kconfig tree: Drop repeated words 2023-02-07 04:37:31 +00:00