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 1BB2BC4167B for ; Mon, 27 Nov 2023 12:48:15 +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=vsFXPuivuy/G6Kz2gs2VoLxlGD0GUiSb0TCgB6JREU0=; b=M0H5vdnJKPuVoK 5HfpPlfAG2J1EDkk86qpjWX0QAV2kKLoQfPFioJj+siuGQqzTJgN4zXHhBVcUJSIa9sOA8SeTz+Lk g2SDev2kL4tk0TL35zGt1hVkXhvGzpk30VCaBQIrHMbj1HdJaR+CvGz6h3QeIpFHW/VG2OFgx6RJ8 EXg6H4NOPBzVuHQhacd3GIBxOX4k1Vfy3qJwt1mjYSi5/SJzFWiRChXTAqmjLBk2IX6w9wBXw2B9k yJyM4fCTfyL8TjNgNUStVobUhf+qkWOJKkIJmGUWzPkI24AyuxdChmSklE4HwyZYBm1FzUWhInTgf PAzykDn0r78v4WtA/7Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7b1P-002Tzh-1i; Mon, 27 Nov 2023 12:47:31 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7b1M-002Tz4-0r for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 12:47:29 +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 79E932F4; Mon, 27 Nov 2023 04:48:14 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.43.171]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C08FE3F73F; Mon, 27 Nov 2023 04:47:25 -0800 (PST) Date: Mon, 27 Nov 2023 12:47:22 +0000 From: Mark Rutland To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Catalin Marinas , Will Deacon , Marc Zyngier Subject: Re: [PATCH v2 0/3] arm64 kpti fixes Message-ID: References: <20231127120049.2258650-5-ardb@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231127120049.2258650-5-ardb@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_044728_352142_55EE8892 X-CRM114-Status: GOOD ( 16.82 ) 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 Mon, Nov 27, 2023 at 01:00:50PM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > A couple of fixes and tweaks for KPTI - the first patch is a true > regression in v6.7, the others are minor tweaks. > > v2: > - add two more tweaks > - use correct method to test system cap before alternatives have been > applied > - move check into kpti_install_ng_mappings() > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Marc Zyngier > Cc: Mark Rutland Thanks for this! For the series: Acked-by: Mark Rutland Mark. > > Ard Biesheuvel (3): > arm64: Avoid enabling KPTI unnecessarily > arm64: mm: Only map KPTI trampoline if it is going to be used > arm64: Kconfig: drop KAISER reference from KPTI option description > > arch/arm64/Kconfig | 2 +- > arch/arm64/kernel/cpufeature.c | 4 ++++ > arch/arm64/mm/mmu.c | 3 +++ > 3 files changed, 8 insertions(+), 1 deletion(-) > > -- > 2.43.0.rc1.413.gea7ed67945-goog > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel