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 1CF50740035 for ; Thu, 14 Sep 2023 07:23:15 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=AZJ0M8vPV3Q09kAu/xmpJojRsEClzNYprz36h7/ILtk=; 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=1694676194; v=1; b=t2Gau5p6uAmnlfaR4XNq1Aw6WjW0S3bIN2vKfT87z3N+0JR93f5NwWhXaCfLbd0/mMh1DAc2 csXgsPhNLCPlfbOXgL74E+L6ZcTewwK9gumCpf3q96mgeWhwgYvUuOlkbsssI5fSNHFe09TwIrN 9wE1ieYqco3fqEq6JcHRfzB8= X-Received: by 127.0.0.2 with SMTP id IpuVYY7687511xOpCZkcgj6q; Thu, 14 Sep 2023 00:23:14 -0700 X-Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web11.6384.1694676193911064450 for ; Thu, 14 Sep 2023 00:23:14 -0700 X-Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-307d58b3efbso539775f8f.0 for ; Thu, 14 Sep 2023 00:23:13 -0700 (PDT) X-Gm-Message-State: bod1Wk7qIbELiTLdlZXCIgUCx7686176AA= X-Google-Smtp-Source: AGHT+IHX00wiFRe40N3vkW1CZmBuAuihB3iBD8MeY8k7D+ONmxV6EwEl3rC7zhKjFGmnbZmci1M+gw== X-Received: by 2002:adf:f403:0:b0:317:e766:d5e9 with SMTP id g3-20020adff403000000b00317e766d5e9mr3834847wro.3.1694676192247; Thu, 14 Sep 2023 00:23:12 -0700 (PDT) X-Received: from localhost (cst2-173-16.cust.vodafone.cz. [31.30.173.16]) by smtp.gmail.com with ESMTPSA id e25-20020a5d5959000000b003143c9beeaesm956309wri.44.2023.09.14.00.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 00:23:11 -0700 (PDT) Date: Thu, 14 Sep 2023 09:23:11 +0200 From: "Andrew Jones" To: Laszlo Ersek Cc: edk2-devel-groups-io , Andrei Warkentin , Ard Biesheuvel , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Sunil V L Subject: Re: [edk2-devel] [PATCH 1/3] OvmfPkg/RiscVVirt/README: explain that "-bios" is only useful with TCG Message-ID: <20230914-f3d43a351e41fffada7d5afb@orel> References: <20230913105551.12680-1-lersek@redhat.com> <20230913105551.12680-2-lersek@redhat.com> MIME-Version: 1.0 In-Reply-To: <20230913105551.12680-2-lersek@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,ajones@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: 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=t2Gau5p6; dmarc=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 Wed, Sep 13, 2023 at 12:55:49PM +0200, Laszlo Ersek wrote: > Riscv64 KVM services SBI calls internally, so OpenSBI is not used in such > setups. Restrict the "-bios" flag accordingly. Thanks: Andrei, Drew. > > Cc: Andrei Warkentin > Cc: Andrew Jones > Cc: Ard Biesheuvel > Cc: Gerd Hoffmann > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Sunil V L > Signed-off-by: Laszlo Ersek > --- > OvmfPkg/RiscVVirt/README.md | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/OvmfPkg/RiscVVirt/README.md b/OvmfPkg/RiscVVirt/README.md > index dbb40bbe89b0..193e4afe8dee 100644 > --- a/OvmfPkg/RiscVVirt/README.md > +++ b/OvmfPkg/RiscVVirt/README.md > @@ -86,3 +86,8 @@ then specify that binary for QEMU, with the following additional command line > option: > > -bios $OPENSBI_DIR/build/platform/generic/firmware/fw_dynamic.bin > + > +Note that the above only makes a difference with software emulation (which you > +can force with `-M accel=tcg`). With hardware virtualization (`-M accel=kvm`), > +KVM services the SBI (Supervisor Binary Interface) calls internally, therefore > +any externally loaded OpenSBI binary is ignored. > Reviewed-by: Andrew Jones -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108637): https://edk2.groups.io/g/devel/message/108637 Mute This Topic: https://groups.io/mt/101334264/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-