From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Thu, 03 Jul 2014 12:21:52 +0000 Subject: Re: [PATCH 2/6 v2] KVM: PPC: Book3E: Refactor SPE/FP exit handling Message-Id: <53B54AE0.5070104@suse.de> List-Id: References: <1404142497-6430-1-git-send-email-mihai.caraman@freescale.com> <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> In-Reply-To: <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Mihai Caraman , kvm-ppc@vger.kernel.org Cc: kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org On 30.06.14 17:34, Mihai Caraman wrote: > SPE/FP/AltiVec interrupts share the same numbers. Refactor SPE/FP exit handling > to accommodate AltiVec later on the same flow. Add kvmppc_supports_spe() to detect > suport for the unit at runtime since it can be configured in the kernel but not > featured on hardware and vice versa. > > Signed-off-by: Mihai Caraman Why not keep them 100% separate? Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 37A8C1A000B for ; Thu, 3 Jul 2014 22:21:56 +1000 (EST) Message-ID: <53B54AE0.5070104@suse.de> Date: Thu, 03 Jul 2014 14:21:52 +0200 From: Alexander Graf MIME-Version: 1.0 To: Mihai Caraman , kvm-ppc@vger.kernel.org Subject: Re: [PATCH 2/6 v2] KVM: PPC: Book3E: Refactor SPE/FP exit handling References: <1404142497-6430-1-git-send-email-mihai.caraman@freescale.com> <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> In-Reply-To: <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 30.06.14 17:34, Mihai Caraman wrote: > SPE/FP/AltiVec interrupts share the same numbers. Refactor SPE/FP exit handling > to accommodate AltiVec later on the same flow. Add kvmppc_supports_spe() to detect > suport for the unit at runtime since it can be configured in the kernel but not > featured on hardware and vice versa. > > Signed-off-by: Mihai Caraman Why not keep them 100% separate? Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH 2/6 v2] KVM: PPC: Book3E: Refactor SPE/FP exit handling Date: Thu, 03 Jul 2014 14:21:52 +0200 Message-ID: <53B54AE0.5070104@suse.de> References: <1404142497-6430-1-git-send-email-mihai.caraman@freescale.com> <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org To: Mihai Caraman , kvm-ppc@vger.kernel.org Return-path: In-Reply-To: <1404142497-6430-3-git-send-email-mihai.caraman@freescale.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 30.06.14 17:34, Mihai Caraman wrote: > SPE/FP/AltiVec interrupts share the same numbers. Refactor SPE/FP exit handling > to accommodate AltiVec later on the same flow. Add kvmppc_supports_spe() to detect > suport for the unit at runtime since it can be configured in the kernel but not > featured on hardware and vice versa. > > Signed-off-by: Mihai Caraman Why not keep them 100% separate? Alex