From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [RFC v3 09/10] KVM: arm64: Add the EL1 physical timer access handler Date: Thu, 2 Feb 2017 11:31:03 +0100 Message-ID: <20170202103103.GH27852@cbox> References: <1485970990-13775-1-git-send-email-jintack@cs.columbia.edu> <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 9D3EC40A66 for ; Thu, 2 Feb 2017 05:30:46 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VSBKwOWXYTNt for ; Thu, 2 Feb 2017 05:30:45 -0500 (EST) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 4B9F840296 for ; Thu, 2 Feb 2017 05:30:45 -0500 (EST) Received: by mail-lf0-f41.google.com with SMTP id z134so6065777lff.3 for ; Thu, 02 Feb 2017 02:31:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Jintack Lim Cc: kvm@vger.kernel.org, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andre.przywara@arm.com, pbonzini@redhat.com, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Wed, Feb 01, 2017 at 12:43:09PM -0500, Jintack Lim wrote: > KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle > those traps. This results in terminating VMs. Instead, set a handler for > the EL1 phys timer access, and inject an undefined exception as an > intermediate step. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall From mboxrd@z Thu Jan 1 00:00:00 1970 From: cdall@linaro.org (Christoffer Dall) Date: Thu, 2 Feb 2017 11:31:03 +0100 Subject: [RFC v3 09/10] KVM: arm64: Add the EL1 physical timer access handler In-Reply-To: <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> References: <1485970990-13775-1-git-send-email-jintack@cs.columbia.edu> <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> Message-ID: <20170202103103.GH27852@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Feb 01, 2017 at 12:43:09PM -0500, Jintack Lim wrote: > KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle > those traps. This results in terminating VMs. Instead, set a handler for > the EL1 phys timer access, and inject an undefined exception as an > intermediate step. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbdBBKbS (ORCPT ); Thu, 2 Feb 2017 05:31:18 -0500 Received: from mail-lf0-f49.google.com ([209.85.215.49]:34098 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbdBBKbN (ORCPT ); Thu, 2 Feb 2017 05:31:13 -0500 Date: Thu, 2 Feb 2017 11:31:03 +0100 From: Christoffer Dall To: Jintack Lim Cc: 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: Re: [RFC v3 09/10] KVM: arm64: Add the EL1 physical timer access handler Message-ID: <20170202103103.GH27852@cbox> References: <1485970990-13775-1-git-send-email-jintack@cs.columbia.edu> <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485970990-13775-10-git-send-email-jintack@cs.columbia.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 01, 2017 at 12:43:09PM -0500, Jintack Lim wrote: > KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle > those traps. This results in terminating VMs. Instead, set a handler for > the EL1 phys timer access, and inject an undefined exception as an > intermediate step. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall