[PATCH v3 1/2] arm64/acpi: disallow AML memory opregions to access kernel memory

Catalin Marinas catalin.marinas at arm.com
Wed Sep 30 13:19:08 EDT 2020


Hi Jonathan,

On Wed, Sep 30, 2020 at 10:27:22AM +0100, Jonathan Cameron wrote:
> On Tue, 29 Sep 2020 11:29:48 +0200 Ard Biesheuvel <ardb at kernel.org> wrote:
> > Could you try the patch below? Since the memory holding the tables is
> > already memblock_reserve()d, we can just mark it NOMAP, and permit r/o
> > remapping of NOMAP regions.
> 
> Looks good.  Thanks.
> 
> Tested-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>

Could you please try the updated patch that Ard posted. There are a few
minor differences:

https://lore.kernel.org/linux-acpi/20200929132522.18067-1-ardb@kernel.org/

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list