From: Oliver Upton <oliver.upton@linux.dev>
To: kvmarm@lists.linux.dev
Cc: kvm@vger.kernel.org, Will Deacon <will@kernel.org>,
Julien Thierry <julien.thierry.kdev@gmail.com>,
Oliver Upton <oliver.upton@linux.dev>
Subject: [RFC kvmtool 8/9] arm64: Rename top-level directory
Date: Fri, 14 Mar 2025 15:25:15 -0700 [thread overview]
Message-ID: <20250314222516.1302429-9-oliver.upton@linux.dev> (raw)
In-Reply-To: <20250314222516.1302429-1-oliver.upton@linux.dev>
As a finishing touch, align the top-level arch directory name with the
kernel's naming scheme.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
---
Makefile | 24 ++++++++++----------
{arm => arm64}/arm-cpu.c | 0
{arm => arm64}/fdt.c | 0
{arm => arm64}/gic.c | 0
{arm => arm64}/gicv2m.c | 0
{arm => arm64}/include/arm-common/gic.h | 0
{arm => arm64}/include/arm-common/pci.h | 0
{arm => arm64}/include/arm-common/timer.h | 0
{arm => arm64}/include/asm/image.h | 0
{arm => arm64}/include/asm/kernel.h | 0
{arm => arm64}/include/asm/kvm.h | 0
{arm => arm64}/include/asm/pmu.h | 0
{arm => arm64}/include/asm/sve_context.h | 0
{arm => arm64}/include/kvm/barrier.h | 0
{arm => arm64}/include/kvm/fdt-arch.h | 0
{arm => arm64}/include/kvm/kvm-arch.h | 0
{arm => arm64}/include/kvm/kvm-config-arch.h | 0
{arm => arm64}/include/kvm/kvm-cpu-arch.h | 0
{arm => arm64}/ioport.c | 0
{arm => arm64}/kvm-cpu.c | 0
{arm => arm64}/kvm.c | 0
{arm => arm64}/pci.c | 0
{arm => arm64}/pmu.c | 0
{arm => arm64}/pvtime.c | 0
{arm => arm64}/timer.c | 0
25 files changed, 12 insertions(+), 12 deletions(-)
rename {arm => arm64}/arm-cpu.c (100%)
rename {arm => arm64}/fdt.c (100%)
rename {arm => arm64}/gic.c (100%)
rename {arm => arm64}/gicv2m.c (100%)
rename {arm => arm64}/include/arm-common/gic.h (100%)
rename {arm => arm64}/include/arm-common/pci.h (100%)
rename {arm => arm64}/include/arm-common/timer.h (100%)
rename {arm => arm64}/include/asm/image.h (100%)
rename {arm => arm64}/include/asm/kernel.h (100%)
rename {arm => arm64}/include/asm/kvm.h (100%)
rename {arm => arm64}/include/asm/pmu.h (100%)
rename {arm => arm64}/include/asm/sve_context.h (100%)
rename {arm => arm64}/include/kvm/barrier.h (100%)
rename {arm => arm64}/include/kvm/fdt-arch.h (100%)
rename {arm => arm64}/include/kvm/kvm-arch.h (100%)
rename {arm => arm64}/include/kvm/kvm-config-arch.h (100%)
rename {arm => arm64}/include/kvm/kvm-cpu-arch.h (100%)
rename {arm => arm64}/ioport.c (100%)
rename {arm => arm64}/kvm-cpu.c (100%)
rename {arm => arm64}/kvm.c (100%)
rename {arm => arm64}/pci.c (100%)
rename {arm => arm64}/pmu.c (100%)
rename {arm => arm64}/pvtime.c (100%)
rename {arm => arm64}/timer.c (100%)
diff --git a/Makefile b/Makefile
index 3085609..60e551f 100644
--- a/Makefile
+++ b/Makefile
@@ -169,19 +169,19 @@ endif
# ARM64
ifeq ($(ARCH), arm64)
DEFINES += -DCONFIG_ARM64
- OBJS += arm/fdt.o
- OBJS += arm/gic.o
- OBJS += arm/gicv2m.o
- OBJS += arm/ioport.o
- OBJS += arm/kvm.o
- OBJS += arm/kvm-cpu.o
- OBJS += arm/pci.o
- OBJS += arm/timer.o
+ OBJS += arm64/fdt.o
+ OBJS += arm64/gic.o
+ OBJS += arm64/gicv2m.o
+ OBJS += arm64/ioport.o
+ OBJS += arm64/kvm.o
+ OBJS += arm64/kvm-cpu.o
+ OBJS += arm64/pci.o
+ OBJS += arm64/timer.o
OBJS += hw/serial.o
- OBJS += arm/arm-cpu.o
- OBJS += arm/pvtime.o
- OBJS += arm/pmu.o
- ARCH_INCLUDE := arm/include
+ OBJS += arm64/arm-cpu.o
+ OBJS += arm64/pvtime.o
+ OBJS += arm64/pmu.o
+ ARCH_INCLUDE := arm64/include
ARCH_WANT_LIBFDT := y
ARCH_HAS_FLASH_MEM := y
diff --git a/arm/arm-cpu.c b/arm64/arm-cpu.c
similarity index 100%
rename from arm/arm-cpu.c
rename to arm64/arm-cpu.c
diff --git a/arm/fdt.c b/arm64/fdt.c
similarity index 100%
rename from arm/fdt.c
rename to arm64/fdt.c
diff --git a/arm/gic.c b/arm64/gic.c
similarity index 100%
rename from arm/gic.c
rename to arm64/gic.c
diff --git a/arm/gicv2m.c b/arm64/gicv2m.c
similarity index 100%
rename from arm/gicv2m.c
rename to arm64/gicv2m.c
diff --git a/arm/include/arm-common/gic.h b/arm64/include/arm-common/gic.h
similarity index 100%
rename from arm/include/arm-common/gic.h
rename to arm64/include/arm-common/gic.h
diff --git a/arm/include/arm-common/pci.h b/arm64/include/arm-common/pci.h
similarity index 100%
rename from arm/include/arm-common/pci.h
rename to arm64/include/arm-common/pci.h
diff --git a/arm/include/arm-common/timer.h b/arm64/include/arm-common/timer.h
similarity index 100%
rename from arm/include/arm-common/timer.h
rename to arm64/include/arm-common/timer.h
diff --git a/arm/include/asm/image.h b/arm64/include/asm/image.h
similarity index 100%
rename from arm/include/asm/image.h
rename to arm64/include/asm/image.h
diff --git a/arm/include/asm/kernel.h b/arm64/include/asm/kernel.h
similarity index 100%
rename from arm/include/asm/kernel.h
rename to arm64/include/asm/kernel.h
diff --git a/arm/include/asm/kvm.h b/arm64/include/asm/kvm.h
similarity index 100%
rename from arm/include/asm/kvm.h
rename to arm64/include/asm/kvm.h
diff --git a/arm/include/asm/pmu.h b/arm64/include/asm/pmu.h
similarity index 100%
rename from arm/include/asm/pmu.h
rename to arm64/include/asm/pmu.h
diff --git a/arm/include/asm/sve_context.h b/arm64/include/asm/sve_context.h
similarity index 100%
rename from arm/include/asm/sve_context.h
rename to arm64/include/asm/sve_context.h
diff --git a/arm/include/kvm/barrier.h b/arm64/include/kvm/barrier.h
similarity index 100%
rename from arm/include/kvm/barrier.h
rename to arm64/include/kvm/barrier.h
diff --git a/arm/include/kvm/fdt-arch.h b/arm64/include/kvm/fdt-arch.h
similarity index 100%
rename from arm/include/kvm/fdt-arch.h
rename to arm64/include/kvm/fdt-arch.h
diff --git a/arm/include/kvm/kvm-arch.h b/arm64/include/kvm/kvm-arch.h
similarity index 100%
rename from arm/include/kvm/kvm-arch.h
rename to arm64/include/kvm/kvm-arch.h
diff --git a/arm/include/kvm/kvm-config-arch.h b/arm64/include/kvm/kvm-config-arch.h
similarity index 100%
rename from arm/include/kvm/kvm-config-arch.h
rename to arm64/include/kvm/kvm-config-arch.h
diff --git a/arm/include/kvm/kvm-cpu-arch.h b/arm64/include/kvm/kvm-cpu-arch.h
similarity index 100%
rename from arm/include/kvm/kvm-cpu-arch.h
rename to arm64/include/kvm/kvm-cpu-arch.h
diff --git a/arm/ioport.c b/arm64/ioport.c
similarity index 100%
rename from arm/ioport.c
rename to arm64/ioport.c
diff --git a/arm/kvm-cpu.c b/arm64/kvm-cpu.c
similarity index 100%
rename from arm/kvm-cpu.c
rename to arm64/kvm-cpu.c
diff --git a/arm/kvm.c b/arm64/kvm.c
similarity index 100%
rename from arm/kvm.c
rename to arm64/kvm.c
diff --git a/arm/pci.c b/arm64/pci.c
similarity index 100%
rename from arm/pci.c
rename to arm64/pci.c
diff --git a/arm/pmu.c b/arm64/pmu.c
similarity index 100%
rename from arm/pmu.c
rename to arm64/pmu.c
diff --git a/arm/pvtime.c b/arm64/pvtime.c
similarity index 100%
rename from arm/pvtime.c
rename to arm64/pvtime.c
diff --git a/arm/timer.c b/arm64/timer.c
similarity index 100%
rename from arm/timer.c
rename to arm64/timer.c
--
2.39.5
next prev parent reply other threads:[~2025-03-14 22:34 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 22:25 [RFC kvmtool 0/9] arm: Drop support for 32-bit kvmtool Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 1/9] Drop support for 32-bit arm Oliver Upton
2025-03-20 16:58 ` Alexandru Elisei
2025-03-25 17:08 ` Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 2/9] arm64: Move arm64-only features into main directory Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 3/9] arm64: Combine kvm.c Oliver Upton
2025-03-20 16:59 ` Alexandru Elisei
2025-03-14 22:25 ` [RFC kvmtool 4/9] arm64: Merge kvm-cpu.c Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 5/9] arm64: Combine kvm-config-arch.h Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 6/9] arm64: Move remaining kvm/* headers Oliver Upton
2025-03-14 22:25 ` [RFC kvmtool 7/9] arm64: Move asm headers Oliver Upton
2025-03-14 22:25 ` Oliver Upton [this message]
2025-03-14 22:25 ` [RFC kvmtool 9/9] arm64: Get rid of the 'arm-common' include directory Oliver Upton
2025-03-20 17:01 ` Alexandru Elisei
2025-03-25 17:02 ` Oliver Upton
2025-03-17 10:39 ` [RFC kvmtool 0/9] arm: Drop support for 32-bit kvmtool Alexandru Elisei
2025-03-17 10:51 ` Marc Zyngier
2025-03-18 1:10 ` Oliver Upton
2025-03-19 14:18 ` Andre Przywara
2025-03-17 11:14 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250314222516.1302429-9-oliver.upton@linux.dev \
--to=oliver.upton@linux.dev \
--cc=julien.thierry.kdev@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.