mbox series

[0/5,Regression,Cosmic,SRU,Bionic] Fix kernel crashdump on arm64

Message ID 20180815144011.960-1-dann.frazier@canonical.com
Headers show
Series Fix kernel crashdump on arm64 | expand

Message

dann frazier Aug. 15, 2018, 2:40 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1786878

All clean cherry-picks from upstream.

AKASHI Takahiro (3):
  drivers: acpi: add dependency of EFI for arm64
  efi/arm: map UEFI memory map even w/o runtime services enabled
  arm64: acpi: fix alignment fault in accessing ACPI

Ard Biesheuvel (1):
  efi/arm: preserve early mapping of UEFI memory map longer for BGRT

James Morse (1):
  arm64: export memblock_reserve()d regions via /proc/iomem

 arch/arm64/include/asm/acpi.h      | 23 ++++++++++++------
 arch/arm64/kernel/acpi.c           | 11 +++------
 arch/arm64/kernel/setup.c          | 38 ++++++++++++++++++++++++++++++
 drivers/acpi/Kconfig               |  2 +-
 drivers/firmware/efi/arm-init.c    |  1 -
 drivers/firmware/efi/arm-runtime.c | 18 +++++++-------
 6 files changed, 68 insertions(+), 25 deletions(-)

Comments

Kleber Sacilotto de Souza Aug. 21, 2018, 1:48 p.m. UTC | #1
On 08/15/18 16:40, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1786878
> 
> All clean cherry-picks from upstream.
> 
> AKASHI Takahiro (3):
>   drivers: acpi: add dependency of EFI for arm64
>   efi/arm: map UEFI memory map even w/o runtime services enabled
>   arm64: acpi: fix alignment fault in accessing ACPI
> 
> Ard Biesheuvel (1):
>   efi/arm: preserve early mapping of UEFI memory map longer for BGRT
> 
> James Morse (1):
>   arm64: export memblock_reserve()d regions via /proc/iomem
> 
>  arch/arm64/include/asm/acpi.h      | 23 ++++++++++++------
>  arch/arm64/kernel/acpi.c           | 11 +++------
>  arch/arm64/kernel/setup.c          | 38 ++++++++++++++++++++++++++++++
>  drivers/acpi/Kconfig               |  2 +-
>  drivers/firmware/efi/arm-init.c    |  1 -
>  drivers/firmware/efi/arm-runtime.c | 18 +++++++-------
>  6 files changed, 68 insertions(+), 25 deletions(-)
> 

Clean cherry-picks, limited to ARM and tested on supported platforms.

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Khalid Elmously Aug. 22, 2018, 2:13 a.m. UTC | #2
On 2018-08-15 08:40:06 , dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1786878
> 
> All clean cherry-picks from upstream.
> 
> AKASHI Takahiro (3):
>   drivers: acpi: add dependency of EFI for arm64
>   efi/arm: map UEFI memory map even w/o runtime services enabled
>   arm64: acpi: fix alignment fault in accessing ACPI
> 
> Ard Biesheuvel (1):
>   efi/arm: preserve early mapping of UEFI memory map longer for BGRT
> 
> James Morse (1):
>   arm64: export memblock_reserve()d regions via /proc/iomem
> 
>  arch/arm64/include/asm/acpi.h      | 23 ++++++++++++------
>  arch/arm64/kernel/acpi.c           | 11 +++------
>  arch/arm64/kernel/setup.c          | 38 ++++++++++++++++++++++++++++++
>  drivers/acpi/Kconfig               |  2 +-
>  drivers/firmware/efi/arm-init.c    |  1 -
>  drivers/firmware/efi/arm-runtime.c | 18 +++++++-------
>  6 files changed, 68 insertions(+), 25 deletions(-)
> 

Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Seth Forshee Aug. 23, 2018, 7:21 p.m. UTC | #3
On Wed, Aug 15, 2018 at 08:40:06AM -0600, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1786878
> 
> All clean cherry-picks from upstream.
> 
> AKASHI Takahiro (3):
>   drivers: acpi: add dependency of EFI for arm64
>   efi/arm: map UEFI memory map even w/o runtime services enabled
>   arm64: acpi: fix alignment fault in accessing ACPI
> 
> Ard Biesheuvel (1):
>   efi/arm: preserve early mapping of UEFI memory map longer for BGRT
> 
> James Morse (1):
>   arm64: export memblock_reserve()d regions via /proc/iomem

Applied to cosmic/master-next and unstable/master, thanks!
Seth Forshee Aug. 23, 2018, 8:59 p.m. UTC | #4
On Thu, Aug 23, 2018 at 02:21:50PM -0500, Seth Forshee wrote:
> On Wed, Aug 15, 2018 at 08:40:06AM -0600, dann frazier wrote:
> > BugLink: https://bugs.launchpad.net/bugs/1786878
> > 
> > All clean cherry-picks from upstream.
> > 
> > AKASHI Takahiro (3):
> >   drivers: acpi: add dependency of EFI for arm64
> >   efi/arm: map UEFI memory map even w/o runtime services enabled
> >   arm64: acpi: fix alignment fault in accessing ACPI
> > 
> > Ard Biesheuvel (1):
> >   efi/arm: preserve early mapping of UEFI memory map longer for BGRT
> > 
> > James Morse (1):
> >   arm64: export memblock_reserve()d regions via /proc/iomem
> 
> Applied to cosmic/master-next and unstable/master, thanks!

"drivers: acpi: add dependency of EFI for arm64" is causing a Kconfig
dependency loop in cosmic and unstable:

 drivers/acpi/Kconfig:6:error: recursive dependency detected!      
 drivers/acpi/Kconfig:6: symbol ACPI depends on EFI
 arch/x86/Kconfig:1929:  symbol EFI depends on ACPI  

I've dropped these patches for now, please resend once you've got this
fixed.
Khalid Elmously Aug. 24, 2018, 2:31 a.m. UTC | #5
On 2018-08-15 08:40:06 , dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1786878
> 
> All clean cherry-picks from upstream.
> 
> AKASHI Takahiro (3):
>   drivers: acpi: add dependency of EFI for arm64
>   efi/arm: map UEFI memory map even w/o runtime services enabled
>   arm64: acpi: fix alignment fault in accessing ACPI
> 
> Ard Biesheuvel (1):
>   efi/arm: preserve early mapping of UEFI memory map longer for BGRT
> 
> James Morse (1):
>   arm64: export memblock_reserve()d regions via /proc/iomem
> 
>  arch/arm64/include/asm/acpi.h      | 23 ++++++++++++------
>  arch/arm64/kernel/acpi.c           | 11 +++------
>  arch/arm64/kernel/setup.c          | 38 ++++++++++++++++++++++++++++++
>  drivers/acpi/Kconfig               |  2 +-
>  drivers/firmware/efi/arm-init.c    |  1 -
>  drivers/firmware/efi/arm-runtime.c | 18 +++++++-------
>  6 files changed, 68 insertions(+), 25 deletions(-)
> 

Dann, I've also ran into config problems (amd64 and i386) on bionic with these patches - this is why I couldn't apply them this cycle. ( See https://pastebin.canonical.com/p/PD4WD5xNVt/ )