[kernel] r20219 - in dists/sid/linux/debian: . patches patches/bugfix/s390
Ben Hutchings
benh at alioth.debian.org
Sun Jun 9 20:16:15 UTC 2013
Author: benh
Date: Sun Jun 9 20:16:14 2013
New Revision: 20219
Log:
[s390] Add pgste to ptep_modify_prot_start()
Fixes build breakage in 3.9.5.
Added:
dists/sid/linux/debian/patches/bugfix/s390/s390-add-pgste-to-ptep_modify_prot_start.patch
Modified:
dists/sid/linux/debian/changelog
dists/sid/linux/debian/patches/series
Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog Sun Jun 9 13:38:03 2013 (r20218)
+++ dists/sid/linux/debian/changelog Sun Jun 9 20:16:14 2013 (r20219)
@@ -47,6 +47,8 @@
[ Ben Hutchings ]
* [powerpcspe] Remove installer udebs (really fixes FTBFS)
+ * [s390] Add pgste to ptep_modify_prot_start()
+
-- Ben Hutchings <ben at decadent.org.uk> Sat, 08 Jun 2013 15:25:11 +0100
Added: dists/sid/linux/debian/patches/bugfix/s390/s390-add-pgste-to-ptep_modify_prot_start.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux/debian/patches/bugfix/s390/s390-add-pgste-to-ptep_modify_prot_start.patch Sun Jun 9 20:16:14 2013 (r20219)
@@ -0,0 +1,30 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Sun, 09 Jun 2013 16:54:12 +0100
+Subject: s390: Add pgste to ptep_modify_prot_start()
+Forwarded: http://article.gmane.org/gmane.linux.kernel.stable/55564
+
+Commit 52f36be0f4e2 's390/pgtable: Fix check for pgste/storage key
+handling', which was commit b56433cb782d upstream, added a use of
+pgste to ptep_modify_prot_start(), but this variable does not exist.
+In mainline, pgste was added by commit d3383632d4e8 's390/mm: add pte
+invalidation notifier for kvm' and initialised to the return value of
+pgste_get_lock(ptep). Initialise it similarly here.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+--- a/arch/s390/include/asm/pgtable.h
++++ b/arch/s390/include/asm/pgtable.h
+@@ -1063,11 +1063,12 @@ static inline pte_t ptep_modify_prot_sta
+ unsigned long address,
+ pte_t *ptep)
+ {
++ pgste_t pgste;
+ pte_t pte;
+
+ mm->context.flush_mm = 1;
+ if (mm_has_pgste(mm))
+- pgste_get_lock(ptep);
++ pgste = pgste_get_lock(ptep);
+
+ pte = *ptep;
+ if (!mm_exclusive(mm))
Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series Sun Jun 9 13:38:03 2013 (r20218)
+++ dists/sid/linux/debian/patches/series Sun Jun 9 20:16:14 2013 (r20219)
@@ -104,3 +104,4 @@
features/arm/0001-thermal-Add-driver-for-Armada-370-XP-SoC-thermal-man.patch
features/arm/0001-ARM-mvebu-Add-thermal-support-to-Armada-XP-device-tr.patch
+bugfix/s390/s390-add-pgste-to-ptep_modify_prot_start.patch
More information about the Kernel-svn-changes
mailing list