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 4F2F1780091 for ; Thu, 5 Oct 2023 09:29:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+5zNoHWJ3p1b2XUjad2EP2rvm5z2olQcTbyQGmt5G1Q=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1696498157; v=1; b=OpqKOxiKXsQPxNKzY94sO0yCGN1ZEDHEBm5GMWxkV5YWOI9IzxnTFNT+1dZY9TNoDWwk+zt6 9l803VeY3Q60vOvZwxx/qpIzicrKprnC1DGsGrESbEHDNAh6FgsnK3HobtfJgqhfwJJ4F+Or7Z3 lDS/LKJlbJCzSQf00aQNfPE0= X-Received: by 127.0.0.2 with SMTP id n9MhYY7687511xYTyAYTWSok; Thu, 05 Oct 2023 02:29:17 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.11298.1696498157088020537 for ; Thu, 05 Oct 2023 02:29:17 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-158-q7AqHUHsMuGDw4gXp0j4kQ-1; Thu, 05 Oct 2023 05:29:12 -0400 X-MC-Unique: q7AqHUHsMuGDw4gXp0j4kQ-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ECADB1E441E0; Thu, 5 Oct 2023 09:29:11 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.95]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AA8E747CD2; Thu, 5 Oct 2023 09:29:10 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A08271800931; Thu, 5 Oct 2023 11:29:08 +0200 (CEST) Date: Thu, 5 Oct 2023 11:29:08 +0200 From: "Gerd Hoffmann" To: Laszlo Ersek Cc: devel@edk2.groups.io, taylor.d.beebe@gmail.com, Ard Biesheuvel , Jian J Wang , Liming Gao , Nhi Pham , Oliver Steffen Subject: Re: [edk2-devel] [PATCH v4 20/28] MdeModulePkg: Add Additional Profiles to SetMemoryProtectionsLib Message-ID: References: <20230920005752.2041-1-taylor.d.beebe@gmail.com> <20230920005752.2041-21-taylor.d.beebe@gmail.com> <2390fe7b-d994-4aed-8b45-97bf028b2cb3@gmail.com> <8ae346cc-36c0-55da-e939-bdf22ff5b7f4@redhat.com> MIME-Version: 1.0 In-Reply-To: <8ae346cc-36c0-55da-e939-bdf22ff5b7f4@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2Hn4miILGRKXnTA2axBLu2N4x7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=OpqKOxiK; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (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 Hi, > On x86, PEI can use IO ports (no page tables), but that's not available > on ARM. I don't recall off-hand where / when exactly page tables are set > up during ArmVirtQemu boot. It also changed roughly one year ago, Ard updated the arm platform setup to turn on paging much earlier (for w^x and IIRC also fix some caching problems). I think PEI runs with paging already enabled these days. > > An Arm compatible PEIM instance of QemuFwCfgLib will need to be created. > > I'm happy to look into it, but I don't want to hang up this patch series on > > that addition. Instead, I'll set the protection policy for ArmVirtPkg to > > the equivalent of the new GrubCompat profile in this series. > > Can you base the default policy (i.e., the one that takes effect in the > absence of fw_cfg) on a PCD? That would be nice indeed. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109346): https://edk2.groups.io/g/devel/message/109346 Mute This Topic: https://groups.io/mt/101469960/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-