[{"id":1768662,"web_url":"http://patchwork.ozlabs.org/comment/1768662/","msgid":"<CAFEAcA-=VeQ=B0h0e9Qd2rnGLoeZ2jaXuARcPXMBppX8WHhnUQ@mail.gmail.com>","list_archive_url":null,"date":"2017-09-14T15:06:10","subject":"Re: [Qemu-devel] [PATCH v4 0/3] Generic PCIe host bridge INTx\n\tdetermination for INTx routing","submitter":{"id":5111,"url":"http://patchwork.ozlabs.org/api/people/5111/","name":"Peter Maydell","email":"peter.maydell@linaro.org"},"content":"On 13 September 2017 at 10:46, Eric Auger <eric.auger@redhat.com> wrote:\n> This series implements INTx to gsi routing for ARM VIRT/Gpex. This is\n> a respin of [1] which was lost in limbo.\n>\n> ARM virt uses GPEX PCIe bridge. This latter does not implement INTx\n> to GSI routing. PCIe/INTx assignment works but the consequence is\n> irqfd is not used along with INTx interrupts and VFIO INTx handlers\n> are executed on userspace leading to an important performance degradation.\n>\n> This issue is witnessed by the following messages;\n>\n> qemu-system-aarch64: -device vfio-pci,host=0006:90:00.0: PCI: Bug -\n> unimplemented PCI INTx routing (gpex-pcihost)\n> qemu-system-aarch64: PCI: Bug - unimplemented PCI INTx routing (gpex-pcihost)\n> qemu-system-aarch64: PCI: Bug - unimplemented PCI INTx routing (gpex-pcihost)\n>\n> So with this series, irqfd is set up for PCIe/INTx passthrough and we get\n> the optimal performance. Also we get rid of the above messages.\n>\n> This series can be found at:\n> https://github.com/eauger/qemu/tree/v2.10.0-gpex-v4\n>\n> References:\n> [1] Generic PCIe host bridge INTx determination for INTx routing\n>    https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg04975.html\n\nApplied to target-arm.next, thanks.\n\n-- PMM","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"Rn7sKuhL\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xtMWT19TLz9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 01:14:13 +1000 (AEST)","from localhost ([::1]:48352 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dsVqF-0006vN-9r\n\tfor incoming@patchwork.ozlabs.org; Thu, 14 Sep 2017 11:14:11 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:32779)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1dsVir-0007wD-PH\n\tfor qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:06:38 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <peter.maydell@linaro.org>) id 1dsViq-0003Zs-M2\n\tfor qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:06:33 -0400","from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:47102)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <peter.maydell@linaro.org>)\n\tid 1dsViq-0003Yh-FS\n\tfor qemu-devel@nongnu.org; Thu, 14 Sep 2017 11:06:32 -0400","by mail-wr0-x22a.google.com with SMTP id o42so6163212wrb.3\n\tfor <qemu-devel@nongnu.org>; Thu, 14 Sep 2017 08:06:32 -0700 (PDT)","by 10.223.139.215 with HTTP; Thu, 14 Sep 2017 08:06:10 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=MnBgq3dbvrhTaM3o+0EaLymk7Cx1qq06EqJiwTo02Lg=;\n\tb=Rn7sKuhLBsTTjIlN4V+uOQW9cf3LuFA1jtnVnqWhOBDAVeQTWQC5Pgk8s/4Vu1zpgb\n\tXGNUEnuupVkNOT1gZCGy50g1+zH/u04QqLiiQ9KefMvkl+A8bAKzA036BYApwa+scwoZ\n\trg/ssHjLMi+QG4Wbcv8q6peBffFAg+XUExByc=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=MnBgq3dbvrhTaM3o+0EaLymk7Cx1qq06EqJiwTo02Lg=;\n\tb=jkNBkvDd1VxA1TiKjtEAcMYnJ4EMSCe+pDbG1doxIwszYvQkP5q9nihNcYpnIgX59p\n\t04ViBetjZPNUaw+uSRo9mFx6TH+vv/82gShyYZUwL0Cr0/F+EjyU97XmPAmkxvUoeeLu\n\tvTx8ZjjQnx2oyBOCHeAeOD/F9NJfcN1J4J85+8a1rBcBYDRBhc1+Q9okDiCdfU+MYEKK\n\tKovF6XLoDblMHdPxmvZJcVA72nmVxVT6dgIN3y7pdHfD6Z4TJ6EYhi3oqXJutE05hZ80\n\tfMh7p8I7bt2YbThZPyLM+nh1NZVtXQMoWJf8EJEmC7T9AqWzp946tC0W7khn5cqppcjI\n\tcThg==","X-Gm-Message-State":"AHPjjUjn42sUBY0B6pKUZt7OMYQ4dtw078Hev1DyYFg9EWPX95Hfyrbh\n\tYOpF4O7MTYinyC2jWuLUqI8a4K9UZ2GchMDJxyeLUw==","X-Google-Smtp-Source":"ADKCNb4Bo2+vR3tI/SjuM23abup5yB/yZ/wxvLWwtzj+eszFYNNzjHvF+d8cd0oJmtxrNzU1R/dqrRmtBJIToLJ7jic=","X-Received":"by 10.223.142.82 with SMTP id n76mr21008889wrb.272.1505401591343;\n\tThu, 14 Sep 2017 08:06:31 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505296004-6798-1-git-send-email-eric.auger@redhat.com>","References":"<1505296004-6798-1-git-send-email-eric.auger@redhat.com>","From":"Peter Maydell <peter.maydell@linaro.org>","Date":"Thu, 14 Sep 2017 16:06:10 +0100","Message-ID":"<CAFEAcA-=VeQ=B0h0e9Qd2rnGLoeZ2jaXuARcPXMBppX8WHhnUQ@mail.gmail.com>","To":"Eric Auger <eric.auger@redhat.com>","Content-Type":"text/plain; charset=\"UTF-8\"","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c0c::22a","Subject":"Re: [Qemu-devel] [PATCH v4 0/3] Generic PCIe host bridge INTx\n\tdetermination for INTx routing","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Wei Huang <wei@redhat.com>, Andrew Jones <drjones@redhat.com>,\n\tAlexander Graf <agraf@suse.de>, QEMU Developers <qemu-devel@nongnu.org>, \n\tAlex Williamson <alex.williamson@redhat.com>,\n\tqemu-arm <qemu-arm@nongnu.org>,\n\tPranavkumar Sawargaonkar <pranavkumar@linaro.org>,\n\tChristoffer Dall <christoffer.dall@linaro.org>, eric.auger.pro@gmail.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]