From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe004.messaging.microsoft.com [216.32.180.187]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id CE1102C0097 for ; Thu, 13 Sep 2012 07:38:17 +1000 (EST) Message-ID: <505100BD.6020304@freescale.com> Date: Wed, 12 Sep 2012 16:38:05 -0500 From: Scott Wood MIME-Version: 1.0 To: Alexander Graf Subject: Re: [PATCH] KVM: PPC: bookehv: Allow duplicate calls of DO_KVM macro References: <1347455894-30044-1-git-send-email-mihai.caraman@freescale.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Cc: Mihai Caraman , "" , "" , "" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 09/12/2012 01:56 PM, Alexander Graf wrote: > > > On 12.09.2012, at 15:18, Mihai Caraman wrote: > >> The current form of DO_KVM macro restricts its use to one call per input >> parameter set. This is caused by kvmppc_resume_\intno\()_\srr1 symbol >> definition. >> Duplicate calls of DO_KVM are required by distinct implementations of >> exeption handlers which are delegated at runtime. > > Not sure I understand what you're trying to achieve here. Please elaborate ;) On 64-bit book3e we compile multiple versions of the TLB miss handlers, and choose from them at runtime. Without this patch, we get duplicate label errors if more than one variant of the same exception uses DO_KVM. -Scott