Re: [PATCH v10 00/12] riscv: QEMU RISC-V IOMMU support

2024-10-29 Thread Alistair Francis
On Thu, Oct 17, 2024 at 6:41 AM Daniel Henrique Barboza wrote: > > Hi, > > In this new version we fixed address alignment issues in some command > queue commands, pointed out by Jason in v9. > > No other changes made. Series based on alistair/riscv-to-apply.next. > > All patches reviewed. > > Chan

[PATCH v10 00/12] riscv: QEMU RISC-V IOMMU support

2024-10-16 Thread Daniel Henrique Barboza
Hi, In this new version we fixed address alignment issues in some command queue commands, pointed out by Jason in v9. No other changes made. Series based on alistair/riscv-to-apply.next. All patches reviewed. Changes from v9: - patch 3: - fixed cmd.dword1 alignment in riscv_iommu_process_cq_t

[PATCH v9 00/12] riscv: QEMU RISC-V IOMMU Support

2024-10-04 Thread Daniel Henrique Barboza
Hi, In this new version we fixed the IOVA == GPA MSI early check in patch 3, in riscv_iommu_spa_fetch(), after discussions with Tomasz and Drew on v8. The motivation behind what was being was making the emulation work with the existing VFIO irqbypass support in the kernel. In the end this was not

[PATCH v8 00/12] riscv: QEMU RISC-V IOMMU Support

2024-10-01 Thread Daniel Henrique Barboza
Hi, We had problems right at the finish line of the pull request due to endianness problems reported in the Gitlab CI [1]. This triggered discussions in the middle of the pull request patches [2] that resulted in this new version. We dealt with the endianness problem that was hitting the Gitlab C

Re: [PATCH v7 00/12] riscv: QEMU RISC-V IOMMU Support

2024-09-05 Thread Alistair Francis
On Wed, Sep 4, 2024 at 6:17 AM Daniel Henrique Barboza wrote: > > Hi, > > In this new version the only significant code change was made in patch > 3, where we're no longer modifying the host address with the translated > address. The remaining of the changes consist in adding more in-code > docs (

[PATCH v7 00/12] riscv: QEMU RISC-V IOMMU Support

2024-09-03 Thread Daniel Henrique Barboza
Hi, In this new version the only significant code change was made in patch 3, where we're no longer modifying the host address with the translated address. The remaining of the changes consist in adding more in-code docs (a.k.a comments) on the design choices made in the emulation. The docs were

[PATCH for-9.2 v6 00/12] riscv: QEMU RISC-V IOMMU Support

2024-08-01 Thread Daniel Henrique Barboza
Hi, In this new version the most notable change is how we're dealing with ICVEC updates. Instead of hardcoding the vectors being used in riscv-iommu-pci, a new interface was created to allow IOMMU devices to receive ICVEC updates and act accordingly. riscv-iommu-pci will receive this notification

[PATCH v5 00/13] riscv: QEMU RISC-V IOMMU Support

