linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig
@ 2018-10-30 10:01 David Abdurachmanov
  2018-10-30 10:01 ` David Abdurachmanov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: linux-riscv

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(-)

-- 
2.17.2

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

* [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig
  2018-10-30 10:01 [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig David Abdurachmanov
@ 2018-10-30 10:01 ` David Abdurachmanov
  2018-10-30 10:01 ` [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN David Abdurachmanov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: palmer, aou, green.hu, deanbo422, linux-kernel, linux-riscv
  Cc: David Abdurachmanov

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(-)

-- 
2.17.2


_______________________________________________
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

* [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN
  2018-10-30 10:01 [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig David Abdurachmanov
  2018-10-30 10:01 ` David Abdurachmanov
@ 2018-10-30 10:01 ` David Abdurachmanov
  2018-10-30 10:01   ` David Abdurachmanov
  2018-10-30 10:01 ` [PATCH 2/2] doc: re-run features-refresh.sh David Abdurachmanov
  2018-11-13  1:52 ` [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig Palmer Dabbelt
  3 siblings, 1 reply; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: linux-riscv

This seems to be needed for virtio-gpu.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Reported-by: Michael Forney <mforney@mforney.org>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a344980287a5..b54f2ade769b 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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
-- 
2.17.2

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

* [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN
  2018-10-30 10:01 ` [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN David Abdurachmanov
@ 2018-10-30 10:01   ` David Abdurachmanov
  0 siblings, 0 replies; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: palmer, aou, green.hu, deanbo422, linux-kernel, linux-riscv
  Cc: David Abdurachmanov

This seems to be needed for virtio-gpu.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Reported-by: Michael Forney <mforney@mforney.org>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a344980287a5..b54f2ade769b 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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
-- 
2.17.2


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

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

* [PATCH 2/2] doc: re-run features-refresh.sh
  2018-10-30 10:01 [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig David Abdurachmanov
  2018-10-30 10:01 ` David Abdurachmanov
  2018-10-30 10:01 ` [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN David Abdurachmanov
@ 2018-10-30 10:01 ` David Abdurachmanov
  2018-10-30 10:01   ` David Abdurachmanov
  2018-11-13  1:52 ` [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig Palmer Dabbelt
  3 siblings, 1 reply; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: linux-riscv

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

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
---
 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(-)

diff --git a/Documentation/features/io/sg-chain/arch-support.txt b/Documentation/features/io/sg-chain/arch-support.txt
index 6554f0372c3f..41ea6f738b38 100644
--- a/Documentation/features/io/sg-chain/arch-support.txt
+++ b/Documentation/features/io/sg-chain/arch-support.txt
@@ -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  |
     -----------------------
diff --git a/Documentation/features/locking/queued-spinlocks/arch-support.txt b/Documentation/features/locking/queued-spinlocks/arch-support.txt
index 478e9101322c..beb013a72a90 100644
--- a/Documentation/features/locking/queued-spinlocks/arch-support.txt
+++ b/Documentation/features/locking/queued-spinlocks/arch-support.txt
@@ -9,7 +9,7 @@
     |       alpha: | TODO |
     |         arc: | TODO |
     |         arm: | TODO |
-    |       arm64: | TODO |
+    |       arm64: |  ok  |
     |         c6x: | TODO |
     |       h8300: | TODO |
     |     hexagon: | TODO |
diff --git a/Documentation/features/perf/kprobes-event/arch-support.txt b/Documentation/features/perf/kprobes-event/arch-support.txt
index 7331402d1887..bfe41d68b7af 100644
--- a/Documentation/features/perf/kprobes-event/arch-support.txt
+++ b/Documentation/features/perf/kprobes-event/arch-support.txt
@@ -20,7 +20,7 @@
     |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
-    |      parisc: | TODO |
+    |      parisc: |  ok  |
     |     powerpc: |  ok  |
     |       riscv: | TODO |
     |        s390: |  ok  |
diff --git a/Documentation/features/vm/pte_special/arch-support.txt b/Documentation/features/vm/pte_special/arch-support.txt
index a8378424bc98..5bca00664a4f 100644
--- a/Documentation/features/vm/pte_special/arch-support.txt
+++ b/Documentation/features/vm/pte_special/arch-support.txt
@@ -22,7 +22,7 @@
     |    openrisc: | TODO |
     |      parisc: | TODO |
     |     powerpc: |  ok  |
-    |       riscv: | TODO |
+    |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: |  ok  |
     |       sparc: |  ok  |
-- 
2.17.2

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

* [PATCH 2/2] doc: re-run features-refresh.sh
  2018-10-30 10:01 ` [PATCH 2/2] doc: re-run features-refresh.sh David Abdurachmanov
@ 2018-10-30 10:01   ` David Abdurachmanov
  0 siblings, 0 replies; 8+ messages in thread
From: David Abdurachmanov @ 2018-10-30 10:01 UTC (permalink / raw)
  To: palmer, aou, green.hu, deanbo422, linux-kernel, linux-riscv
  Cc: David Abdurachmanov

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

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
---
 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(-)

diff --git a/Documentation/features/io/sg-chain/arch-support.txt b/Documentation/features/io/sg-chain/arch-support.txt
index 6554f0372c3f..41ea6f738b38 100644
--- a/Documentation/features/io/sg-chain/arch-support.txt
+++ b/Documentation/features/io/sg-chain/arch-support.txt
@@ -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  |
     -----------------------
diff --git a/Documentation/features/locking/queued-spinlocks/arch-support.txt b/Documentation/features/locking/queued-spinlocks/arch-support.txt
index 478e9101322c..beb013a72a90 100644
--- a/Documentation/features/locking/queued-spinlocks/arch-support.txt
+++ b/Documentation/features/locking/queued-spinlocks/arch-support.txt
@@ -9,7 +9,7 @@
     |       alpha: | TODO |
     |         arc: | TODO |
     |         arm: | TODO |
-    |       arm64: | TODO |
+    |       arm64: |  ok  |
     |         c6x: | TODO |
     |       h8300: | TODO |
     |     hexagon: | TODO |
diff --git a/Documentation/features/perf/kprobes-event/arch-support.txt b/Documentation/features/perf/kprobes-event/arch-support.txt
index 7331402d1887..bfe41d68b7af 100644
--- a/Documentation/features/perf/kprobes-event/arch-support.txt
+++ b/Documentation/features/perf/kprobes-event/arch-support.txt
@@ -20,7 +20,7 @@
     |       nds32: |  ok  |
     |       nios2: | TODO |
     |    openrisc: | TODO |
-    |      parisc: | TODO |
+    |      parisc: |  ok  |
     |     powerpc: |  ok  |
     |       riscv: | TODO |
     |        s390: |  ok  |
diff --git a/Documentation/features/vm/pte_special/arch-support.txt b/Documentation/features/vm/pte_special/arch-support.txt
index a8378424bc98..5bca00664a4f 100644
--- a/Documentation/features/vm/pte_special/arch-support.txt
+++ b/Documentation/features/vm/pte_special/arch-support.txt
@@ -22,7 +22,7 @@
     |    openrisc: | TODO |
     |      parisc: | TODO |
     |     powerpc: |  ok  |
-    |       riscv: | TODO |
+    |       riscv: |  ok  |
     |        s390: |  ok  |
     |          sh: |  ok  |
     |       sparc: |  ok  |
-- 
2.17.2


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

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

* [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig
  2018-10-30 10:01 [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig David Abdurachmanov
                   ` (2 preceding siblings ...)
  2018-10-30 10:01 ` [PATCH 2/2] doc: re-run features-refresh.sh David Abdurachmanov
@ 2018-11-13  1:52 ` Palmer Dabbelt
  2018-11-13  1:52   ` Palmer Dabbelt
  3 siblings, 1 reply; 8+ messages in thread
From: Palmer Dabbelt @ 2018-11-13  1:52 UTC (permalink / raw)
  To: linux-riscv

On Tue, 30 Oct 2018 03:01:05 PDT (-0700), david.abdurachmanov at gmail.com wrote:
> 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(-)

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!

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

* Re: [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig
  2018-11-13  1:52 ` [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig Palmer Dabbelt
@ 2018-11-13  1:52   ` Palmer Dabbelt
  0 siblings, 0 replies; 8+ messages in thread
From: Palmer Dabbelt @ 2018-11-13  1:52 UTC (permalink / raw)
  To: david.abdurachmanov
  Cc: aou, david.abdurachmanov, linux-kernel, green.hu, linux-riscv, deanbo422

On Tue, 30 Oct 2018 03:01:05 PDT (-0700), david.abdurachmanov@gmail.com wrote:
> 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(-)

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!

_______________________________________________
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:[~2018-11-13  1:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 10:01 [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig David Abdurachmanov
2018-10-30 10:01 ` David Abdurachmanov
2018-10-30 10:01 ` [PATCH 1/2] riscv: add ARCH_HAS_SG_CHAIN David Abdurachmanov
2018-10-30 10:01   ` David Abdurachmanov
2018-10-30 10:01 ` [PATCH 2/2] doc: re-run features-refresh.sh David Abdurachmanov
2018-10-30 10:01   ` David Abdurachmanov
2018-11-13  1:52 ` [PATCH 0/2] riscv: add ARCH_HAS_SG_CHAIN to Kconfig Palmer Dabbelt
2018-11-13  1:52   ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).