Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-02-08 13:02:28
Also in:
linux-arm-kernel, lkml
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-02-08 13:02:28
Also in:
linux-arm-kernel, lkml
On Sat, Feb 6, 2021 at 11:49 AM Shawn Guo [off-list ref] wrote:
On Sat, Feb 06, 2021 at 09:49:37AM +0100, Ard Biesheuvel wrote:quoted
This reverts commit 32cf1a12cad43358e47dac8014379c2f33dfbed4. The 'exisitng buffer' in this case is the firmware provided table, and we should not modify that in place. This fixes a crash on arm64 with initrd table overrides, in which case the DSDT is not mapped with read/write permissions. Cc: Robert Moore <redacted> Cc: Erik Kaneda <redacted> Cc: "Rafael J. Wysocki" <redacted> Cc: Len Brown <lenb@kernel.org> Reported-by: Shawn Guo <redacted> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>Tested-by: Shawn Guo <redacted>
Applied, thanks! Erik, the upstream will need to sync up with this revert.