From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mx.groups.io with SMTP id smtpd.web08.4661.1662531611939989008 for ; Tue, 06 Sep 2022 23:20:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@canonical.com header.s=20210705 header.b=nvLEeZsm; spf=pass (domain: canonical.com, ip: 185.125.188.123, mailfrom: heinrich.schuchardt@canonical.com) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B96E83F46C for ; Wed, 7 Sep 2022 06:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1662531609; bh=rTIRYGjuKZgp2v2KbQHzxhlRhAQBY0Ano1cYy9/c6xE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nvLEeZsmtJOfwvTLU5MqaKoj2fRq+a2x6Lvs7pE6GIh/Gxm41QUY9dVsMWGUv5TZH Yvv0v4SbbHXn1x1wVTNKVFH/jVL+rL24plMrUfIIbGW3ZZzG7CyBDR+qQrRzTUz4UD K8UXonCqPS7sE9EMwsWC0YEt1dHEkoRNCwLFm20leYfBHH9O7Pp/+l6oeaFLDRetW2 fyu2mOCYsFkDoGwnr9RcBOOWTsDqzcf3Nzguue8rQ+KOxIICYHsS/uNxF4PIF999qy USKunCQVp0EVyIq/0Rw2mbbDBVChiGvqLLsEYmbnHEmocjxZZclEJLubAEmvfcf4qV 2YSwYnvBUg5dA== Received: by mail-wm1-f70.google.com with SMTP id c66-20020a1c3545000000b003a5f6dd6a25so9791093wma.1 for ; Tue, 06 Sep 2022 23:20:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=rTIRYGjuKZgp2v2KbQHzxhlRhAQBY0Ano1cYy9/c6xE=; b=qcw4URCoOs8VFbupjrZ559Skw+PCvcsKSm2WO7P372UCKKRyVf0fZ8m4tWiWK29PWE EYyDp9GPf6IzPpIC13PHSBT0PozAriszMMRVT9fjn0pWHV/vHn2q7HLsn27K3cGfKZtz YEB47oo950F2qRe6xNeW04Ec2yc8Q+VEd4XCsLPbM9sQ6gUIOCBwzh0l+gEDUS7Q+JTY VNkGh71NnKXORF/+Ogfgc6JXClW/Dm9RpDjXDwUHddYijoRtW49aqxjiy0VlFCpPTKK1 YrrZ450XabGZyhDxpPW6nbKWQjwlCKQbWd247k/S3POKjmze9ujE/n8ssaJ2OTmw90ww Y80A== X-Gm-Message-State: ACgBeo05MJih733RZz5Yu4dsfa4GI4OR4VyA8tykhIgdSugxNjzSpvZi x/5DrEemlmGNR0aNSUT/TDKSKNZYMw0MsH5ApIyVxgFKsFdEqCurpeWl6FV23/++2JnsoG6vbe5 F7pbvKvERFOkx+1uTfg5d434ZwUeqIuw= X-Received: by 2002:a05:600c:ace:b0:3a5:b495:854d with SMTP id c14-20020a05600c0ace00b003a5b495854dmr928843wmr.86.1662531609311; Tue, 06 Sep 2022 23:20:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR4WkmSaaQQpeFO6mp+LWHlWCz9MHNQUkjFSthRi76+cgTkHhEGlalGFoQabTSd/gTJSeXLEOQ== X-Received: by 2002:a05:600c:ace:b0:3a5:b495:854d with SMTP id c14-20020a05600c0ace00b003a5b495854dmr928823wmr.86.1662531609066; Tue, 06 Sep 2022 23:20:09 -0700 (PDT) Received: from [192.168.123.94] (ip-084-118-157-002.um23.pools.vodafone-ip.de. [84.118.157.2]) by smtp.gmail.com with ESMTPSA id o12-20020a05600c378c00b003a5f4fccd4asm23233933wmr.35.2022.09.06.23.20.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Sep 2022 23:20:08 -0700 (PDT) Message-ID: <750c6a9f-c271-2ed0-289f-a634562bcf5f@canonical.com> Date: Wed, 7 Sep 2022 08:20:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [RFC PATCH 1/2] RISC-V: Add Qemu Virt platform support To: Sunil V L Cc: Jian J Wang , Liming Gao , Eric Dong , Ray Ni , Rahul Kumar , Debkumar De , Catharine West , Daniel Schaefer , Abner Chang , Leif Lindholm , Ard Biesheuvel , Anup Patel , devel@edk2.groups.io References: <20220906171020.491573-1-sunilvl@ventanamicro.com> From: Heinrich Schuchardt In-Reply-To: <20220906171020.491573-1-sunilvl@ventanamicro.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/6/22 19:10, Sunil V L wrote: > Add build infrastructure files to boot qemu virt machine. > > EDK2 will boot as S-mode payload of opensbi. There is no > integrated opensbi (M-mode firmware) within EDK2 for virt > machine. > > It relies on the RISC-V calling convention that M-mode firmware like > opensbi will pass the BootHartId and the DTB to EDK2. This helps > to simplify the platform specific PCD variables required. It > can parse the DTB to know all the details. Even for future ACPI > support, EDK2 can parse the DTB to create static tables. > > Signed-off-by: Sunil V L Please, provide a list of all prerequisite patches in the cover-letter. It seems that this patch at least depends on https://edk2.groups.io/g/devel/message/93261 [RFC PATCH 00/17] Refactor and add RISC-V support in edk2 repo Best regards Heinrich