Lukas Wunner
319a166bdb
efi/cper: Fix endianness of PCIe class code
[ Upstream commit 6fb9367a15d1a126d222d738b2702c7958594a5f ]
The CPER parser assumes that the class code is big endian, but at least
on this edk2-derived Intel Purley platform it's little endian:
efi: EFI v2.50 by EDK II BIOS ID:PLYDCRB1.86B.0119.R05.1701181843
DMI: Intel Corporation PURLEY/PURLEY, BIOS PLYDCRB1.86B.0119.R05.1701181843 01/18/2017
{1}[Hardware Error]: device_id: 0000:5d:00.0
{1}[Hardware Error]: slot: 0
{1}[Hardware Error]: secondary_bus: 0x5e
{1}[Hardware Error]: vendor_id: 0x8086, device_id: 0x2030
{1}[Hardware Error]: class_code: 000406
^^^^^^ (should be 060400)
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Dave Young <dyoung@redhat.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: Jerry Snitselaar <jsnitsel@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Matthew Garrett <mjg59@google.com>
Cc: Octavian Purdila <octavian.purdila@intel.com>
Cc: Peter Jones <pjones@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Scott Talbert <swt@techie.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Cc: linux-integrity@vger.kernel.org
Link: https://lkml.kernel.org/r/20191002165904.8819-2-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2019-11-06 12:18:09 +01:00 |
| .. |
|
broadcom
|
tree-wide: replace config_enabled() with IS_ENABLED()
|
2016-08-04 08:50:07 -04:00 |
|
efi
|
efi/cper: Fix endianness of PCIe class code
|
2019-11-06 12:18:09 +01:00 |
|
google
|
firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy"
|
2016-09-09 16:08:45 +01:00 |
|
meson
|
firmware: Amlogic: Add secure monitor driver
|
2016-09-01 14:23:39 -07:00 |
|
arm_scpi.c
|
firmware: arm_scpi: add missing of_node_put after calling of_parse_phandle
|
2016-08-08 14:31:09 +01:00 |
|
dcdbas.c
|
dcdbas: Make use of smp_call_on_cpu()
|
2016-09-05 13:52:40 +02:00 |
|
dcdbas.h
|
|
|
|
dell_rbu.c
|
|
|
|
dmi-id.c
|
dmi-id: don't free dev structure after calling device_register
|
2016-09-08 10:35:50 +02:00 |
|
dmi-sysfs.c
|
firmware: dmi_scan: add SBMIOS entry and DMI tables
|
2015-06-25 09:06:56 +02:00 |
|
dmi_scan.c
|
firmware: dmi_scan: Fix handling of empty DMI strings
|
2018-05-30 07:50:24 +02:00 |
|
edd.c
|
|
|
|
iscsi_ibft.c
|
iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
|
2019-08-25 10:51:23 +02:00 |
|
iscsi_ibft_find.c
|
|
|
|
Kconfig
|
iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
|
2019-08-25 10:51:23 +02:00 |
|
Makefile
|
firmware: Amlogic: Add secure monitor driver
|
2016-09-01 14:23:39 -07:00 |
|
memmap.c
|
drivers/firmware/memmap.c: fix kernel-doc format
|
2015-06-25 17:00:41 -07:00 |
|
pcdp.c
|
serial: 8250_early: Remove setup_early_serial8250_console()
|
2015-03-26 17:25:27 +01:00 |
|
pcdp.h
|
|
|
|
psci.c
|
firmware/psci: Expose SMCCC version through psci_ops
|
2018-04-20 08:21:05 +02:00 |
|
qcom_scm-32.c
|
firmware: qcom: scm: Expose PAS command 10 as reset-controller
|
2016-06-24 22:53:52 -05:00 |
|
qcom_scm-64.c
|
firmware: qcom: scm: Fix interrupted SCM calls
|
2017-04-12 12:41:21 +02:00 |
|
qcom_scm.c
|
firmware: qcom_scm: make it explicitly non-modular
|
2016-08-23 15:46:32 -05:00 |
|
qcom_scm.h
|
firmware: qcom: scm: Expose PAS command 10 as reset-controller
|
2016-06-24 22:53:52 -05:00 |
|
qemu_fw_cfg.c
|
driver core update for 4.7-rc1
|
2016-05-20 21:26:15 -07:00 |
|
raspberrypi.c
|
ARM: bcm2835: Add the Raspberry Pi firmware driver
|
2015-10-14 15:30:06 -07:00 |
|
scpi_pm_domain.c
|
firmware: scpi: add device power domain support using genpd
|
2016-06-21 10:26:51 +01:00 |