]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fuzz cleanup
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 19:02:52 +0000 (21:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 19:02:52 +0000 (21:02 +0200)
queue-4.14/x86-smp-use-dedicated-cache-line-for-mwait_play_dead.patch
queue-4.19/x86-smp-use-dedicated-cache-line-for-mwait_play_dead.patch

index 14dfa357b678fcd9842ccb6bbdb7335b9d85e6a6..7c95f5ea959a68e7254924f34c2305e44aefb216 100644 (file)
@@ -51,7 +51,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  /* Logical package management. We might want to allocate that dynamically */
  static int *physical_to_logical_pkg __read_mostly;
  static unsigned long *physical_package_map __read_mostly;;
-@@ -1637,10 +1648,10 @@ static bool wakeup_cpu0(void)
+@@ -1638,10 +1649,10 @@ static bool wakeup_cpu0(void)
   */
  static inline void mwait_play_dead(void)
  {
@@ -63,7 +63,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        int i;
  
        if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
-@@ -1674,13 +1685,6 @@ static inline void mwait_play_dead(void)
+@@ -1675,13 +1686,6 @@ static inline void mwait_play_dead(void)
                        (highest_subcstate - 1);
        }
  
@@ -77,7 +77,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        wbinvd();
  
        while (1) {
-@@ -1692,9 +1696,9 @@ static inline void mwait_play_dead(void)
+@@ -1693,9 +1697,9 @@ static inline void mwait_play_dead(void)
                 * case where we return around the loop.
                 */
                mb();
index 631b2772a185b9c4841c473651abf3f2341c78df..47f05f2a42be72dc81f48e48b7fdc1390ce513fc 100644 (file)
@@ -51,7 +51,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  /* Logical package management. We might want to allocate that dynamically */
  unsigned int __max_logical_packages __read_mostly;
  EXPORT_SYMBOL(__max_logical_packages);
-@@ -1594,10 +1605,10 @@ static bool wakeup_cpu0(void)
+@@ -1595,10 +1606,10 @@ static bool wakeup_cpu0(void)
   */
  static inline void mwait_play_dead(void)
  {
@@ -63,7 +63,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        int i;
  
        if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
-@@ -1631,13 +1642,6 @@ static inline void mwait_play_dead(void)
+@@ -1632,13 +1643,6 @@ static inline void mwait_play_dead(void)
                        (highest_subcstate - 1);
        }
  
@@ -77,7 +77,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        wbinvd();
  
        while (1) {
-@@ -1649,9 +1653,9 @@ static inline void mwait_play_dead(void)
+@@ -1650,9 +1654,9 @@ static inline void mwait_play_dead(void)
                 * case where we return around the loop.
                 */
                mb();