diff for duplicates of <Y9sKZTJI7V6qCNRJ@ZenIV> diff --git a/a/1.txt b/N1/1.txt index 4f55613..8a120cb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,30 +21,30 @@ Hell, yes - if (!(fault_code & FAULT_CODE_WRITE)) { /* Non-faulting loads shouldn't expand stack. */ insn = get_fault_insn(regs, insn); - if ((insn & 0xc0800000) == 0xc0800000) { + if ((insn & 0xc0800000) = 0xc0800000) { unsigned char asi; if (insn & 0x2000) asi = (regs->tstate >> 24); else asi = (insn >> 5); - if ((asi & 0xf2) == 0x82) + if ((asi & 0xf2) = 0x82) goto bad_area; } } if (expand_stack(vma, address)) goto bad_area; -Note that it's very much not a bug - it's a nonfaulting (== speculative) +Note that it's very much not a bug - it's a nonfaulting (= speculative) load, and the place where we are heading from bad_area in this case is this in do_kernel_fault(): if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) && - (insn & 0xc0800000) == 0xc0800000) { + (insn & 0xc0800000) = 0xc0800000) { if (insn & 0x2000) asi = (regs->tstate >> 24); else asi = (insn >> 5); - if ((asi & 0xf2) == 0x82) { + if ((asi & 0xf2) = 0x82) { if (insn & 0x1000000) { handle_ldf_stq(insn, regs); } else { diff --git a/a/content_digest b/N1/content_digest index 09811ff..1916b28 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -8,7 +8,7 @@ "ref\0Y9rlI6d5J2Y/YNQ+@ZenIV\0" "From\0Al Viro <viro@zeniv.linux.org.uk>\0" "Subject\0Re: [RFC][PATCHSET] VM_FAULT_RETRY fixes\0" - "Date\0Thu, 2 Feb 2023 00:57:09 +0000\0" + "Date\0Thu, 02 Feb 2023 00:57:09 +0000\0" "To\0Peter Xu <peterx@redhat.com>\0" "Cc\0Linus Torvalds <torvalds@linux-foundation.org>" linux-arch@vger.kernel.org @@ -47,30 +47,30 @@ " if (!(fault_code & FAULT_CODE_WRITE)) {\n" " /* Non-faulting loads shouldn't expand stack. */\n" " insn = get_fault_insn(regs, insn);\n" - " if ((insn & 0xc0800000) == 0xc0800000) {\n" + " if ((insn & 0xc0800000) = 0xc0800000) {\n" " unsigned char asi;\n" "\n" " if (insn & 0x2000)\n" " asi = (regs->tstate >> 24);\n" " else\n" " asi = (insn >> 5);\n" - " if ((asi & 0xf2) == 0x82)\n" + " if ((asi & 0xf2) = 0x82)\n" " goto bad_area;\n" " }\n" " }\n" " if (expand_stack(vma, address))\n" " goto bad_area;\n" "\n" - "Note that it's very much not a bug - it's a nonfaulting (== speculative)\n" + "Note that it's very much not a bug - it's a nonfaulting (= speculative)\n" "load, and the place where we are heading from bad_area in this case is\n" "this in do_kernel_fault():\n" " if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) &&\n" - " (insn & 0xc0800000) == 0xc0800000) {\n" + " (insn & 0xc0800000) = 0xc0800000) {\n" " if (insn & 0x2000)\n" " asi = (regs->tstate >> 24);\n" " else \n" " asi = (insn >> 5);\n" - " if ((asi & 0xf2) == 0x82) {\n" + " if ((asi & 0xf2) = 0x82) {\n" " if (insn & 0x1000000) {\n" " handle_ldf_stq(insn, regs);\n" " } else {\n" @@ -85,4 +85,4 @@ "(the name is misguiding - it covers userland stuff as well; in this\n" particular case the triggering instruction is non-priveleged) -82f959e71b70b39b513ae6d9cbd30f97c7f91032b9eb7cfaa32e2f23fcd95ed3 +93bf268112963d6006bb9e57337d6c41db3e12f84bf51ee4ab753188067169bf
diff --git a/a/1.txt b/N2/1.txt index 4f55613..647d6d3 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -58,3 +58,8 @@ this in do_kernel_fault(): (the name is misguiding - it covers userland stuff as well; in this particular case the triggering instruction is non-priveleged) + +_______________________________________________ +linux-riscv mailing list +linux-riscv@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-riscv diff --git a/a/content_digest b/N2/content_digest index 09811ff..737f449 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -83,6 +83,11 @@ " return;\n" "\n" "(the name is misguiding - it covers userland stuff as well; in this\n" - particular case the triggering instruction is non-priveleged) + "particular case the triggering instruction is non-priveleged)\n" + "\n" + "_______________________________________________\n" + "linux-riscv mailing list\n" + "linux-riscv@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-riscv -82f959e71b70b39b513ae6d9cbd30f97c7f91032b9eb7cfaa32e2f23fcd95ed3 +bebfcc16989436c75d6e34697238b97985bc513326a94cf7947233eb3b1eb4da
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.