[folded-merged] kasan-suppress-recursive-reports-for-hw_tags-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: kasan: suppress recursive reports for HW_TAGS
has been removed from the -mm tree.  Its filename was
     kasan-suppress-recursive-reports-for-hw_tags-v2.patch

This patch was dropped because it was folded into kasan-suppress-recursive-reports-for-hw_tags.patch

------------------------------------------------------
From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Subject: kasan: suppress recursive reports for HW_TAGS
Date: Wed, 29 Mar 2023 20:37:48 +0200

disable preemption instead of migration, fix comment typo

Link: https://lkml.kernel.org/r/d14417c8bc5eea7589e99381203432f15c0f9138.1680114854.git.andreyknvl@xxxxxxxxxx
Fixes: 2e903b914797 ("kasan, arm64: implement HW_TAGS runtime")
Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Reported-by: Weizhao Ouyang <ouyangweizhao@xxxxxxxx>
Cc: Alexander Potapenko <glider@xxxxxxxxxx>
Cc: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
Cc: Evgenii Stepanov <eugenis@xxxxxxxxxx>
Cc: Marco Elver <elver@xxxxxxxxxx>
Cc: Peter Collingbourne <pcc@xxxxxxxxxx>
Cc: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/kasan/report.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- a/mm/kasan/report.c~kasan-suppress-recursive-reports-for-hw_tags-v2
+++ a/mm/kasan/report.c
@@ -81,7 +81,7 @@ __setup("kasan_multi_shot", kasan_set_mu
  *
  * Hardware Tag-Based KASAN instead relies on:
  * For #1: Resetting tags via kasan_reset_tag().
- * For #2: Supression of tag checks via CPU, see report_suppress_start/end().
+ * For #2: Suppression of tag checks via CPU, see report_suppress_start/end().
  */
 static bool report_suppressed_sw(void)
 {
@@ -96,10 +96,10 @@ static void report_suppress_start(void)
 {
 #ifdef CONFIG_KASAN_HW_TAGS
 	/*
-	 * Disable migration for the duration of printing a KASAN report, as
+	 * Disable preemption for the duration of printing a KASAN report, as
 	 * hw_suppress_tag_checks_start() disables checks on the current CPU.
 	 */
-	migrate_disable();
+	preempt_disable();
 	hw_suppress_tag_checks_start();
 #else
 	kasan_disable_current();
@@ -110,7 +110,7 @@ static void report_suppress_stop(void)
 {
 #ifdef CONFIG_KASAN_HW_TAGS
 	hw_suppress_tag_checks_stop();
-	migrate_enable();
+	preempt_enable();
 #else
 	kasan_enable_current();
 #endif
_

Patches currently in -mm which might be from andreyknvl@xxxxxxxxxx are

kasan-drop-empty-tagging-related-defines.patch
kasan-arm64-rename-tagging-related-routines.patch
kasan-arm64-add-arch_suppress_tag_checks_start-stop.patch
kasan-suppress-recursive-reports-for-hw_tags.patch
kcov-improve-documentation.patch
kcov-improve-documentation-v2.patch
kcov-improve-documentation-v3.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux