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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 493E9C433EF for ; Wed, 4 May 2022 11:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=givH/2Clo0T2KACJVAcB5qF7nBgStjWR1Mv8+13bPBM=; b=XFDwfL3Kzoc168 LbQ1XxBsElLBZEwqVaNI4DArTDTbalrKIiYaNa9X5q8n9861qfZcejsguhKfNyeluu/DDWUrUpw8r Omn3CRApDJPfDDA5OoILI4DMLQnEYHvoCCevXvzXFvXqFnSyRxVHa1WRRIx/knC1u5WT5Evt4UOsN j9NIKJ++Ov+3WZNwx2nKpMgzYDi/jAYjtG2VE1CHBYcqjlxbO41bo7jhNpXZ6+3ejYU/s5UZHmThh skWRG6zcsAkcJ//xLyCO47IycFE6g0F/GdyyBWbQdONKMnfb6ObEkZ6WZE74ntY7SJl4b+UflILW7 ZMAnjOhoj6RT2lRaKN/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmDZ5-00AZvD-9H; Wed, 04 May 2022 11:53:07 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmDZ2-00AZuR-Fk for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2022 11:53:06 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 27D161042; Wed, 4 May 2022 04:53:01 -0700 (PDT) Received: from lakrids (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5656E3FA50; Wed, 4 May 2022 04:53:00 -0700 (PDT) Date: Wed, 4 May 2022 12:52:54 +0100 From: Mark Rutland To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org, maz@kernel.org Subject: Re: [PATCH 0/2] arm64: pair of minor hardening tweaks Message-ID: References: <20220429131347.3621090-1-ardb@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220429131347.3621090-1-ardb@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_045304_605269_953A1BB6 X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Fri, Apr 29, 2022 at 03:13:45PM +0200, Ard Biesheuvel wrote: > A couple of tweaks to the way we handle the kexec and hibernate helper > code, so that it no longer gets mapped with attributes it doesn't need. > > Ard Biesheuvel (2): > arm64: lds: move special code sections out of kernel exec segment > arm64: mm: avoid writable executable mappings in kexec/hibernate code > > arch/arm64/kernel/vmlinux.lds.S | 20 +++++++++++--------- > arch/arm64/mm/trans_pgd.c | 2 +- > 2 files changed, 12 insertions(+), 10 deletions(-) These both look reasonable to me, so FWIW: Acked-by: Mark Rutland Mark. > > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel