From patchwork Tue Apr 26 12:46:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1622354 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KnhY33c8kz9s0B for ; Tue, 26 Apr 2022 22:49:42 +1000 (AEST) Received: from localhost ([::1]:50334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njKdN-0000RL-Rg for incoming@patchwork.ozlabs.org; Tue, 26 Apr 2022 08:49:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKa8-00068C-T6; Tue, 26 Apr 2022 08:46:16 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:49689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKa7-0007CO-8L; Tue, 26 Apr 2022 08:46:16 -0400 Received: from quad ([82.142.9.138]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M7bND-1noZEv1wY1-007zxj; Tue, 26 Apr 2022 14:46:12 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 1/5] hw/pvrdma: Some cosmetic fixes Date: Tue, 26 Apr 2022 14:46:06 +0200 Message-Id: <20220426124610.639614-2-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426124610.639614-1-laurent@vivier.eu> References: <20220426124610.639614-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:QI1KGqHB4RxbJZJMUyIIBLUM0qVUsPRZ6VjPgzKIbuqsgPMiHU7 t/+6Z0mu5mdqrWj5DYJF04kUiNEPrTUyxGfutpLpFhQ9B29OyHGWku9ejIMeMWbFb4e7XRw 185TppclwDmrshdlHMCMTIarUcjtm57LL+MrU8sF5kpVWucmrAQAz0B/hURoIqUFUEAHkm2 V99eQSckrnX01xDfr/euQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:3kGSB5lzYgc=:UMpCuz9pqhscMyP6EGb6zf dbVunRJ2wMpMwmTsCd0eUsC2+uc1GZcd69quWY0ALPSa+Dg2C3hyhDz6BjOFufFFE/ksShN++ BfG23Usp/9kjst5ITlGijApeobbqNf9N0h8JcuOAWQB9XYuMQOBj92A90g37Rp1dI6gaHcGfP EGcEkbClaZOHDn1jEyS6s410JslCGVFb4LoOAOggHeP9yPQsP5AIYVWsF5r45rWmcLpkY3v1F 4LPZxJKp/f6hXDFU4LkaCoDtUm4Vrc0e8eZ2i/3rym4a2aEG5ovwnsYOAnJ4TFhdSH5m939qF eUjjbAxw3fRep30XJ7iHVqCIBpttpDUfjcztsH4u01JJ7o0QpGZvZeQG2yyQHzZ/Du/JT+AT7 6/zk1QLCjtc4iZWj0/JxHrcFXb1pA/t8triYE3vleSxuOiJuewCVHkILNnPcoL8QB6mC9iplj R/mVPDj45bpIGoR18MEv8XHTir9MROfVbfESvH8Pbo8KxlMbAGI87w2MlqCSr8E37TQRDkfkm FfA3FyxUXNAwEC7TxVKuf9V1Nuq95vHR0owR9aj8c1BnKT0/m9IjY5Zl6Z5jOld39F7RjdIoX 4gJU36BxiW+SEcf+OqS1W8QHj3iCNe13/kDA2KCw7OkNMNXe7+keI5leCH91dFzqkTU4ZiUF3 0Mj5oMlSjUF1BCcDTjCseWGS79GcexhpvQvs78qhxwYE7ysR/JSk8d9EWOdNFbuC3aAI= Received-SPF: none client-ip=217.72.192.75; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Yuval Shaia , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Yuval Shaia Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum Message-Id: <20220403095837.2378-1-yuval.shaia.ml@gmail.com> Signed-off-by: Laurent Vivier --- hw/rdma/vmw/pvrdma_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c index 27a76224320e..58db0b8e3bb9 100644 --- a/hw/rdma/vmw/pvrdma_main.c +++ b/hw/rdma/vmw/pvrdma_main.c @@ -159,13 +159,13 @@ static void free_dsr(PVRDMADev *dev) free_dev_ring(pci_dev, &dev->dsr_info.cq, dev->dsr_info.cq_ring_state); rdma_pci_dma_unmap(pci_dev, dev->dsr_info.req, - sizeof(union pvrdma_cmd_req)); + sizeof(union pvrdma_cmd_req)); rdma_pci_dma_unmap(pci_dev, dev->dsr_info.rsp, - sizeof(union pvrdma_cmd_resp)); + sizeof(union pvrdma_cmd_resp)); rdma_pci_dma_unmap(pci_dev, dev->dsr_info.dsr, - sizeof(struct pvrdma_device_shared_region)); + sizeof(struct pvrdma_device_shared_region)); dev->dsr_info.dsr = NULL; } @@ -249,7 +249,8 @@ static void init_dsr_dev_caps(PVRDMADev *dev) { struct pvrdma_device_shared_region *dsr; - if (dev->dsr_info.dsr == NULL) { + if (!dev->dsr_info.dsr) { + /* Buggy or malicious guest driver */ rdma_error_report("Can't initialized DSR"); return; } From patchwork Tue Apr 26 12:46:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1622355 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KnhZ42Lrdz9s0B for ; Tue, 26 Apr 2022 22:50:36 +1000 (AEST) Received: from localhost ([::1]:53258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njKeI-0002PZ-DV for incoming@patchwork.ozlabs.org; Tue, 26 Apr 2022 08:50:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaA-0006F7-Su; Tue, 26 Apr 2022 08:46:18 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:53513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKa9-0007Cj-53; Tue, 26 Apr 2022 08:46:18 -0400 Received: from quad ([82.142.9.138]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mv2gw-1o0iuL0iTA-00r0u6; Tue, 26 Apr 2022 14:46:13 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 2/5] vdpa: Add missing tracing to batch mapping functions Date: Tue, 26 Apr 2022 14:46:07 +0200 Message-Id: <20220426124610.639614-3-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426124610.639614-1-laurent@vivier.eu> References: <20220426124610.639614-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:jORt3lnNj4XyXmtbvkqEmtnODLHUMHrEPABvFO0gDoDJrmnZaJ4 Hy2jGyboilxEOyO4daanT/+8qmfRJONUvcv4w8imN0ZXqRz7xt/jn9LA0FDRxPDY3rlr030 SuwhSYy+/h+ZeyPdcEDxJjQbCWoFJLqB8wyLJcQ32JRNFUrY5qFrzsIelOdhRZj/q9iiXgC 5NJ9ybHHqH3mbIqpeiq6w== X-UI-Out-Filterresults: notjunk:1;V03:K0:37X0dHEP1cY=:f+df+o/j9DHZ+Eej+9Z+xr pzuRKXbvwWllpS2G1Roy2jw/K8ewH5AFnrY9N4DURFcYGmwR7Mt2IlCwt5mPsqrUyolUGZ3JW eYnIKqtxTpLfYyQh8y2MeYcmHExZhOh3UPOHPqeTtwxC2iAHxsIrZV5IlIsW/EP1Jk+agey2g 9m3FLysA/G8Hp2fEJZxU6jUl/XDN7g/Bn0AXFmm/5ofW+c9rdVonT/rS0FffKu26jxs0nE2qS cnIj2j5cc6+Pkg5EwndLPm/2mp9FnI+r8gImhDwf4MwwNx8hliWEDnaG+nxBdOD+zLV99N8rI m7ZIYgxjGummn4Y5cuT2TyqHDwdKbhyotA/G96tFCyyRppAJhFRrkbkTYyGXe4z3nAeFjKaPC dP9Y03x13HtDj+12cgN9TiaHPNyslzjmESThPNbJVvMSxIwbQYLfmTPmsOFZLsmi3bj84ePF3 IZbvU8s/SmE4HHcO8nkBAkIq8fTtHFpqbcKkhRO3Uz4H4LiL0P7Up0vxwAtjwKK0OgcacH862 2H0jAhQodZrR4ZB/6xorT9fvjc2Da0e+WN61HwYmMUhR0XGBVUIn4Y7uCzGWdPmvJBauBPrjq 1wVYaOtUNhr5p+BdWKQdAFt/dmykSLWSR+XmqRfvppdb5F3CFDW03pXOCrDabf9bsMMq7n5WG fgkpbbDs30kZ550UWfOl0AyYT7jawPrPIqXTb5nKGJDRLw4JzVCT/cmduMHQj16j+ji4= Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , qemu-trivial@nongnu.org, Jason Wang , Laurent Vivier , =?utf-8?q?Eugenio_P=C3=A9rez?= , Stefano Garzarella Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Eugenio Pérez These functions were not traced properly. Signed-off-by: Eugenio Pérez Reviewed-by: Laurent Vivier Reviewed-by: Stefano Garzarella Acked-by: Jason Wang Message-Id: <20220405063628.853745-1-eperezma@redhat.com> Signed-off-by: Laurent Vivier --- hw/virtio/trace-events | 2 ++ hw/virtio/vhost-vdpa.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hw/virtio/trace-events b/hw/virtio/trace-events index a5102eac9e57..333348d9d5d0 100644 --- a/hw/virtio/trace-events +++ b/hw/virtio/trace-events @@ -25,6 +25,8 @@ vhost_user_postcopy_waker_nomatch(const char *rb, uint64_t rb_offset) "%s + 0x%" # vhost-vdpa.c vhost_vdpa_dma_map(void *vdpa, int fd, uint32_t msg_type, uint64_t iova, uint64_t size, uint64_t uaddr, uint8_t perm, uint8_t type) "vdpa:%p fd: %d msg_type: %"PRIu32" iova: 0x%"PRIx64" size: 0x%"PRIx64" uaddr: 0x%"PRIx64" perm: 0x%"PRIx8" type: %"PRIu8 vhost_vdpa_dma_unmap(void *vdpa, int fd, uint32_t msg_type, uint64_t iova, uint64_t size, uint8_t type) "vdpa:%p fd: %d msg_type: %"PRIu32" iova: 0x%"PRIx64" size: 0x%"PRIx64" type: %"PRIu8 +vhost_vdpa_listener_begin_batch(void *v, int fd, uint32_t msg_type, uint8_t type) "vdpa:%p fd: %d msg_type: %"PRIu32" type: %"PRIu8 +vhost_vdpa_listener_commit(void *v, int fd, uint32_t msg_type, uint8_t type) "vdpa:%p fd: %d msg_type: %"PRIu32" type: %"PRIu8 vhost_vdpa_listener_region_add(void *vdpa, uint64_t iova, uint64_t llend, void *vaddr, bool readonly) "vdpa: %p iova 0x%"PRIx64" llend 0x%"PRIx64" vaddr: %p read-only: %d" vhost_vdpa_listener_region_del(void *vdpa, uint64_t iova, uint64_t llend) "vdpa: %p iova 0x%"PRIx64" llend 0x%"PRIx64 vhost_vdpa_add_status(void *dev, uint8_t status) "dev: %p status: 0x%"PRIx8 diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c index b57be529c7eb..a30510ed17e4 100644 --- a/hw/virtio/vhost-vdpa.c +++ b/hw/virtio/vhost-vdpa.c @@ -129,6 +129,7 @@ static void vhost_vdpa_listener_begin_batch(struct vhost_vdpa *v) .iotlb.type = VHOST_IOTLB_BATCH_BEGIN, }; + trace_vhost_vdpa_listener_begin_batch(v, fd, msg.type, msg.iotlb.type); if (write(fd, &msg, sizeof(msg)) != sizeof(msg)) { error_report("failed to write, fd=%d, errno=%d (%s)", fd, errno, strerror(errno)); @@ -163,6 +164,7 @@ static void vhost_vdpa_listener_commit(MemoryListener *listener) msg.type = v->msg_type; msg.iotlb.type = VHOST_IOTLB_BATCH_END; + trace_vhost_vdpa_listener_commit(v, fd, msg.type, msg.iotlb.type); if (write(fd, &msg, sizeof(msg)) != sizeof(msg)) { error_report("failed to write, fd=%d, errno=%d (%s)", fd, errno, strerror(errno)); From patchwork Tue Apr 26 12:46:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1622365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Knhb51JB0z9s0B for ; Tue, 26 Apr 2022 22:51:29 +1000 (AEST) Received: from localhost ([::1]:56414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njKf9-0004Zy-79 for incoming@patchwork.ozlabs.org; Tue, 26 Apr 2022 08:51:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaC-0006KG-6b; Tue, 26 Apr 2022 08:46:20 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:40007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaA-0007D2-AD; Tue, 26 Apr 2022 08:46:19 -0400 Received: from quad ([82.142.9.138]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M7bND-1noZEu38fd-007zxj; Tue, 26 Apr 2022 14:46:13 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 3/5] target/mips: Remove stale TODO file Date: Tue, 26 Apr 2022 14:46:08 +0200 Message-Id: <20220426124610.639614-4-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426124610.639614-1-laurent@vivier.eu> References: <20220426124610.639614-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:jXV4HkMsm15ucqLXV6DMOV8Iivp+GGn+wfz9h1QZ9gcS5fXoPqP w1FKx3r0csgs5vbBjR2rEMpGGZFdupLqdqKIalvjIZY7oabbTCSH16RVYvU1ATBPXvRgpTt kbo9JDZDR/GXqwZD+8vSvngOIvWFXvC1cCAm29SWN4mogFqflzXKlB09bAG556vXhTUe/an 3XS6zYU7rAKrvCCYlNjYQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ew6NugmkP7E=:wWGwGojYQPKSuUgqzrbfct 6fbdEEliVIonXldHpL3uztosq9KzjRYkwzq38jYRK0O1OT28ZT2iAn80IDKUVUv/4J7t0uibR ntidsy7hjVm8bvKE/itrQVxM5BTWvb7lTkkTCszMOiWnEWtcszwkAUzniGxTzJDuFgy/G5Fkw j8RRrHURFV6swQeBHb5vU/6Ndv32Qb05j4FfS+DxkI+0jiK86+bzrz2hVHUjzqCREfz5wHcnI Yw1PX6lSh606wAld8XVYiKeO3dMhcCPuI6H+byxflYwe5SZDjrmN+qeqxYyALNBx1THlP4iF3 rgX2BKIBmh8CGPVDJMhnOW5t5Dqy2BbtMrPJ4ApvVYTi5SdWvvpqzTdvKFvRTv998iODFwVbt YZqQgtSY7yvc74SfpejzlmRVbDH9hspsLg7BJFqCIhFKc+p9GuAc+wKVGmk4nou3sqQSaOV/5 CRehqvYS0CnDBReAnC97LqtXmAWizfPiY3rsyTwNX1CGaLxvGIVqY3AIakG8Vaqg+phzqGbHl 1EOAx+3chRsmIeGdZ01apz1qw2J3hWObmWv2x4WcsnLuwVzHI9OFXJ2VMFdjVu2K7qdreBWXn AtLCa8/NYz8LoM7TL/9uBtIssz1DZIeU4npFLRJDIUMfIDDQNVQLB8b83V2inunoiU0vuIlBr joheL0qIcpt960ip83vdK8ccGSwgqbanC4IvsAgTCzuMy0d8/sbVKQemywe7w5sIkykY= Received-SPF: none client-ip=212.227.17.24; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Thomas Huth , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth The last change to this file has been done in 2012, so it seems like this is not really used anymore, and the content is likely very out of date now. Signed-off-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20220412113824.297108-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- target/mips/TODO | 51 ------------------------------------------------ 1 file changed, 51 deletions(-) delete mode 100644 target/mips/TODO diff --git a/target/mips/TODO b/target/mips/TODO deleted file mode 100644 index 1d782d8027e0..000000000000 --- a/target/mips/TODO +++ /dev/null @@ -1,51 +0,0 @@ -Unsolved issues/bugs in the mips/mipsel backend ------------------------------------------------ - -General -------- -- Unimplemented ASEs: - - MDMX - - SmartMIPS - - microMIPS DSP r1 & r2 encodings -- MT ASE only partially implemented and not functional -- Shadow register support only partially implemented, - lacks set switching on interrupt/exception. -- 34K ITC not implemented. -- A general lack of documentation, especially for technical internals. - Existing documentation is x86-centric. -- Reverse endianness bit not implemented -- The TLB emulation is very inefficient: - QEMU's softmmu implements a x86-style MMU, with separate entries - for read/write/execute, a TLB index which is just a modulo of the - virtual address, and a set of TLBs for each user/kernel/supervisor - MMU mode. - MIPS has a single entry for read/write/execute and only one MMU mode. - But it is fully associative with randomized entry indices, and uses - up to 256 ASID tags as additional matching criterion (which roughly - equates to 256 MMU modes). It also has a global flag which causes - entries to match regardless of ASID. - To cope with these differences, QEMU currently flushes the TLB at - each ASID change. Using the MMU modes to implement ASIDs hinges on - implementing the global bit efficiently. -- save/restore of the CPU state is not implemented (see machine.c). - -MIPS64 ------- -- Userland emulation (both n32 and n64) not functional. - -"Generic" 4Kc system emulation ------------------------------- -- Doesn't correspond to any real hardware. Should be removed some day, - U-Boot is the last remaining user. - -PICA 61 system emulation ------------------------- -- No framebuffer support yet. - -MALTA system emulation ----------------------- -- We fake firmware support instead of doing the real thing -- Real firmware (YAMON) falls over when trying to init RAM, presumably - due to lacking system controller emulation. -- Bonito system controller not implemented -- MSC1 system controller not implemented From patchwork Tue Apr 26 12:46:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1622367 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Knhbz0NxVz9s0B for ; Tue, 26 Apr 2022 22:52:15 +1000 (AEST) Received: from localhost ([::1]:59472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njKft-0006ka-4U for incoming@patchwork.ozlabs.org; Tue, 26 Apr 2022 08:52:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaC-0006LT-Ng; Tue, 26 Apr 2022 08:46:20 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:48887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaA-0007DX-Ux; Tue, 26 Apr 2022 08:46:20 -0400 Received: from quad ([82.142.9.138]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MysBI-1o4amq2DJK-00vyii; Tue, 26 Apr 2022 14:46:14 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 4/5] docs: Replace Qemu -> QEMU Date: Tue, 26 Apr 2022 14:46:09 +0200 Message-Id: <20220426124610.639614-5-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426124610.639614-1-laurent@vivier.eu> References: <20220426124610.639614-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:BVWSMNZ8ZzYQaSQNSyPt9gTkxJicL0/tTqyrH4Jq0/3HJOXoHxc WWnn39M/Nt3ITI3I96vibYh7h83rtwtHbckFgVg2L7jwHzLp6CIeKEhkOLF63XSmMqWqrNx oUXCbqs1X2T/Dl18Fjz5VuwdlXYQQ08CagujpuSGqqtbyBVlEj/abZdptDj4+tt1Rh9ZVwI yJLHWMdLsmFjrFTC8TX0g== X-UI-Out-Filterresults: notjunk:1;V03:K0:oh0jsigXXpQ=:6evrnPj7txYUf2wdjmQOb0 odq3to2/tHtbUuqWz3+yA8c7+e2JlUroycaFRa9TlAmWPOYkxRNaJstu2R1dVQmPir7ynva5U Uooq7jKNTWcOHMg0edv38B/QW729Yg6/2x/7tjzweGH4ZD6AGQXkZ4Lc3lLr3VeWxfdo9DF/S c2lUyOBsRAcz0b/7tPE1hGqXiiY5Eu9Xs1Rc2xF2B4ykJFbdC2WJMWgMe9FbQltYg0dqe/QLx YNfpqiXwTo2mQdBkUnwCd/7aNB+cHUwIYgXo0VO5KFjaEv1LVUJrytiCksRFf7Hz8ICKz5egR lWZo8fRohyifwPAHH7JEXtTPYhToR+OCLXYJ2E5YVym2bgpk8CNWXlAfftKmQkVNyns1+MCc6 vwrGxMxM9DbEkKtfvkXTTRJlzfuXd0BFQtqGRYAyuoKcacDc2wnwXswL8iP2nfaj24xvOVH/6 YentCh8YyJlFI+GE62FUEYuiDTbUQ5uyoH7x2uAoZihoy565vqENCPIAXeEIdneA4KPMzl3lh S3tYuBh4P9kt4RyBmjOt+MyyPQCFD+zeJqgTIpIj2RtsAtIXzOmQU9XA/VZ6BREolzwrBSqm5 NvYGsm43RZA58MlFzR2/GFnJJJSRa/nWkD6L23fOa/v6RRn/mfj0m5oG8rQxLnBbvlp+I6ax2 kfCteC1a2rLjYgYplsScHlNzs6i/hCGjvOR1GA+NZmQxGEkQ45bjFysqxlER1eF6SRts= Received-SPF: none client-ip=217.72.192.73; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Stefan Weil , Bin Meng , Knut Omang , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Stefan Weil Signed-off-by: Stefan Weil Reviewed-by: Bin Meng Reviewed-by: Knut Omang Message-Id: <20220422083007.1082667-1-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- docs/pcie_sriov.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pcie_sriov.txt b/docs/pcie_sriov.txt index f5e891e1d451..11158dbf8890 100644 --- a/docs/pcie_sriov.txt +++ b/docs/pcie_sriov.txt @@ -8,8 +8,8 @@ of a PCI Express device. It allows a single physical function (PF) to appear as virtual functions (VFs) for the main purpose of eliminating software overhead in I/O from virtual machines. -Qemu now implements the basic common functionality to enable an emulated device -to support SR/IOV. Yet no fully implemented devices exists in Qemu, but a +QEMU now implements the basic common functionality to enable an emulated device +to support SR/IOV. Yet no fully implemented devices exists in QEMU, but a proof-of-concept hack of the Intel igb can be found here: git://github.com/knuto/qemu.git sriov_patches_v5 @@ -18,7 +18,7 @@ Implementation ============== Implementing emulation of an SR/IOV capable device typically consists of implementing support for two types of device classes; the "normal" physical device -(PF) and the virtual device (VF). From Qemu's perspective, the VFs are just +(PF) and the virtual device (VF). From QEMU's perspective, the VFs are just like other devices, except that some of their properties are derived from the PF. From patchwork Tue Apr 26 12:46:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1622369 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Knhd94zKBz9s0B for ; Tue, 26 Apr 2022 22:53:17 +1000 (AEST) Received: from localhost ([::1]:35826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njKgt-0001Nd-P9 for incoming@patchwork.ozlabs.org; Tue, 26 Apr 2022 08:53:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaC-0006KJ-Aj; Tue, 26 Apr 2022 08:46:20 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:46673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njKaA-0007Cy-Az; Tue, 26 Apr 2022 08:46:20 -0400 Received: from quad ([82.142.9.138]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MDgxt-1nYZsm0YJ5-00AluD; Tue, 26 Apr 2022 14:46:15 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 5/5] docs: Replace HomeBrew -> Homebrew Date: Tue, 26 Apr 2022 14:46:10 +0200 Message-Id: <20220426124610.639614-6-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426124610.639614-1-laurent@vivier.eu> References: <20220426124610.639614-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:Yj+9ulMqoVosLV89hZcGIHowETN+ZkNPxG55W3Uk6xDp59pClYe vfuUCPalBdFhVQ/8iftMn12XW11Y3sMC58afWq3teLHUrqLf74epAJXJzo6MSPw4T5RwXML gd238oHz+bBbh1/Dce03bqzMKllxCR7IdEy0aZjuxXNRKdjPDLWgLngvZB+uJn20+eLU+Ki ySqtDGgVltivdRU3353Ew== X-UI-Out-Filterresults: notjunk:1;V03:K0:xAjV5a74ze4=:Q3aIN4bYG1ePNIw0qSi0b9 uX3zAPI7eSIQqUEPs24vh3kBo3ppBxRliwTJ4cyQ1DOzNdcPBbB+j6qBy+EU4SCzX4YOYYTYC QsuhXvzRRHsMtxeqLJkxW0TpGVApcRKmCmSskBbdxzBy7PgTJZ58X/SjjPwRmUKwjnmW/pdmS 8tCeBJczpdjmaAO1QX66exRZdCNuslAvVxeSqjoNlYeos0Kelw+4inY3e5X/cXlRYu/+DwYp9 DcICp0X3/t0ihmk2WjOr1Gp7PJVv84KVjWGnwGJWL07BNFSwYxMRXeM+QC/Sfv6PPUVBO9UYF gSTAQTDpFcM7pD/kVzaUo6lbRM1l+wW74l3lmWeP/piCbHfU/2/TWo5wFjAk0lT2k1RCpRrjl 5+2ZV5+QwkJ89o1nFiCF/xvjVR/aBnKQn8RQBfH/MHS1UndyF9sbq2ZzCs9FbM4pQTTgsVhii ImRp6NlVrbhIX2iuTh3lpSi1CF1kn/LX2XlsDmeKXktYUwaq0qgj7n/ZEmBpd8g/GG2zqiYDV rUYD8lP85Lj73zLjNyJ24lsrEs7FuHgfWJ7oNW2ZHiIlZktHsCbNUCp6pRRkAf3UkglnWNKhM 6AIb/sQuJrDGR6CXlY5WV4E6SvYNfC1FtejHEsiARzd3lIYbOpBusGDpBlb6kVE/jMBavQ/TA YXIA/XyZ2lgu0pBaAkS94RjQnmOQhhP7Pm/DCaRw+XgV1cgWc0G2l/Sd352f0ryDxa54= Received-SPF: none client-ip=217.72.192.74; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Stefan Weil , Bin Meng , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Stefan Weil The official spelling does not use camel case. Signed-off-by: Stefan Weil Reviewed-by: Bin Meng Message-Id: <20220422083403.1082924-1-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- docs/about/build-platforms.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/about/build-platforms.rst b/docs/about/build-platforms.rst index c29a4b8fe649..e9163ba5563f 100644 --- a/docs/about/build-platforms.rst +++ b/docs/about/build-platforms.rst @@ -80,7 +80,7 @@ Ubuntu LTS. Other distros will be assumed to ship similar software versions. For FreeBSD and OpenBSD, decisions will be made based on the contents of the respective ports repository, while NetBSD will use the pkgsrc repository. -For macOS, `HomeBrew`_ will be used, although `MacPorts`_ is expected to carry +For macOS, `Homebrew`_ will be used, although `MacPorts`_ is expected to carry similar versions. Windows @@ -92,6 +92,6 @@ hosted on Linux (Debian/Fedora). The version of the Windows API that's currently targeted is Vista / Server 2008. -.. _HomeBrew: https://brew.sh/ +.. _Homebrew: https://brew.sh/ .. _MacPorts: https://www.macports.org/ .. _Repology: https://repology.org/