2024-07-08 Thread Daniel Henrique Barboza
Hi, In this new version changes based on the suggestions made in v4 were made. The most notable change, however, is the merge of patches 3 (base IOMMU emulation and 9 (s-stage and g-stage) from v4 into a single patch. There were several instances throughout the revisions of this work where a comm

Re: [PATCH v4 00/14] riscv: QEMU RISC-V IOMMU Support

2024-07-07 Thread Alistair Francis
On Sat, Jul 6, 2024 at 7:26 AM Daniel Henrique Barboza wrote: > > Hi, > > Would it make it easier for review if we squash patch 3: > > [PATCH v4 03/14] hw/riscv: add RISC-V IOMMU base emulation > > and patch 8: > > [PATCH v4 09/14] hw/riscv/riscv-iommu: add s-stage and g-stage support > > In the s

Re: [PATCH v4 00/14] riscv: QEMU RISC-V IOMMU Support

2024-07-05 Thread Daniel Henrique Barboza
ster. Patches missing reviews/acks: 3, 9, 14 * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. The Linux kernel used for tests can be found here: https://

[PATCH v4 00/14] riscv: QEMU RISC-V IOMMU Support

2024-06-24 Thread Daniel Henrique Barboza
4 * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. The Linux kernel used for tests can be found here: https://github.com/tjeznach/linux/tree/riscv_iommu_v6-rc3

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-14 Thread LIU Zhiwei
patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. I can provide more details (e.g. QEMU command lines) if required, just l

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-12 Thread Daniel Henrique Barboza
Thanks, Daniel Thanks, Zhiwei On 2024/5/24 1:39, Daniel Henrique Barboza wrote: Hi, In this new version a lot of changes were made throughout all the code, most notably on patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-12 Thread LIU Zhiwei
How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. I can provide more details (e.g. QEMU command lines) if required, just let me know. For now this cover-letter is too much o

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-11 Thread Daniel Henrique Barboza
code, most notably on patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. I can provide more details (e.g. QEMU command

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread LIU Zhiwei
the code, most notably on patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. I can provide more details (e.g. QEMU

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Alistair Francis
e: > >>> > >>> Hi, > >>> > >>> In this new version a lot of changes were made throughout all the code, > >>> most notably on patch 3. Link for the previous version is [1]. > >>> > >>> * How it was tested * > >

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Daniel Henrique Barboza
previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card from the host to the guest. I can provide more details (e.g. QEMU command lines) if required, just let me know. For now this

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-10 Thread Andrew Jones
previous version is [1]. >> >> * How it was tested * >> >> This series was tested using an emulated QEMU RISC-V host booting a QEMU >> KVM guest, passing through an emulated e1000 network card from the host >> to the guest. I can provide more details (e.g. QEMU co

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-09 Thread Alistair Francis
On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza wrote: > > Hi, > > In this new version a lot of changes were made throughout all the code, > most notably on patch 3. Link for the previous version is [1]. > > * How it was tested * > > This series was tested us

[PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-05-23 Thread Daniel Henrique Barboza
Hi, In this new version a lot of changes were made throughout all the code, most notably on patch 3. Link for the previous version is [1]. * How it was tested * This series was tested using an emulated QEMU RISC-V host booting a QEMU KVM guest, passing through an emulated e1000 network card

Re: [PATCH v2 00/15] riscv: QEMU RISC-V IOMMU Support

2024-05-20 Thread Daniel Henrique Barboza
On 5/10/24 08:14, Frank Chang wrote: Hi Daniel, Thanks for the upstream work. Sorry that it took a while for me to review the patchset. Please let me know if you need any help from us to update the IOMMU model. We would like to see it merged for QEMU 9.1.0. Thanks for the help in the revie

Re: [PATCH v2 00/15] riscv: QEMU RISC-V IOMMU Support

2024-05-10 Thread Frank Chang
Hi Daniel, Thanks for the upstream work. Sorry that it took a while for me to review the patchset. Please let me know if you need any help from us to update the IOMMU model. We would like to see it merged for QEMU 9.1.0. Regards, Frank Chang Daniel Henrique Barboza 於 2024年3月8日 週五 上午12:04寫道: >

[PATCH v2 00/15] riscv: QEMU RISC-V IOMMU Support

2024-03-07 Thread Daniel Henrique Barboza
Hi, This is the second version of the work Tomasz sent in July 2023 [1]. I'll be helping Tomasz upstreaming it. The core emulation code is left unchanged but a few tweaks were made in v2: - The most notable difference in this version is that the code was split in smaller chunks. Patch 03 is s

[PATCH 0/5] QEMU RISC-V IOMMU Support

2023-07-19 Thread Tomasz Jeznach
The RISC-V IOMMU specification is now ratified as-per the RISC-V international process [1]. The latest frozen specifcation can be found at: https://github.com/riscv-non-isa/riscv-iommu/releases/download/v1.0/riscv-iommu.pdf This series introduces a RISC-V IOMMU device emulation implementation with

Re: QEMU RISC-V

2023-07-02 Thread Alistair Francis
On Sun, Jun 25, 2023 at 8:27 AM Peter Samir wrote: > > hello, > I built RISC-V toolchain and QEMU as follows: > # Install prerequisites: > https://github.com/riscv-collab/riscv-gnu-toolchain#prerequisites > # Install additional prerequisites: > https://github.com/riscv-collab/riscv-gnu-toolchain

QEMU RISC-V

2023-06-24 Thread Peter Samir
hello, I built RISC-V toolchain and QEMU as follows: # Install prerequisites: https://github.com/riscv-collab/riscv-gnu-toolchain#prerequisites # Install additional prerequisites: https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1251 git clone https://github.com/riscv-collab/riscv-gnu-too

Re: [PATCH v9 0/2] QEMU RISC-V nested virtualization fixes

2022-07-04 Thread Alistair Francis
On Thu, Jun 30, 2022 at 4:27 PM Anup Patel wrote: > > On Thu, Jun 30, 2022 at 11:42 AM Anup Patel wrote: > > > > This series does fixes and improvements to have nested virtualization > > on QEMU RISC-V. > > > > These patches can also be found in riscv_

Re: [PATCH v9 0/2] QEMU RISC-V nested virtualization fixes

2022-06-29 Thread Anup Patel
On Thu, Jun 30, 2022 at 11:42 AM Anup Patel wrote: > > This series does fixes and improvements to have nested virtualization > on QEMU RISC-V. > > These patches can also be found in riscv_nested_fixes_v9 branch at: > https://github.com/avpatel/qemu.git > > The RISC-V n

[PATCH v9 0/2] QEMU RISC-V nested virtualization fixes

2022-06-29 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v9 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

Re: [PATCH 0/2] AIA draft v0.3.0 support for QEMU RISC-V

2022-06-29 Thread Alistair Francis
On Thu, Jun 16, 2022 at 1:17 PM Anup Patel wrote: > > The latest AIA draft v0.3.0 addresses comments from the architecture > review committee. > (Refer, https://github.com/riscv/riscv-aia/releases/tag/0.3.0-draft.31) > > There are primarily two changes: > 1) Removing various [m|s|vs]seteienum, [m|

[PATCH v8 0/4] QEMU RISC-V nested virtualization fixes

2022-06-28 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v8 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

[PATCH v7 0/4] QEMU RISC-V nested virtualization fixes

2022-06-27 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v7 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

Re: [PATCH v6 0/4] QEMU RISC-V nested virtualization fixes

2022-06-26 Thread Alistair Francis
On Sat, Jun 11, 2022 at 6:20 PM Anup Patel wrote: > > This series does fixes and improvements to have nested virtualization > on QEMU RISC-V. > > These patches can also be found in riscv_nested_fixes_v6 branch at: > https://github.com/avpatel/qemu.git > > The RISC-V n

[PATCH 0/2] AIA draft v0.3.0 support for QEMU RISC-V

2022-06-15 Thread Anup Patel
The latest AIA draft v0.3.0 addresses comments from the architecture review committee. (Refer, https://github.com/riscv/riscv-aia/releases/tag/0.3.0-draft.31) There are primarily two changes: 1) Removing various [m|s|vs]seteienum, [m|s|vs]clreienum, [m|s|vs]seteipnum, and [m|s|vs]clrei;num CSRs

[PATCH v6 0/4] QEMU RISC-V nested virtualization fixes

2022-06-11 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v6 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

[PATCH v5 0/4] QEMU RISC-V nested virtualization fixes

2022-06-08 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v5 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

[PATCH v4 0/4] QEMU RISC-V nested virtualization fixes

2022-06-08 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v4 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

[PATCH v3 0/4] QEMU RISC-V nested virtualization fixes

2022-05-26 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v3 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

Re: [PATCH v2 0/8] QEMU RISC-V nested virtualization fixes

2022-05-24 Thread Alistair Francis
On Thu, May 12, 2022 at 12:47 AM Anup Patel wrote: > > This series does fixes and improvements to have nested virtualization > on QEMU RISC-V. > > These patches can also be found in riscv_nested_fixes_v2 branch at: > https://github.com/avpatel/qemu.git > > The RISC-V n

[PATCH v2 0/8] QEMU RISC-V nested virtualization fixes

2022-05-11 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v2 branch at: https://github.com/avpatel/qemu.git The RISC-V nested virtualization was tested on QEMU RISC-V using Xvisor RISC-V which has required

[PATCH 0/3] QEMU RISC-V priv spec version fixes

2022-04-29 Thread Anup Patel
This series covers few fixes discovered while trying to detect priv spec version on QEMU virt machine and QEMU sifive_u machine. These patches can also be found in riscv_priv_version_fixes_v1 branch at: https://github.com/avpatel/qemu.git Anup Patel (3): target/riscv: Don't force update priv sp

[PATCH 0/4] QEMU RISC-V nested virtualization fixes

2022-04-28 Thread Anup Patel
This series does fixes and improvements to have nested virtualization on QEMU RISC-V. The first two patches are fixes whereas the second two patches make nested virtualization performance better on for QEMU RISC-V. These patches can also be found in riscv_nested_fixes_v1 branch at: https

Re: [PATCH v10 0/5] QEMU RISC-V AIA support

2022-02-20 Thread Alistair Francis
On Sun, Feb 20, 2022 at 6:57 PM Anup Patel wrote: > > From: Anup Patel > > The advanced interrupt architecture (AIA) extends the per-HART local > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > and Advanced PLIC (wired interrupt controller). > > The latest AIA draft speci

[PATCH v10 0/5] QEMU RISC-V AIA support

2022-02-20 Thread Anup Patel
From: Anup Patel The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/re

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-11 Thread Alistair Francis
On Thu, Feb 10, 2022 at 8:24 PM Anup Patel wrote: > > On Thu, Feb 10, 2022 at 1:58 PM Atish Patra wrote: > > > > On Mon, Feb 7, 2022 at 10:51 PM Alistair Francis > > wrote: > > > > > > On Tue, Feb 8, 2022 at 2:16 PM Alistair Francis > > > wrote: > > > > > > > > On Sat, Feb 5, 2022 at 3:47 AM

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-10 Thread Anup Patel
On Thu, Feb 10, 2022 at 1:58 PM Atish Patra wrote: > > On Mon, Feb 7, 2022 at 10:51 PM Alistair Francis wrote: > > > > On Tue, Feb 8, 2022 at 2:16 PM Alistair Francis > > wrote: > > > > > > On Sat, Feb 5, 2022 at 3:47 AM Anup Patel wrote: > > > > > > > > From: Anup Patel > > > > > > > > The a

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-10 Thread Atish Patra
On Mon, Feb 7, 2022 at 10:51 PM Alistair Francis wrote: > > On Tue, Feb 8, 2022 at 2:16 PM Alistair Francis wrote: > > > > On Sat, Feb 5, 2022 at 3:47 AM Anup Patel wrote: > > > > > > From: Anup Patel > > > > > > The advanced interrupt architecture (AIA) extends the per-HART local > > > interru

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-08 Thread Anup Patel
On Tue, Feb 8, 2022 at 12:27 PM Alistair Francis wrote: > > On Tue, Feb 8, 2022 at 2:16 PM Alistair Francis wrote: > > > > On Sat, Feb 5, 2022 at 3:47 AM Anup Patel wrote: > > > > > > From: Anup Patel > > > > > > The advanced interrupt architecture (AIA) extends the per-HART local > > > interru

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-07 Thread Alistair Francis
On Tue, Feb 8, 2022 at 2:16 PM Alistair Francis wrote: > > On Sat, Feb 5, 2022 at 3:47 AM Anup Patel wrote: > > > > From: Anup Patel > > > > The advanced interrupt architecture (AIA) extends the per-HART local > > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > > and Adv

Re: [PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-07 Thread Alistair Francis
On Sat, Feb 5, 2022 at 3:47 AM Anup Patel wrote: > > From: Anup Patel > > The advanced interrupt architecture (AIA) extends the per-HART local > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > and Advanced PLIC (wired interrupt controller). > > The latest AIA draft specif

[PATCH v9 00/23] QEMU RISC-V AIA support

2022-02-04 Thread Anup Patel
From: Anup Patel The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/re

Re: [PATCH v8 00/23] QEMU RISC-V AIA support

2022-01-21 Thread Alistair Francis
On Fri, Jan 21, 2022 at 2:02 AM Anup Patel wrote: > > Hi Alistair, > > On Wed, Jan 19, 2022 at 8:56 PM Anup Patel wrote: > > > > From: Anup Patel > > > > The advanced interrupt architecture (AIA) extends the per-HART local > > interrupt support. Along with this, it also adds IMSIC (MSI contrllor

Re: [PATCH v8 00/23] QEMU RISC-V AIA support

2022-01-20 Thread Anup Patel
Hi Alistair, On Wed, Jan 19, 2022 at 8:56 PM Anup Patel wrote: > > From: Anup Patel > > The advanced interrupt architecture (AIA) extends the per-HART local > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > and Advanced PLIC (wired interrupt controller). > > The latest A

[PATCH v8 00/23] QEMU RISC-V AIA support

2022-01-19 Thread Anup Patel
From: Anup Patel The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/re

[PATCH v7 00/23] QEMU RISC-V AIA support

2022-01-17 Thread Anup Patel
From: Anup Patel The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/re

[PATCH v6 00/23] QEMU RISC-V AIA support

2021-12-30 Thread Anup Patel
From: Anup Patel The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/re

[PATCH v5 00/23] QEMU RISC-V AIA support

2021-12-10 Thread Anup Patel
The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/releases/download/0.2

[PATCH v4 00/22] QEMU RISC-V AIA support

2021-10-26 Thread Anup Patel
The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/releases/download/0.2

Re: [PATCH v3 00/22] QEMU RISC-V AIA support

2021-10-25 Thread Anup Patel
Hi Alistair, On Sat, Oct 23, 2021 at 2:17 PM Anup Patel wrote: > > The advanced interrupt architecture (AIA) extends the per-HART local > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > and Advanced PLIC (wired interrupt controller). > > The latest AIA draft specification

[PATCH v3 00/22] QEMU RISC-V AIA support

2021-10-23 Thread Anup Patel
The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/releases/download/0.2

Re: [PATCH v4 0/4] QEMU RISC-V ACLINT Support

2021-09-28 Thread Anup Patel
gt; > > > > > This series: > > > 1) Replaces SiFive CLINT implementation with RISC-V ACLINT > > > 2) Refactors RISC-V virt machine FDT generation > > > 3) Adds optional full ACLINT support in QEMU RISC-V virt machine > > > > > > This series can b

Re: [PATCH v4 0/4] QEMU RISC-V ACLINT Support

2021-09-28 Thread Alistair Francis
) Refactors RISC-V virt machine FDT generation > > 3) Adds optional full ACLINT support in QEMU RISC-V virt machine > > > > This series can be found in the riscv_aclint_v4 branch at: > > https://github.com/avpatel/qemu.git > > > > Changes since v3: >

Re: [PATCH v4 0/4] QEMU RISC-V ACLINT Support

2021-09-28 Thread Anup Patel
n) can be found at: > https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc > > This series: > 1) Replaces SiFive CLINT implementation with RISC-V ACLINT > 2) Refactors RISC-V virt machine FDT generation > 3) Adds optional full ACLINT support in QEMU RISC-V virt machine

Re: [PATCH v2 00/22] QEMU RISC-V AIA support

2021-09-04 Thread Anup Patel
On Sat, Sep 4, 2021 at 7:21 PM Bin Meng wrote: > > On Thu, Sep 2, 2021 at 7:26 PM Anup Patel wrote: > > > > The advanced interrupt architecture (AIA) extends the per-HART local > > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > > and Advanced PLIC (wired interrupt contro

Re: [PATCH v2 00/22] QEMU RISC-V AIA support

2021-09-04 Thread Bin Meng
On Thu, Sep 2, 2021 at 7:26 PM Anup Patel wrote: > > The advanced interrupt architecture (AIA) extends the per-HART local > interrupt support. Along with this, it also adds IMSIC (MSI contrllor) > and Advanced PLIC (wired interrupt controller). > > The latest AIA draft specification can be found h

[PATCH v2 00/22] QEMU RISC-V AIA support

2021-09-02 Thread Anup Patel
The advanced interrupt architecture (AIA) extends the per-HART local interrupt support. Along with this, it also adds IMSIC (MSI contrllor) and Advanced PLIC (wired interrupt controller). The latest AIA draft specification can be found here: https://github.com/riscv/riscv-aia/releases/download/0.2

[PATCH v4 0/4] QEMU RISC-V ACLINT Support

2021-08-31 Thread Anup Patel
This series: 1) Replaces SiFive CLINT implementation with RISC-V ACLINT 2) Refactors RISC-V virt machine FDT generation 3) Adds optional full ACLINT support in QEMU RISC-V virt machine This series can be found in the riscv_aclint_v4 branch at: https://github.com/avpatel/qemu.git Changes since v3

[PATCH v3 0/4] QEMU RISC-V ACLINT Support

2021-08-28 Thread Anup Patel
This series: 1) Replaces SiFive CLINT implementation with RISC-V ACLINT 2) Refactors RISC-V virt machine FDT generation 3) Adds optional full ACLINT support in QEMU RISC-V virt machine This series can be found in the riscv_aclint_v3 branch at: https://github.com/avpatel/qemu.git Changes since v2

[PATCH v2 0/4] QEMU RISC-V ACLINT Support

2021-07-24 Thread Anup Patel
This series: 1) Replaces SiFive CLINT implementation with RISC-V ACLINT 2) Refactors RISC-V virt machine FDT generation 3) Adds optional full ACLINT support in QEMU RISC-V virt machine This series can be found in the riscv_aclint_v2 branch at: https://github.com/avpatel/qemu.git Changes since v1

Re: [PATCH v8 0/3] RTC support for QEMU RISC-V virt machine

2020-01-22 Thread Anup Patel
On Thu, Nov 7, 2019 at 10:22 PM Palmer Dabbelt wrote: > > On Wed, 06 Nov 2019 03:56:29 PST (-0800), Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > > selected Goldfish RTC device model for this. It's a pretty simple > > s

Re: [PATCH v8 0/3] RTC support for QEMU RISC-V virt machine

