From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH for-4.6 4/4] xen/arm: Find automatically a PPI for the DOM0 event channel interrupt Date: Wed, 14 Jan 2015 12:24:30 +0000 Message-ID: <54B65FFE.9010201@linaro.org> References: <1418395392-30460-1-git-send-email-julien.grall@linaro.org> <1418395392-30460-5-git-send-email-julien.grall@linaro.org> <548F07B5.5020601@linaro.org> <1421164719.19103.134.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YBN0O-0007dR-ND for xen-devel@lists.xenproject.org; Wed, 14 Jan 2015 12:25:00 +0000 Received: by mail-we0-f181.google.com with SMTP id q58so8456409wes.12 for ; Wed, 14 Jan 2015 04:24:59 -0800 (PST) In-Reply-To: <1421164719.19103.134.camel@citrix.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: Ian Campbell Cc: Stefano Stabellini , tim@xen.org, stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org, parth.dixit@linaro.org, christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org On 13/01/15 15:58, Ian Campbell wrote: > They don't actually have to be, but exposing vgic_allocate_virq to the > tools would be overkill, so hardcoding is the pragmatic choice. > > We could e.g. randomise the PPI in the tools, to stop people making > assumptions. (If we were feeling mean of course...) It would be nice to have a such think. If not randomize at each boot, maybe per Xen version. Though it would break mini-os on ARM as the IRQ is hardcoded in the OS. Regards, -- Julien Grall