mbox series

[RFC,kvmtool,0/3] Add Sstc extension support

Message ID 20220304101023.764631-1-atishp@rivosinc.com (mailing list archive)
Headers show
Series Add Sstc extension support | expand

Message

Atish Kumar Patra March 4, 2022, 10:10 a.m. UTC
This series adds Sstc extension which was ratified recently.

The first two patches adds the ISA extension framework which allows
to define and update the DT for any multi-letter ISA extensions. 

The last patch just enables Sstc extension specifically if the hardware
supports it.

The series can also be found at
https://github.com/atishp04/kvmtool/tree/sstc_v1

The kvm & Qemu patches can be found at

KVM: https://github.com/atishp04/linux/tree/sstc_v2
OpenSBI: https://github.com/atishp04/opensbi/tree/sstc_v1
Qemu: https://github.com/atishp04/qemu/tree/sstc_v1 

[1] https://drive.google.com/file/d/1m84Re2yK8m_vbW7TspvevCDR82MOBaSX/view

Atish Patra (3):
riscv: Update the uapi header as per Linux kernel
riscv: Append ISA extensions to the device tree
riscv: Add Sstc extension support

riscv/fdt.c                      | 32 ++++++++++++++++++++++++++++++++
riscv/include/asm/kvm.h          | 22 ++++++++++++++++++++++
riscv/include/kvm/kvm-cpu-arch.h |  5 +++++
riscv/kvm-cpu.c                  |  5 -----
4 files changed, 59 insertions(+), 5 deletions(-)

--
2.30.2

Comments

Will Deacon May 6, 2022, 12:54 p.m. UTC | #1
On Fri, Mar 04, 2022 at 02:10:20AM -0800, Atish Patra wrote:
> This series adds Sstc extension which was ratified recently.
> 
> The first two patches adds the ISA extension framework which allows
> to define and update the DT for any multi-letter ISA extensions. 
> 
> The last patch just enables Sstc extension specifically if the hardware
> supports it.
> 
> The series can also be found at
> https://github.com/atishp04/kvmtool/tree/sstc_v1
> 
> The kvm & Qemu patches can be found at
> 
> KVM: https://github.com/atishp04/linux/tree/sstc_v2
> OpenSBI: https://github.com/atishp04/opensbi/tree/sstc_v1
> Qemu: https://github.com/atishp04/qemu/tree/sstc_v1 
> 
> [1] https://drive.google.com/file/d/1m84Re2yK8m_vbW7TspvevCDR82MOBaSX/view
> 
> Atish Patra (3):
> riscv: Update the uapi header as per Linux kernel
> riscv: Append ISA extensions to the device tree
> riscv: Add Sstc extension support

These look fine to me. What's the status of the kernel-side changes?

Will
Anup Patel May 6, 2022, 2:42 p.m. UTC | #2
On Fri, May 6, 2022 at 6:24 PM Will Deacon <will@kernel.org> wrote:
>
> On Fri, Mar 04, 2022 at 02:10:20AM -0800, Atish Patra wrote:
> > This series adds Sstc extension which was ratified recently.
> >
> > The first two patches adds the ISA extension framework which allows
> > to define and update the DT for any multi-letter ISA extensions.
> >
> > The last patch just enables Sstc extension specifically if the hardware
> > supports it.
> >
> > The series can also be found at
> > https://github.com/atishp04/kvmtool/tree/sstc_v1
> >
> > The kvm & Qemu patches can be found at
> >
> > KVM: https://github.com/atishp04/linux/tree/sstc_v2
> > OpenSBI: https://github.com/atishp04/opensbi/tree/sstc_v1
> > Qemu: https://github.com/atishp04/qemu/tree/sstc_v1
> >
> > [1] https://drive.google.com/file/d/1m84Re2yK8m_vbW7TspvevCDR82MOBaSX/view
> >
> > Atish Patra (3):
> > riscv: Update the uapi header as per Linux kernel
> > riscv: Append ISA extensions to the device tree
> > riscv: Add Sstc extension support
>
> These look fine to me. What's the status of the kernel-side changes?

The kernel-side of changes will be merged for 5.19 or 5.20.

I will ping you once kernel-side changes are merged.

Thanks,
Anup

>
> Will
Atish Patra May 6, 2022, 8:14 p.m. UTC | #3
On Fri, May 6, 2022 at 7:43 AM Anup Patel <anup@brainfault.org> wrote:
>
> On Fri, May 6, 2022 at 6:24 PM Will Deacon <will@kernel.org> wrote:
> >
> > On Fri, Mar 04, 2022 at 02:10:20AM -0800, Atish Patra wrote:
> > > This series adds Sstc extension which was ratified recently.
> > >
> > > The first two patches adds the ISA extension framework which allows
> > > to define and update the DT for any multi-letter ISA extensions.
> > >
> > > The last patch just enables Sstc extension specifically if the hardware
> > > supports it.
> > >
> > > The series can also be found at
> > > https://github.com/atishp04/kvmtool/tree/sstc_v1
> > >
> > > The kvm & Qemu patches can be found at
> > >
> > > KVM: https://github.com/atishp04/linux/tree/sstc_v2
> > > OpenSBI: https://github.com/atishp04/opensbi/tree/sstc_v1
> > > Qemu: https://github.com/atishp04/qemu/tree/sstc_v1
> > >
> > > [1] https://drive.google.com/file/d/1m84Re2yK8m_vbW7TspvevCDR82MOBaSX/view
> > >
> > > Atish Patra (3):
> > > riscv: Update the uapi header as per Linux kernel
> > > riscv: Append ISA extensions to the device tree
> > > riscv: Add Sstc extension support
> >
> > These look fine to me. What's the status of the kernel-side changes?
>
> The kernel-side of changes will be merged for 5.19 or 5.20.
>

I will revise the kernel series soon and rebase the kvmtool changes on
the latest.

> I will ping you once kernel-side changes are merged.
>
> Thanks,
> Anup
>
> >
> > Will