mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] architecture: add riscv support
@ 2018-07-23  8:33 Rouven Czerwinski
  2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-23  8:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/architecture.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/platforms/architecture.in b/platforms/architecture.in
index f91fedb08..207957a27 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -125,6 +125,14 @@ choice
 		select ARCH_SUPPORTS_ENDIAN_BIG
 		help
 		  This is support for the SuperH architecture.
+
+	config ARCH_RISCV
+		bool "riscv      "
+		select HAS_MMU
+		select ARCH_SUPPORTS_ENDIAN_LITTLE
+		help
+		  This is support for the RISC-V architecture.
+
 endchoice
 
 #
@@ -264,6 +272,7 @@ config HAS_HARDFLOAT
 	default y if ARCH_X86
 	default y if ARCH_SPARC
 	default y if ARCH_ARM64
+	default y if ARCH_RISCV
 	default n
 
 #
@@ -304,3 +313,4 @@ config ARCH_STRING
 	default "cris"			if ARCH_CRIS
 	default "parisc"		if ARCH_PARISC
 	default "sh"			if ARCH_SH
+	default "riscv"			if ARCH_RISCV
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/2] platforms/kernel: add riscv
  2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
@ 2018-07-23  8:33 ` Rouven Czerwinski
  2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-23  8:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 73a225a2e..a0230a037 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -112,6 +112,7 @@ config KERNEL_ARCH_STRING
 	default "x86"			if KERNEL_ARCH_X86
 	default "i386"			if KERNEL_ARCH_I386
 	default "x86_64"		if KERNEL_ARCH_X86_64
+	default "riscv"			if ARCH_RISCV
 
 choice
 	prompt "Image Type          "
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v2 1/2] architecture: add riscv support
  2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
  2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
@ 2018-07-23 12:13 ` Rouven Czerwinski
  2018-07-23 12:13   ` [ptxdist] [PATCH v2 2/2] platforms/kernel: add riscv Rouven Czerwinski
  2018-07-25 12:56   ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Michael Olbrich
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 0/2] Add RISC-V support to PTXDIST Rouven Czerwinski
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-23 12:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/architecture.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/platforms/architecture.in b/platforms/architecture.in
index f91fedb08..207957a27 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -125,6 +125,14 @@ choice
 		select ARCH_SUPPORTS_ENDIAN_BIG
 		help
 		  This is support for the SuperH architecture.
+
+	config ARCH_RISCV
+		bool "riscv      "
+		select HAS_MMU
+		select ARCH_SUPPORTS_ENDIAN_LITTLE
+		help
+		  This is support for the RISC-V architecture.
+
 endchoice
 
 #
@@ -264,6 +272,7 @@ config HAS_HARDFLOAT
 	default y if ARCH_X86
 	default y if ARCH_SPARC
 	default y if ARCH_ARM64
+	default y if ARCH_RISCV
 	default n
 
 #
@@ -304,3 +313,4 @@ config ARCH_STRING
 	default "cris"			if ARCH_CRIS
 	default "parisc"		if ARCH_PARISC
 	default "sh"			if ARCH_SH
+	default "riscv"			if ARCH_RISCV
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v2 2/2] platforms/kernel: add riscv
  2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
@ 2018-07-23 12:13   ` Rouven Czerwinski
  2018-07-25 12:56   ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Michael Olbrich
  1 sibling, 0 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-23 12:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 73a225a2e..a0230a037 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -112,6 +112,7 @@ config KERNEL_ARCH_STRING
 	default "x86"			if KERNEL_ARCH_X86
 	default "i386"			if KERNEL_ARCH_I386
 	default "x86_64"		if KERNEL_ARCH_X86_64
+	default "riscv"			if ARCH_RISCV
 
 choice
 	prompt "Image Type          "
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH v2 1/2] architecture: add riscv support
  2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
  2018-07-23 12:13   ` [ptxdist] [PATCH v2 2/2] platforms/kernel: add riscv Rouven Czerwinski
@ 2018-07-25 12:56   ` Michael Olbrich
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2018-07-25 12:56 UTC (permalink / raw)
  To: ptxdist

On Mon, Jul 23, 2018 at 02:13:35PM +0200, Rouven Czerwinski wrote:
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> ---
>  platforms/architecture.in | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/platforms/architecture.in b/platforms/architecture.in
> index f91fedb08..207957a27 100644
> --- a/platforms/architecture.in
> +++ b/platforms/architecture.in
> @@ -125,6 +125,14 @@ choice
>  		select ARCH_SUPPORTS_ENDIAN_BIG
>  		help
>  		  This is support for the SuperH architecture.
> +
> +	config ARCH_RISCV
> +		bool "riscv      "
> +		select HAS_MMU

		select ARCH_LP64

This is for 64-bit RISCV, right?

Michael

> +		select ARCH_SUPPORTS_ENDIAN_LITTLE
> +		help
> +		  This is support for the RISC-V architecture.
> +
>  endchoice
>  
>  #
> @@ -264,6 +272,7 @@ config HAS_HARDFLOAT
>  	default y if ARCH_X86
>  	default y if ARCH_SPARC
>  	default y if ARCH_ARM64
> +	default y if ARCH_RISCV
>  	default n
>  
>  #
> @@ -304,3 +313,4 @@ config ARCH_STRING
>  	default "cris"			if ARCH_CRIS
>  	default "parisc"		if ARCH_PARISC
>  	default "sh"			if ARCH_SH
> +	default "riscv"			if ARCH_RISCV
> -- 
> 2.18.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v3 0/2] Add RISC-V support to PTXDIST
  2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
  2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
  2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
@ 2018-07-30  5:45 ` Rouven Czerwinski
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 1/2] architecture: add riscv support Rouven Czerwinski
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 2/2] platforms/kernel: add riscv Rouven Czerwinski
  4 siblings, 0 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-30  5:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Add riscv support to ptxdist.

Includes only 64bit support since we expect to mostly see 64bit processors who want to run linux.

changes since v2:
- add missing ARCH_LP64 select

changes since v1:
- add missing signoff for the second patch

Rouven Czerwinski (2):
  architecture: add riscv support
  platforms/kernel: add riscv

 platforms/architecture.in | 11 +++++++++++
 platforms/kernel.in       |  1 +
 2 files changed, 12 insertions(+)

-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v3 1/2] architecture: add riscv support
  2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
                   ` (2 preceding siblings ...)
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 0/2] Add RISC-V support to PTXDIST Rouven Czerwinski
@ 2018-07-30  5:45 ` Rouven Czerwinski
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 2/2] platforms/kernel: add riscv Rouven Czerwinski
  4 siblings, 0 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-30  5:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/architecture.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/platforms/architecture.in b/platforms/architecture.in
index f91fedb08..8fb870eff 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -125,6 +125,15 @@ choice
 		select ARCH_SUPPORTS_ENDIAN_BIG
 		help
 		  This is support for the SuperH architecture.
+
+	config ARCH_RISCV
+		bool "riscv      "
+		select HAS_MMU
+		select ARCH_SUPPORTS_ENDIAN_LITTLE
+		select ARCH_LP64
+		help
+		  This is support for the RISC-V architecture.
+
 endchoice
 
 #
@@ -264,6 +273,7 @@ config HAS_HARDFLOAT
 	default y if ARCH_X86
 	default y if ARCH_SPARC
 	default y if ARCH_ARM64
+	default y if ARCH_RISCV
 	default n
 
 #
@@ -304,3 +314,4 @@ config ARCH_STRING
 	default "cris"			if ARCH_CRIS
 	default "parisc"		if ARCH_PARISC
 	default "sh"			if ARCH_SH
+	default "riscv"			if ARCH_RISCV
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v3 2/2] platforms/kernel: add riscv
  2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
                   ` (3 preceding siblings ...)
  2018-07-30  5:45 ` [ptxdist] [PATCH v3 1/2] architecture: add riscv support Rouven Czerwinski
@ 2018-07-30  5:45 ` Rouven Czerwinski
  4 siblings, 0 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-30  5:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 73a225a2e..a0230a037 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -112,6 +112,7 @@ config KERNEL_ARCH_STRING
 	default "x86"			if KERNEL_ARCH_X86
 	default "i386"			if KERNEL_ARCH_I386
 	default "x86_64"		if KERNEL_ARCH_X86_64
+	default "riscv"			if ARCH_RISCV
 
 choice
 	prompt "Image Type          "
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-07-30  5:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-23 12:13   ` [ptxdist] [PATCH v2 2/2] platforms/kernel: add riscv Rouven Czerwinski
2018-07-25 12:56   ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Michael Olbrich
2018-07-30  5:45 ` [ptxdist] [PATCH v3 0/2] Add RISC-V support to PTXDIST Rouven Czerwinski
2018-07-30  5:45 ` [ptxdist] [PATCH v3 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-30  5:45 ` [ptxdist] [PATCH v3 2/2] platforms/kernel: add riscv Rouven Czerwinski

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