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 1712AC38142 for ; Fri, 27 Jan 2023 17:48:06 +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=H+qEdhsyQ4KjBmyA+yxilRoK7H8NKtFTgEtIyr8AiB4=; b=tpEYU1uUYqC8Lg C4/6yMBaxiCTLGV7S87gLuKI+VB//oEpANtWtxSyGofA61A8Oh7qY7uhdHWJ2KOZj20ks0OyoBkR8 U2garWlyTXqmp4YvpnTbE/6ABoBNTclUTO2ZPl8G6vvn+ssyNmU+jUHP/j6HR7B8nM18ZjW3d3E4T G6/5icL6l3kk56ZwFf1N5jLxHIUOzG5MiwiHDI6HclTZtRBPbgzfvm/lIDwHlTfdEk0ihIrI/orPa dG+q58hntx/C2+kY/lx34slRpXMWdC8yH/UzaAmR+7kCbccKQLwWMUC5BtF8bHgi1cjByALj21VP7 i33bIXLM6MHTh6J2dsYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLSod-00FwU4-B3; Fri, 27 Jan 2023 17:47:07 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLSoZ-00FwTX-HG for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 17:47:05 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EB331B8214D; Fri, 27 Jan 2023 17:47:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 442F6C433EF; Fri, 27 Jan 2023 17:46:58 +0000 (UTC) Date: Fri, 27 Jan 2023 17:46:55 +0000 From: Catalin Marinas To: Mark Rutland Cc: Ard Biesheuvel , Will Deacon , cki-project@redhat.com, xiawu@redhat.com, bhe@redhat.com, linux-arm-kernel@lists.infradead.org, james.morse@arm.com Subject: Re: [PATCH] arm64: avoid executing padding bytes during kexec / hibernation (WAS: Re: ? FAIL (91/181 SKIPPED): Test report for for-kernelci (6.2.0-rc5, arm-next, 2e84eedb)) Message-ID: References: <29992.123012504212600261@us-mta-139.us.mimecast.lan> <20230126125202.GA29102@willie-the-truck> <20230126151715.GA29322@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_094704_111753_AE7CF0AC X-CRM114-Status: GOOD ( 14.12 ) 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, Jan 27, 2023 at 12:14:10PM +0000, Mark Rutland wrote: > From 8c82c71d810be311f10703b91563a301e56be910 Mon Sep 17 00:00:00 2001 > From: Mark Rutland > Date: Fri, 27 Jan 2023 11:08:20 +0000 > Subject: [PATCH] arm64: avoid executing padding bytes during kexec / > hibernation > > Currently we rely on the HIBERNATE_TEXT section starting with the entry > point to swsusp_arch_suspend_exit, and the KEXEC_TEXT section starting > with the entry point to arm64_relocate_new_kernel. In both cases we copy > the entire section into a dynamically-allocated page, and then later > branch to the start of this page. Queued on top of the arm64 for-next/ftrace branch. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel