From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id A98B274003C for ; Tue, 12 Sep 2023 10:25:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=OR7E1FxDtJCJyNnqUAYuYEuRJ6NGMPLKAjBeJH6SEU8=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1694514321; v=1; b=LnDKuI55BJTN0C6AwgJ1cMDQr36vrsB90JGgueY96aGVQmtDk6BtVXuQO5aswpNRX6QjzyPw x06VwfPX2ephdJ5g9sJx74xOjDoQ4L0DHpgSgwm2OLMj5gQZslNFPd9sqJRDc1uEi+Jx8Erkl1N yzpvfJ0n8K9Td72Bhf2x758k= X-Received: by 127.0.0.2 with SMTP id b7rrYY7687511x2ESbkhFB4N; Tue, 12 Sep 2023 03:25:21 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.21840.1694514320323861436 for ; Tue, 12 Sep 2023 03:25:20 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 75DE4602E5 for ; Tue, 12 Sep 2023 10:25:19 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48BFAC433C8 for ; Tue, 12 Sep 2023 10:25:19 +0000 (UTC) X-Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2bd0bc8b429so93911781fa.2 for ; Tue, 12 Sep 2023 03:25:19 -0700 (PDT) X-Gm-Message-State: EbyEQ1smjYS14PXeC0ngN7vNx7686176AA= X-Google-Smtp-Source: AGHT+IFtpQQI3uKAzWmDPiEM3Aiq8MLTE+C27pi7MqdJZfcg+ugcmzDn36gStQVhPUdHcvSzLuSXwZMsmdw84xreLjk= X-Received: by 2002:a2e:7d05:0:b0:2bc:eafa:cfaa with SMTP id y5-20020a2e7d05000000b002bceafacfaamr9214606ljc.53.1694514317497; Tue, 12 Sep 2023 03:25:17 -0700 (PDT) MIME-Version: 1.0 References: <20230912074230.3980611-1-ardb@google.com> In-Reply-To: From: "Ard Biesheuvel" Date: Tue, 12 Sep 2023 12:25:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH] ArmPkg/ArmMmuLib: Drop buggy secure memory type check To: devel@edk2.groups.io, quic_llindhol@quicinc.com Cc: Jake Garver Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=LnDKuI55; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Tue, 12 Sept 2023 at 12:01, Leif Lindholm wrote: > > On Tue, Sep 12, 2023 at 07:42:30 +0000, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > > > Jake reports that the IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE() macro is > > no longer accurate since commit 852227a9d52e3cb9 ("ArmPkg/Mmu: Remove > > handling of NONSECURE memory regions"). > > > > Fortunately, it only affects the NS bit in level 1 short descriptors, > > which is ignored when executing in non-secure mode. And given that > > running UEFI in the secure world is not a use case we aim to support, > > let's just drop this logic altogether. > > > > Reported-by: Jake Garver > > Signed-off-by: Ard Biesheuvel > > Good riddance. > Reviewed-by: Leif Lindholm > Thanks. Merged as #4822. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108528): https://edk2.groups.io/g/devel/message/108528 Mute This Topic: https://groups.io/mt/101311374/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-