riscv: add ARCH_HAS_SG_CHAIN to Kconfig
Subsystems (2)
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
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
@@ -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
PATCH 2/2 doc: re-run features-refresh.sh
In reply to David AbdurachmanovSome 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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 6 lines · david.abdurachmanov at gmail.com
This should improve virtio-gpu support for riscv.
David Abdurachmanov (2):
riscv: addARCH_HAS_SG_CHAIN
doc: re-runfeatures-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!