[PATCH 3/5] efi: ia64: move SAL systab handling out of generic EFI code

2019-08-12 Thread Ard Biesheuvel
The SAL systab is an Itanium specific EFI configuration table, so move its handling into arch/ia64 where it belongs. Cc; Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org Signed-off-by: Ard Biesheuvel --- arch/ia64/include/asm/sal.h | 1 + arch/ia64/include/asm/sn/sn_sal.h | 2 +-

[PATCH 5/5] efi: cper: print AER info of PCIe fatal error

2019-08-12 Thread Ard Biesheuvel
From: Xiaofei Tan AER info of PCIe fatal error is not printed in the current driver. Because APEI driver will panic directly for fatal error, and can't run to the place of printing AER info. An example log is as following: {763}[Hardware Error]: Hardware error from APEI Generic Hardware Error

[PATCH 4/5] efi: Export Runtime Configuration Interface table to sysfs

2019-08-12 Thread Ard Biesheuvel
From: Narendra K System firmware advertises the address of the 'Runtime Configuration Interface table version 2 (RCI2)' via an EFI Configuration Table entry. This code retrieves the RCI2 table from the address and exports it to sysfs as a binary attribute 'rci2' under /sys/firmware/efi/tables

[PATCH 2/5] efi/x86: move UV_SYSTAB handling into arch/x86

2019-08-12 Thread Ard Biesheuvel
The SGI UV UEFI machines are tightly coupled to the x86 architecture so there is no need to keep any awareness of its existence in the generic EFI layer, especially since we already have the infrastructure to handle arch-specific configuration tables, and were even already using it to some extent.

[PATCH 1/5] efi: x86: move efi_is_table_address() into arch/x86

2019-08-12 Thread Ard Biesheuvel
The function efi_is_table_address() and the associated array of table pointers is specific to x86. Since we will be adding some more x86 specific tables, let's move this code out of the generic code first. Signed-off-by: Ard Biesheuvel --- arch/x86/include/asm/efi.h | 5 +

Re: [PATCH v2 1/1] efi: cper: print AER info of PCIe fatal error

2019-08-12 Thread tanxiaofei
ping... On 2019/7/26 9:43, Xiaofei Tan wrote: > AER info of PCIe fatal error is not printed in the current driver. > Because APEI driver will panic directly for fatal error, and can't > run to the place of printing AER info. > > An example log is as following: > {763}[Hardware Error]: Hardware

[GIT PULL 0/1] EFI fix for v5.3-rc4

2019-08-12 Thread Ard Biesheuvel
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent for you to fetch changes up to

[PATCH 1/1] efi-stub: Fix get_efi_config_table on mixed-mode setups

2019-08-12 Thread Ard Biesheuvel
From: Hans de Goede Fix get_efi_config_table using the wrong structs when booting a 64 bit kernel on 32 bit firmware. Fixes: 82d736ac56d7 ("Abstract out support for locating an EFI config table") Signed-off-by: Hans de Goede Acked-By: Matthew Garrett Reviewed-by: Ard Biesheuvel Acked-by: