From patchwork Wed Aug 8 13:14:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 10560007 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA08713AC for ; Wed, 8 Aug 2018 13:15:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A74DC29F2C for ; Wed, 8 Aug 2018 13:15:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B8002AB6F; Wed, 8 Aug 2018 13:15:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FB5229F2C for ; Wed, 8 Aug 2018 13:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbeHHPeu (ORCPT ); Wed, 8 Aug 2018 11:34:50 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:38478 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbeHHPeu (ORCPT ); Wed, 8 Aug 2018 11:34:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 285A37A9; Wed, 8 Aug 2018 06:15:12 -0700 (PDT) Received: from approximate.Emea.Arm.com (approximate.Emea.Arm.com [10.4.13.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3CC273F5B3; Wed, 8 Aug 2018 06:15:11 -0700 (PDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: Christoffer Dall Subject: [PATCH 0/4] KVM: arm/arm64: vgic-v3: Group0 SGI support Date: Wed, 8 Aug 2018 14:14:57 +0100 Message-Id: <20180808131501.584-1-marc.zyngier@arm.com> X-Mailer: git-send-email 2.18.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Although we now have Group0 support, we still miss support for Group0 SGIs (which amounts to handling ICC_SGI0R_EL1 and ICC_ASGI1R_EL1 traps), and this small series adds such support. I appreciate this is *very* late for 4.19, I'd like to take it in as they complement Christoffer's Group0 support, and It'd be annoying to have something incomplete in 4.19. Please shout if you spot something that doesn't look quite right. Thanks, M. Marc Zyngier (4): KVM: arm64: Remove non-existent AArch32 ICC_SGI1R encoding KVM: arm/arm64: vgic-v3: Add core support for Group0 SGIs KVM: arm64: vgic-v3: Add support for ICC_SGI0R_EL1 and ICC_ASGI1R_EL1 accesses KVM: arm: vgic-v3: Add support for ICC_SGI0R and ICC_ASGI1R accesses arch/arm/kvm/coproc.c | 25 ++++++++++++++++++- arch/arm64/include/asm/sysreg.h | 2 ++ arch/arm64/kvm/sys_regs.c | 43 +++++++++++++++++++++++++++++--- include/kvm/arm_vgic.h | 2 +- virt/kvm/arm/vgic/vgic-mmio-v3.c | 16 +++++++++--- 5 files changed, 79 insertions(+), 9 deletions(-) Reviewed-by: Eric Auger