2019-11-07 Thread Philippe Mathieu-Daudé
On 11/7/19 5:52 PM, Palmer Dabbelt wrote: On Wed, 06 Nov 2019 03:56:29 PST (-0800), Anup Patel wrote: This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no depen

Re: [PATCH v8 0/3] RTC support for QEMU RISC-V virt machine

2019-11-07 Thread Palmer Dabbelt
On Wed, 06 Nov 2019 03:56:29 PST (-0800), Anup Patel wrote: This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish R

[PATCH v8 0/3] RTC support for QEMU RISC-V virt machine

2019-11-06 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

[PATCH v7 0/3] RTC support for QEMU RISC-V virt machine

2019-11-06 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-05 Thread Palmer Dabbelt
On Sat, 02 Nov 2019 03:37:42 PDT (-0700), Peter Maydell wrote: On Tue, 29 Oct 2019 at 13:25, Alistair Francis wrote: On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > selected Goldfish RTC device model for thi

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-04 Thread Alistair Francis
On Sat, Nov 2, 2019 at 3:37 AM Peter Maydell wrote: > > On Tue, 29 Oct 2019 at 13:25, Alistair Francis wrote: > > > > On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > > > > > This series adds RTC device to QEMU RISC-V virt machine. We have > > >

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-04 Thread Alistair Francis
gt; >> > > >> On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > >> > > > >> > This series adds RTC device to QEMU RISC-V virt machine. We have > > >> > selected Goldfish RTC device model for this. It's a pretty simple > &

[PATCH v6 0/3] RTC support for QEMU RISC-V virt machine

2019-11-03 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-03 Thread Anup Patel
;> > > >> > This series adds RTC device to QEMU RISC-V virt machine. We have > >> > selected Goldfish RTC device model for this. It's a pretty simple > >> > synthetic device with few MMIO registers and no dependency external > >> > cl

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-02 Thread Peter Maydell
On Tue, 29 Oct 2019 at 13:25, Alistair Francis wrote: > > On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > > > This series adds RTC device to QEMU RISC-V virt machine. We have > > selected Goldfish RTC device model for this. It's a pretty simple > > synth

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-01 Thread Palmer Dabbelt
On Fri, 01 Nov 2019 08:40:24 PDT (-0700), a...@brainfault.org wrote: On Tue, Oct 29, 2019 at 6:55 PM Alistair Francis wrote: On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > selected Goldfish RTC device model

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-01 Thread Anup Patel
On Tue, Oct 29, 2019 at 6:55 PM Alistair Francis wrote: > > On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > > > This series adds RTC device to QEMU RISC-V virt machine. We have > > selected Goldfish RTC device model for this. It's a pretty simple >

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-10-29 Thread Alistair Francis
On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > selected Goldfish RTC device model for this. It's a pretty simple > synthetic device with few MMIO registers and no dependency external > clock. The driver

[PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-10-24 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

[PATCH v4 0/2] RTC support for QEMU RISC-V virt machine

2019-10-22 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

[PATCH v3 0/2] RTC support for QEMU RISC-V virt machine

2019-10-15 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

RE: [PATCH 0/2] RTC support for QEMU RISC-V virt machine

2019-09-27 Thread Anup Patel
; Anup Patel > Subject: Re: [PATCH 0/2] RTC support for QEMU RISC-V virt machine > > > On Tue, Sep 24, 2019 at 08:42:36AM +, Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > > selected Goldfish RTC device model for this. It&#

Re: [PATCH 0/2] RTC support for QEMU RISC-V virt machine

2019-09-27 Thread Richard W.M. Jones
On Tue, Sep 24, 2019 at 08:42:36AM +, Anup Patel wrote: > This series adds RTC device to QEMU RISC-V virt machine. We have > selected Goldfish RTC device model for this. It's a pretty simple > synthetic device with few MMIO registers and no dependency external > cloc

Re: [PATCH 0/2] RTC support for QEMU RISC-V virt machine

2019-09-27 Thread Richard W.M. Jones
kar ; > > Bastian Koppelmann ; Atish Patra > > ; qemu-ri...@nongnu.org; qemu- > > de...@nongnu.org; Anup Patel > > Subject: Re: [PATCH 0/2] RTC support for QEMU RISC-V virt machine > > > > > > On Tue, Sep 24, 2019 at 08:42:36AM +, Anup Patel wrote: &

RE: [PATCH 0/2] RTC support for QEMU RISC-V virt machine

2019-09-27 Thread Anup Patel
; Anup Patel > Subject: Re: [PATCH 0/2] RTC support for QEMU RISC-V virt machine > > On Fri, Sep 27, 2019 at 12:05:43PM +, Anup Patel wrote: > > > > > > > -Original Message- > > > From: Richard W.M. Jones > > > Sent: Friday, September

RE: [PATCH v2 0/2] RTC support for QEMU RISC-V virt machine

2019-09-24 Thread Anup Patel
i...@nongnu.org; qemu- > de...@nongnu.org; Anup Patel > Subject: Re: [PATCH v2 0/2] RTC support for QEMU RISC-V virt machine > > Hi Anup, > > On 9/24/19 3:11 PM, Anup Patel wrote: > > This series adds RTC device to QEMU RISC-V virt machine. We have > > selected Goldfish RTC

Re: [PATCH v2 0/2] RTC support for QEMU RISC-V virt machine

2019-09-24 Thread Philippe Mathieu-Daudé
Hi Anup, On 9/24/19 3:11 PM, Anup Patel wrote: > This series adds RTC device to QEMU RISC-V virt machine. We have > selected Goldfish RTC device model for this. It's a pretty simple > synthetic device with few MMIO registers and no dependency external > clock. The driver fo

[PATCH v2 0/2] RTC support for QEMU RISC-V virt machine

2019-09-24 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

[PATCH 0/2] RTC support for QEMU RISC-V virt machine

2019-09-24 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable

Re: [Qemu-devel] RFC: qemu RISC-V

2017-08-25 Thread KONRAD Frederic
Hi Paolo, Thanks for the information. Fred On 08/23/2017 10:29 PM, Paolo Bonzini wrote: On 23/08/2017 21:25, KONRAD Frederic wrote: Hi all, I found somes slides about RISC-V at the KVM forum 2016. Seems the upstreaming process should have started in september 2016 but I didn't see anything.

Re: [Qemu-devel] RFC: qemu RISC-V

2017-08-23 Thread Paolo Bonzini
On 23/08/2017 21:25, KONRAD Frederic wrote: > Hi all, > > I found somes slides about RISC-V at the KVM forum 2016. > > Seems the upstreaming process should have started in september 2016 but > I didn't see anything. > > Is that still planed? We're waiting from the privileged interface specifica

[Qemu-devel] RFC: qemu RISC-V

2017-08-23 Thread KONRAD Frederic
Hi all, I found somes slides about RISC-V at the KVM forum 2016. Seems the upstreaming process should have started in september 2016 but I didn't see anything. Is that still planed? Thanks, Fred

Re: [Qemu-devel] [sw-dev] RFC: QEMU RISC-V modular ISA decoding

2017-07-27 Thread Markus Armbruster
Bastian Koppelmann writes: > On 07/25/2017 06:37 PM, Bruce Hoult wrote: >> Do you have any good estimates for how much of the execution time is >> typically spent in instruction decode? >> >> RISC-V qemu is twice as fast as ARM or Aarch64 qemu, so it's doing >> something right! >> >> (I suspect

Re: [Qemu-devel] [sw-dev] RFC: QEMU RISC-V modular ISA decoding

2017-07-26 Thread Michael Clark
> On 27 Jul 2017, at 8:58 AM, kr...@berkeley.edu wrote: > > > Given that one of the goals of RISC-V is extensibility, it would be > nice if the QEMU port was done in a way to make it easier to extend by > third parties, including other automated tools. I'm sure that, over > time, the preprocess

  1   2   >