[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210206104854.GC27503@dragon>
Date: Sat, 6 Feb 2021 18:48:55 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, devel@...ica.org,
Robert Moore <robert.moore@...el.com>,
Erik Kaneda <erik.kaneda@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>
Subject: Re: [PATCH] Revert "ACPICA: Interpreter: fix memory leak by using
existing buffer"
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 overrides, in which case the DSDT is not mapped with
> read/write permissions.
>
> Cc: Robert Moore <robert.moore@...el.com>
> Cc: Erik Kaneda <erik.kaneda@...el.com>
> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
> Cc: Len Brown <lenb@...nel.org>
> Reported-by: Shawn Guo <shawn.guo@...aro.org>
> Signed-off-by: Ard Biesheuvel <ardb@...nel.org>
Tested-by: Shawn Guo <shawn.guo@...aro.org>
Thanks for fixing the regression, Ard!
Shawn
Powered by blists - more mailing lists