[RISC-V] [tech-unixplatformspec] [RISC-V] [tech-privileged] [Announcement] Successful KVM RISC-V bring up on FPGA (Rocket core with H extension)


atishp@...
 

On Tue, 2021-02-02 at 03:14 -0800, mark wrote:
congrats!

can we send something out to tech-announce about it?
Sure. I will send that once I have the detailed instructions available
in public domain.

--------
sent from a mobile device. please forgive any typos.

On Feb 2, 2021, at 12:40 AM, Atish Patra <atish.patra@...>
wrote:

Hi,
We are glad to announce that we are able to boot Linux in KVM guest
on
a FPGA (Rocket chip + H extension v0.6.1). We now have three
hypervisors working on a Hardware with H extension.

1. KVM [1]
2. Xvisor [2]
3. Bao [3]

KVM bring up was done using Firesim and the detailed instructions
will
be available very soon. Here are the software versions used for
bringup. Please find the attached boot log.

OpenSBI: v0.9
Linux kernel: 5.11-rc5 + KVM patches(v16) + few kernel fixes [4].
Kvmtool: Upstream + RISC-V KVMTOOL patches (v6) [5]


We would like to thank Sandro & Jose who implemented the H
extension.
The Rocket-H design is available as a AFI image to be used within
Firesim or a stand alone FPGA board.

We would also like to thank Andrew/John/Greg & others for defining
such
a clean specification as we did not discover any significant issues
while doing the bring up. As there are no changes proposed to the H
extension in the last year, we believe the current version of the H
extension can be considered as a freeze candidate. Please let us
know
if that is not the case.

--
Regards,
Atish

[1] https://github.com/kvm-riscv/howto/wiki
[2] https://github.com/xvisor/xvisor
[3] https://github.com/sandro2pinto/bao-rocket-h-firesim
[4] https://github.com/atishp04/linux/commits/rocket_kvm_working
[5] https://github.com/kvm-riscv/kvmtool





<kvm_fpga_boot_log.txt>



--
Regards,
Atish


Sean Halle
 


Thank you for sending out the announcement, and congratulations :-)

I was wondering about the Rocket-H RTL.  Did some searching, which didn't turn up much.  Is that in the rocket-chip repo?  If not, is it open source?  If so, I would really appreciate a pointer to the implementation.

Thanks,

Sean


On Tue, Feb 2, 2021 at 11:18 AM Atish Patra <atish.patra@...> wrote:
On Tue, 2021-02-02 at 03:14 -0800, mark wrote:
> congrats!
>
> can we send something out to tech-announce about it?
>

Sure. I will send that once I have the detailed instructions available
in public domain.

> --------
> sent from a mobile device. please forgive any typos.
>
> > On Feb 2, 2021, at 12:40 AM, Atish Patra <atish.patra@...>
> > wrote:
> >
> > Hi,
> > We are glad to announce that we are able to boot Linux in KVM guest
> > on
> > a FPGA (Rocket chip + H extension v0.6.1). We now have three
> > hypervisors working on a Hardware with H extension.
> >
> > 1. KVM [1]
> > 2. Xvisor [2]
> > 3. Bao [3]
> >
> > KVM bring up was done using Firesim and the detailed instructions
> > will
> > be available very soon. Here are the software versions used for
> > bringup. Please find the attached boot log.
> >
> > OpenSBI: v0.9
> > Linux kernel: 5.11-rc5 + KVM patches(v16) + few kernel fixes [4].
> > Kvmtool: Upstream + RISC-V KVMTOOL patches (v6) [5]
> >
> >
> > We would like to thank Sandro & Jose who implemented the H
> > extension.
> > The Rocket-H design is available as a AFI image to be used within
> > Firesim or a stand alone FPGA board.
> >
> > We would also like to thank Andrew/John/Greg & others for defining
> > such
> > a clean specification as we did not discover any significant issues
> > while doing the bring up. As there are no changes proposed to the H
> > extension in the last year, we believe the current version of the H
> > extension can be considered as a freeze candidate. Please let us
> > know
> > if that is not the case.
> >
> > --
> > Regards,
> > Atish
> >
> > [1] https://github.com/kvm-riscv/howto/wiki
> > [2] https://github.com/xvisor/xvisor
> > [3] https://github.com/sandro2pinto/bao-rocket-h-firesim
> > [4] https://github.com/atishp04/linux/commits/rocket_kvm_working
> > [5] https://github.com/kvm-riscv/kvmtool
> >
> >
> >
> >
> >
> > <kvm_fpga_boot_log.txt>
>
>
>
>
>

--
Regards,
Atish






Sandro Pinto
 

Hi Sean,

The rocket-chip repo with our H-extension (a.k.a. Rocket-H) implementation can be found here:

Here you can find instructions on how to build and run the Rocket-H on FireSim with our hypervisor (Bao):

Feel free to ping us if you have any doubt or question..

Sandro

On Sat, Feb 27, 2021 at 4:56 AM Sean Halle <seanhalle@...> wrote:

Thank you for sending out the announcement, and congratulations :-)

I was wondering about the Rocket-H RTL.  Did some searching, which didn't turn up much.  Is that in the rocket-chip repo?  If not, is it open source?  If so, I would really appreciate a pointer to the implementation.

Thanks,

Sean


On Tue, Feb 2, 2021 at 11:18 AM Atish Patra <atish.patra@...> wrote:
On Tue, 2021-02-02 at 03:14 -0800, mark wrote:
> congrats!
>
> can we send something out to tech-announce about it?
>

Sure. I will send that once I have the detailed instructions available
in public domain.

> --------
> sent from a mobile device. please forgive any typos.
>
> > On Feb 2, 2021, at 12:40 AM, Atish Patra <atish.patra@...>
> > wrote:
> >
> > Hi,
> > We are glad to announce that we are able to boot Linux in KVM guest
> > on
> > a FPGA (Rocket chip + H extension v0.6.1). We now have three
> > hypervisors working on a Hardware with H extension.
> >
> > 1. KVM [1]
> > 2. Xvisor [2]
> > 3. Bao [3]
> >
> > KVM bring up was done using Firesim and the detailed instructions
> > will
> > be available very soon. Here are the software versions used for
> > bringup. Please find the attached boot log.
> >
> > OpenSBI: v0.9
> > Linux kernel: 5.11-rc5 + KVM patches(v16) + few kernel fixes [4].
> > Kvmtool: Upstream + RISC-V KVMTOOL patches (v6) [5]
> >
> >
> > We would like to thank Sandro & Jose who implemented the H
> > extension.
> > The Rocket-H design is available as a AFI image to be used within
> > Firesim or a stand alone FPGA board.
> >
> > We would also like to thank Andrew/John/Greg & others for defining
> > such
> > a clean specification as we did not discover any significant issues
> > while doing the bring up. As there are no changes proposed to the H
> > extension in the last year, we believe the current version of the H
> > extension can be considered as a freeze candidate. Please let us
> > know
> > if that is not the case.
> >
> > --
> > Regards,
> > Atish
> >
> > [1] https://github.com/kvm-riscv/howto/wiki
> > [2] https://github.com/xvisor/xvisor
> > [3] https://github.com/sandro2pinto/bao-rocket-h-firesim
> > [4] https://github.com/atishp04/linux/commits/rocket_kvm_working
> > [5] https://github.com/kvm-riscv/kvmtool
> >
> >
> >
> >
> >
> > <kvm_fpga_boot_log.txt>
>
>
>
>
>

--
Regards,
Atish