diff for duplicates of <1565940633026.69822@bt.com> diff --git a/a/content_digest b/N1/content_digest index 63e2553..80b7aa4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,95 +1,94 @@ "ref\043bc5e07ac614d0e8e740bf6007ff77b@tpw09926dag18e.domain1.systemhost.net\0" "From\0<tony.nguyen@bt.com>\0" - "Subject\0[Qemu-riscv] [Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" + "Subject\0[Qemu-arm] [Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" "Date\0Fri, 16 Aug 2019 07:30:34 +0000\0" "To\0<qemu-devel@nongnu.org>\0" - "Cc\0<rth@twiddle.net>" - <pbonzini@redhat.com> - <mst@redhat.com> - <imammedo@redhat.com> - <marcel.apfelbaum@gmail.com> - <xiaoguangrong.eric@gmail.com> - <alistair@alistair23.me> - <peter.maydell@linaro.org> - <b.galvani@gmail.com> - <clg@kaod.org> - <andrew@aj.id.au> - <joel@jms.id.au> - <i.mitsyanko@gmail.com> - <robh@kernel.org> - <peter.chubb@nicta.com.au> - <sundeep.lkml@gmail.com> - <jan.kiszka@web.de> - <balrogg@gmail.com> - <eric.auger@redhat.com> - <kraxel@redhat.com> - <michael@walle.cc> - <kwolf@redhat.com> - <mreitz@redhat.com> - <jsnow@redhat.com> - <keith.busch@intel.com> - <philmd@redhat.com> - <marcandre.lureau@redhat.com> - <Andrew.Baumann@microsoft.com> - <edgar.iglesias@gmail.com> - <antonynpavlov@gmail.com> - <chouteau@adacore.com> - <frederic.konrad@adacore.com> - <huth@tuxfamily.org> - <mark.cave-ayland@ilande.co.uk> - <hpoussin@reactos.org> - <arikalo@wavecomp.com> - <balaton@eik.bme.hu> - <gxt@mprc.pku.edu.cn> - <david@gibson.dropbear.id.au> - <deller@gmx.de> - <ehabkost@redhat.com> - <sstabellini@kernel.org> - <anthony.perard@citrix.com> - <paul.durrant@citrix.com> - <aurelien@aurel32.net> - <amarkovic@wavecomp.com> - <magnus.damm@gmail.com> - <berto@igalia.com> - <minyard@acm.org> - <pburton@wavecomp.com> - <jslaby@suse.cz> - <jcd@tribudubois.net> - <andrew.smirnov@gmail.com> - <green@moxielogic.com> - <jasowang@redhat.com> - <dmitry.fleytman@gmail.com> - <sw@weilnetz.de> - <jiri@resnulli.us> - <crwulff@gmail.com> - <marex@denx.de> - <lersek@redhat.com> - <proljc@gmail.com> - <shorne@gmail.com> - <yuval.shaia@oracle.com> - <palmer@sifive.com> - <sagark@eecs.berkeley.edu> - <kbastian@mail.uni-paderborn.de> - <walling@linux.ibm.com> - <cohuck@redhat.com> - <david@redhat.com> - <pasic@linux.ibm.com> - <borntraeger@de.ibm.com> - <fam@euphon.net> - <hare@suse.com> - <atar4qemu@gmail.com> - <stefanb@linux.ibm.com> - <alex.williamson@redhat.com> - <jcmvbkbc@gmail.com> - <laurent@vivier.eu> - <claudio.fontana@suse.com> - <stefanha@redhat.com> - <qemu-arm@nongnu.org> - <qemu-block@nongnu.org> - <qemu-ppc@nongnu.org> - <xen-devel@lists.xenproject.org> - <qemu-riscv@nongnu.org> - " <qemu-s390x@nongnu.org>\0" + "Cc\0frederic.konrad@adacore.com" + berto@igalia.com + qemu-block@nongnu.org + arikalo@wavecomp.com + pasic@linux.ibm.com + hpoussin@reactos.org + anthony.perard@citrix.com + xen-devel@lists.xenproject.org + lersek@redhat.com + jasowang@redhat.com + jiri@resnulli.us + ehabkost@redhat.com + b.galvani@gmail.com + eric.auger@redhat.com + alex.williamson@redhat.com + stefanha@redhat.com + jsnow@redhat.com + rth@twiddle.net + kwolf@redhat.com + andrew@aj.id.au + claudio.fontana@suse.com + crwulff@gmail.com + laurent@vivier.eu + sundeep.lkml@gmail.com + michael@walle.cc + qemu-ppc@nongnu.org + kbastian@mail.uni-paderborn.de + imammedo@redhat.com + fam@euphon.net + peter.maydell@linaro.org + david@redhat.com + palmer@sifive.com + balaton@eik.bme.hu + keith.busch@intel.com + jcmvbkbc@gmail.com + hare@suse.com + sstabellini@kernel.org + andrew.smirnov@gmail.com + deller@gmx.de + magnus.damm@gmail.com + marcel.apfelbaum@gmail.com + atar4qemu@gmail.com + minyard@acm.org + sw@weilnetz.de + yuval.shaia@oracle.com + qemu-s390x@nongnu.org + qemu-arm@nongnu.org + jan.kiszka@web.de + clg@kaod.org + shorne@gmail.com + qemu-riscv@nongnu.org + i.mitsyanko@gmail.com + cohuck@redhat.com + philmd@redhat.com + amarkovic@wavecomp.com + peter.chubb@nicta.com.au + aurelien@aurel32.net + pburton@wavecomp.com + sagark@eecs.berkeley.edu + green@moxielogic.com + kraxel@redhat.com + gxt@mprc.pku.edu.cn + robh@kernel.org + borntraeger@de.ibm.com + joel@jms.id.au + antonynpavlov@gmail.com + chouteau@adacore.com + balrogg@gmail.com + Andrew.Baumann@microsoft.com + mreitz@redhat.com + walling@linux.ibm.com + dmitry.fleytman@gmail.com + mst@redhat.com + mark.cave-ayland@ilande.co.uk + jslaby@suse.cz + marex@denx.de + proljc@gmail.com + marcandre.lureau@redhat.com + alistair@alistair23.me + paul.durrant@citrix.com + david@gibson.dropbear.id.au + xiaoguangrong.eric@gmail.com + huth@tuxfamily.org + jcd@tribudubois.net + pbonzini@redhat.com + " stefanb@linux.ibm.com\0" "\01:1\0" "b\0" "Convert memory_region_dispatch_{read|write} operand \"unsigned size\"\n" @@ -366,4 +365,4 @@ "</body>\r\n" "</html>\r\n" -b10e6bf9e91aaf7e6558cb2ec8461a00c96b0a88659b53d2790c8bad77cf8820 +4e95771f99dc6ae06f8622a87b10ac9093ef58adbe2bacc55a4e3df38b592fa3
diff --git a/N2/1.1.hdr b/N2/1.1.hdr new file mode 100644 index 0000000..12686e4 --- /dev/null +++ b/N2/1.1.hdr @@ -0,0 +1,2 @@ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable diff --git a/a/1.txt b/N2/1.1.txt similarity index 100% rename from a/1.txt rename to N2/1.1.txt diff --git a/a/2.bin b/N2/1.2.bin similarity index 100% rename from a/2.bin rename to N2/1.2.bin diff --git a/N2/1.2.hdr b/N2/1.2.hdr new file mode 100644 index 0000000..e54d0ae --- /dev/null +++ b/N2/1.2.hdr @@ -0,0 +1,2 @@ +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable diff --git a/a/2.hdr b/N2/2.hdr index e54d0ae..5216513 100644 --- a/a/2.hdr +++ b/N2/2.hdr @@ -1,2 +1,4 @@ -Content-Type: text/html; charset="iso-8859-1" -Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: base64 +Content-Disposition: inline diff --git a/N2/2.txt b/N2/2.txt new file mode 100644 index 0000000..d2ea9a6 --- /dev/null +++ b/N2/2.txt @@ -0,0 +1,4 @@ +_______________________________________________ +Xen-devel mailing list +Xen-devel@lists.xenproject.org +https://lists.xenproject.org/mailman/listinfo/xen-devel diff --git a/a/content_digest b/N2/content_digest index 63e2553..49944e2 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,96 +1,96 @@ "ref\043bc5e07ac614d0e8e740bf6007ff77b@tpw09926dag18e.domain1.systemhost.net\0" "From\0<tony.nguyen@bt.com>\0" - "Subject\0[Qemu-riscv] [Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" + "Subject\0[Xen-devel] [Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" "Date\0Fri, 16 Aug 2019 07:30:34 +0000\0" "To\0<qemu-devel@nongnu.org>\0" - "Cc\0<rth@twiddle.net>" - <pbonzini@redhat.com> - <mst@redhat.com> - <imammedo@redhat.com> - <marcel.apfelbaum@gmail.com> - <xiaoguangrong.eric@gmail.com> - <alistair@alistair23.me> - <peter.maydell@linaro.org> - <b.galvani@gmail.com> - <clg@kaod.org> - <andrew@aj.id.au> - <joel@jms.id.au> - <i.mitsyanko@gmail.com> - <robh@kernel.org> - <peter.chubb@nicta.com.au> - <sundeep.lkml@gmail.com> - <jan.kiszka@web.de> - <balrogg@gmail.com> - <eric.auger@redhat.com> - <kraxel@redhat.com> - <michael@walle.cc> - <kwolf@redhat.com> - <mreitz@redhat.com> - <jsnow@redhat.com> - <keith.busch@intel.com> - <philmd@redhat.com> - <marcandre.lureau@redhat.com> - <Andrew.Baumann@microsoft.com> - <edgar.iglesias@gmail.com> - <antonynpavlov@gmail.com> - <chouteau@adacore.com> - <frederic.konrad@adacore.com> - <huth@tuxfamily.org> - <mark.cave-ayland@ilande.co.uk> - <hpoussin@reactos.org> - <arikalo@wavecomp.com> - <balaton@eik.bme.hu> - <gxt@mprc.pku.edu.cn> - <david@gibson.dropbear.id.au> - <deller@gmx.de> - <ehabkost@redhat.com> - <sstabellini@kernel.org> - <anthony.perard@citrix.com> - <paul.durrant@citrix.com> - <aurelien@aurel32.net> - <amarkovic@wavecomp.com> - <magnus.damm@gmail.com> - <berto@igalia.com> - <minyard@acm.org> - <pburton@wavecomp.com> - <jslaby@suse.cz> - <jcd@tribudubois.net> - <andrew.smirnov@gmail.com> - <green@moxielogic.com> - <jasowang@redhat.com> - <dmitry.fleytman@gmail.com> - <sw@weilnetz.de> - <jiri@resnulli.us> - <crwulff@gmail.com> - <marex@denx.de> - <lersek@redhat.com> - <proljc@gmail.com> - <shorne@gmail.com> - <yuval.shaia@oracle.com> - <palmer@sifive.com> - <sagark@eecs.berkeley.edu> - <kbastian@mail.uni-paderborn.de> - <walling@linux.ibm.com> - <cohuck@redhat.com> - <david@redhat.com> - <pasic@linux.ibm.com> - <borntraeger@de.ibm.com> - <fam@euphon.net> - <hare@suse.com> - <atar4qemu@gmail.com> - <stefanb@linux.ibm.com> - <alex.williamson@redhat.com> - <jcmvbkbc@gmail.com> - <laurent@vivier.eu> - <claudio.fontana@suse.com> - <stefanha@redhat.com> - <qemu-arm@nongnu.org> - <qemu-block@nongnu.org> - <qemu-ppc@nongnu.org> - <xen-devel@lists.xenproject.org> - <qemu-riscv@nongnu.org> - " <qemu-s390x@nongnu.org>\0" - "\01:1\0" + "Cc\0frederic.konrad@adacore.com" + berto@igalia.com + qemu-block@nongnu.org + arikalo@wavecomp.com + pasic@linux.ibm.com + hpoussin@reactos.org + anthony.perard@citrix.com + xen-devel@lists.xenproject.org + lersek@redhat.com + jasowang@redhat.com + jiri@resnulli.us + ehabkost@redhat.com + b.galvani@gmail.com + eric.auger@redhat.com + alex.williamson@redhat.com + stefanha@redhat.com + jsnow@redhat.com + rth@twiddle.net + kwolf@redhat.com + andrew@aj.id.au + claudio.fontana@suse.com + crwulff@gmail.com + laurent@vivier.eu + sundeep.lkml@gmail.com + michael@walle.cc + qemu-ppc@nongnu.org + kbastian@mail.uni-paderborn.de + imammedo@redhat.com + fam@euphon.net + peter.maydell@linaro.org + david@redhat.com + palmer@sifive.com + balaton@eik.bme.hu + keith.busch@intel.com + jcmvbkbc@gmail.com + hare@suse.com + sstabellini@kernel.org + andrew.smirnov@gmail.com + deller@gmx.de + magnus.damm@gmail.com + marcel.apfelbaum@gmail.com + atar4qemu@gmail.com + minyard@acm.org + sw@weilnetz.de + yuval.shaia@oracle.com + qemu-s390x@nongnu.org + qemu-arm@nongnu.org + jan.kiszka@web.de + clg@kaod.org + shorne@gmail.com + qemu-riscv@nongnu.org + i.mitsyanko@gmail.com + cohuck@redhat.com + philmd@redhat.com + amarkovic@wavecomp.com + peter.chubb@nicta.com.au + aurelien@aurel32.net + pburton@wavecomp.com + sagark@eecs.berkeley.edu + green@moxielogic.com + kraxel@redhat.com + edgar.iglesias@gmail.com + gxt@mprc.pku.edu.cn + robh@kernel.org + borntraeger@de.ibm.com + joel@jms.id.au + antonynpavlov@gmail.com + chouteau@adacore.com + balrogg@gmail.com + Andrew.Baumann@microsoft.com + mreitz@redhat.com + walling@linux.ibm.com + dmitry.fleytman@gmail.com + mst@redhat.com + mark.cave-ayland@ilande.co.uk + jslaby@suse.cz + marex@denx.de + proljc@gmail.com + marcandre.lureau@redhat.com + alistair@alistair23.me + paul.durrant@citrix.com + david@gibson.dropbear.id.au + xiaoguangrong.eric@gmail.com + huth@tuxfamily.org + jcd@tribudubois.net + pbonzini@redhat.com + " stefanb@linux.ibm.com\0" + "\02:1.1\0" "b\0" "Convert memory_region_dispatch_{read|write} operand \"unsigned size\"\n" "into a \"MemOp op\".\n" @@ -220,7 +220,7 @@ "1.8.3.1\n" "\n" ? - "\01:2\0" + "\02:1.2\0" "b\0" "<html>\r\n" "<head>\r\n" @@ -365,5 +365,11 @@ "</p>\r\n" "</body>\r\n" "</html>\r\n" + "\01:2\0" + "b\0" + "_______________________________________________\n" + "Xen-devel mailing list\n" + "Xen-devel@lists.xenproject.org\n" + https://lists.xenproject.org/mailman/listinfo/xen-devel -b10e6bf9e91aaf7e6558cb2ec8461a00c96b0a88659b53d2790c8bad77cf8820 +5ff5945b8960856f4d294c434ebb651f125537369af2d853d3bb30e6b1ad6bd2
diff --git a/a/2.bin b/a/2.bin deleted file mode 100644 index 99f91f3..0000000 --- a/a/2.bin +++ /dev/null @@ -1,143 +0,0 @@ -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<style type="text/css" style="display:none"><!-- P { margin-top: 0px; margin-bottom: 0px; } .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(128, 0, 0); }--></style> -</head> -<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"> -<p></p> -<div><span style="font-size: 12pt;">Convert memory_region_dispatch_{read|write} operand "unsigned size"</span><br> -</div> -<div>into a "MemOp op".</div> -<div><br> -</div> -<div>Signed-off-by: Tony Nguyen <tony.nguyen@bt.com></div> -<div>Reviewed-by: Richard Henderson <richard.henderson@linaro.org></div> -<div>---</div> -<div> include/exec/memop.h | 20 ++++++++++++++------</div> -<div> include/exec/memory.h | 9 +++++----</div> -<div> memory.c | 7 +++++--</div> -<div> 3 files changed, 24 insertions(+), 12 deletions(-)</div> -<div><br> -</div> -<div>diff --git a/include/exec/memop.h b/include/exec/memop.h</div> -<div>index dfd76a1..0a610b7 100644</div> -<div>--- a/include/exec/memop.h</div> -<div>+++ b/include/exec/memop.h</div> -<div>@@ -12,6 +12,8 @@</div> -<div> #ifndef MEMOP_H</div> -<div> #define MEMOP_H</div> -<div> </div> -<div>+#include "qemu/host-utils.h"</div> -<div>+</div> -<div> typedef enum MemOp {</div> -<div> MO_8 = 0,</div> -<div> MO_16 = 1,</div> -<div>@@ -107,14 +109,20 @@ typedef enum MemOp {</div> -<div> MO_SSIZE = MO_SIZE | MO_SIGN,</div> -<div> } MemOp;</div> -<div> </div> -<div>+/* MemOp to size in bytes. */</div> -<div>+static inline unsigned memop_size(MemOp op)</div> -<div>+{</div> -<div>+ return 1 << (op & MO_SIZE);</div> -<div>+}</div> -<div>+</div> -<div> /* Size in bytes to MemOp. */</div> -<div>-static inline unsigned size_memop(unsigned size)</div> -<div>+static inline MemOp size_memop(unsigned size)</div> -<div> {</div> -<div>- /*</div> -<div>- * FIXME: No-op to aid conversion of memory_region_dispatch_{read|write}</div> -<div>- * "unsigned size" operand into a "MemOp op".</div> -<div>- */</div> -<div>- return size;</div> -<div>+#ifdef CONFIG_DEBUG_TCG</div> -<div>+ /* Power of 2 up to 8. */</div> -<div>+ assert((size & (size - 1)) == 0 && size >= 1 && size <= 8);</div> -<div>+#endif</div> -<div>+ return ctz32(size);</div> -<div> }</div> -<div> </div> -<div> #endif</div> -<div>diff --git a/include/exec/memory.h b/include/exec/memory.h</div> -<div>index bb0961d..975b86a 100644</div> -<div>--- a/include/exec/memory.h</div> -<div>+++ b/include/exec/memory.h</div> -<div>@@ -19,6 +19,7 @@</div> -<div> #include "exec/cpu-common.h"</div> -<div> #include "exec/hwaddr.h"</div> -<div> #include "exec/memattrs.h"</div> -<div>+#include "exec/memop.h"</div> -<div> #include "exec/ramlist.h"</div> -<div> #include "qemu/queue.h"</div> -<div> #include "qemu/int128.h"</div> -<div>@@ -1731,13 +1732,13 @@ void mtree_info(bool flatview, bool dispatch_tree, bool owner);</div> -<div> * @mr: #MemoryRegion to access</div> -<div> * @addr: address within that region</div> -<div> * @pval: pointer to uint64_t which the data is written to</div> -<div>- * @size: size of the access in bytes</div> -<div>+ * @op: size, sign, and endianness of the memory operation</div> -<div> * @attrs: memory transaction attributes to use for the access</div> -<div> */</div> -<div> MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div> -<div> hwaddr addr,</div> -<div> uint64_t *pval,</div> -<div>- unsigned size,</div> -<div>+ MemOp op,</div> -<div> MemTxAttrs attrs);</div> -<div> /**</div> -<div> * memory_region_dispatch_write: perform a write directly to the specified</div> -<div>@@ -1746,13 +1747,13 @@ MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div> -<div> * @mr: #MemoryRegion to access</div> -<div> * @addr: address within that region</div> -<div> * @data: data to write</div> -<div>- * @size: size of the access in bytes</div> -<div>+ * @op: size, sign, and endianness of the memory operation</div> -<div> * @attrs: memory transaction attributes to use for the access</div> -<div> */</div> -<div> MemTxResult memory_region_dispatch_write(MemoryRegion *mr,</div> -<div> hwaddr addr,</div> -<div> uint64_t data,</div> -<div>- unsigned size,</div> -<div>+ MemOp op,</div> -<div> MemTxAttrs attrs);</div> -<div> </div> -<div> /**</div> -<div>diff --git a/memory.c b/memory.c</div> -<div>index 5d8c9a9..89ea4fb 100644</div> -<div>--- a/memory.c</div> -<div>+++ b/memory.c</div> -<div>@@ -1439,9 +1439,10 @@ static MemTxResult memory_region_dispatch_read1(MemoryRegion *mr,</div> -<div> MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div> -<div> hwaddr addr,</div> -<div> uint64_t *pval,</div> -<div>- unsigned size,</div> -<div>+ MemOp op,</div> -<div> MemTxAttrs attrs)</div> -<div> {</div> -<div>+ unsigned size = memop_size(op);</div> -<div> MemTxResult r;</div> -<div> </div> -<div> if (!memory_region_access_valid(mr, addr, size, false, attrs)) {</div> -<div>@@ -1483,9 +1484,11 @@ static bool memory_region_dispatch_write_eventfds(MemoryRegion *mr,</div> -<div> MemTxResult memory_region_dispatch_write(MemoryRegion *mr,</div> -<div> hwaddr addr,</div> -<div> uint64_t data,</div> -<div>- unsigned size,</div> -<div>+ MemOp op,</div> -<div> MemTxAttrs attrs)</div> -<div> {</div> -<div>+ unsigned size = memop_size(op);</div> -<div>+</div> -<div> if (!memory_region_access_valid(mr, addr, size, true, attrs)) {</div> -<div> unassigned_mem_write(mr, addr, data, size);</div> -<div> return MEMTX_DECODE_ERROR;</div> -<div>-- </div> -<div>1.8.3.1</div> -<div><br> -​<br> -</div> -<p><br> -</p> -</body> -</html> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index e54d0ae..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: text/html; charset="iso-8859-1" -Content-Transfer-Encoding: quoted-printable diff --git a/a/content_digest b/N3/content_digest index 63e2553..ffe2a25 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,96 +1,93 @@ "ref\043bc5e07ac614d0e8e740bf6007ff77b@tpw09926dag18e.domain1.systemhost.net\0" "From\0<tony.nguyen@bt.com>\0" - "Subject\0[Qemu-riscv] [Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" + "Subject\0[Qemu-devel] [PATCH v7 11/42] memory: Access MemoryRegion with MemOp\0" "Date\0Fri, 16 Aug 2019 07:30:34 +0000\0" "To\0<qemu-devel@nongnu.org>\0" - "Cc\0<rth@twiddle.net>" - <pbonzini@redhat.com> - <mst@redhat.com> - <imammedo@redhat.com> - <marcel.apfelbaum@gmail.com> - <xiaoguangrong.eric@gmail.com> - <alistair@alistair23.me> - <peter.maydell@linaro.org> - <b.galvani@gmail.com> - <clg@kaod.org> - <andrew@aj.id.au> - <joel@jms.id.au> - <i.mitsyanko@gmail.com> - <robh@kernel.org> - <peter.chubb@nicta.com.au> - <sundeep.lkml@gmail.com> - <jan.kiszka@web.de> - <balrogg@gmail.com> - <eric.auger@redhat.com> - <kraxel@redhat.com> - <michael@walle.cc> - <kwolf@redhat.com> - <mreitz@redhat.com> - <jsnow@redhat.com> - <keith.busch@intel.com> - <philmd@redhat.com> - <marcandre.lureau@redhat.com> - <Andrew.Baumann@microsoft.com> - <edgar.iglesias@gmail.com> - <antonynpavlov@gmail.com> - <chouteau@adacore.com> - <frederic.konrad@adacore.com> - <huth@tuxfamily.org> - <mark.cave-ayland@ilande.co.uk> - <hpoussin@reactos.org> - <arikalo@wavecomp.com> - <balaton@eik.bme.hu> - <gxt@mprc.pku.edu.cn> - <david@gibson.dropbear.id.au> - <deller@gmx.de> - <ehabkost@redhat.com> - <sstabellini@kernel.org> - <anthony.perard@citrix.com> - <paul.durrant@citrix.com> - <aurelien@aurel32.net> - <amarkovic@wavecomp.com> - <magnus.damm@gmail.com> - <berto@igalia.com> - <minyard@acm.org> - <pburton@wavecomp.com> - <jslaby@suse.cz> - <jcd@tribudubois.net> - <andrew.smirnov@gmail.com> - <green@moxielogic.com> - <jasowang@redhat.com> - <dmitry.fleytman@gmail.com> - <sw@weilnetz.de> - <jiri@resnulli.us> - <crwulff@gmail.com> - <marex@denx.de> - <lersek@redhat.com> - <proljc@gmail.com> - <shorne@gmail.com> - <yuval.shaia@oracle.com> - <palmer@sifive.com> - <sagark@eecs.berkeley.edu> - <kbastian@mail.uni-paderborn.de> - <walling@linux.ibm.com> - <cohuck@redhat.com> - <david@redhat.com> - <pasic@linux.ibm.com> - <borntraeger@de.ibm.com> - <fam@euphon.net> - <hare@suse.com> - <atar4qemu@gmail.com> - <stefanb@linux.ibm.com> - <alex.williamson@redhat.com> - <jcmvbkbc@gmail.com> - <laurent@vivier.eu> - <claudio.fontana@suse.com> - <stefanha@redhat.com> - <qemu-arm@nongnu.org> - <qemu-block@nongnu.org> - <qemu-ppc@nongnu.org> - <xen-devel@lists.xenproject.org> - <qemu-riscv@nongnu.org> - " <qemu-s390x@nongnu.org>\0" - "\01:1\0" + "Cc\0frederic.konrad@adacore.com" + berto@igalia.com + qemu-block@nongnu.org + arikalo@wavecomp.com + pasic@linux.ibm.com + hpoussin@reactos.org + anthony.perard@citrix.com + xen-devel@lists.xenproject.org + lersek@redhat.com + jasowang@redhat.com + jiri@resnulli.us + ehabkost@redhat.com + b.galvani@gmail.com + eric.auger@redhat.com + alex.williamson@redhat.com + stefanha@redhat.com + jsnow@redhat.com + rth@twiddle.net + kwolf@redhat.com + andrew@aj.id.au + claudio.fontana@suse.com + crwulff@gmail.com + laurent@vivier.eu + sundeep.lkml@gmail.com + michael@walle.cc + qemu-ppc@nongnu.org + kbastian@mail.uni-paderborn.de + imammedo@redhat.com + fam@euphon.net + peter.maydell@linaro.org + david@redhat.com + palmer@sifive.com + keith.busch@intel.com + jcmvbkbc@gmail.com + hare@suse.com + sstabellini@kernel.org + andrew.smirnov@gmail.com + deller@gmx.de + magnus.damm@gmail.com + atar4qemu@gmail.com + minyard@acm.org + sw@weilnetz.de + yuval.shaia@oracle.com + qemu-s390x@nongnu.org + qemu-arm@nongnu.org + jan.kiszka@web.de + clg@kaod.org + shorne@gmail.com + qemu-riscv@nongnu.org + i.mitsyanko@gmail.com + cohuck@redhat.com + philmd@redhat.com + amarkovic@wavecomp.com + peter.chubb@nicta.com.au + aurelien@aurel32.net + pburton@wavecomp.com + sagark@eecs.berkeley.edu + green@moxielogic.com + kraxel@redhat.com + edgar.iglesias@gmail.com + gxt@mprc.pku.edu.cn + robh@kernel.org + borntraeger@de.ibm.com + joel@jms.id.au + antonynpavlov@gmail.com + chouteau@adacore.com + Andrew.Baumann@microsoft.com + mreitz@redhat.com + walling@linux.ibm.com + dmitry.fleytman@gmail.com + mst@redhat.com + mark.cave-ayland@ilande.co.uk + jslaby@suse.cz + marex@denx.de + proljc@gmail.com + marcandre.lureau@redhat.com + alistair@alistair23.me + paul.durrant@citrix.com + david@gibson.dropbear.id.au + xiaoguangrong.eric@gmail.com + huth@tuxfamily.org + jcd@tribudubois.net + pbonzini@redhat.com + " stefanb@linux.ibm.com\0" + "\00:1\0" "b\0" "Convert memory_region_dispatch_{read|write} operand \"unsigned size\"\n" "into a \"MemOp op\".\n" @@ -220,150 +217,5 @@ "1.8.3.1\n" "\n" ? - "\01:2\0" - "b\0" - "<html>\r\n" - "<head>\r\n" - "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n" - "<style type=\"text/css\" style=\"display:none\"><!-- P { margin-top: 0px; margin-bottom: 0px; } .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(128, 0, 0); }--></style>\r\n" - "</head>\r\n" - "<body dir=\"ltr\" style=\"font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;\">\r\n" - "<p></p>\r\n" - "<div><span style=\"font-size: 12pt;\">Convert memory_region_dispatch_{read|write} operand "unsigned size"</span><br>\r\n" - "</div>\r\n" - "<div>into a "MemOp op".</div>\r\n" - "<div><br>\r\n" - "</div>\r\n" - "<div>Signed-off-by: Tony Nguyen <tony.nguyen@bt.com></div>\r\n" - "<div>Reviewed-by: Richard Henderson <richard.henderson@linaro.org></div>\r\n" - "<div>---</div>\r\n" - "<div> include/exec/memop.h | 20 ++++++++++++++------</div>\r\n" - "<div> include/exec/memory.h | 9 +++++----</div>\r\n" - "<div> memory.c | 7 +++++--</div>\r\n" - "<div> 3 files changed, 24 insertions(+), 12 deletions(-)</div>\r\n" - "<div><br>\r\n" - "</div>\r\n" - "<div>diff --git a/include/exec/memop.h b/include/exec/memop.h</div>\r\n" - "<div>index dfd76a1..0a610b7 100644</div>\r\n" - "<div>--- a/include/exec/memop.h</div>\r\n" - "<div>+++ b/include/exec/memop.h</div>\r\n" - "<div>@@ -12,6 +12,8 @@</div>\r\n" - "<div> #ifndef MEMOP_H</div>\r\n" - "<div> #define MEMOP_H</div>\r\n" - "<div> </div>\r\n" - "<div>+#include "qemu/host-utils.h"</div>\r\n" - "<div>+</div>\r\n" - "<div> typedef enum MemOp {</div>\r\n" - "<div> MO_8 = 0,</div>\r\n" - "<div> MO_16 = 1,</div>\r\n" - "<div>@@ -107,14 +109,20 @@ typedef enum MemOp {</div>\r\n" - "<div> MO_SSIZE = MO_SIZE | MO_SIGN,</div>\r\n" - "<div> } MemOp;</div>\r\n" - "<div> </div>\r\n" - "<div>+/* MemOp to size in bytes. */</div>\r\n" - "<div>+static inline unsigned memop_size(MemOp op)</div>\r\n" - "<div>+{</div>\r\n" - "<div>+ return 1 << (op & MO_SIZE);</div>\r\n" - "<div>+}</div>\r\n" - "<div>+</div>\r\n" - "<div> /* Size in bytes to MemOp. */</div>\r\n" - "<div>-static inline unsigned size_memop(unsigned size)</div>\r\n" - "<div>+static inline MemOp size_memop(unsigned size)</div>\r\n" - "<div> {</div>\r\n" - "<div>- /*</div>\r\n" - "<div>- * FIXME: No-op to aid conversion of memory_region_dispatch_{read|write}</div>\r\n" - "<div>- * "unsigned size" operand into a "MemOp op".</div>\r\n" - "<div>- */</div>\r\n" - "<div>- return size;</div>\r\n" - "<div>+#ifdef CONFIG_DEBUG_TCG</div>\r\n" - "<div>+ /* Power of 2 up to 8. */</div>\r\n" - "<div>+ assert((size & (size - 1)) == 0 && size >= 1 && size <= 8);</div>\r\n" - "<div>+#endif</div>\r\n" - "<div>+ return ctz32(size);</div>\r\n" - "<div> }</div>\r\n" - "<div> </div>\r\n" - "<div> #endif</div>\r\n" - "<div>diff --git a/include/exec/memory.h b/include/exec/memory.h</div>\r\n" - "<div>index bb0961d..975b86a 100644</div>\r\n" - "<div>--- a/include/exec/memory.h</div>\r\n" - "<div>+++ b/include/exec/memory.h</div>\r\n" - "<div>@@ -19,6 +19,7 @@</div>\r\n" - "<div> #include "exec/cpu-common.h"</div>\r\n" - "<div> #include "exec/hwaddr.h"</div>\r\n" - "<div> #include "exec/memattrs.h"</div>\r\n" - "<div>+#include "exec/memop.h"</div>\r\n" - "<div> #include "exec/ramlist.h"</div>\r\n" - "<div> #include "qemu/queue.h"</div>\r\n" - "<div> #include "qemu/int128.h"</div>\r\n" - "<div>@@ -1731,13 +1732,13 @@ void mtree_info(bool flatview, bool dispatch_tree, bool owner);</div>\r\n" - "<div> * @mr: #MemoryRegion to access</div>\r\n" - "<div> * @addr: address within that region</div>\r\n" - "<div> * @pval: pointer to uint64_t which the data is written to</div>\r\n" - "<div>- * @size: size of the access in bytes</div>\r\n" - "<div>+ * @op: size, sign, and endianness of the memory operation</div>\r\n" - "<div> * @attrs: memory transaction attributes to use for the access</div>\r\n" - "<div> */</div>\r\n" - "<div> MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div>\r\n" - "<div> hwaddr addr,</div>\r\n" - "<div> uint64_t *pval,</div>\r\n" - "<div>- unsigned size,</div>\r\n" - "<div>+ MemOp op,</div>\r\n" - "<div> MemTxAttrs attrs);</div>\r\n" - "<div> /**</div>\r\n" - "<div> * memory_region_dispatch_write: perform a write directly to the specified</div>\r\n" - "<div>@@ -1746,13 +1747,13 @@ MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div>\r\n" - "<div> * @mr: #MemoryRegion to access</div>\r\n" - "<div> * @addr: address within that region</div>\r\n" - "<div> * @data: data to write</div>\r\n" - "<div>- * @size: size of the access in bytes</div>\r\n" - "<div>+ * @op: size, sign, and endianness of the memory operation</div>\r\n" - "<div> * @attrs: memory transaction attributes to use for the access</div>\r\n" - "<div> */</div>\r\n" - "<div> MemTxResult memory_region_dispatch_write(MemoryRegion *mr,</div>\r\n" - "<div> hwaddr addr,</div>\r\n" - "<div> uint64_t data,</div>\r\n" - "<div>- unsigned size,</div>\r\n" - "<div>+ MemOp op,</div>\r\n" - "<div> MemTxAttrs attrs);</div>\r\n" - "<div> </div>\r\n" - "<div> /**</div>\r\n" - "<div>diff --git a/memory.c b/memory.c</div>\r\n" - "<div>index 5d8c9a9..89ea4fb 100644</div>\r\n" - "<div>--- a/memory.c</div>\r\n" - "<div>+++ b/memory.c</div>\r\n" - "<div>@@ -1439,9 +1439,10 @@ static MemTxResult memory_region_dispatch_read1(MemoryRegion *mr,</div>\r\n" - "<div> MemTxResult memory_region_dispatch_read(MemoryRegion *mr,</div>\r\n" - "<div> hwaddr addr,</div>\r\n" - "<div> uint64_t *pval,</div>\r\n" - "<div>- unsigned size,</div>\r\n" - "<div>+ MemOp op,</div>\r\n" - "<div> MemTxAttrs attrs)</div>\r\n" - "<div> {</div>\r\n" - "<div>+ unsigned size = memop_size(op);</div>\r\n" - "<div> MemTxResult r;</div>\r\n" - "<div> </div>\r\n" - "<div> if (!memory_region_access_valid(mr, addr, size, false, attrs)) {</div>\r\n" - "<div>@@ -1483,9 +1484,11 @@ static bool memory_region_dispatch_write_eventfds(MemoryRegion *mr,</div>\r\n" - "<div> MemTxResult memory_region_dispatch_write(MemoryRegion *mr,</div>\r\n" - "<div> hwaddr addr,</div>\r\n" - "<div> uint64_t data,</div>\r\n" - "<div>- unsigned size,</div>\r\n" - "<div>+ MemOp op,</div>\r\n" - "<div> MemTxAttrs attrs)</div>\r\n" - "<div> {</div>\r\n" - "<div>+ unsigned size = memop_size(op);</div>\r\n" - "<div>+</div>\r\n" - "<div> if (!memory_region_access_valid(mr, addr, size, true, attrs)) {</div>\r\n" - "<div> unassigned_mem_write(mr, addr, data, size);</div>\r\n" - "<div> return MEMTX_DECODE_ERROR;</div>\r\n" - "<div>-- </div>\r\n" - "<div>1.8.3.1</div>\r\n" - "<div><br>\r\n" - "​<br>\r\n" - "</div>\r\n" - "<p><br>\r\n" - "</p>\r\n" - "</body>\r\n" - "</html>\r\n" -b10e6bf9e91aaf7e6558cb2ec8461a00c96b0a88659b53d2790c8bad77cf8820 +a55d10b5897cca8a2040f2151a2af260b1fbd5a20e430050ea19dc8de79d309e
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.