From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Fedin Subject: RE: [PATCH v2 0/3] KVM: arm/arm64: Allow to use KVM without in-kernel irqchip Date: Fri, 24 Jul 2015 18:27:37 +0300 Message-ID: <008f01d0c625$45d91a90$d18b4fb0$@samsung.com> References: <55A93488.9060408@arm.com> <00df01d0c22b$fcaef0d0$f60cd270$@samsung.com> <55ACAC73.9090500@arm.com> <03d901d0c44e$beadaa90$3c08ffb0$@samsung.com> <55B11AEC.4050804@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 'Christoffer Dall' , 'Eric Auger' To: 'Marc Zyngier' , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Return-path: Received: from mailout2.w1.samsung.com ([210.118.77.12]:48096 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754344AbbGXP1k (ORCPT ); Fri, 24 Jul 2015 11:27:40 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NS000J8Q0A2SS50@mailout2.w1.samsung.com> for kvm@vger.kernel.org; Fri, 24 Jul 2015 16:27:38 +0100 (BST) In-reply-to: <55B11AEC.4050804@arm.com> Content-language: ru Sender: kvm-owner@vger.kernel.org List-ID: > > Ok, let's leave this API alone then for now... > > Will then be a concensus if i tweak the thing a little bit and we just enable KVM without both vGIC > > and vTimer ? It will be an emulator's problem how to handle them then. > > Well, let's see the patches first, and how invasive they are. Please, i've just posted an RFC and cc'ed you. I would say the implementation is very small. However, perhaps, it's not going to work with active state switching patch, because as far as i understand the whole thing depends on manipulations with ARCH_TIMER_CTRL_IT_MASK. Without it i'm going to get multiple interrupts instead of only one. It would be possible to signal the interrupt as real level-sensitive (since we will be tracking active state), but... it's not possible to know when to deactivate the line, hardware doesn't report that. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia