From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com, paul.burton@mips.com,
Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: [PATCH 0/5] MIPS: Loongson64: separate loongson2ef/loongson64 code
Date: Sun, 20 Oct 2019 22:43:12 +0800 [thread overview]
Message-ID: <20191020144318.18341-1-jiaxun.yang@flygoat.com> (raw)
Hi all,
This patchset is the successor of previous set "Modernize Loongson64 Machine".
It based on latest mips-next. But some Loongson related fixes in mips-fixes is
not contained as the mips-next is not aligned with the latest status of mips-fixes.
Please look after them at apply time.
Thanks
Jiaxun Yang (6):
MIPS: Loongson64: Rename CPU TYPES
MIPS: Fork loongson2ef from loongson64
MIPS: Loongson2ef: clean up loongson64 related code
MIPS: Loongson64: Cleanup unused code
MIPS: Loongson64: Move files to the top-level directory
MAINTAINERS: Fix entries for Loongson2EF and add myself to Loongson64
MAINTAINERS | 10 +-
arch/mips/Kbuild.platforms | 1 +
arch/mips/Kconfig | 81 ++++++++----
arch/mips/configs/fuloong2e_defconfig | 2 +-
arch/mips/configs/lemote2f_defconfig | 2 +-
arch/mips/configs/loongson3_defconfig | 1 -
arch/mips/include/asm/bootinfo.h | 3 +-
arch/mips/include/asm/cop2.h | 2 +-
arch/mips/include/asm/cpu-type.h | 9 +-
arch/mips/include/asm/cpu.h | 4 +-
arch/mips/include/asm/hazards.h | 4 +-
arch/mips/include/asm/io.h | 2 +-
arch/mips/include/asm/irqflags.h | 2 +-
.../cpu-feature-overrides.h | 15 +--
.../cs5536/cs5536.h | 0
.../cs5536/cs5536_mfgpt.h | 0
.../cs5536/cs5536_pci.h | 0
.../cs5536/cs5536_vsm.h | 0
.../loongson.h | 37 +-----
.../machine.h | 12 +-
.../asm/mach-loongson2ef/mc146818rtc.h | 36 ++++++
.../mem.h | 6 +-
.../pci.h | 12 +-
.../include/asm/mach-loongson2ef/spaces.h | 10 ++
.../mach-loongson64/cpu-feature-overrides.h | 3 -
arch/mips/include/asm/mach-loongson64/irq.h | 4 -
.../asm/mach-loongson64/kernel-entry-init.h | 4 -
.../include/asm/mach-loongson64/loongson.h | 114 -----------------
.../mips/include/asm/mach-loongson64/mmzone.h | 29 +----
arch/mips/include/asm/mach-loongson64/pci.h | 31 -----
.../include/asm/mach-loongson64/topology.h | 4 +-
arch/mips/include/asm/module.h | 8 +-
arch/mips/include/asm/processor.h | 2 +-
arch/mips/include/asm/r4kcache.h | 4 +-
arch/mips/kernel/cpu-probe.c | 16 +--
arch/mips/kernel/idle.c | 2 +-
arch/mips/kernel/perf_event_mipsxx.c | 4 +-
arch/mips/kernel/setup.c | 2 +-
arch/mips/kernel/traps.c | 2 +-
arch/mips/lib/csum_partial.S | 4 +-
arch/mips/{loongson64 => loongson2ef}/Kconfig | 53 +-------
.../mips/{loongson64 => loongson2ef}/Makefile | 8 +-
arch/mips/loongson2ef/Platform | 32 +++++
.../common/Makefile | 0
.../common/bonito-irq.c | 0
.../common/cmdline.c | 0
.../common/cs5536/Makefile | 0
.../common/cs5536/cs5536_acc.c | 0
.../common/cs5536/cs5536_ehci.c | 0
.../common/cs5536/cs5536_ide.c | 0
.../common/cs5536/cs5536_isa.c | 0
.../common/cs5536/cs5536_mfgpt.c | 0
.../common/cs5536/cs5536_ohci.c | 0
.../common/cs5536/cs5536_pci.c | 0
.../common/early_printk.c | 2 +-
arch/mips/loongson2ef/common/env.c | 71 +++++++++++
.../{loongson64 => loongson2ef}/common/init.c | 5 -
.../{loongson64 => loongson2ef}/common/irq.c | 0
.../common/machtype.c | 1 -
.../{loongson64 => loongson2ef}/common/mem.c | 37 ------
.../{loongson64 => loongson2ef}/common/pci.c | 8 --
.../common/platform.c | 0
.../{loongson64 => loongson2ef}/common/pm.c | 9 +-
.../common/reset.c | 21 ----
.../{loongson64 => loongson2ef}/common/rtc.c | 0
arch/mips/loongson2ef/common/serial.c | 86 +++++++++++++
.../common/setup.c | 21 ----
.../{loongson64 => loongson2ef}/common/time.c | 4 -
.../common/uart_base.c | 17 +--
.../fuloong-2e/Makefile | 0
.../fuloong-2e/dma.c | 0
.../fuloong-2e/irq.c | 0
.../fuloong-2e/reset.c | 0
.../lemote-2f/Makefile | 0
.../lemote-2f/clock.c | 6 +-
.../lemote-2f/dma.c | 0
.../lemote-2f/ec_kb3310b.c | 0
.../lemote-2f/ec_kb3310b.h | 0
.../lemote-2f/irq.c | 0
.../lemote-2f/machtype.c | 0
.../lemote-2f/pm.c | 0
.../lemote-2f/reset.c | 2 +-
arch/mips/loongson64/Kconfig | 119 +-----------------
arch/mips/loongson64/Makefile | 29 ++---
arch/mips/loongson64/Platform | 33 +----
.../loongson64/{loongson-3 => }/acpi_init.c | 0
arch/mips/loongson64/{common => }/cmdline.c | 2 -
arch/mips/loongson64/common/serial.c | 117 -----------------
.../loongson64/{loongson-3 => }/cop2-ex.c | 0
arch/mips/loongson64/{loongson-3 => }/dma.c | 0
arch/mips/loongson64/{common => }/env.c | 62 +--------
arch/mips/loongson64/{loongson-3 => }/hpet.c | 0
arch/mips/loongson64/{common => }/init.c | 17 +--
arch/mips/loongson64/{loongson-3 => }/irq.c | 8 +-
arch/mips/loongson64/loongson-3/Makefile | 11 --
arch/mips/loongson64/{loongson-3 => }/numa.c | 11 +-
arch/mips/loongson64/{common => }/pci.c | 5 +-
.../loongson64/{loongson-3 => }/platform.c | 0
arch/mips/loongson64/{common => }/pm.c | 53 --------
arch/mips/loongson64/{common => }/reset.c | 30 -----
arch/mips/loongson64/{common => }/rtc.c | 0
arch/mips/loongson64/{common => }/setup.c | 21 ----
arch/mips/loongson64/{loongson-3 => }/smp.c | 0
arch/mips/loongson64/{loongson-3 => }/smp.h | 0
arch/mips/loongson64/{common => }/time.c | 3 -
arch/mips/mm/c-r4k.c | 32 ++---
arch/mips/mm/page.c | 2 +-
arch/mips/mm/tlb-r4k.c | 4 +-
arch/mips/mm/tlbex.c | 6 +-
arch/mips/oprofile/Makefile | 4 +-
arch/mips/oprofile/common.c | 4 +-
arch/mips/pci/Makefile | 2 +-
drivers/cpufreq/loongson2_cpufreq.c | 2 +-
drivers/gpio/Kconfig | 2 +-
drivers/gpio/gpio-loongson.c | 2 +-
drivers/platform/mips/Kconfig | 4 +-
include/drm/drm_cache.h | 2 +-
117 files changed, 447 insertions(+), 1007 deletions(-)
copy arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/cpu-feature-overrides.h (73%)
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/cs5536/cs5536.h (100%)
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/cs5536/cs5536_mfgpt.h (100%)
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/cs5536/cs5536_pci.h (100%)
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/cs5536/cs5536_vsm.h (100%)
copy arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/loongson.h (90%)
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/machine.h (60%)
create mode 100644 arch/mips/include/asm/mach-loongson2ef/mc146818rtc.h
rename arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/mem.h (86%)
copy arch/mips/include/asm/{mach-loongson64 => mach-loongson2ef}/pci.h (84%)
create mode 100644 arch/mips/include/asm/mach-loongson2ef/spaces.h
copy arch/mips/{loongson64 => loongson2ef}/Kconfig (64%)
copy arch/mips/{loongson64 => loongson2ef}/Makefile (68%)
create mode 100644 arch/mips/loongson2ef/Platform
rename arch/mips/{loongson64 => loongson2ef}/common/Makefile (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/bonito-irq.c (100%)
copy arch/mips/{loongson64 => loongson2ef}/common/cmdline.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/Makefile (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_acc.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_ehci.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_ide.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_isa.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_mfgpt.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_ohci.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/cs5536/cs5536_pci.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/early_printk.c (93%)
create mode 100644 arch/mips/loongson2ef/common/env.c
copy arch/mips/{loongson64 => loongson2ef}/common/init.c (95%)
rename arch/mips/{loongson64 => loongson2ef}/common/irq.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/common/machtype.c (96%)
rename arch/mips/{loongson64 => loongson2ef}/common/mem.c (75%)
copy arch/mips/{loongson64 => loongson2ef}/common/pci.c (90%)
rename arch/mips/{loongson64 => loongson2ef}/common/platform.c (100%)
copy arch/mips/{loongson64 => loongson2ef}/common/pm.c (93%)
copy arch/mips/{loongson64 => loongson2ef}/common/reset.c (79%)
copy arch/mips/{loongson64 => loongson2ef}/common/rtc.c (100%)
create mode 100644 arch/mips/loongson2ef/common/serial.c
copy arch/mips/{loongson64 => loongson2ef}/common/setup.c (57%)
copy arch/mips/{loongson64 => loongson2ef}/common/time.c (91%)
rename arch/mips/{loongson64 => loongson2ef}/common/uart_base.c (56%)
rename arch/mips/{loongson64 => loongson2ef}/fuloong-2e/Makefile (100%)
rename arch/mips/{loongson64 => loongson2ef}/fuloong-2e/dma.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/fuloong-2e/irq.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/fuloong-2e/reset.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/Makefile (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/clock.c (96%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/dma.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/ec_kb3310b.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/ec_kb3310b.h (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/irq.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/machtype.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/pm.c (100%)
rename arch/mips/{loongson64 => loongson2ef}/lemote-2f/reset.c (98%)
rename arch/mips/loongson64/{loongson-3 => }/acpi_init.c (100%)
rename arch/mips/loongson64/{common => }/cmdline.c (97%)
delete mode 100644 arch/mips/loongson64/common/serial.c
rename arch/mips/loongson64/{loongson-3 => }/cop2-ex.c (100%)
rename arch/mips/loongson64/{loongson-3 => }/dma.c (100%)
rename arch/mips/loongson64/{common => }/env.c (79%)
rename arch/mips/loongson64/{loongson-3 => }/hpet.c (100%)
rename arch/mips/loongson64/{common => }/init.c (69%)
rename arch/mips/loongson64/{loongson-3 => }/irq.c (96%)
delete mode 100644 arch/mips/loongson64/loongson-3/Makefile
rename arch/mips/loongson64/{loongson-3 => }/numa.c (96%)
rename arch/mips/loongson64/{common => }/pci.c (97%)
rename arch/mips/loongson64/{loongson-3 => }/platform.c (100%)
rename arch/mips/loongson64/{common => }/pm.c (68%)
rename arch/mips/loongson64/{common => }/reset.c (64%)
rename arch/mips/loongson64/{common => }/rtc.c (100%)
rename arch/mips/loongson64/{common => }/setup.c (57%)
rename arch/mips/loongson64/{loongson-3 => }/smp.c (100%)
rename arch/mips/loongson64/{loongson-3 => }/smp.h (100%)
rename arch/mips/loongson64/{common => }/time.c (90%)
--
2.23.0
next reply other threads:[~2019-10-20 14:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 14:43 Jiaxun Yang [this message]
2019-10-20 14:43 ` [PATCH 1/6] MIPS: Loongson64: Rename CPU TYPES Jiaxun Yang
2019-11-01 23:27 ` Paul Burton
2019-10-20 14:43 ` [PATCH 2/6] MIPS: Fork loongson2ef from loongson64 Jiaxun Yang
2019-11-01 23:27 ` Paul Burton
2019-10-20 14:43 ` [PATCH 3/6] MIPS: Loongson2ef: clean up loongson64 related code Jiaxun Yang
2019-11-01 23:27 ` Paul Burton
2019-10-20 15:01 ` [PATCH 4/6] MIPS: Loongson64: Cleanup unused code Jiaxun Yang
2019-10-20 15:01 ` [PATCH 5/6] MIPS: Loongson64: Move files to the top-level directory Jiaxun Yang
2019-11-01 23:28 ` Paul Burton
2019-10-20 15:01 ` [PATCH 6/6] MAINTAINERS: Fix entries for Loongson2EF and add myself to Loongson64 Jiaxun Yang
2019-11-01 23:28 ` [PATCH 4/6] MIPS: Loongson64: Cleanup unused code Paul Burton
2019-10-21 1:07 ` [PATCH 0/5] MIPS: Loongson64: separate loongson2ef/loongson64 code Huacai Chen
2019-10-21 3:55 ` Jiaxun Yang
2019-10-22 1:35 ` Huacai Chen
2019-10-22 2:47 ` Jiaxun Yang
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=20191020144318.18341-1-jiaxun.yang@flygoat.com \
--to=jiaxun.yang@flygoat.com \
--cc=chenhc@lemote.com \
--cc=linux-mips@vger.kernel.org \
--cc=paul.burton@mips.com \
/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 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).