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 4008B7803CC for ; Mon, 4 Dec 2023 10:57:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ixO9h/xBQ6A4MzT/QorRvSOfSVN9eWh1szy30AVSZ38=; 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:Content-Transfer-Encoding; s=20140610; t=1701687476; v=1; b=Gn3+d8F6N34Z4ET1b73YPszvy3S4Lm4CxiLDbGm6ru6IqOHM3aXE1RHX2+NM63XetugK3pWe y0AAHOYISBy3PQxoNcAdxkMwJBl/7xawJJ6/BsaqrhX0nr8MsSpBKYpEJq0Tccg6ZMAOYfPyFUE +7yMJOJCzOeJf+85cwpLMINk= X-Received: by 127.0.0.2 with SMTP id 0JE9YY7687511xTLGOyqc6t0; Mon, 04 Dec 2023 02:57:56 -0800 X-Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by mx.groups.io with SMTP id smtpd.web11.66106.1701687476113824071 for ; Mon, 04 Dec 2023 02:57:56 -0800 X-Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-425546ad42fso196131cf.0 for ; Mon, 04 Dec 2023 02:57:55 -0800 (PST) X-Gm-Message-State: 3ACd6f07D1ep8CgNyEtdmz3vx7686176AA= X-Google-Smtp-Source: AGHT+IH4h3mP5METAUY5ysycXIcstQJTtmOJbljhHQkxWgKe+julQmeVs7HiJ8U5KcdZFQz/s7mMzWL06wo9M85DV/o= X-Received: by 2002:ac8:7c54:0:b0:423:a358:cecc with SMTP id o20-20020ac87c54000000b00423a358ceccmr602061qtv.21.1701687474704; Mon, 04 Dec 2023 02:57:54 -0800 (PST) MIME-Version: 1.0 References: <20231204095215.1053032-1-ardb@google.com> In-Reply-To: From: "Ard Biesheuvel" Date: Mon, 4 Dec 2023 11:57:43 +0100 Message-ID: Subject: Re: [edk2-devel] [PATCH] ArmVirtPkg: Allow EFI memory attributes protocol to be disabled To: Gerd Hoffmann Cc: devel@edk2.groups.io, Ard Biesheuvel , =?UTF-8?B?TO+/vXN6bO+/vSDvv71yc2Vr?= , Oliver Steffen , Alexander Graf 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" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Gn3+d8F6; 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 Mon, Dec 4, 2023 at 11:53=E2=80=AFAM Gerd Hoffmann w= rote: > > > So let's introduce a QEMU command line option to indicate that the > > protocol should not be exposed at all. > > > > -fw_cfg opt/org.tianocore/DisableMemAttrProtocol,string=3Dy > > Can we name this 'MemAttrProtocol=3D{y,n}' so it works both ways (enablin= g > and disabling) without double negative? > Sure, but with the same behavior, right? =3Dy means it will get installed =3Dn means it will get installed and uninstalled again > The fedora distro builds have the protocol disabled, and I'll keep it > that way until we finally have fixed shim.efi builds. Having the option > to enable this would be nice though. > So how did you disable the protocol? That part is not upstream afaik. We can disable the protocol via this method but how would you set it to =3Dn by default? -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112034): https://edk2.groups.io/g/devel/message/112034 Mute This Topic: https://groups.io/mt/102967690/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-