-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] [SW64] Add sw64 architecture basic support #439
[WIP] [SW64] Add sw64 architecture basic support #439
Conversation
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add Kbuild, Makefile, Kconfig and link script for SW64 build infrastructure. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add common headers (CPU definition) for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add common headers (atomic, bitops, barrier and locking) for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add some other common headers for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add ELF-related definition for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add some other uncommon headers for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add basic boot, setup and reset routines for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add topology setup for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add timer for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add interrupt handling mechanism for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add exception handling mechanism for basic SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add process management support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add hardware match mechanism for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add memory management support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add hugetlb support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add system call support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add ucontext/sigcontext definition and signal handling support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add FPU and floating-point emulation support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add basic IO support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add kernel module support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add some other common routines for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add some uncommon routines for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add some library functions for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56P0Z -------------------------------- Add VDSO support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add Symmetric Multi-Processing (SMP) support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add Non Uniform Memory Access (NUMA) support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add default config files for SW64 based xuelang and junzhang platforms. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add basic PCI support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add basic MSI support for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add device trees for SW64 based chip3 platform and virtual machines (including an empty device tree for platforms that are under development). Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YQTI -------------------------------- Modify generic headers for SW64 ACPI support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Modify generic headers for SW64 kernel module support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56WV8 -------------------------------- Modify generic headers and routines for SW64 KVM support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Modify generic headers for SW64 PCI support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YQW8 -------------------------------- Modify generic headers for SW64 kexec support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Modify generic headers for SW64 audit support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YR3H -------------------------------- Modify scripts for SW64 ftrace support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add common headers and routines for SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Modify generic headers and Makefiles for SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRCP -------------------------------- Add Build, Makefiles, common headers and routines for SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRCP -------------------------------- Modify generic Build, Makefiles and routines for SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Modify generic routines for SW64 support. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YQTI -------------------------------- Add acpi drivers for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8Y8CY -------------------------------- Add clocksource driver for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YQY2 -------------------------------- Add cpufreq drivers for SW64. Signed-off-by: Mao Minkai <maominkai@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All of those paches are from openEuler.
These patches are considered temporary versions. wxait will provide us with more formal versions in the future.
Link: https://gitee.com/openeuler/kernel/pulls/4545
Link: https://gitee.com/openeuler/kernel/pulls/4596
Link: https://gitee.com/openeuler/kernel/pulls/4629/commits