diff for duplicates of <20181004092120.GA3255@fergus> diff --git a/a/1.txt b/N1/1.txt index 707608e..4bb9bb2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -85,13 +85,13 @@ to rework it. > > + if (ret) { > > + /* We didn't find a pte */ -> > + if (ret = -EINVAL) { +> > + if (ret == -EINVAL) { > > + /* Unsupported mmu config */ > > + flags |= DSISR_UNSUPP_MMU; -> > + } else if (ret = -ENOENT) { +> > + } else if (ret == -ENOENT) { > > + /* No translation found */ > > + flags |= DSISR_NOHPTE; -> > + } else if (ret = -EFAULT) { +> > + } else if (ret == -EFAULT) { > > + /* Couldn't access L1 real address */ > > + flags |= DSISR_PRTABLE_FAULT; > > + vcpu->arch.fault_gpa = fault_addr; diff --git a/a/content_digest b/N1/content_digest index 28d164e..c3b1cb9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020181003053913.GP1886@umbus.fritz.box\0" "From\0Paul Mackerras <paulus@ozlabs.org>\0" "Subject\0Re: [PATCH v3 22/33] KVM: PPC: Book3S HV: Handle page fault for a nested guest\0" - "Date\0Thu, 04 Oct 2018 09:21:20 +0000\0" + "Date\0Thu, 4 Oct 2018 19:21:20 +1000\0" "To\0David Gibson <david@gibson.dropbear.id.au>\0" "Cc\0linuxppc-dev@ozlabs.org" kvm-ppc@vger.kernel.org @@ -97,13 +97,13 @@ "\n" "> > +\tif (ret) {\n" "> > +\t\t/* We didn't find a pte */\n" - "> > +\t\tif (ret = -EINVAL) {\n" + "> > +\t\tif (ret == -EINVAL) {\n" "> > +\t\t\t/* Unsupported mmu config */\n" "> > +\t\t\tflags |= DSISR_UNSUPP_MMU;\n" - "> > +\t\t} else if (ret = -ENOENT) {\n" + "> > +\t\t} else if (ret == -ENOENT) {\n" "> > +\t\t\t/* No translation found */\n" "> > +\t\t\tflags |= DSISR_NOHPTE;\n" - "> > +\t\t} else if (ret = -EFAULT) {\n" + "> > +\t\t} else if (ret == -EFAULT) {\n" "> > +\t\t\t/* Couldn't access L1 real address */\n" "> > +\t\t\tflags |= DSISR_PRTABLE_FAULT;\n" "> > +\t\t\tvcpu->arch.fault_gpa = fault_addr;\n" @@ -120,4 +120,4 @@ "\n" Paul. -6224e342492294b13d5821c8a880805ea6aae4063cbc3fc9423ad646b57517a7 +4b1f035dd373218ce853c9c98ea60008c0c7c64424a74f5ec809874766b7233b
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.