History log of /kvmtool/riscv/include/kvm/kvm-config-arch.h (Results 1 – 25 of 26)
Revision Date Author Comments
# fa958fb6 21-Aug-2024 Atish Patra <atishp@rivosinc.com>

riscv: Add Sscofpmf extensiona support

When the Sscofpmf extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Sig

riscv: Add Sscofpmf extensiona support

When the Sscofpmf extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20240821142610.3297483-3-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 32f81036 14-May-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zacas extensiona support

When the Zacas extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link:

riscv: Add Zacas extensiona support

When the Zacas extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20240514054928.854419-4-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# a20adc64 14-May-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Ztso extensiona support

When the Ztso extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: ht

riscv: Add Ztso extensiona support

When the Ztso extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20240514054928.854419-3-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# d38c8f76 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Allow disabling SBI STA extension for Guest

We add "--disable-sbi-sta" options to allow users disable SBI steal-time
extension for the Guest.

Signed-off-by: Anup Patel <apatel@ventanamicro.c

riscv: Allow disabling SBI STA extension for Guest

We add "--disable-sbi-sta" options to allow users disable SBI steal-time
extension for the Guest.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-11-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 9cf213d6 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zfa extensiona support

When the Zfa extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-b

riscv: Add Zfa extensiona support

When the Zfa extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-10-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 5a64c1ea 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zvfh[min] extensions support

When the Zvfh[min] extensions are available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.c

riscv: Add Zvfh[min] extensions support

When the Zvfh[min] extensions are available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-9-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# fce28652 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zihintntl extension support

When the Zihintntl extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>

riscv: Add Zihintntl extension support

When the Zihintntl extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-8-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# bd7f13c1 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zfh[min] extensions support

When the Zfh[min] extensions are available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com

riscv: Add Zfh[min] extensions support

When the Zfh[min] extensions are available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-7-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 65b58f72 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add vector crypto extensions support

When the vector extensions are available expose them to the guest
via device tree so that guest can use it. This includes extensions
Zvbb, Zvbc, Zvkb, Zvk

riscv: Add vector crypto extensions support

When the vector extensions are available expose them to the guest
via device tree so that guest can use it. This includes extensions
Zvbb, Zvbc, Zvkb, Zvkg, Zvkned, Zvknha, Zvknhb, Zvksed, Zvksh,
and Zvkt.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-6-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# d9052a96 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add scalar crypto extensions support

When the scalar extensions are available expose them to the guest
via device tree so that guest can use it. This includes extensions
Zbkb, Zbkc, Zbkx, Zkn

riscv: Add scalar crypto extensions support

When the scalar extensions are available expose them to the guest
via device tree so that guest can use it. This includes extensions
Zbkb, Zbkc, Zbkx, Zknd, Zkne, Zknh, Zkr, Zksed, Zksh, and Zkt.

The Zkr extension requires SEED CSR emulation in user space so
we also add related KVM_EXIT_RISCV_CSR handling.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-5-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8b4cc705 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zbc extension support

When the Zbc extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by

riscv: Add Zbc extension support

When the Zbc extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-4-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 4ddaa424 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Handle SBI DBCN calls from Guest/VM

The new SBI DBCN functions are forwarded by in-kernel KVM RISC-V module
to user-space so let us handle these calls in kvm_cpu_riscv_sbi() function.

Signed

riscv: Handle SBI DBCN calls from Guest/VM

The new SBI DBCN functions are forwarded by in-kernel KVM RISC-V module
to user-space so let us handle these calls in kvm_cpu_riscv_sbi() function.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-11-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8cd71ca5 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zicond extension support

When the Zicond extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link:

riscv: Add Zicond extension support

When the Zicond extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-9-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8d02d5a8 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Smstateen extension support

When the Smstateen extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>

riscv: Add Smstateen extension support

When the Smstateen extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-8-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 34366849 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zicsr and Zifencei extension support

When the Zicsr and Zifencei extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel

riscv: Add Zicsr and Zifencei extension support

When the Zicsr and Zifencei extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-7-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 66768569 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zicntr and Zihpm extension support

