From: Ian Campbell Subject: Re: [PATCH v3 13/16] xen/arm: Add support for GIC v3 Date: Wed, 7 May 2014 17:30:12 +0100 Message-ID: <1399480212.13430.196.camel@kazak.uk.xensource.com> References: <1397560675-29861-1-git-send-email-vijay.kilari@gmail.com> <1397560675-29861-14-git-send-email-vijay.kilari@gmail.com> <1398272466.18537.222.camel@kazak.uk.xensource.com> <1399366529.3014.24.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Vijay Kilari Cc: Stefano Stabellini , Prasun Kapoor , Vijaya Kumar K , Julien Grall , xen-devel@lists.xen.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2014-05-06 at 19:41 +0530, Vijay Kilari wrote: > On Tue, May 6, 2014 at 2:25 PM, Ian Campbell wrote: > > On Mon, 2014-05-05 at 17:38 +0530, Vijay Kilari wrote: > >> > Shouldn't we panic here? > >> > > >> > And if we are going to panic, we might as well wait forever? (Perhaps > >> > with a warning after some number of iterations. > >> > > >> Already after 1sec there is warning. I think warning is enough here > >> this is not such a critical scenario > > > > RWP timeout isn't critical? How does it get recovered? > > RWP is polled only to ensure that write effects are globally visibie. > Spec does not define any recovery mechanism. In kernel driver > this is prr_ratelimited. My point was that the global visibility seems pretty important, especially given the lack of a recovery mechanism. > May be we can increase the timeout and panic. How about we print/warn after some timeout bit then continue to wait, on the off chance that things recover? I suppose panicing would cause a reboot which would be nice in so far as it night unwedge things. > >> > > >> > The dsb() macro needs a scope parameter for a while now. Which version > >> > of Xen is all this based on? > >> > >> Based on Stefano's git where your scope parameter patch does not exist > > > > Stefano's git has dozens of branches in it. This series will obviously > > need to be based on mainline before it can be applied, I suppose that > > means you are waiting for some series of his to be applied? > > This patch set is based on no_maintenance_interrupts_v6 branch. I > would be glade > if you merge this series. Also Julien's patch set also impacts this series. > But for now I just rebasing only on Stefano's patch set > > > > > Ian. > >