All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200319035609.158654-4-aneesh.kumar@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index 72fb667..4d1bf0f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -24,7 +24,7 @@ index 201a69e6a355..89eb7b350df8 100644
  
 +static inline bool pte_hw_valid(pte_t pte)
 +{
-+	return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) =
++	return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) ==
 +		cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE);
 +}
 +
@@ -43,7 +43,7 @@ index 201a69e6a355..89eb7b350df8 100644
 -	return !!(pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT));
 +	if (pte_hw_valid(pte))
 +		return true;
-+	return (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) =
++	return (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) ==
 +		cpu_to_be64(_PAGE_INVALID | _PAGE_PTE);
  }
  
diff --git a/a/content_digest b/N1/content_digest
index c35e274..3aebf1b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,17 +1,16 @@
  "ref\020200319035609.158654-1-aneesh.kumar@linux.ibm.com\0"
  "From\0Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>\0"
  "Subject\0[PATCH v2 03/22] powerpc/mm/hash64: use _PAGE_PTE when checking for pte_present\0"
- "Date\0Thu, 19 Mar 2020 03:56:59 +0000\0"
+ "Date\0Thu, 19 Mar 2020 09:25:50 +0530\0"
  "To\0linuxppc-dev@lists.ozlabs.org"
   mpe@ellerman.id.au
   linux-mm@kvack.org
   linux-kernel@vger.kernel.org
  " kvm-ppc@vger.kernel.org\0"
- "Cc\0npiggin@gmail.com"
-  paulus@ozlabs.org
-  leonardo@linux.ibm.com
-  kirill@shutemov.name
- " Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>\0"
+ "Cc\0leonardo@linux.ibm.com"
+  Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
+  npiggin@gmail.com
+ " kirill@shutemov.name\0"
  "\00:1\0"
  "b\0"
  "This makes the pte_present check stricter by checking for additional _PAGE_PTE\n"
@@ -40,7 +39,7 @@
  " \n"
  "+static inline bool pte_hw_valid(pte_t pte)\n"
  "+{\n"
- "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) =\n"
+ "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) ==\n"
  "+\t\tcpu_to_be64(_PAGE_PRESENT | _PAGE_PTE);\n"
  "+}\n"
  "+\n"
@@ -59,7 +58,7 @@
  "-\treturn !!(pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT));\n"
  "+\tif (pte_hw_valid(pte))\n"
  "+\t\treturn true;\n"
- "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) =\n"
+ "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) ==\n"
  "+\t\tcpu_to_be64(_PAGE_INVALID | _PAGE_PTE);\n"
  " }\n"
  " \n"
@@ -89,4 +88,4 @@
  "-- \n"
  2.24.1
 
-46d3545c587035a69bde7bdc24d0fd12806b1dfc18ec31da6dd62faf26676613
+69724d6cec091f78baa823188a81e49ffb0faac099337cda0bccb7c8d0eef63f

diff --git a/a/1.txt b/N2/1.txt
index 72fb667..4d1bf0f 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -24,7 +24,7 @@ index 201a69e6a355..89eb7b350df8 100644
  
 +static inline bool pte_hw_valid(pte_t pte)
 +{
-+	return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) =
++	return (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) ==
 +		cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE);
 +}
 +
@@ -43,7 +43,7 @@ index 201a69e6a355..89eb7b350df8 100644
 -	return !!(pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT));
 +	if (pte_hw_valid(pte))
 +		return true;
-+	return (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) =
++	return (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) ==
 +		cpu_to_be64(_PAGE_INVALID | _PAGE_PTE);
  }
  
diff --git a/a/content_digest b/N2/content_digest
index c35e274..e3a8f6f 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,7 +1,7 @@
  "ref\020200319035609.158654-1-aneesh.kumar@linux.ibm.com\0"
  "From\0Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>\0"
  "Subject\0[PATCH v2 03/22] powerpc/mm/hash64: use _PAGE_PTE when checking for pte_present\0"
- "Date\0Thu, 19 Mar 2020 03:56:59 +0000\0"
+ "Date\0Thu, 19 Mar 2020 09:25:50 +0530\0"
  "To\0linuxppc-dev@lists.ozlabs.org"
   mpe@ellerman.id.au
   linux-mm@kvack.org
@@ -40,7 +40,7 @@
  " \n"
  "+static inline bool pte_hw_valid(pte_t pte)\n"
  "+{\n"
- "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) =\n"
+ "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE)) ==\n"
  "+\t\tcpu_to_be64(_PAGE_PRESENT | _PAGE_PTE);\n"
  "+}\n"
  "+\n"
@@ -59,7 +59,7 @@
  "-\treturn !!(pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT));\n"
  "+\tif (pte_hw_valid(pte))\n"
  "+\t\treturn true;\n"
- "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) =\n"
+ "+\treturn (pte_raw(pte) & cpu_to_be64(_PAGE_INVALID | _PAGE_PTE)) ==\n"
  "+\t\tcpu_to_be64(_PAGE_INVALID | _PAGE_PTE);\n"
  " }\n"
  " \n"
@@ -89,4 +89,4 @@
  "-- \n"
  2.24.1
 
-46d3545c587035a69bde7bdc24d0fd12806b1dfc18ec31da6dd62faf26676613
+a01b9a28b03c77836c65d24248631e5773011f2c4027d49a663cea7b99456a77

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.