Skip to contentSkip to conversation

riscv: add ARCH_HAS_SG_CHAIN to Kconfig

PATCH In review David Abdurachmanov 2 participants 4 messages Oct 30, 2018 – Nov 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover riscv: add ARCH_HAS_SG_CHAIN to Kconfig

This should improve virtio-gpu support for riscv.

David Abdurachmanov (2):
riscv: add ARCH_HAS_SG_CHAIN
doc: re-run features-refresh.sh

 Documentation/features/io/sg-chain/arch-support.txt           | 4 ++--
 .../features/locking/queued-spinlocks/arch-support.txt        | 2 +-
 Documentation/features/perf/kprobes-event/arch-support.txt    | 2 +-
 Documentation/features/vm/pte_special/arch-support.txt        | 2 +-
 arch/riscv/Kconfig                                            | 1 +
 5 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.17.2
#1 lore raw

PATCH 1/2 riscv: add ARCH_HAS_SG_CHAIN

This seems to be needed for virtio-gpu.

---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/Kconfig +1 -0
index a344980287a5..b54f2ade769b 100644
@@ -44,6 +44,7 @@ config RISCV
 	select RISCV_TIMER
 	select GENERIC_IRQ_MULTI_HANDLER
 	select ARCH_HAS_PTE_SPECIAL
+	select ARCH_HAS_SG_CHAIN
 
 config MMU
 	def_bool y
Signature · 1 line
2.17.2
#2 lore raw

PATCH 2/2 doc: re-run features-refresh.sh

In reply to David Abdurachmanov

Some arch-support.txt are out-of-date.
This also incl. riscv in sg-chain and pte_special tables.

---
 Documentation/features/io/sg-chain/arch-support.txt           | 4 ++--
 .../features/locking/queued-spinlocks/arch-support.txt        | 2 +-
 Documentation/features/perf/kprobes-event/arch-support.txt    | 2 +-
 Documentation/features/vm/pte_special/arch-support.txt        | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
Documentation/features/io/sg-chain/arch-support.txt +2 -2
index 6554f0372c3f..41ea6f738b38 100644
@@ -22,12 +22,12 @@
     |    openrisc: | TODO |
     |      parisc: | TODO |
     |     powerpc: |  ok  |
-    |       riscv: | TODO |
+    |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: | TODO |
     |       sparc: |  ok  |
     |          um: | TODO |
     |   unicore32: | TODO |
     |         x86: |  ok  |
-    |      xtensa: | TODO |
+    |      xtensa: |  ok  |
     -----------------------
Documentation/features/locking/queued-spinlocks/arch-support.txt +1 -1
index 478e9101322c..beb013a72a90 100644
@@ -9,7 +9,7 @@
     |       alpha: | TODO |
     |         arc: | TODO |
     |         arm: | TODO |
-    |       arm64: | TODO |
+    |       arm64: |  ok  |
     |         c6x: | TODO |
     |       h8300: | TODO |
     |     hexagon: | TODO |
Documentation/features/perf/kprobes-event/arch-support.txt +1 -1
index 7331402d1887..bfe41d68b7af 100644
@@ -20,7 +20,7 @@
     |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
-    |      parisc: | TODO |
+    |      parisc: |  ok  |
     |     powerpc: |  ok  |
     |       riscv: | TODO |
     |        s390: |  ok  |
Documentation/features/vm/pte_special/arch-support.txt +1 -1
index a8378424bc98..5bca00664a4f 100644
@@ -22,7 +22,7 @@
     |    openrisc: | TODO |
     |      parisc: | TODO |
     |     powerpc: |  ok  |
-    |       riscv: | TODO |
+    |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: |  ok  |
     |       sparc: |  ok  |
Signature · 1 line
2.17.2
#3 lore raw
In reply to David Abdurachmanov
Quoted 6 lines · david.abdurachmanov at gmail.com

This should improve virtio-gpu support for riscv.

David Abdurachmanov (2):
riscv: add ARCH_HAS_SG_CHAIN
doc: re-run features-refresh.sh

Quoted 6 lines
 Documentation/features/io/sg-chain/arch-support.txt           | 4 ++--
 .../features/locking/queued-spinlocks/arch-support.txt        | 2 +-
 Documentation/features/perf/kprobes-event/arch-support.txt    | 2 +-
 Documentation/features/vm/pte_special/arch-support.txt        | 2 +-
 arch/riscv/Kconfig                                            | 1 +
 5 files changed, 6 insertions(+), 5 deletions(-)

I'm not opposed to this, but I have no idea what it does or why it's in arch/*/Kconfig. I've added the first patch to next-sg_chain, but I'm going to re-do the second one as it looks like it batches up a bunch of updates.

Thanks!