From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2754C4727C for ; Wed, 30 Sep 2020 17:20:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57EF4206CA for ; Wed, 30 Sep 2020 17:20:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aCX2bB+q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57EF4206CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O8Y5BRzGV8eLbpaE3jHi93ihVqz9osnGRVApeNMg9L4=; b=aCX2bB+qq3MY97Q77domQVO/r +lOjgJjtVXUdedvvJQ7nwCqEHWm3FTFo6W4W8S/269c6NqA67ajFLLaVWqAwH33KoHcywsWjvYjHH YvjuJFo5N1rUoLqpqlsfzKTyDSV0EbcrM9+31wSlrvVUpFgtY3B/0oG83UmgkUgTsi3BSrL3SEfKw 9Uwt7EwDLzrvdH/eq6r2CVQxd/uLloSA0TA0mlgxgC6VIlhm8TZjtFSJZ3edRxvj9E6O8zFvEadfU CvNIQwZHqvL2fOnXTEQgskRkwUewgpYKupE5ThdydvVb1W96nrrkdPLyGu8jOj1FkeRiPnh4VrBeM eptnGYHEw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNfl8-0005E5-Nn; Wed, 30 Sep 2020 17:19:18 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNfl5-0005De-Kx for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 17:19:16 +0000 Received: from gaia (unknown [31.124.44.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 37908207C3; Wed, 30 Sep 2020 17:19:10 +0000 (UTC) Date: Wed, 30 Sep 2020 18:19:08 +0100 From: Catalin Marinas To: Jonathan Cameron Subject: Re: [PATCH v3 1/2] arm64/acpi: disallow AML memory opregions to access kernel memory Message-ID: <20200930171908.GA1732@gaia> References: <20200626155832.2323789-1-ardb@kernel.org> <20200626155832.2323789-2-ardb@kernel.org> <20200928170216.00006ff2@huawei.com> <20200928181755.000019bf@huawei.com> <20200930102722.00000bff@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200930102722.00000bff@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_131915_810525_AD8AE913 X-CRM114-Status: GOOD ( 14.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Jason A . Donenfeld" , Lorenzo Pieralisi , Kernel Hardening , Linuxarm , ACPI Devel Maling List , Sudeep Holla , Will Deacon , Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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 > Reviewed-by: Jonathan Cameron 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel