From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell 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:30:13 +0000 Message-ID: <1421238613.19103.252.camel@citrix.com> 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> <54B65FFE.9010201@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YBN5W-0008K2-Kh for xen-devel@lists.xenproject.org; Wed, 14 Jan 2015 12:30:18 +0000 In-Reply-To: <54B65FFE.9010201@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall 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 Wed, 2015-01-14 at 12:24 +0000, Julien Grall wrote: > 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. Like I say, that would be quite mean of us. (I was 99% joking about this FWIW, perhaps I needed to ring that bell a bit more though). > Though it would break mini-os on ARM as the IRQ is hardcoded in the OS. AIUI there is an eventual desire to have an ARM mini-os binary be portable across Xen versions, which will require dtb parsing for this stuff (actually, I thought the latest patches had added a bunch of such stuff, but maybe not this specific aspect). Ian.