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

diff --git a/a/1.txt b/N1/1.txt
index ba4c1b4..6a87289 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -62,7 +62,7 @@ Bharata B Rao <bharata@linux.ibm.com> writes:
 > +that support radix MMU.
 > +
 >  8. Other capabilities.
->  ===========
+>  ======================
 >  
 > diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
 > index 8b33601cdb9d..a46fd37ad552 100644
@@ -227,7 +227,7 @@ Bharata B Rao <bharata@linux.ibm.com> writes:
 > +		 * guests for process scoped invalidations when
 > +		 * GTSE=0, are handled here in L0.
 > +		 */
-> +		if (req = H_RPT_INVALIDATE) {
+> +		if (req == H_RPT_INVALIDATE) {
 > +			kvmppc_nested_rpt_invalidate(vcpu);
 > +			r = RESUME_GUEST;
 > +			break;
@@ -349,10 +349,10 @@ after kvmppc_run_single_vcpu.
 > +	if (!gp)
 > +		return H_SUCCESS;
 > +
-> +	if ((type & H_RPTI_TYPE_NESTED_ALL) = H_RPTI_TYPE_NESTED_ALL)
+> +	if ((type & H_RPTI_TYPE_NESTED_ALL) == H_RPTI_TYPE_NESTED_ALL)
 > +		return do_tlb_invalidate_nested_all(vcpu, lpid);
 > +
-> +	if ((type & H_RPTI_TYPE_TLB) = H_RPTI_TYPE_TLB) {
+> +	if ((type & H_RPTI_TYPE_TLB) == H_RPTI_TYPE_TLB) {
 > +		struct mmu_psize_def *def;
 > +
 > +		for (psize = 0; psize < MMU_PAGE_COUNT; psize++) {
@@ -401,7 +401,7 @@ after kvmppc_run_single_vcpu.
 > -
 >  /*
 >   * tlbiel instruction for radix, set invalidation
->   * i.e., r=1 and is\x01 or is\x10 or is\x11
+>   * i.e., r=1 and is=01 or is=10 or is=11
 > @@ -130,6 +126,21 @@ static __always_inline void __tlbie_pid(unsigned long pid, unsigned long ric)
 >  	trace_tlbie(0, 0, rb, rs, ric, prs, r);
 >  }
@@ -582,7 +582,7 @@ after kvmppc_run_single_vcpu.
 > +			 unsigned long psize, unsigned long start,
 > +			 unsigned long end)
 > +{
-> +	if ((type & H_RPTI_TYPE_ALL) = H_RPTI_TYPE_ALL) {
+> +	if ((type & H_RPTI_TYPE_ALL) == H_RPTI_TYPE_ALL) {
 > +		_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_ALL);
 > +		return;
 > +	}
@@ -590,7 +590,7 @@ after kvmppc_run_single_vcpu.
 > +	if (type & H_RPTI_TYPE_PWC)
 > +		_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_PWC);
 > +
-> +	if (!start && end = -1) /* PID */
+> +	if (!start && end == -1) /* PID */
 > +		_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_TLB);
 > +	else /* EA */
 > +		_tlbie_va_range_lpid(start, end, pid, lpid, page_size,
diff --git a/a/content_digest b/N1/content_digest
index 3847def..7ad3d97 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020210224082510.3962423-3-bharata@linux.ibm.com\0"
  "From\0Fabiano Rosas <farosas@linux.ibm.com>\0"
  "Subject\0Re: [PATCH v5 2/3] KVM: PPC: Book3S HV: Add support for H_RPT_INVALIDATE\0"
- "Date\0Wed, 24 Feb 2021 15:58:02 +0000\0"
+ "Date\0Wed, 24 Feb 2021 12:58:02 -0300\0"
  "To\0Bharata B Rao <bharata@linux.ibm.com>"
   kvm-ppc@vger.kernel.org
  " linuxppc-dev@lists.ozlabs.org\0"
@@ -76,7 +76,7 @@
  "> +that support radix MMU.\n"
  "> +\n"
  ">  8. Other capabilities.\n"
- ">  ===========\n"
+ ">  ======================\n"
  ">  \n"
  "> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n"
  "> index 8b33601cdb9d..a46fd37ad552 100644\n"
@@ -241,7 +241,7 @@
  "> +\t\t * guests for process scoped invalidations when\n"
  "> +\t\t * GTSE=0, are handled here in L0.\n"
  "> +\t\t */\n"
- "> +\t\tif (req = H_RPT_INVALIDATE) {\n"
+ "> +\t\tif (req == H_RPT_INVALIDATE) {\n"
  "> +\t\t\tkvmppc_nested_rpt_invalidate(vcpu);\n"
  "> +\t\t\tr = RESUME_GUEST;\n"
  "> +\t\t\tbreak;\n"
@@ -363,10 +363,10 @@
  "> +\tif (!gp)\n"
  "> +\t\treturn H_SUCCESS;\n"
  "> +\n"
- "> +\tif ((type & H_RPTI_TYPE_NESTED_ALL) = H_RPTI_TYPE_NESTED_ALL)\n"
+ "> +\tif ((type & H_RPTI_TYPE_NESTED_ALL) == H_RPTI_TYPE_NESTED_ALL)\n"
  "> +\t\treturn do_tlb_invalidate_nested_all(vcpu, lpid);\n"
  "> +\n"
- "> +\tif ((type & H_RPTI_TYPE_TLB) = H_RPTI_TYPE_TLB) {\n"
+ "> +\tif ((type & H_RPTI_TYPE_TLB) == H_RPTI_TYPE_TLB) {\n"
  "> +\t\tstruct mmu_psize_def *def;\n"
  "> +\n"
  "> +\t\tfor (psize = 0; psize < MMU_PAGE_COUNT; psize++) {\n"
@@ -415,7 +415,7 @@
  "> -\n"
  ">  /*\n"
  ">   * tlbiel instruction for radix, set invalidation\n"
- ">   * i.e., r=1 and is\001 or is\020 or is\021\n"
+ ">   * i.e., r=1 and is=01 or is=10 or is=11\n"
  "> @@ -130,6 +126,21 @@ static __always_inline void __tlbie_pid(unsigned long pid, unsigned long ric)\n"
  ">  \ttrace_tlbie(0, 0, rb, rs, ric, prs, r);\n"
  ">  }\n"
@@ -596,7 +596,7 @@
  "> +\t\t\t unsigned long psize, unsigned long start,\n"
  "> +\t\t\t unsigned long end)\n"
  "> +{\n"
- "> +\tif ((type & H_RPTI_TYPE_ALL) = H_RPTI_TYPE_ALL) {\n"
+ "> +\tif ((type & H_RPTI_TYPE_ALL) == H_RPTI_TYPE_ALL) {\n"
  "> +\t\t_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_ALL);\n"
  "> +\t\treturn;\n"
  "> +\t}\n"
@@ -604,7 +604,7 @@
  "> +\tif (type & H_RPTI_TYPE_PWC)\n"
  "> +\t\t_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_PWC);\n"
  "> +\n"
- "> +\tif (!start && end = -1) /* PID */\n"
+ "> +\tif (!start && end == -1) /* PID */\n"
  "> +\t\t_tlbie_pid_lpid(pid, lpid, RIC_FLUSH_TLB);\n"
  "> +\telse /* EA */\n"
  "> +\t\t_tlbie_va_range_lpid(start, end, pid, lpid, page_size,\n"
@@ -625,4 +625,4 @@
  ">  \n"
  >  #ifdef KVM_CAP_IRQ_ROUTING
 
-28aff6da819fb7c1a0492722d697f022a6f44547749b07071c6b653d62b90413
+c8909d71ee3f65d7b0c2aa17a04425e5c5a369ad0433692efc9b436c77465577

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.