All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87lfb5w8t2.fsf@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index 2b11681..ec61a5d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -46,7 +46,7 @@ Nicholas Piggin <npiggin@gmail.com> writes:
 >  			return H_UNSUPPORTED_FLAG_START;
 > +		/* Prefetch bug */
 > +		if (cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG) &&
-> +				kvmhv_vcpu_is_radix(vcpu) && mflags = 3)
+> +				kvmhv_vcpu_is_radix(vcpu) && mflags == 3)
 > +			return H_UNSUPPORTED_FLAG_START;
 
 So does this mean that if the host has the prefetch bug, all of its
@@ -228,7 +228,7 @@ could in theory call the KVM_SET_ONE_REG ioctl and set AIL to any value.
 > -{
 > -	unsigned long pid = mm->context.id;
 > -
-> -	if (unlikely(pid = MMU_NO_CONTEXT))
+> -	if (unlikely(pid == MMU_NO_CONTEXT))
 > -		return;
 > -
 > -	if (!cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG))
@@ -255,7 +255,7 @@ could in theory call the KVM_SET_ONE_REG ioctl and set AIL to any value.
 > -		bool flush = false;
 > -
 > -		for (; sib <= cpu_last_thread_sibling(cpu) && !flush; sib++) {
-> -			if (sib = cpu)
+> -			if (sib == cpu)
 > -				continue;
 > -			if (!cpu_possible(sib))
 > -				continue;
diff --git a/a/content_digest b/N1/content_digest
index 65bb160..47452d7 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020210225134652.2127648-31-npiggin@gmail.com\0"
  "From\0Fabiano Rosas <farosas@linux.ibm.com>\0"
  "Subject\0Re: [PATCH v2 30/37] KVM: PPC: Book3S HV: Implement radix prefetch workaround by disabling MMU\0"
- "Date\0Tue, 02 Mar 2021 21:21:45 +0000\0"
+ "Date\0Tue, 02 Mar 2021 18:21:45 -0300\0"
  "To\0Nicholas Piggin <npiggin@gmail.com>"
  " kvm-ppc@vger.kernel.org\0"
  "Cc\0linuxppc-dev@lists.ozlabs.org"
@@ -57,7 +57,7 @@
  ">  \t\t\treturn H_UNSUPPORTED_FLAG_START;\n"
  "> +\t\t/* Prefetch bug */\n"
  "> +\t\tif (cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG) &&\n"
- "> +\t\t\t\tkvmhv_vcpu_is_radix(vcpu) && mflags = 3)\n"
+ "> +\t\t\t\tkvmhv_vcpu_is_radix(vcpu) && mflags == 3)\n"
  "> +\t\t\treturn H_UNSUPPORTED_FLAG_START;\n"
  "\n"
  "So does this mean that if the host has the prefetch bug, all of its\n"
@@ -239,7 +239,7 @@
  "> -{\n"
  "> -\tunsigned long pid = mm->context.id;\n"
  "> -\n"
- "> -\tif (unlikely(pid = MMU_NO_CONTEXT))\n"
+ "> -\tif (unlikely(pid == MMU_NO_CONTEXT))\n"
  "> -\t\treturn;\n"
  "> -\n"
  "> -\tif (!cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG))\n"
@@ -266,7 +266,7 @@
  "> -\t\tbool flush = false;\n"
  "> -\n"
  "> -\t\tfor (; sib <= cpu_last_thread_sibling(cpu) && !flush; sib++) {\n"
- "> -\t\t\tif (sib = cpu)\n"
+ "> -\t\t\tif (sib == cpu)\n"
  "> -\t\t\t\tcontinue;\n"
  "> -\t\t\tif (!cpu_possible(sib))\n"
  "> -\t\t\t\tcontinue;\n"
@@ -295,4 +295,4 @@
  ">\n"
  ">  \t/*"
 
-f5b7fe865927cdb148cd4b5889d39dc38e593d06d032544bbb7088124b442457
+9c237e8ce62ad3e50afd599430e060a16ddb27f86b9ba9c2e03cd154d556663b

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.