Skip to contentSkip to conversation

Re-organize Qemu MIPS defconfigs

PATCH Superseded Vicente Olivert Riera 2 participants 6 messages Jun 29, 2016 – Jun 30, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Re-organize Qemu MIPS defconfigs

This patch renames the existing Qemu MIPS defconfigs in order to have a name format that allows a better organization if more defconfigs are added for different MIPS variants.

After that it adds Qemu MIPS defconfigs for mips-32r6 and mips-64r6, both big and little endian.

Vicente Olivert Riera (8):
qemu_mips_malta_defconfig: move to qemu_mips_32r2_malta_defconfig qemu_mipsel_malta_defconfig: move to qemu_mipsel_32r2_malta_defconfig qemu_mips64_malta_defconfig: move to qemu_mips_64_malta_defconfig qemu_mips64el_malta_defconfig: move to qemu_mipsel_64_malta_defconfig Add qemu_mips_32r6_malta_defconfig
Add qemu_mipsel_32r6_malta_defconfig
Add qemu_mips_64r6_malta_defconfig
Add qemu_mipsel_64r6_malta_defconfig

 .../linux-4.6.config                               |  0
 .../{mips-malta => mips-32r2-malta}/readme.txt     |  0
 board/qemu/mips-32r6-malta/linux-4.6.config        | 30 +++++++++++++++++++
 board/qemu/mips-32r6-malta/readme.txt              |  7 +++++
 ...oration-of-MSA-context-in-non-MSA-kernels.patch | 25 ++++++++++++++++
 .../linux-4.6.config                               |  0
 .../{mips64-malta => mips-64-malta}/readme.txt     |  0
 board/qemu/mips-64r6-malta/linux-4.6.config        | 34 ++++++++++++++++++++++
 board/qemu/mips-64r6-malta/readme.txt              |  7 +++++
 ...oration-of-MSA-context-in-non-MSA-kernels.patch | 25 ++++++++++++++++
 .../linux-4.6.config                               |  0
 .../{mipsel-malta => mipsel-32r2-malta}/readme.txt |  0
 board/qemu/mipsel-32r6-malta/linux-4.6.config      | 30 +++++++++++++++++++
 board/qemu/mipsel-32r6-malta/readme.txt            |  7 +++++
 ...oration-of-MSA-context-in-non-MSA-kernels.patch | 25 ++++++++++++++++
 .../linux-4.6.config                               |  0
 .../{mips64el-malta => mipsel-64-malta}/readme.txt |  0
 board/qemu/mipsel-64r6-malta/linux-4.6.config      | 34 ++++++++++++++++++++++
 board/qemu/mipsel-64r6-malta/readme.txt            |  7 +++++
 ...oration-of-MSA-context-in-non-MSA-kernels.patch | 25 ++++++++++++++++
 ...ta_defconfig => qemu_mips_32r2_malta_defconfig} |  2 +-
 configs/qemu_mips_32r6_malta_defconfig             | 31 ++++++++++++++++++++
 ...alta_defconfig => qemu_mips_64_malta_defconfig} |  2 +-
 configs/qemu_mips_64r6_malta_defconfig             | 32 ++++++++++++++++++++
 ..._defconfig => qemu_mipsel_32r2_malta_defconfig} |  2 +-
 configs/qemu_mipsel_32r6_malta_defconfig           | 31 ++++++++++++++++++++
 ...ta_defconfig => qemu_mipsel_64_malta_defconfig} |  2 +-
 configs/qemu_mipsel_64r6_malta_defconfig           | 32 ++++++++++++++++++++
 28 files changed, 386 insertions(+), 4 deletions(-)
 rename board/qemu/{mips-malta => mips-32r2-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips-malta => mips-32r2-malta}/readme.txt (100%)
 create mode 100644 board/qemu/mips-32r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mips-32r6-malta/readme.txt
 create mode 100644 board/qemu/mips-32r6-malta/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
 rename board/qemu/{mips64-malta => mips-64-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips64-malta => mips-64-malta}/readme.txt (100%)
 create mode 100644 board/qemu/mips-64r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mips-64r6-malta/readme.txt
 create mode 100644 board/qemu/mips-64r6-malta/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
 rename board/qemu/{mipsel-malta => mipsel-32r2-malta}/linux-4.6.config (100%)
 rename board/qemu/{mipsel-malta => mipsel-32r2-malta}/readme.txt (100%)
 create mode 100644 board/qemu/mipsel-32r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mipsel-32r6-malta/readme.txt
 create mode 100644 board/qemu/mipsel-32r6-malta/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
 rename board/qemu/{mips64el-malta => mipsel-64-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips64el-malta => mipsel-64-malta}/readme.txt (100%)
 create mode 100644 board/qemu/mipsel-64r6-malta/linux-4.6.config
 create mode 100644 board/qemu/mipsel-64r6-malta/readme.txt
 create mode 100644 board/qemu/mipsel-64r6-malta/v2-MIPS-Prevent-restoration-of-MSA-context-in-non-MSA-kernels.patch
 rename configs/{qemu_mips_malta_defconfig => qemu_mips_32r2_malta_defconfig} (85%)
 create mode 100644 configs/qemu_mips_32r6_malta_defconfig
 rename configs/{qemu_mips64_malta_defconfig => qemu_mips_64_malta_defconfig} (86%)
 create mode 100644 configs/qemu_mips_64r6_malta_defconfig
 rename configs/{qemu_mipsel_malta_defconfig => qemu_mipsel_32r2_malta_defconfig} (85%)
 create mode 100644 configs/qemu_mipsel_32r6_malta_defconfig
 rename configs/{qemu_mips64el_malta_defconfig => qemu_mipsel_64_malta_defconfig} (86%)
 create mode 100644 configs/qemu_mipsel_64r6_malta_defconfig
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/8 qemu_mips_malta_defconfig: move to qemu_mips_32r2_malta_defconfig

---
 board/qemu/{mips-malta => mips-32r2-malta}/linux-4.6.config           | 0
 board/qemu/{mips-malta => mips-32r2-malta}/readme.txt                 | 0
 configs/{qemu_mips_malta_defconfig => qemu_mips_32r2_malta_defconfig} | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mips-malta => mips-32r2-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips-malta => mips-32r2-malta}/readme.txt (100%)
 rename configs/{qemu_mips_malta_defconfig => qemu_mips_32r2_malta_defconfig} (85%)
board/qemu/mips-32r2-malta/linux-4.6.config renamed from board/qemu/mips-malta/linux-4.6.config +0 -0
similarity index 100%
rename from board/qemu/mips-malta/linux-4.6.config
rename to board/qemu/mips-32r2-malta/linux-4.6.config
board/qemu/mips-32r2-malta/readme.txt renamed from board/qemu/mips-malta/readme.txt +0 -0
similarity index 100%
rename from board/qemu/mips-malta/readme.txt
rename to board/qemu/mips-32r2-malta/readme.txt
configs/qemu_mips_32r2_malta_defconfig renamed from configs/qemu_mips_malta_defconfig +1 -1
similarity index 85%
rename from configs/qemu_mips_malta_defconfig
rename to configs/qemu_mips_32r2_malta_defconfig
index 66b67a5..4febb64 100644
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-32r2-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
Signature · 1 line
2.7.3
#2 lore raw

PATCH 2/8 qemu_mipsel_malta_defconfig: move to qemu_mipsel_32r2_malta_defconfig

In reply to Vicente Olivert Riera
---
 board/qemu/{mipsel-malta => mipsel-32r2-malta}/linux-4.6.config         | 0
 board/qemu/{mipsel-malta => mipsel-32r2-malta}/readme.txt               | 0
 .../{qemu_mipsel_malta_defconfig => qemu_mipsel_32r2_malta_defconfig}   | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mipsel-malta => mipsel-32r2-malta}/linux-4.6.config (100%)
 rename board/qemu/{mipsel-malta => mipsel-32r2-malta}/readme.txt (100%)
 rename configs/{qemu_mipsel_malta_defconfig => qemu_mipsel_32r2_malta_defconfig} (85%)
board/qemu/mipsel-32r2-malta/linux-4.6.config renamed from board/qemu/mipsel-malta/linux-4.6.config +0 -0
similarity index 100%
rename from board/qemu/mipsel-malta/linux-4.6.config
rename to board/qemu/mipsel-32r2-malta/linux-4.6.config
board/qemu/mipsel-32r2-malta/readme.txt renamed from board/qemu/mipsel-malta/readme.txt +0 -0
similarity index 100%
rename from board/qemu/mipsel-malta/readme.txt
rename to board/qemu/mipsel-32r2-malta/readme.txt
configs/qemu_mipsel_32r2_malta_defconfig renamed from configs/qemu_mipsel_malta_defconfig +1 -1
similarity index 85%
rename from configs/qemu_mipsel_malta_defconfig
rename to configs/qemu_mipsel_32r2_malta_defconfig
index 4e4f838..78a31fd 100644
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-32r2-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
Signature · 1 line
2.7.3
#3 lore raw

PATCH 3/8 qemu_mips64_malta_defconfig: move to qemu_mips_64_malta_defconfig

In reply to Vicente Olivert Riera
---
 board/qemu/{mips64-malta => mips-64-malta}/linux-4.6.config           | 0
 board/qemu/{mips64-malta => mips-64-malta}/readme.txt                 | 0
 configs/{qemu_mips64_malta_defconfig => qemu_mips_64_malta_defconfig} | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mips64-malta => mips-64-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips64-malta => mips-64-malta}/readme.txt (100%)
 rename configs/{qemu_mips64_malta_defconfig => qemu_mips_64_malta_defconfig} (86%)
board/qemu/mips-64-malta/linux-4.6.config renamed from board/qemu/mips64-malta/linux-4.6.config +0 -0
similarity index 100%
rename from board/qemu/mips64-malta/linux-4.6.config
rename to board/qemu/mips-64-malta/linux-4.6.config
board/qemu/mips-64-malta/readme.txt renamed from board/qemu/mips64-malta/readme.txt +0 -0
similarity index 100%
rename from board/qemu/mips64-malta/readme.txt
rename to board/qemu/mips-64-malta/readme.txt
configs/qemu_mips_64_malta_defconfig renamed from configs/qemu_mips64_malta_defconfig +1 -1
similarity index 86%
rename from configs/qemu_mips64_malta_defconfig
rename to configs/qemu_mips_64_malta_defconfig
index 6d1e207..65c9636 100644
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips-64-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
Signature · 1 line
2.7.3
#4 lore raw

PATCH 4/8 qemu_mips64el_malta_defconfig: move to qemu_mipsel_64_malta_defconfig

In reply to Vicente Olivert Riera
---
 board/qemu/{mips64el-malta => mipsel-64-malta}/linux-4.6.config         | 0
 board/qemu/{mips64el-malta => mipsel-64-malta}/readme.txt               | 0
 .../{qemu_mips64el_malta_defconfig => qemu_mipsel_64_malta_defconfig}   | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename board/qemu/{mips64el-malta => mipsel-64-malta}/linux-4.6.config (100%)
 rename board/qemu/{mips64el-malta => mipsel-64-malta}/readme.txt (100%)
 rename configs/{qemu_mips64el_malta_defconfig => qemu_mipsel_64_malta_defconfig} (86%)
board/qemu/mipsel-64-malta/linux-4.6.config renamed from board/qemu/mips64el-malta/linux-4.6.config +0 -0
similarity index 100%
rename from board/qemu/mips64el-malta/linux-4.6.config
rename to board/qemu/mipsel-64-malta/linux-4.6.config
board/qemu/mipsel-64-malta/readme.txt renamed from board/qemu/mips64el-malta/readme.txt +0 -0
similarity index 100%
rename from board/qemu/mips64el-malta/readme.txt
rename to board/qemu/mipsel-64-malta/readme.txt
configs/qemu_mipsel_64_malta_defconfig renamed from configs/qemu_mips64el_malta_defconfig +1 -1
similarity index 86%
rename from configs/qemu_mips64el_malta_defconfig
rename to configs/qemu_mipsel_64_malta_defconfig
index a4b638a..bc7d29f 100644
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.1"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64el-malta/linux-4.6.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-64-malta/linux-4.6.config"
 BR2_LINUX_KERNEL_VMLINUX=y
 
 # Serial port config
Signature · 1 line
2.7.3
#5 lore raw

cover Re-organize Qemu MIPS defconfigs

In reply to Vicente Olivert Riera
Quoted 6 lines · Vicente Olivert Riera

This patch renames the existing Qemu MIPS defconfigs in order to have a name format that allows a better organization if more defconfigs are added for different MIPS variants.

After that it adds Qemu MIPS defconfigs for mips-32r6 and mips-64r6, both big and little endian.

Hi Vicente.
Wouldn't it be better to compose the arch + cpu combo without the underscore? Otherwise it looks a bit noisy.
Something like qemu_mipsel64r6_malta_defconfig for example instead of qemu_mipsel_64r6_malta_defconfig.
Also the MSA patches can be dropped if you use kernel 4.6.2+ since it's upstream (hence use 4.6.3).
Other than that it looks great.
Regards.