public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] Risc-V Svinval support
@ 2022-04-24  9:02 Mayuresh Chitale
  2022-04-24  9:02 ` [RFC PATCH v2 1/2] riscv: enum for svinval extension Mayuresh Chitale
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mayuresh Chitale @ 2022-04-24  9:02 UTC (permalink / raw)
  To: Palmer Dabbelt, Paul Walmsley, Albert Ou
  Cc: Mayuresh Chitale, Atish Patra, Anup Patel, linux-riscv


This patch adds support for the Svinval extension as defined in the
Risc V Privileged specification. This patchset depends on:

https://patchwork.kernel.org/project/linux-riscv/list/?series=632984

The feature was tested with qemu from latest master branch with
following additional patch:
https://lists.nongnu.org/archive/html/qemu-riscv/2022-03/msg00142.html

Changes in V2:

- Rebased on 5.18-rc3
- update riscv_fill_hwcap to probe Svinval extension

Mayuresh Chitale (2):
  riscv: enum for svinval extension
  riscv: mm: use svinval instructions instead of sfence.vma

 arch/riscv/include/asm/hwcap.h    |   1 +
 arch/riscv/include/asm/tlbflush.h |  12 ++++
 arch/riscv/kernel/cpu.c           |   1 +
 arch/riscv/kernel/cpufeature.c    |   1 +
 arch/riscv/kernel/setup.c         |   1 +
 arch/riscv/mm/tlbflush.c          | 116 ++++++++++++++++++++++++++++--
 6 files changed, 126 insertions(+), 6 deletions(-)

-- 
2.17.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-15  5:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24  9:02 [RFC PATCH v2 0/2] Risc-V Svinval support Mayuresh Chitale
2022-04-24  9:02 ` [RFC PATCH v2 1/2] riscv: enum for svinval extension Mayuresh Chitale
2022-04-24  9:02 ` [RFC PATCH v2 2/2] riscv: mm: use svinval instructions instead of sfence.vma Mayuresh Chitale
2022-12-08 19:03   ` Palmer Dabbelt
2023-06-13  4:02     ` Mayuresh Chitale
2023-06-13 13:43       ` Alexandre Ghiti
2023-06-15  5:51         ` Mayuresh Chitale
2022-06-02  3:52 ` [RFC PATCH v2 0/2] Risc-V Svinval support Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox