{"id":814413,"url":"http://patchwork.ozlabs.org/api/covers/814413/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505513994-77939-1-git-send-email-christoffer.dall@linaro.org/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505513994-77939-1-git-send-email-christoffer.dall@linaro.org>","list_archive_url":null,"date":"2017-09-15T22:19:47","name":"[v4,0/7] Handle forwarded level-triggered interrupts","submitter":{"id":26352,"url":"http://patchwork.ozlabs.org/api/people/26352/?format=json","name":"Christoffer Dall","email":"christoffer.dall@linaro.org"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505513994-77939-1-git-send-email-christoffer.dall@linaro.org/mbox/","series":[{"id":3393,"url":"http://patchwork.ozlabs.org/api/series/3393/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=3393","date":"2017-09-15T22:19:47","name":"Handle forwarded level-triggered interrupts","version":4,"mbox":"http://patchwork.ozlabs.org/series/3393/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/814413/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"sRUb3g1K\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"ShMW8zgJ\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xv8wy37khz9s81\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 08:20:34 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dsyyM-0003F3-B5; Fri, 15 Sep 2017 22:20:30 +0000","from mail-vk0-x22c.google.com ([2607:f8b0:400c:c05::22c])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dsyyH-00021G-Lq for linux-arm-kernel@lists.infradead.org;\n\tFri, 15 Sep 2017 22:20:27 +0000","by mail-vk0-x22c.google.com with SMTP id w23so1634989vkw.2\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tFri, 15 Sep 2017 15:20:03 -0700 (PDT)","from localhost.localdomain ([12.145.98.253])\n\tby smtp.gmail.com with ESMTPSA id\n\tq64sm399435uaq.13.2017.09.15.15.19.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 15 Sep 2017 15:19:58 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=X2MGKvdcE/2WLDbCh1MOQN4XSEiCpbakegSbRsH+Ync=;\n\tb=sRU\n\tb3g1KY2j1rrlYwvj8EJidaFwyBMZWqJDjhi5c0NGpmrm05LG4IYQsCGHelAbHEvBzb17EE5IjJRc0\n\tK19r030lMZ2T4993X2aaEnyjqfj0/w7umcpttLBj1CZyJflci8pDNTXupegdA6ZUVk9cS8641LRzW\n\tulajaUUPwxJ+1f3KGU53k2Mr5vakvCUlfyOIpJpfSmLpQFNcz8Fars1GNARuc5eF6f+ptQj9Q8G11\n\twkSDDkKfdJfSOmINgnOSddleWb1IFlPrMeOnE/iqP+wMASbUJpLCFXZp//bHBZTo0k3LjGBdhMHD+\n\tBnrqSXqH3/xkln3rHzhxE+lFfFlxniw==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=dGnALVo8r38lOYFPt22MeQvLjiwAx8Zs0XAfcOp8OBY=;\n\tb=ShMW8zgJs8n5phtS6lioky3kkDIed4tMtKLLOFFRCSQh1r87eQkIGoBsDrvvc0VKMs\n\tG0aMDkUeE1VS9/ZCqebdBa+7BGT/syuDwDWLaYp1F4e7ROXMdzvsqr43Fuq9/UIjAK/D\n\tsKssSfbAGmOXWJJryLzFri1TwnjBEgjbOaJZU="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=dGnALVo8r38lOYFPt22MeQvLjiwAx8Zs0XAfcOp8OBY=;\n\tb=Xnbio74KsqStQc1qzU8QyNjfVdC5np0AKV6FUsTn80xupySp1jllCz9AH77dqegZDA\n\td8bfl1rqLkJCTmf8QyRFUPjKPObD3V4ewjzqOLlRSolgbXmSvPe02Bs4KKORGqio/DeN\n\t31dZdKd5XXWiej2iznLkDw8P04+rOjiOZ4SOMhfIrd5OqCWWY/9aWuY99A1r0eljUfW3\n\tiweeE/wIatB2KE5YB+q/dcy4fUHSiqsqc/6Vu59T5XdjGM6oXICDcNqOrPS+ntYwe29S\n\tXNa71gHXlBJR0wsaGKfjJYHCWbyW0Tly2t0yMa+EbOruwti1MT02/s6V5srAIoWFVkp/\n\tDriQ==","X-Gm-Message-State":"AHPjjUhMmlujtnQ6qN/H2ORgcmWotHlmVDnxSMjFZz2tz10g9UfR9XmM\n\tvB5yfTqHmMSSMYnP","X-Google-Smtp-Source":"AOwi7QApgkbL/FzCuznhHKt0MTvUHuQzBc46+hYAPkDjbVk/n5ZfngR/KzsU2C7CFb34ujg9PdWxjQ==","X-Received":"by 10.31.95.210 with SMTP id t201mr19174600vkb.168.1505514002319;\n\tFri, 15 Sep 2017 15:20:02 -0700 (PDT)","From":"Christoffer Dall <christoffer.dall@linaro.org>","To":"kvmarm@lists.cs.columbia.edu,\n\tlinux-arm-kernel@lists.infradead.org","Subject":"[PATCH v4 0/7] Handle forwarded level-triggered interrupts","Date":"Fri, 15 Sep 2017 15:19:47 -0700","Message-Id":"<1505513994-77939-1-git-send-email-christoffer.dall@linaro.org>","X-Mailer":"git-send-email 2.7.4","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170915_152025_892330_247BA2DF ","X-CRM114-Status":"GOOD (  11.77  )","X-Spam-Score":"-2.7 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.7 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow\n\ttrust [2607:f8b0:400c:c05:0:0:0:22c listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"Marc Zyngier <marc.zyngier@arm.com>, Eric Auger <eric.auger@redhat.com>, \n\tkvm@vger.kernel.org, Christoffer Dall <cdall@linaro.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"From: Christoffer Dall <cdall@linaro.org>\n\nThis series illustrates an alternative approach to Eric Auger's direct EOI\nsetup patches [1] in terms of the KVM VGIC support.\n\nThe idea is to maintain existing semantics for the VGIC for mapped\nlevel-triggered IRQs and also support the timer using mapped IRQs with\nthe same VGIC support as VFIO interrupts.\n\nBased on v4.13\n\nChanges since v3:\n - Added a number of patches and moved patches around a bit.\n - Check for uaccesses in the mmio handler functions\n - Fixed bugs in the mmio handler functions\n\nChanges since v2:\n - Removed patch 5 from v2 and integrating the changes in what's now\n   patch 5 to make it easier to reuse code when adding VFIO integration.\n - Changed the virtual distributor MMIO handling to use the\n   pending_latch and more closely match the semantics of SPENDR and\n   CPENDR for both level and edge mapped interrupts.\n\nChanges since v1:\n - Added necessary changes to the timer (Patch 1)\n - Added handling of guest MMIO accesses to the virtual distributor\n   (Patch 4)\n - Addressed Marc's comments from the initial RFC (mostly renames)\n\nThanks,\n-Christoffer\n\n\nChristoffer Dall (6):\n  KVM: arm/arm64: Remove redundant preemptible checks\n  KVM: arm/arm64: Factor out functionality to get vgic mmio\n    requester_vcpu\n  KVM: arm/arm64: Don't cache the timer IRQ level\n  KVM: arm/arm64: vgic: Support level-triggered mapped interrupts\n  KVM: arm/arm64: Provide a vgic interrupt line level sample function\n  KVM: arm/arm64: Support VGIC dist pend/active changes for mapped IRQs\n\nEric Auger (1):\n  KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq\n\n include/kvm/arm_arch_timer.h  |   2 +\n include/kvm/arm_vgic.h        |  19 +++++--\n virt/kvm/arm/arch_timer.c     |  52 ++++++++----------\n virt/kvm/arm/arm.c            |   2 -\n virt/kvm/arm/vgic/vgic-mmio.c | 122 +++++++++++++++++++++++++++++++++---------\n virt/kvm/arm/vgic/vgic-v2.c   |  29 ++++++++++\n virt/kvm/arm/vgic/vgic-v3.c   |  29 ++++++++++\n virt/kvm/arm/vgic/vgic.c      |  96 +++++++++++++++++++++++++++------\n virt/kvm/arm/vgic/vgic.h      |   8 +++\n 9 files changed, 286 insertions(+), 73 deletions(-)"}