Message ID | 1486135208-13415-5-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 C57FA602B7 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Feb 2017 15:21:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C20DE284E9 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Feb 2017 15:21:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6FC5284ED; Fri, 3 Feb 2017 15:21:22 +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=-1.4 required=2.0 tests=BAYES_00, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B19F284E9 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Feb 2017 15:21:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZffo-0000wU-Kq; Fri, 03 Feb 2017 15:21:16 +0000 Received: from outprodmail01.cc.columbia.edu ([128.59.72.39]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZff9-0008Ns-Qc for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2017 15:20:40 +0000 Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by outprodmail01.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v13FI7wG051039 for <linux-arm-kernel@lists.infradead.org>; Fri, 3 Feb 2017 10:20:14 -0500 Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id D0ED280 for <linux-arm-kernel@lists.infradead.org>; Fri, 3 Feb 2017 10:20:14 -0500 (EST) Received: from sendprodmail01.cc.columbia.edu (sendprodmail01.cc.columbia.edu [128.59.72.13]) by hazelnut (Postfix) with ESMTP id B82D185 for <linux-arm-kernel@lists.infradead.org>; Fri, 3 Feb 2017 10:20:14 -0500 (EST) Received: from mail-qt0-f200.google.com (mail-qt0-f200.google.com [209.85.216.200]) by sendprodmail01.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v13FKEfF035243 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <linux-arm-kernel@lists.infradead.org>; Fri, 3 Feb 2017 10:20:14 -0500 Received: by mail-qt0-f200.google.com with SMTP id g49so31284862qta.0 for <linux-arm-kernel@lists.infradead.org>; Fri, 03 Feb 2017 07:20:14 -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=YtMTk1/TlLD/7JNhtF9jONULJfSaIMmgOua6Mz378b0=; b=Bdy50QsW6jbXYG29w26IbnvRVhSs9jbaNvgr13OmLB5c5PBfEj2HVQHqiJwOkxpXuG CRNtBnHmxAA05MZK97TQncKpP1/4fNOCpRGl4huJDVoQTG5N7szM4lvMEtyzyQS+mf/t bT7mlhgRNB38/4QadLq2r2Wii+2IRTymPeiKeSXLWq2pC5Yf1nLBYI5jyjRRq1riA6a7 VsO2G1zxG6S5BrpD7H+1ZTCJ9AaOqxx8QKNLhdLokw1c37yGzEBUVgEykP5b19USnxGc v4jA4Cx87KF0uUnn7RiWPc+UD48r1hDkCp40d2wmBFqCmeBmZ9OiKrie7cwakq9SKilV 6EwA== X-Gm-Message-State: AMke39kSRKphIj4HBkccCoe4AkWbMD5FOwml88A4I4g01hyNh8E+zzOjgs/kRxxTQeRuGvDVno94k9HxtBKg48kX17tu/Wa2a3GO0HLswKeEVhWIm41kCurqlRzOMGvJeCtWC3Bg5GLsDm25LGGF2slLShDh0LbeFZDXPA== X-Received: by 10.55.192.137 with SMTP id v9mr13523281qkv.305.1486135214399; Fri, 03 Feb 2017 07:20:14 -0800 (PST) X-Received: by 10.55.192.137 with SMTP id v9mr13523249qkv.305.1486135214176; Fri, 03 Feb 2017 07:20:14 -0800 (PST) Received: from jintack.cs.columbia.edu ([2001:18d8:ffff:16:21a:4aff:feaa:f900]) by smtp.gmail.com with ESMTPSA id t35sm24462204qtc.40.2017.02.03.07.20.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Feb 2017 07:20:13 -0800 (PST) From: Jintack Lim <jintack@cs.columbia.edu> To: pbonzini@redhat.com, rkrcmar@redhat.com, christoffer.dall@linaro.org, marc.zyngier@arm.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, andre.przywara@arm.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Subject: [RFC v4 04/10] KVM: arm/arm64: Add the EL1 physical timer context Date: Fri, 3 Feb 2017 10:20:02 -0500 Message-Id: <1486135208-13415-5-git-send-email-jintack@cs.columbia.edu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486135208-13415-1-git-send-email-jintack@cs.columbia.edu> References: <1486135208-13415-1-git-send-email-jintack@cs.columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.78 on 128.59.72.13 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170203_072036_150892_CE7B2764 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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: jintack@cs.columbia.edu 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 f46fa3b..6445a3d 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -40,6 +40,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; @@ -75,4 +76,5 @@ int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu, void kvm_timer_init_vhe(void); #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.vtimer) +#define vcpu_ptimer(v) (&(v)->arch.timer_cpu.ptimer) #endif