Message ID | 1482772326-29110-4-git-send-email-jintack@cs.columbia.edu (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 27E4862AAD for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Dec 2016 17:26:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CDC0204C1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Dec 2016 17:26:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E2BC26224; Mon, 26 Dec 2016 17:26:31 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AE26126223 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Dec 2016 17:26:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLZ1D-0003i1-Ic; Mon, 26 Dec 2016 17:25:03 +0000 Received: from outprodmail02.cc.columbia.edu ([128.59.72.51]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLZ0v-0003XD-TS for linux-arm-kernel@lists.infradead.org; Mon, 26 Dec 2016 17:24:49 +0000 Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by outprodmail02.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id uBQHM5XF032472 for <linux-arm-kernel@lists.infradead.org>; Mon, 26 Dec 2016 12:24:19 -0500 Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id B04E081 for <linux-arm-kernel@lists.infradead.org>; Mon, 26 Dec 2016 12:24:19 -0500 (EST) Received: from sendprodmail04.cc.columbia.edu (sendprodmail04.cc.columbia.edu [128.59.72.16]) by hazelnut (Postfix) with ESMTP id 8D51584 for <linux-arm-kernel@lists.infradead.org>; Mon, 26 Dec 2016 12:24:19 -0500 (EST) Received: from mail-qt0-f199.google.com (mail-qt0-f199.google.com [209.85.216.199]) by sendprodmail04.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id uBQHOJqN052958 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <linux-arm-kernel@lists.infradead.org>; Mon, 26 Dec 2016 12:24:19 -0500 Received: by mail-qt0-f199.google.com with SMTP id c47so65159970qtc.4 for <linux-arm-kernel@lists.infradead.org>; Mon, 26 Dec 2016 09:24:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XqHRgLYmvPI6Is39IME3S3Cz/8dILngSPVyuCyHp8w4=; b=CjMu2ta0G/urz/BU+1118kBn+7v+sEydZwdA0tsvCTpyBwr4llBN3zrYtgouYveVzP WH5dK7NL/WPQsaJ9+kLy7i5bAPZdPxJxp5haz4YET4vE+z78/zujhm2vDLnat6cIt90v o9Yr0UbRynetnrLf7Dn5OQEzO/pT6tDGFxRS+q5Q5aI7Z9lAK6KKFjtjEV5KjdCT0thb qQpAdYaz6WZKyFduWjgUsWlgweuX99nIK/tHd3ncln7JdrPqvm9wKTHCnHR4QUZTz5Xq 319p7emKtIBOIsBW1rvnDLSH2E3TeBFTh8BAtpbYczzTCrobhI6i/HyZTBLjhIfdOIQY VgcA== X-Gm-Message-State: AIkVDXKELt9DET4bzZ4DAkE7OKjONgi7NACbagj9qwmBshHatYudUEBsEc3RBlOq90EITTo+DXwVLs9DMoOctv7ufVmn3tK2UtIivPsDfneBZng2np7RlAXanfHpbkbE07ug4fOIvnQ64M90l5bKqpj/H7Fj3KY1NDuguQ== X-Received: by 10.55.122.134 with SMTP id v128mr25914640qkc.111.1482773059238; Mon, 26 Dec 2016 09:24:19 -0800 (PST) X-Received: by 10.55.122.134 with SMTP id v128mr25914626qkc.111.1482773059098; Mon, 26 Dec 2016 09:24:19 -0800 (PST) Received: from jintack.cs.columbia.edu ([2001:18d8:ffff:16:21a:4aff:feaa:f900]) by smtp.gmail.com with ESMTPSA id n79sm26731463qkn.15.2016.12.26.09.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Dec 2016 09:24:18 -0800 (PST) From: Jintack Lim <jintack@cs.columbia.edu> To: kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com Subject: [RFC 3/8] KVM: arm/arm64: Add the EL1 physical timer context Date: Mon, 26 Dec 2016 12:12:01 -0500 Message-Id: <1482772326-29110-4-git-send-email-jintack@cs.columbia.edu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1482772326-29110-1-git-send-email-jintack@cs.columbia.edu> References: <1482772326-29110-1-git-send-email-jintack@cs.columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.78 on 128.59.72.16 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161226_092446_381180_BD756D44 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <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>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kvm@vger.kernel.org, rkrcmar@redhat.com, andre.przywara@arm.com, will.deacon@arm.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, pbonzini@redhat.com, Jintack Lim <jintack@cs.columbia.edu>, linux-arm-kernel@lists.infradead.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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index cf84145..d21652a 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -45,6 +45,7 @@ struct arch_timer_context { struct arch_timer_cpu { struct arch_timer_context vtimer; + struct arch_timer_context ptimer; /* Background timer used when the guest is not running */ struct hrtimer timer; @@ -77,4 +78,5 @@ bool kvm_timer_should_fire(struct kvm_vcpu *vcpu, void kvm_timer_vcpu_put(struct kvm_vcpu *vcpu); #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.vtimer) +#define vcpu_ptimer(v) (&(v)->arch.timer_cpu.ptimer) #endif
Add the EL1 physical timer context. Signed-off-by: Jintack Lim <jintack@cs.columbia.edu> --- include/kvm/arm_arch_timer.h | 2 ++ 1 file changed, 2 insertions(+)