When the Zicntr and Zihpm extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ven

riscv: Add Zicntr and Zihpm extension support

When the Zicntr and Zihpm extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-6-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 6331850d 28-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Zba and Zbs extension support

When the Zba and Zbs extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.

riscv: Add Zba and Zbs extension support

When the Zba and Zbs extension is available expose it to the guest
via device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20231128145628.413414-5-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 56e2d678 18-Nov-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Svnapot extension support

When the Svnapot extension is available expose it to the guest via
device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Rev

riscv: Add Svnapot extension support

When the Svnapot extension is available expose it to the guest via
device tree so that guest can use it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231118132847.758785-3-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8659200f 12-Jul-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add Ssaia extension support

When the Ssaia extension is available expose it to the guest.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1

riscv: Add Ssaia extension support

When the Ssaia extension is available expose it to the guest.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1769737-9-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8f1e47ca 12-Jul-2023 Andrew Jones <ajones@ventanamicro.com>

riscv: Add Zicboz extension support

When the Zicboz extension is available expose it to the guest.
Also provide the guest the size of the cache block through DT.

Signed-off-by: Andrew Jones <ajones

riscv: Add Zicboz extension support

When the Zicboz extension is available expose it to the guest.
Also provide the guest the size of the cache block through DT.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1769737-8-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 8c1584e7 12-Jul-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Add zbb extension support

The zbb extension allows software to use basic bitmanip instructions.
Let us add the zbb extension to the Guest device tree whenever it is
supported by the host.

Si

riscv: Add zbb extension support

The zbb extension allows software to use basic bitmanip instructions.
Let us add the zbb extension to the Guest device tree whenever it is
supported by the host.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1769737-7-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# a416fdc2 12-Jul-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Allow disabling SBI extensions for Guest

We add "--disable-sbi-<xyz>" options to disable various SBI extensions
visible to the Guest. This allows users to disable deprecated/redundant
SBI ext

riscv: Allow disabling SBI extensions for Guest

We add "--disable-sbi-<xyz>" options to disable various SBI extensions
visible to the Guest. This allows users to disable deprecated/redundant
SBI extensions.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1769737-5-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 9e9cfde5 12-Jul-2023 Anup Patel <apatel@ventanamicro.com>

riscv: Allow setting custom mvendorid, marchid, and mimpid

We add command-line parameter to set custom mvendorid, marchid, and
mimpid so that users can show fake CPU type to Guest/VM which does
not

riscv: Allow setting custom mvendorid, marchid, and mimpid

We add command-line parameter to set custom mvendorid, marchid, and
mimpid so that users can show fake CPU type to Guest/VM which does
not match underlying Host CPU.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20230712163501.1769737-4-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# e17d182a 18-Oct-2022 Anup Patel <apatel@ventanamicro.com>

riscv: Add --disable-<xyz> options to allow user disable extensions

By default, the KVM RISC-V keeps all extensions available to VCPU
enabled and KVMTOOL does not disable any extension.

We add --di

riscv: Add --disable-<xyz> options to allow user disable extensions

By default, the KVM RISC-V keeps all extensions available to VCPU
enabled and KVMTOOL does not disable any extension.

We add --disable-<xyz> command-line options in KVMTOOL RISC-V to
allow users explicitly disable certain extension if they don't
desire it.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20221018140854.69846-7-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# 7c9aac00 19-Nov-2021 Anup Patel <anup.patel@wdc.com>

riscv: Generate FDT at runtime for Guest/VM

We generate FDT at runtime for RISC-V Guest/VM so that KVMTOOL users
don't have to pass FDT separately via command-line parameters.

Also, we provide "--d

riscv: Generate FDT at runtime for Guest/VM

We generate FDT at runtime for RISC-V Guest/VM so that KVMTOOL users
don't have to pass FDT separately via command-line parameters.

Also, we provide "--dump-dtb <filename>" command-line option to dump
generated FDT into a file for debugging purpose.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Link: https://lore.kernel.org/r/20211119124515.89439-7-anup.patel@wdc.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


12