Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-08 Thread Ard Biesheuvel
...@lists.infradead.org>; ACPI Devel Maling List > a...@vger.kernel.org>; Linux Kernel Mailing List > ker...@vger.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE > > (ACPICA) ; Wysocki, Rafael J > > ; Len Brown ; Moore, > > Robert > > Subject: Re: [PATCH] Revert &q

RE: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-08 Thread Kaneda, Erik
ker...@vger.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE > (ACPICA) ; Wysocki, Rafael J > ; Len Brown ; Moore, > Robert > Subject: Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using > existing buffer" > > On Mon, 8 Feb 2021 at 20:07, Ka

Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-08 Thread Ard Biesheuvel
g > > List ; Linux Kernel Mailing List > ker...@vger.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE > > (ACPICA) ; Wysocki, Rafael J > > ; Len Brown ; Moore, > > Robert > > Subject: Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak

RE: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-08 Thread Kaneda, Erik
T ARCHITECTURE > (ACPICA) ; Wysocki, Rafael J > ; Len Brown ; Moore, > Robert > Subject: Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using > existing buffer" > > On Sat, Feb 6, 2021 at 11:49 AM Shawn Guo wrote: > > > > On Sat, Feb 06, 2021 a

Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-08 Thread Rafael J. Wysocki
On Sat, Feb 6, 2021 at 11:49 AM Shawn Guo wrote: > > On Sat, Feb 06, 2021 at 09:49:37AM +0100, Ard Biesheuvel wrote: > > This reverts commit 32cf1a12cad43358e47dac8014379c2f33dfbed4. > > > > The 'exisitng buffer' in this case is the firmware provided table, and > > we should not modify that in

Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-06 Thread Shawn Guo
On Sat, Feb 06, 2021 at 09:49:37AM +0100, Ard Biesheuvel wrote: > 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

[PATCH] Revert "ACPICA: Interpreter: fix memory leak by using existing buffer"

2021-02-06 Thread Ard Biesheuvel
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: