Message ID | 20240415075412.2347624-4-ardb+git@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 8DC3FC4345F for <linux-arm-kernel@archiver.kernel.org>; Mon, 15 Apr 2024 07:56:05 +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:Cc:To:From:Subject:Message-ID: Mime-Version:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=nbmCXlU6F0QiXxJB6Su/b/KMPtyrNxR+CzCXZ96qNOQ=; b=2xb Evpp73zRhegpjIGTP/PtSUJN09G/3hckaAp54nIexr2rZNkiPyLpLXENol2aSc6NAKMnVMuZPPZ3y q8xIrHMX8vFrXHVkHck2U3uiyYhn8b+6eari/tQrgFBwRU2dS6HVIXXI2yUGdr9SusL4/SDEcrtlx 9kx+BhKyEhk/mhKZcrRbSNnOcr6/XfqjK7a/987YwnEHELdEWnQm0vrDXqnN3YdxzUiIgWUem1xNq dnf7duLnbIuztuGFJqtDC4VQz2ci91HR24HjambBdEhyC+YWZBwP7RN2Typ/z2fM7B0PLC1WkUKEK Z9CzouUN5UKGv7JBhR+0Lgxl/N/aGFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwHBy-00000007QDR-0XtP; Mon, 15 Apr 2024 07:55:54 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwHAU-00000007PC5-1ZkC for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2024 07:54:25 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-6150e36ca0dso43235247b3.1 for <linux-arm-kernel@lists.infradead.org>; Mon, 15 Apr 2024 00:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713167658; x=1713772458; darn=lists.infradead.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=idZ9/uM49p4cfApOekEEGba1dBd7/WflSSW06blcxRw=; b=ZoJGW8G2isi9I281PykvICGOuF0aQBnt/NNp6AV/uoEUJylvW4z1QmeRBnWkUwjDZZ Ur8UycdJcX+U35iHKC7B+TXflAGaHYMji53gopsQFD7kP8si93CnRCGNU3chciMZQf4m hmqKSJ9X43GhsMAvEfzpYyGsqKFRu5k+N7u78Vx2/nr4aIyqt2LTIOJA+IaHF+938WR6 HAw6MdgYEJl8pIjCuMY7KD86bEpc200Ow7pgIE4gNKrEzbAqfsjiLLOMl28yHKipbXpd 6YvZfTYusnIBjHrjH1mG35xDJupNGJEkH9LWpVV0IpX3gHDYe+DLbrI9iKWeiJs+q+t8 80Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713167658; x=1713772458; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=idZ9/uM49p4cfApOekEEGba1dBd7/WflSSW06blcxRw=; b=Sxqdpeoh2ZzoI30wSZytUH3gQryhislkexg9NtsBrfOjY20GSbtnEtK9AcGavEhWxV lNyistVWmz4IV2AeOSmX0Iqm3A02BMutL58VrQvmFt1vYtGXuwNBdTfBRWxrdj16b+VQ yrJ09N8WNbp1ej7tb6vWYApfLr3wE1ViuY0R91Rr3KouQmRq0se/yVKaeLTzL/F3weq4 0tEIanVAwkHimwSdJojf0yjH4qQz5EObE37s4iU4PsquQQ7vvfmTe28W7Q0dfoCHtOqu sI1Fv71H8PwejspL0fLHkoMNjrApEiaaD8Fd+k+on7GPSzm65T05j1OEpF6JOegnywZf RPMQ== X-Gm-Message-State: AOJu0YzheeLUojTTZq9ozgLNx//YGRs8PhpxXu79QuHlXwIR23I3XaOI WtSMT1xwPwvil9poEeneMoUltq95uaKOX0my2uhhaGqooq1LZe6xDd7ndAXWdYWnL8PQ7+OC5US MKVd/PxYCdaCfrAFktQVqBPki31xxzhI0BkofMYtCtqiHHHsY4wBdtlr6eS0UfjGFKdEgksFqzb EgXX6gR4DJLrjSuFmV58yjdXRryeQ6/YFQcWpeTIu8 X-Google-Smtp-Source: AGHT+IFqAGlACXPHhZSlx4E0zNnATQBSkivs8DRXa3GFnaaLHDmrOPvL/oF6AEpmS8kRvLyHE6ynWtiJ X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a0d:eac2:0:b0:61a:cb0d:65e3 with SMTP id t185-20020a0deac2000000b0061acb0d65e3mr569226ywe.6.1713167658454; Mon, 15 Apr 2024 00:54:18 -0700 (PDT) Date: Mon, 15 Apr 2024 09:54:13 +0200 Mime-Version: 1.0 X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-Developer-Signature: v=1; a=openpgp-sha256; l=561; i=ardb@kernel.org; h=from:subject; bh=is493OvFArONqBMefI4VMGuvc2DgaVKBVbmmcOyLFBc=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIU3mruopURmGE6xKP71FJ3esmv/sufl997aV8x0LHlolv dbxizTqKGVhEONgkBVTZBGY/ffdztMTpWqdZ8nCzGFlAhnCwMUpABNR/8bIcK2GeXLrnMgFe+Zu UxTxtU6pVZXU3uEgeENqvavzxXvLkhkZ/k5+xf/xW62Zyb5De10/r28//pHvto0r47TVpwzOMRn uZQAA X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog Message-ID: <20240415075412.2347624-4-ardb+git@google.com> Subject: [PATCH 0/2] arm64 head.S fixes From: Ard Biesheuvel <ardb+git@google.com> To: linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel <ardb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_005423_182005_DB9E0797 X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series | arm64 head.S fixes | expand |
On Mon, 15 Apr 2024 09:54:13 +0200, Ard Biesheuvel wrote: > Ensure the MMU is off before changing HCR_EL2.E2H when entering at EL2. > Drop MMU disable workarounds where they are not needed. > > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Will Deacon <will@kernel.org> > Cc: Marc Zyngier <maz@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > > [...] Applied to arm64 (for-next/fixes), thanks! [1/2] arm64/head: Drop unnecessary pre-disable-MMU workaround https://git.kernel.org/arm64/c/2b504e162037 [2/2] arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H https://git.kernel.org/arm64/c/34e526cb7d46 I added a Fixes tag and cc stable on the second patch, it goes all the way to 6.3 (this should actually be 6.6 LTS).
From: Ard Biesheuvel <ardb@kernel.org> Ensure the MMU is off before changing HCR_EL2.E2H when entering at EL2. Drop MMU disable workarounds where they are not needed. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Ard Biesheuvel (2): arm64/head: Drop unnecessary pre-disable-MMU workaround arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H arch/arm64/kernel/head.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)