[linux] 01/01: [mips*] Add support for MIPS 5KE CPU.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Dec 6 21:23:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch jessie
in repository linux.

commit 930883e3615fe00e923c1ef38ca5e92a0b862f2e
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Dec 6 21:31:55 2015 +0100

    [mips*] Add support for MIPS 5KE CPU.
---
 debian/changelog                                   |  4 +++
 .../mips/MIPS-idle-add-case-for-CPU_5KE.patch      | 33 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 38 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 21f82b1..b44fdf8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,14 @@
 linux (3.16.7-ckt20-2) UNRELEASED; urgency=medium
 
+  [ Ben Hutchings ]
   * splice: sendfile() at once fails for big files (Closes: #785189)
   * media: usbvision: fix crash on detecting device with invalid configuration
     (CVE-2015-7833, partly fixed in 3.16.7-ckt20-1)
   * udeb: Add dm-service-time to multipath-modules (Closes: #806131)
 
+  [ Aurelien Jarno ]
+  * [mips*] Add support for MIPS 5KE CPU.
+
  -- Ben Hutchings <ben at decadent.org.uk>  Sun, 22 Nov 2015 23:31:18 +0000
 
 linux (3.16.7-ckt20-1) jessie; urgency=medium
diff --git a/debian/patches/features/mips/MIPS-idle-add-case-for-CPU_5KE.patch b/debian/patches/features/mips/MIPS-idle-add-case-for-CPU_5KE.patch
new file mode 100644
index 0000000..b0a330b
--- /dev/null
+++ b/debian/patches/features/mips/MIPS-idle-add-case-for-CPU_5KE.patch
@@ -0,0 +1,33 @@
+From: Aurelien Jarno <aurelien at aurel32.net>
+Date: Sat, 5 Sep 2015 18:47:31 +0200
+Subject: MIPS: idle: add case for CPU_5KE
+Origin: https://git.kernel.org/linus/bf463f2f7510771db180908507005379850dade0
+
+While the 5KE processors have never been taped out, they exists though
+a CP0.PRId and experimental RTLs or QEMU implementations. Add a case
+entry in the idle code, as they can use the standard idle loop like the
+5K processors.
+
+Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
+Cc: linux-mips at linux-mips.org
+Patchwork: https://patchwork.linux-mips.org/patch/11099/
+Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
+---
+ arch/mips/kernel/idle.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c
+index 3e2b0b6..35af615 100644
+--- a/arch/mips/kernel/idle.c
++++ b/arch/mips/kernel/idle.c
+@@ -165,6 +165,7 @@ void __init check_wait(void)
+ 	case CPU_4KEC:
+ 	case CPU_4KSC:
+ 	case CPU_5KC:
++	case CPU_5KE:
+ 	case CPU_25KF:
+ 	case CPU_PR4450:
+ 	case CPU_BMIPS3300:
+-- 
+2.6.2
+
diff --git a/debian/patches/series b/debian/patches/series
index 606ac50..89d2f56 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -103,6 +103,7 @@ features/mips/MIPS-Loongson-Rename-CONFIG_LEMOTE_MACH3A-to-CONFIG_.patch
 features/mips/MIPS-Loongson-3-Add-Loongson-LS3A-RS780E-1-way-machi.patch
 features/mips/MIPS-octeon-Add-support-for-the-UBNT-E200-board.patch
 features/mips/mips-loongson-set-loongson-3-s-isa-level-to-mips64r1.patch
+features/mips/MIPS-idle-add-case-for-CPU_5KE.patch
 features/powerpc/KVM-prepare-for-KVM_-S-G-ET_MP_STATE-on-other-archit.patch
 features/powerpc/KVM-PPC-Book3s-PR-Disable-AIL-mode-with-OPAL.patch
 features/powerpc/KVM-PPC-Book3s-HV-Fix-tlbie-compile-error.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list