]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch from older trees
authorSasha Levin <sashal@kernel.org>
Mon, 23 Jun 2025 11:26:33 +0000 (07:26 -0400)
committerSasha Levin <sashal@kernel.org>
Mon, 23 Jun 2025 11:26:33 +0000 (07:26 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-5.10/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch [deleted file]
queue-5.10/series
queue-5.15/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch [deleted file]
queue-5.15/series
queue-5.4/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch [deleted file]
queue-5.4/series
queue-6.1/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch [deleted file]
queue-6.1/series

diff --git a/queue-5.10/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch b/queue-5.10/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
deleted file mode 100644 (file)
index d705ad1..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 650768c512faba8070bf4cfbb28c95eb5cd203f3 Mon Sep 17 00:00:00 2001
-From: Dev Jain <dev.jain@arm.com>
-Date: Tue, 27 May 2025 13:56:33 +0530
-Subject: arm64: Restrict pagetable teardown to avoid false warning
-
-From: Dev Jain <dev.jain@arm.com>
-
-commit 650768c512faba8070bf4cfbb28c95eb5cd203f3 upstream.
-
-Commit 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from
-pXd_free_pYd_table()") removes the pxd_present() checks because the
-caller checks pxd_present(). But, in case of vmap_try_huge_pud(), the
-caller only checks pud_present(); pud_free_pmd_page() recurses on each
-pmd through pmd_free_pte_page(), wherein the pmd may be none. Thus it is
-possible to hit a warning in the latter, since pmd_none => !pmd_table().
-Thus, add a pmd_present() check in pud_free_pmd_page().
-
-This problem was found by code inspection.
-
-Fixes: 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from pXd_free_pYd_table()")
-Cc: stable@vger.kernel.org
-Reported-by: Ryan Roberts <ryan.roberts@arm.com>
-Acked-by: David Hildenbrand <david@redhat.com>
-Signed-off-by: Dev Jain <dev.jain@arm.com>
-Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
-Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
-Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
-Link: https://lore.kernel.org/r/20250527082633.61073-1-dev.jain@arm.com
-Signed-off-by: Will Deacon <will@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- arch/arm64/mm/mmu.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/arch/arm64/mm/mmu.c
-+++ b/arch/arm64/mm/mmu.c
-@@ -1459,7 +1459,8 @@ int pud_free_pmd_page(pud_t *pudp, unsig
-       next = addr;
-       end = addr + PUD_SIZE;
-       do {
--              pmd_free_pte_page(pmdp, next);
-+              if (pmd_present(pmdp_get(pmdp)))
-+                      pmd_free_pte_page(pmdp, next);
-       } while (pmdp++, next += PMD_SIZE, next != end);
-       pud_clear(pudp);
index 2c92b6da3976bca2e86db916a646636a9db7b0d4..afe9c3e8a16263da95d0e3d344c14706bf8991c5 100644 (file)
@@ -291,7 +291,6 @@ selinux-fix-selinux_xfrm_alloc_user-to-set-correct-ctx_len.patch
 atm-revert-atm_account_tx-if-copy_from_iter_full-fails.patch
 hid-usbhid-eliminate-recurrent-out-of-bounds-bug-in-usbhid_parse.patch
 input-sparcspkr-avoid-unannotated-fall-through.patch
-arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
 alsa-usb-audio-rename-alsa-kcontrol-pcm-and-pcm1-for-the-ktmicro-sound-card.patch
 alsa-hda-intel-add-thinkpad-e15-to-pm-deny-list.patch
 alsa-hda-realtek-enable-headset-mic-on-latitude-5420-rugged.patch
diff --git a/queue-5.15/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch b/queue-5.15/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
deleted file mode 100644 (file)
index 8265084..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 650768c512faba8070bf4cfbb28c95eb5cd203f3 Mon Sep 17 00:00:00 2001
-From: Dev Jain <dev.jain@arm.com>
-Date: Tue, 27 May 2025 13:56:33 +0530
-Subject: arm64: Restrict pagetable teardown to avoid false warning
-
-From: Dev Jain <dev.jain@arm.com>
-
-commit 650768c512faba8070bf4cfbb28c95eb5cd203f3 upstream.
-
-Commit 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from
-pXd_free_pYd_table()") removes the pxd_present() checks because the
-caller checks pxd_present(). But, in case of vmap_try_huge_pud(), the
-caller only checks pud_present(); pud_free_pmd_page() recurses on each
-pmd through pmd_free_pte_page(), wherein the pmd may be none. Thus it is
-possible to hit a warning in the latter, since pmd_none => !pmd_table().
-Thus, add a pmd_present() check in pud_free_pmd_page().
-
-This problem was found by code inspection.
-
-Fixes: 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from pXd_free_pYd_table()")
-Cc: stable@vger.kernel.org
-Reported-by: Ryan Roberts <ryan.roberts@arm.com>
-Acked-by: David Hildenbrand <david@redhat.com>
-Signed-off-by: Dev Jain <dev.jain@arm.com>
-Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
-Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
-Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
-Link: https://lore.kernel.org/r/20250527082633.61073-1-dev.jain@arm.com
-Signed-off-by: Will Deacon <will@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- arch/arm64/mm/mmu.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/arch/arm64/mm/mmu.c
-+++ b/arch/arm64/mm/mmu.c
-@@ -1466,7 +1466,8 @@ int pud_free_pmd_page(pud_t *pudp, unsig
-       next = addr;
-       end = addr + PUD_SIZE;
-       do {
--              pmd_free_pte_page(pmdp, next);
-+              if (pmd_present(pmdp_get(pmdp)))
-+                      pmd_free_pte_page(pmdp, next);
-       } while (pmdp++, next += PMD_SIZE, next != end);
-       pud_clear(pudp);
index b831d5cf5f4a8c65e3293520d34cc8e5af626049..2693d3fc0a6a41e1588c4c4d237d0d29ca977f6e 100644 (file)
@@ -355,7 +355,6 @@ atm-revert-atm_account_tx-if-copy_from_iter_full-fails.patch
 hid-usbhid-eliminate-recurrent-out-of-bounds-bug-in-usbhid_parse.patch
 block-default-block_legacy_autoload-to-y.patch
 input-sparcspkr-avoid-unannotated-fall-through.patch
-arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
 alsa-usb-audio-rename-alsa-kcontrol-pcm-and-pcm1-for-the-ktmicro-sound-card.patch
 alsa-hda-intel-add-thinkpad-e15-to-pm-deny-list.patch
 alsa-hda-realtek-enable-headset-mic-on-latitude-5420-rugged.patch
diff --git a/queue-5.4/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch b/queue-5.4/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
deleted file mode 100644 (file)
index 82a7601..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 650768c512faba8070bf4cfbb28c95eb5cd203f3 Mon Sep 17 00:00:00 2001
-From: Dev Jain <dev.jain@arm.com>
-Date: Tue, 27 May 2025 13:56:33 +0530
-Subject: arm64: Restrict pagetable teardown to avoid false warning
-
-From: Dev Jain <dev.jain@arm.com>
-
-commit 650768c512faba8070bf4cfbb28c95eb5cd203f3 upstream.
-
-Commit 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from
-pXd_free_pYd_table()") removes the pxd_present() checks because the
-caller checks pxd_present(). But, in case of vmap_try_huge_pud(), the
-caller only checks pud_present(); pud_free_pmd_page() recurses on each
-pmd through pmd_free_pte_page(), wherein the pmd may be none. Thus it is
-possible to hit a warning in the latter, since pmd_none => !pmd_table().
-Thus, add a pmd_present() check in pud_free_pmd_page().
-
-This problem was found by code inspection.
-
-Fixes: 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from pXd_free_pYd_table()")
-Cc: stable@vger.kernel.org
-Reported-by: Ryan Roberts <ryan.roberts@arm.com>
-Acked-by: David Hildenbrand <david@redhat.com>
-Signed-off-by: Dev Jain <dev.jain@arm.com>
-Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
-Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
-Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
-Link: https://lore.kernel.org/r/20250527082633.61073-1-dev.jain@arm.com
-Signed-off-by: Will Deacon <will@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- arch/arm64/mm/mmu.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/arch/arm64/mm/mmu.c
-+++ b/arch/arm64/mm/mmu.c
-@@ -1041,7 +1041,8 @@ int pud_free_pmd_page(pud_t *pudp, unsig
-       next = addr;
-       end = addr + PUD_SIZE;
-       do {
--              pmd_free_pte_page(pmdp, next);
-+              if (pmd_present(pmdp_get(pmdp)))
-+                      pmd_free_pte_page(pmdp, next);
-       } while (pmdp++, next += PMD_SIZE, next != end);
-       pud_clear(pudp);
index 679637952222a231fb74373cf3cadf9e0a551707..0e02dc1f37982b80605f519d92225fbb1835e755 100644 (file)
@@ -193,7 +193,6 @@ selinux-fix-selinux_xfrm_alloc_user-to-set-correct-ctx_len.patch
 atm-revert-atm_account_tx-if-copy_from_iter_full-fails.patch
 hid-usbhid-eliminate-recurrent-out-of-bounds-bug-in-usbhid_parse.patch
 input-sparcspkr-avoid-unannotated-fall-through.patch
-arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
 alsa-hda-intel-add-thinkpad-e15-to-pm-deny-list.patch
 alsa-hda-realtek-enable-headset-mic-on-latitude-5420-rugged.patch
 erofs-remove-unused-trace-event-erofs_destroy_inode.patch
diff --git a/queue-6.1/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch b/queue-6.1/arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
deleted file mode 100644 (file)
index efaa7b1..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 650768c512faba8070bf4cfbb28c95eb5cd203f3 Mon Sep 17 00:00:00 2001
-From: Dev Jain <dev.jain@arm.com>
-Date: Tue, 27 May 2025 13:56:33 +0530
-Subject: arm64: Restrict pagetable teardown to avoid false warning
-
-From: Dev Jain <dev.jain@arm.com>
-
-commit 650768c512faba8070bf4cfbb28c95eb5cd203f3 upstream.
-
-Commit 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from
-pXd_free_pYd_table()") removes the pxd_present() checks because the
-caller checks pxd_present(). But, in case of vmap_try_huge_pud(), the
-caller only checks pud_present(); pud_free_pmd_page() recurses on each
-pmd through pmd_free_pte_page(), wherein the pmd may be none. Thus it is
-possible to hit a warning in the latter, since pmd_none => !pmd_table().
-Thus, add a pmd_present() check in pud_free_pmd_page().
-
-This problem was found by code inspection.
-
-Fixes: 9c006972c3fe ("arm64: mmu: drop pXd_present() checks from pXd_free_pYd_table()")
-Cc: stable@vger.kernel.org
-Reported-by: Ryan Roberts <ryan.roberts@arm.com>
-Acked-by: David Hildenbrand <david@redhat.com>
-Signed-off-by: Dev Jain <dev.jain@arm.com>
-Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
-Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
-Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
-Link: https://lore.kernel.org/r/20250527082633.61073-1-dev.jain@arm.com
-Signed-off-by: Will Deacon <will@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- arch/arm64/mm/mmu.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/arch/arm64/mm/mmu.c
-+++ b/arch/arm64/mm/mmu.c
-@@ -1503,7 +1503,8 @@ int pud_free_pmd_page(pud_t *pudp, unsig
-       next = addr;
-       end = addr + PUD_SIZE;
-       do {
--              pmd_free_pte_page(pmdp, next);
-+              if (pmd_present(pmdp_get(pmdp)))
-+                      pmd_free_pte_page(pmdp, next);
-       } while (pmdp++, next += PMD_SIZE, next != end);
-       pud_clear(pudp);
index fb9db41a6466780195a09355885be4c039c54def..ebe289dad389b3d0df65b9d5bd76b59c72b3b352 100644 (file)
@@ -456,7 +456,6 @@ selinux-fix-selinux_xfrm_alloc_user-to-set-correct-ctx_len.patch
 atm-revert-atm_account_tx-if-copy_from_iter_full-fails.patch
 input-sparcspkr-avoid-unannotated-fall-through.patch
 wifi-cfg80211-init-wiphy_work-before-allocating-rfkill-fails.patch
-arm64-restrict-pagetable-teardown-to-avoid-false-warning.patch
 alsa-usb-audio-rename-alsa-kcontrol-pcm-and-pcm1-for-the-ktmicro-sound-card.patch
 alsa-hda-intel-add-thinkpad-e15-to-pm-deny-list.patch
 alsa-hda-realtek-enable-headset-mic-on-latitude-5420-rugged.patch