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 B65D3C636CC for ; Wed, 8 Feb 2023 17:31:32 +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=WkYgPnQfzLPgjhXt/F6GgMLxCVvAZYdNPCMh/KQidV0=; b=ZwUgVLtkxmdQFy 3/9FWLbUf7m3Zf04WHalzsJAqgb7T6gEhpaJkQJkmMX6+VG53SE5qEBG8lgMeK2ve0gP3CRwCNClc Z4HOfqLF6BU1ucMUyxGtoVUi0q2HeZI+OCqbK6a267PcW2xxDjwRPCOuyKRNU8PAA+f5wExfUfaJD IeZLh8YAmtSKH12uNBaZuI+UNSm4oIBeyALvlDlJ0kbQKAOamlpXzWoQnBRTTinPhShaHzUjnC7F2 47VThpPE4lXVH8FPu0V/67lfCfPFTOdHsH2oh5vVD53DWaRAweK2zIMmcgJZG6uww3vwr0prGvAj4 +nNpJg/5l8mL+QGUmHWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPoHC-00GSjA-Nb; Wed, 08 Feb 2023 17:30:34 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPoHA-00GSiC-OP for linux-arm-kernel@bombadil.infradead.org; Wed, 08 Feb 2023 17:30:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0adOUWsO7ZVtcSZJnKu8u1BiAreKIbJcwG20QisS23U=; b=JKg2v0zCYOnLwXpOz7VXicNMyV EWXelWVUPLjHWPUySbw/DuaopIsQYMlRfzFosl0Al75jFDq/pSfawr5j2FySEcaYPNLVmCWiqUTA3 qoc5X/0apNnlru8TDYT78wSmQzMnhNDigSqDJjVUp0bs4M+xeKLw6dJXJRSrSvQgreDJ/1QLvC+Kf U94nEEAfl773hBcbIurxX8J3OSfBWHdoy2IdfU4kE1oc14mk2uO+E0Rw/ipQvfzRQayYLGkJDZckk lKN9NOAkU2Mw9H6czf6RIRrHaYp8PqygagxxZYT12zXnUnuL6ZCl28h0NOGpBX4lvuzLqEnyDilUo F8zQakyQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pPoGS-007W4w-01; Wed, 08 Feb 2023 17:29:49 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 563C4300129; Wed, 8 Feb 2023 18:30:25 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2F0B6203C41EF; Wed, 8 Feb 2023 18:30:25 +0100 (CET) Date: Wed, 8 Feb 2023 18:30:25 +0100 From: Peter Zijlstra To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Kees Cook , Mark Rutland , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen Subject: Re: [PATCH v2 3/3] efi: x86: Wire up IBT annotation in memory attributes table Message-ID: References: <20230206124938.272988-1-ardb@kernel.org> <20230206124938.272988-4-ardb@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230206124938.272988-4-ardb@kernel.org> 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, Feb 06, 2023 at 01:49:38PM +0100, Ard Biesheuvel wrote: > UEFI v2.10 extends the EFI memory attributes table with a flag that > indicates whether or not all RuntimeServicesCode regions were > constructed with ENDBR landing pads, permitting the OS to map these > regions with IBT restrictions enabled. > > So let's take this into account on x86 as well. > > Suggested-by: Peter Zijlstra # ibt_save() changes > Signed-off-by: Ard Biesheuvel Looks about right; would be lovely if someone with a fresh enough firmware image could actually test this though.. Acked-by: Peter Zijlstra (Intel) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel