2023-03-23 22:23:52

by Jonathan Corbet

[permalink] [raw]
Subject: [PATCH 2/6] docs: move xtensa documentation under Documentation/arch/

Architecture-specific documentation is being moved into Documentation/arch/
as a way of cleaning up the top-level documentation directory and making
the docs hierarchy more closely match the source hierarchy. Move
Documentation/xtensa into arch/ and fix all in-tree references.

Cc: Chris Zankel <[email protected]>
Cc: Max Filippov <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
---
Documentation/arch/index.rst | 2 +-
Documentation/{ => arch}/xtensa/atomctl.rst | 0
Documentation/{ => arch}/xtensa/booting.rst | 0
Documentation/{ => arch}/xtensa/features.rst | 0
Documentation/{ => arch}/xtensa/index.rst | 0
Documentation/{ => arch}/xtensa/mmu.rst | 0
arch/xtensa/include/asm/initialize_mmu.h | 2 +-
7 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/{ => arch}/xtensa/atomctl.rst (100%)
rename Documentation/{ => arch}/xtensa/booting.rst (100%)
rename Documentation/{ => arch}/xtensa/features.rst (100%)
rename Documentation/{ => arch}/xtensa/index.rst (100%)
rename Documentation/{ => arch}/xtensa/mmu.rst (100%)

diff --git a/Documentation/arch/index.rst b/Documentation/arch/index.rst
index 64a5de81c425..208a8e67599c 100644
--- a/Documentation/arch/index.rst
+++ b/Documentation/arch/index.rst
@@ -25,4 +25,4 @@ implementation.
../sh/index
../sparc/index
x86/index
- ../xtensa/index
+ xtensa/index
diff --git a/Documentation/xtensa/atomctl.rst b/Documentation/arch/xtensa/atomctl.rst
similarity index 100%
rename from Documentation/xtensa/atomctl.rst
rename to Documentation/arch/xtensa/atomctl.rst
diff --git a/Documentation/xtensa/booting.rst b/Documentation/arch/xtensa/booting.rst
similarity index 100%
rename from Documentation/xtensa/booting.rst
rename to Documentation/arch/xtensa/booting.rst
diff --git a/Documentation/xtensa/features.rst b/Documentation/arch/xtensa/features.rst
similarity index 100%
rename from Documentation/xtensa/features.rst
rename to Documentation/arch/xtensa/features.rst
diff --git a/Documentation/xtensa/index.rst b/Documentation/arch/xtensa/index.rst
similarity index 100%
rename from Documentation/xtensa/index.rst
rename to Documentation/arch/xtensa/index.rst
diff --git a/Documentation/xtensa/mmu.rst b/Documentation/arch/xtensa/mmu.rst
similarity index 100%
rename from Documentation/xtensa/mmu.rst
rename to Documentation/arch/xtensa/mmu.rst
diff --git a/arch/xtensa/include/asm/initialize_mmu.h b/arch/xtensa/include/asm/initialize_mmu.h
index 9793b49fc641..574795a20d6f 100644
--- a/arch/xtensa/include/asm/initialize_mmu.h
+++ b/arch/xtensa/include/asm/initialize_mmu.h
@@ -43,7 +43,7 @@
#if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
/*
* We Have Atomic Operation Control (ATOMCTL) Register; Initialize it.
- * For details see Documentation/xtensa/atomctl.rst
+ * For details see Documentation/arch/xtensa/atomctl.rst
*/
#if XCHAL_DCACHE_IS_COHERENT
movi a3, 0x25 /* For SMP/MX -- internal for writeback,
--
2.39.2


2023-03-24 00:54:27

by Max Filippov

[permalink] [raw]
Subject: Re: [PATCH 2/6] docs: move xtensa documentation under Documentation/arch/

On Thu, Mar 23, 2023 at 3:20 PM Jonathan Corbet <[email protected]> wrote:
>
> Architecture-specific documentation is being moved into Documentation/arch/
> as a way of cleaning up the top-level documentation directory and making
> the docs hierarchy more closely match the source hierarchy. Move
> Documentation/xtensa into arch/ and fix all in-tree references.
>
> Cc: Chris Zankel <[email protected]>
> Cc: Max Filippov <[email protected]>
> Signed-off-by: Jonathan Corbet <[email protected]>
> ---
> Documentation/arch/index.rst | 2 +-
> Documentation/{ => arch}/xtensa/atomctl.rst | 0
> Documentation/{ => arch}/xtensa/booting.rst | 0
> Documentation/{ => arch}/xtensa/features.rst | 0
> Documentation/{ => arch}/xtensa/index.rst | 0
> Documentation/{ => arch}/xtensa/mmu.rst | 0
> arch/xtensa/include/asm/initialize_mmu.h | 2 +-
> 7 files changed, 2 insertions(+), 2 deletions(-)
> rename Documentation/{ => arch}/xtensa/atomctl.rst (100%)
> rename Documentation/{ => arch}/xtensa/booting.rst (100%)
> rename Documentation/{ => arch}/xtensa/features.rst (100%)
> rename Documentation/{ => arch}/xtensa/index.rst (100%)
> rename Documentation/{ => arch}/xtensa/mmu.rst (100%)

Reviewed-by: Max Filippov <[email protected]>

--
Thanks.
-- Max