* [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-21 19:00 ` Conor Dooley
0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-21 19:00 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Randy Dunlap, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Jisheng Zhang, linux-kernel
From: Conor Dooley <conor.dooley@microchip.com>
Randy reported build errors in linux-next where XIP_KERNEL was enabled.
ARCH_THEAD requires alternatives to support the non-standard ISA
extensions used by the THEAD cores, which are mutually exclusive with
XIP kernels. Clone the dependency list from the Allwinner entry, since
Allwinner's D1 uses T-Head cores with the same non-standard extensions.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
Fixes: da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Paul Walmsley <paul.walmsley@sifive.com>
CC: Palmer Dabbelt <palmer@dabbelt.com>
CC: Albert Ou <aou@eecs.berkeley.edu>
CC: Jisheng Zhang <jszhang@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: linux-kernel@vger.kernel.org
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index ce10a38dff37..6833d01e2e70 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -43,6 +43,7 @@ config ARCH_SUNXI
config ARCH_THEAD
bool "T-HEAD RISC-V SoCs"
+ depends on MMU && !XIP_KERNEL
select ERRATA_THEAD
help
This enables support for the RISC-V based T-HEAD SoCs.
--
2.39.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-21 19:00 ` Conor Dooley
0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-21 19:00 UTC (permalink / raw)
To: linux-riscv
Cc: conor, Conor Dooley, Randy Dunlap, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Jisheng Zhang, linux-kernel
From: Conor Dooley <conor.dooley@microchip.com>
Randy reported build errors in linux-next where XIP_KERNEL was enabled.
ARCH_THEAD requires alternatives to support the non-standard ISA
extensions used by the THEAD cores, which are mutually exclusive with
XIP kernels. Clone the dependency list from the Allwinner entry, since
Allwinner's D1 uses T-Head cores with the same non-standard extensions.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
Fixes: da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Paul Walmsley <paul.walmsley@sifive.com>
CC: Palmer Dabbelt <palmer@dabbelt.com>
CC: Albert Ou <aou@eecs.berkeley.edu>
CC: Jisheng Zhang <jszhang@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: linux-kernel@vger.kernel.org
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index ce10a38dff37..6833d01e2e70 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -43,6 +43,7 @@ config ARCH_SUNXI
config ARCH_THEAD
bool "T-HEAD RISC-V SoCs"
+ depends on MMU && !XIP_KERNEL
select ERRATA_THEAD
help
This enables support for the RISC-V based T-HEAD SoCs.
--
2.39.2
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
2023-06-21 19:00 ` Conor Dooley
@ 2023-06-21 19:57 ` Palmer Dabbelt
-1 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-06-21 19:57 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-riscv, Conor Dooley, Conor Dooley, rdunlap, Paul Walmsley,
aou, jszhang, linux-kernel
On Wed, 21 Jun 2023 12:00:31 PDT (-0700), Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@microchip.com>
>
> Randy reported build errors in linux-next where XIP_KERNEL was enabled.
> ARCH_THEAD requires alternatives to support the non-standard ISA
> extensions used by the THEAD cores, which are mutually exclusive with
> XIP kernels. Clone the dependency list from the Allwinner entry, since
> Allwinner's D1 uses T-Head cores with the same non-standard extensions.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
> Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
> Fixes: da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> CC: Paul Walmsley <paul.walmsley@sifive.com>
> CC: Palmer Dabbelt <palmer@dabbelt.com>
> CC: Albert Ou <aou@eecs.berkeley.edu>
> CC: Jisheng Zhang <jszhang@kernel.org>
> CC: linux-riscv@lists.infradead.org
> CC: linux-kernel@vger.kernel.org
> ---
> arch/riscv/Kconfig.socs | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index ce10a38dff37..6833d01e2e70 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -43,6 +43,7 @@ config ARCH_SUNXI
>
> config ARCH_THEAD
> bool "T-HEAD RISC-V SoCs"
> + depends on MMU && !XIP_KERNEL
> select ERRATA_THEAD
> help
> This enables support for the RISC-V based T-HEAD SoCs.
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-21 19:57 ` Palmer Dabbelt
0 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-06-21 19:57 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-riscv, Conor Dooley, Conor Dooley, rdunlap, Paul Walmsley,
aou, jszhang, linux-kernel
On Wed, 21 Jun 2023 12:00:31 PDT (-0700), Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@microchip.com>
>
> Randy reported build errors in linux-next where XIP_KERNEL was enabled.
> ARCH_THEAD requires alternatives to support the non-standard ISA
> extensions used by the THEAD cores, which are mutually exclusive with
> XIP kernels. Clone the dependency list from the Allwinner entry, since
> Allwinner's D1 uses T-Head cores with the same non-standard extensions.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
> Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
> Fixes: da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> CC: Paul Walmsley <paul.walmsley@sifive.com>
> CC: Palmer Dabbelt <palmer@dabbelt.com>
> CC: Albert Ou <aou@eecs.berkeley.edu>
> CC: Jisheng Zhang <jszhang@kernel.org>
> CC: linux-riscv@lists.infradead.org
> CC: linux-kernel@vger.kernel.org
> ---
> arch/riscv/Kconfig.socs | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index ce10a38dff37..6833d01e2e70 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -43,6 +43,7 @@ config ARCH_SUNXI
>
> config ARCH_THEAD
> bool "T-HEAD RISC-V SoCs"
> + depends on MMU && !XIP_KERNEL
> select ERRATA_THEAD
> help
> This enables support for the RISC-V based T-HEAD SoCs.
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
2023-06-21 19:57 ` Palmer Dabbelt
@ 2023-06-21 20:00 ` Conor Dooley
-1 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-21 20:00 UTC (permalink / raw)
To: Palmer Dabbelt
Cc: linux-riscv, Conor Dooley, rdunlap, Paul Walmsley, aou, jszhang,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
On Wed, Jun 21, 2023 at 12:57:02PM -0700, Palmer Dabbelt wrote:
> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
I need to take it, I applied the patches.
Sorry, probably should have said it below the --- line.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-21 20:00 ` Conor Dooley
0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-21 20:00 UTC (permalink / raw)
To: Palmer Dabbelt
Cc: linux-riscv, Conor Dooley, rdunlap, Paul Walmsley, aou, jszhang,
linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 353 bytes --]
On Wed, Jun 21, 2023 at 12:57:02PM -0700, Palmer Dabbelt wrote:
> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
I need to take it, I applied the patches.
Sorry, probably should have said it below the --- line.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
2023-06-21 20:00 ` Conor Dooley
@ 2023-06-21 23:16 ` Palmer Dabbelt
-1 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-06-21 23:16 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-riscv, Conor Dooley, rdunlap, Paul Walmsley, aou, jszhang,
linux-kernel
On Wed, 21 Jun 2023 13:00:38 PDT (-0700), Conor Dooley wrote:
> On Wed, Jun 21, 2023 at 12:57:02PM -0700, Palmer Dabbelt wrote:
>
>> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
>> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
>>
>> I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
>
> I need to take it, I applied the patches.
> Sorry, probably should have said it below the --- line.
No problem, I figured they were over there somewhere -- just kind of
hard to keep track with how much is in flight right now ;)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-21 23:16 ` Palmer Dabbelt
0 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-06-21 23:16 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-riscv, Conor Dooley, rdunlap, Paul Walmsley, aou, jszhang,
linux-kernel
On Wed, 21 Jun 2023 13:00:38 PDT (-0700), Conor Dooley wrote:
> On Wed, Jun 21, 2023 at 12:57:02PM -0700, Palmer Dabbelt wrote:
>
>> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
>> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
>>
>> I don't have an ARCH_THEAD, though, so not sure where this is aimed at.
>
> I need to take it, I applied the patches.
> Sorry, probably should have said it below the --- line.
No problem, I figured they were over there somewhere -- just kind of
hard to keep track with how much is in flight right now ;)
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
2023-06-21 19:00 ` Conor Dooley
@ 2023-06-22 16:05 ` Conor Dooley
-1 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-22 16:05 UTC (permalink / raw)
To: linux-riscv, Conor Dooley
Cc: Conor Dooley, Randy Dunlap, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Jisheng Zhang, linux-kernel
From: Conor Dooley <conor.dooley@microchip.com>
On Wed, 21 Jun 2023 20:00:31 +0100, Conor Dooley wrote:
> Randy reported build errors in linux-next where XIP_KERNEL was enabled.
> ARCH_THEAD requires alternatives to support the non-standard ISA
> extensions used by the THEAD cores, which are mutually exclusive with
> XIP kernels. Clone the dependency list from the Allwinner entry, since
> Allwinner's D1 uses T-Head cores with the same non-standard extensions.
>
>
> [...]
Applied to riscv-dt-for-next, thanks!
[1/1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
https://git.kernel.org/conor/c/273235194e4d
Thanks,
Conor.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
@ 2023-06-22 16:05 ` Conor Dooley
0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2023-06-22 16:05 UTC (permalink / raw)
To: linux-riscv, Conor Dooley
Cc: Conor Dooley, Randy Dunlap, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Jisheng Zhang, linux-kernel
From: Conor Dooley <conor.dooley@microchip.com>
On Wed, 21 Jun 2023 20:00:31 +0100, Conor Dooley wrote:
> Randy reported build errors in linux-next where XIP_KERNEL was enabled.
> ARCH_THEAD requires alternatives to support the non-standard ISA
> extensions used by the THEAD cores, which are mutually exclusive with
> XIP kernels. Clone the dependency list from the Allwinner entry, since
> Allwinner's D1 uses T-Head cores with the same non-standard extensions.
>
>
> [...]
Applied to riscv-dt-for-next, thanks!
[1/1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
https://git.kernel.org/conor/c/273235194e4d
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-06-22 16:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 19:00 [PATCH v1] RISC-V: make ARCH_THEAD preclude XIP_KERNEL Conor Dooley
2023-06-21 19:00 ` Conor Dooley
2023-06-21 19:57 ` Palmer Dabbelt
2023-06-21 19:57 ` Palmer Dabbelt
2023-06-21 20:00 ` Conor Dooley
2023-06-21 20:00 ` Conor Dooley
2023-06-21 23:16 ` Palmer Dabbelt
2023-06-21 23:16 ` Palmer Dabbelt
2023-06-22 16:05 ` Conor Dooley
2023-06-22 16:05 ` Conor Dooley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.