devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] riscv mmu-type minor fixes
@ 2022-05-02 12:50 Niklas Cassel
  2022-05-02 12:50 ` [PATCH v2 1/2] dt-bindings: riscv: Add mmu-type riscv,sv57 Niklas Cassel
  2022-05-16  7:29 ` [PATCH v2 0/2] riscv mmu-type minor fixes Niklas Cassel
  0 siblings, 2 replies; 4+ messages in thread
From: Niklas Cassel @ 2022-05-02 12:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Paul Walmsley, Palmer Dabbelt,
	Albert Ou
  Cc: Niklas Cassel, devicetree, linux-riscv

Hello there,


Here are some minor riscv mmu-type related fixes.

The first patch simply adds "riscv,sv57" to the list of valid mmu-type
values.

The second patch fixes the "mmu:" print in /proc/cpuinfo on nommu systems.

Please review.


Kind regards,
Niklas

Changes since v1:
-Picked up tag from Rob Herring on patch 1/1.
-Send both patches as a series, since they are relate to mmu-type.

Niklas Cassel (2):
  dt-bindings: riscv: Add mmu-type riscv,sv57
  riscv: Don't output a bogus mmu-type on a no MMU kernel

 Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
 arch/riscv/kernel/cpu.c                           | 4 ++++
 2 files changed, 5 insertions(+)

-- 
2.35.1


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

end of thread, other threads:[~2022-05-16  7:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-02 12:50 [PATCH v2 0/2] riscv mmu-type minor fixes Niklas Cassel
2022-05-02 12:50 ` [PATCH v2 1/2] dt-bindings: riscv: Add mmu-type riscv,sv57 Niklas Cassel
2022-05-02 12:57   ` Anup Patel
2022-05-16  7:29 ` [PATCH v2 0/2] riscv mmu-type minor fixes Niklas Cassel

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