Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933411AbbG1KDV (ORCPT ); Tue, 28 Jul 2015 06:03:21 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:44835 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933395AbbG1KDR (ORCPT ); Tue, 28 Jul 2015 06:03:17 -0400 X-IronPort-AV: E=Sophos;i="5.15,562,1432598400"; d="scan'208";a="288290831" Message-ID: <55B75354.8050003@citrix.com> Date: Tue, 28 Jul 2015 11:03:00 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Julien Grall , CC: , , , Catalin Marinas , Will Deacon , , Ingo Molnar , David Vrabel , "H. Peter Anvin" , Boris Ostrovsky , Thomas Gleixner , Subject: Re: [Xen-devel] [PATCH v3] xen/events: Support event channel rebind on ARM References: <1438074642-20809-1-git-send-email-julien.grall@citrix.com> In-Reply-To: <1438074642-20809-1-git-send-email-julien.grall@citrix.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 27 On 28/07/15 10:10, Julien Grall wrote: > Currently, the event channel rebind code is gated with the presence of > the vector callback. > > The virtual interrupt controller on ARM has the concept of per-CPU > interrupt (PPI) which allow us to support per-VCPU event channel. > Therefore there is no need of vector callback for ARM. > > Xen is already using a free PPI to notify the guest VCPU of an event. > Furthermore, the xen code initialization in Linux (see > arch/arm/xen/enlighten.c) is requesting correctly a per-CPU IRQ. > > Introduce new helper xen_support_evtchn_rebind to allow architecture > decide whether rebind an event is support or not. It will always return > 1 on ARM and keep the same behavior on x86. > > This is also allow us to drop the usage of xen_have_vector_callback > entirely in the ARM code. Applied to for-linus-4.3, thanks. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/