[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] RISC-V: Add Ztso extension
From: |
Christoph Müllner |
Subject: |
Re: [PATCH 0/2] RISC-V: Add Ztso extension |
Date: |
Wed, 14 Feb 2024 14:38:34 +0100 |
On Wed, Feb 14, 2024 at 2:35 PM Daniel Henrique Barboza
<dbarboza@ventanamicro.com> wrote:
>
>
>
> On 2/7/24 09:22, Christoph Müllner wrote:
> > The first patch of this series picks up an earlier v2 Ztso patch from
> > Palmer,
> > which can be found here:
> >
> > https://patchwork.kernel.org/project/qemu-devel/patch/20220917072635.11616-1-palmer@rivosinc.com/
> > This patch did not apply cleanly but the necessary changes were trivial.
> > There was a request to extend the commit message, which is part of the
> > posted patch of this series. As this patch was reviewed a year ago,
> > I believe it could be merged.
> >
> > The second patch simply exposes Ztso via hwprobe.
>
> It's also worth mentioning that the second patch relies on:
>
> "[PATCH 0/2] linux-user/riscv: Sync hwprobe keys with kernel"
>
> To be applied beforehand.
Indeed! Therefore, the end of the cover letter contains the following paragraph:
"""
This series is based on today's riscv-to-apply.next with my other series
that adds the new hwprobe keys
(https://lists.gnu.org/archive/html/qemu-devel/2024-02/msg01293.html).
"""
To ease reviewing and testing for others, I've also created a remote
branch on GitHub.
Thanks for reviewing!
>
>
>
> Thanks,
>
> Daniel
>
>
> >
> > Relevant in this context might be also, that Richard's patch to improve
> > TCG's memory barrier selection depending on host and guest memory ordering
> > landed in June 2023:
> >
> > https://lore.kernel.org/all/a313b36b-dcc1-f812-ccbd-afed1cbd523b@linaro.org/T/
> >
> > The first patch was already sent as part of an RFC series for Ssdtso:
> > https://lists.nongnu.org/archive/html/qemu-devel/2023-11/msg02962.html
> > Since I don't want to keep this patch until the ratification of Ssdtso,
> > I would like to get this merged independent of Ssdtso.
> >
> > This series is based on today's riscv-to-apply.next with my other series
> > that adds the new hwprobe keys
> > (https://lists.gnu.org/archive/html/qemu-devel/2024-02/msg01293.html).
> >
> > This series can also be found here:
> > https://github.com/cmuellner/qemu/tree/ztso
> >
> > Christoph Müllner (1):
> > linux-user/riscv: Add Ztso extension to hwprobe
> >
> > Palmer Dabbelt (1):
> > RISC-V: Add support for Ztso
> >
> > linux-user/syscall.c | 3 +++
> > target/riscv/cpu.c | 2 ++
> > target/riscv/cpu_cfg.h | 1 +
> > target/riscv/insn_trans/trans_rva.c.inc | 11 ++++++++---
> > target/riscv/insn_trans/trans_rvi.c.inc | 16 ++++++++++++++--
> > target/riscv/insn_trans/trans_rvv.c.inc | 20 ++++++++++++++++++++
> > target/riscv/translate.c | 3 +++
> > 7 files changed, 51 insertions(+), 5 deletions(-)
> >
Re: [PATCH 0/2] RISC-V: Add Ztso extension, Alistair Francis, 2024/02/25