coreboot-kgpe-d16/src/include
Patrick Rudolph fc5b80943b arch/x86/smbios: Add type 7
The SMBIOS spec requires type 7 to be present.

Add the type 7 fields and enums for SMBIOS 3.1+ and fill it with the
"Deterministic Cache Parameters" as available on Intel and AMD.

As CPUID only provides partial information on caches, some fields are set to
unknown.
The following fields are supported:
* Cache Level
* Cache Size
* Cache Type
* Cache Ways of Associativity

Tested on Intel Sandy Bridge (Lenovo T520).
All 4 caches are displayed in dmidecode and show the correct information.

Change-Id: I80ed25b8f2c7b425136b2f0c755324a8f5d1636d
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32131
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
2019-04-09 17:22:24 +00:00
..
boot
console console/qemu_debugcon: Support additional stages 2019-03-23 07:05:28 +00:00
cpu include/cpu/x86/pae.h: Add missing include 2019-03-18 09:17:19 +00:00
device device/pci: Rewrite PCI MMCONF with symbol reference 2019-04-07 02:31:36 +00:00
efi include/efi/efi_datatype: Convert EFI datatypes as per coreboot specification 2019-03-09 04:25:31 +00:00
pc80 coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
smp coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
superio
sys
adainit.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
assert.h assert: Make dead_code() work at link-time instead of compile-time 2019-04-01 07:57:00 +00:00
b64_decode.h
base3.h
bcd.h
boardid.h
boot_device.h lib/boot_device: Add API for write protect a region 2019-01-21 13:25:46 +00:00
bootblock_common.h bootblock: Move function prototype 2018-12-30 11:32:08 +00:00
bootmem.h bootmem: add new memory type for BL31 2019-02-05 13:41:45 +00:00
bootmode.h vboot: deprecate physical dev switch 2019-03-27 06:13:27 +00:00
bootstate.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
cbfs.h
cbmem.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
cper.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
delay.h
device_tree.h
dimm_info_util.h
edid.h
elog.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
endian.h
fallback.h
fit.h
fit_payload.h
fmap.h
gic.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gpio.h
halt.h Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
imd.h
inttypes.h
ip_checksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
lib.h Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
list.h
main_decl.h
memlayout.h vboot: standardize on working data size 2019-03-21 16:24:03 +00:00
memory_info.h SMBIOS: Remove duplicated smbios_memory_type enum 2018-11-16 15:48:04 +00:00
memrange.h
mrc_cache.h
nhlt.h lib/hardwaremain: Fix more ACPI/IOAPIC typos 2019-01-31 04:34:53 +00:00
option.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
program_loading.h selfload: check target memory type in selfload_check 2019-01-30 11:04:49 +00:00
random.h
reg_script.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
region_file.h
reset.h reset: Finalize move to new API 2018-10-31 15:29:42 +00:00
rmodule.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
romstage_handoff.h
rtc.h
rules.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
sar.h vendorcode/google: support multiple SAR filenames 2018-12-17 14:26:10 +00:00
sdram_mode.h
smbios.h arch/x86/smbios: Add type 7 2019-04-09 17:22:24 +00:00
smmstore.h smmstore: make smmstore's SMM handler code follow everything else 2018-12-05 13:31:22 +00:00
spd.h
spd_bin.h
spd_ddr2.h
spi-generic.h drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
spi_bitbang.h
spi_flash.h drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
stage_cache.h
stddef.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
stdlib.h src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
string.h string: move strdup() & strconcat() to lib/string.c 2019-01-30 11:05:20 +00:00
swab.h src: Add missing include <stdint.h> 2018-11-01 11:25:07 +00:00
symbols.h Replace remaining IS_ENABLED(CONFIG_*) with CONFIG() 2019-04-08 18:50:10 +00:00
thread.h src: Fix remaining #include <timer.h> 2019-04-09 17:20:35 +00:00
timer.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
timestamp.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
trace.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
types.h
uuid.h
vbe.h Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
version.h ACPI: Correct asl_compiler_revision value 2019-02-21 19:07:31 +00:00
watchdog.h coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
wrdd.h