From: Ian Campbell Subject: Re: [PATCH v3 03/13] xen: introduce cpumask_from_bitmap Date: Thu, 25 Apr 2013 15:44:32 +0100 Message-ID: <1366901072.20256.557.camel@zakaz.uk.xensource.com> References: <1366900958.20256.556.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1366900958.20256.556.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Keir Fraser Cc: "Keir (Xen.org)" , Stefano Stabellini , "Tim (Xen.org)" , xen-devel , Julien Grall , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Thu, 2013-04-25 at 15:42 +0100, Ian Campbell wrote: > And it really wants to act on sets of real physical cpus (hence cpumask_t)? Actually, vcpus. Perhaps cpumask_t is the wrong datatype then? > It's emulating a write to a GICD (read: APIC ;-)) register which causes > an SGI (read: IPI) to be sent. The value you write includes an 8 bit > mask indicating the target processors. > > See "[PATCH v3 04/13] xen/arm: support for guest SGI" in this series. > > Ian