Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56288C2BA12 for ; Fri, 3 Apr 2020 17:47:21 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 289AE206F6 for ; Fri, 3 Apr 2020 17:47:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xen.org header.i=@xen.org header.b="bYHiK3b9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 289AE206F6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jKQPF-0007Mu-9w; Fri, 03 Apr 2020 17:47:01 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jKQPE-0007Mp-4U for xen-devel@lists.xenproject.org; Fri, 03 Apr 2020 17:47:00 +0000 X-Inumbo-ID: 1e1d06e8-75d3-11ea-9e09-bc764e2007e4 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1e1d06e8-75d3-11ea-9e09-bc764e2007e4; Fri, 03 Apr 2020 17:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4hrk1Am+vnhavcmhPaeER0O9iyM5b3V+bCbNo9fBdHA=; b=bYHiK3b94Bzyb5R3TOVm7tHB0Y Li4KS5F6aLbFYAeCvnrWRlXJbf4S2PYvEwY9oHS2NrOxjLByti7rfgitS8a9CfMO6lxmia2rjj0mE UfUCHwNl/ByMNC7/T7K+LdhQpLHDDZZ6/HlybqRutJRYZDGR0uNwUg1fhIEXr1FSHabU=; Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jKQP7-0004sn-SI; Fri, 03 Apr 2020 17:46:53 +0000 Received: from 54-240-197-238.amazon.com ([54.240.197.238] helo=a483e7b01a66.ant.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jKQP7-00018s-Ks; Fri, 03 Apr 2020 17:46:53 +0000 Subject: Re: [PATCH v2] xen/arm: implement GICD_I[S/C]ACTIVER reads From: Julien Grall To: Stefano Stabellini , Marc Zyngier References: <20200327023451.20271-1-sstabellini@kernel.org> <38f56c3e-8f7d-7aee-8216-73398f4543bb@xen.org> <5deb3992-3cf5-2b00-8cef-af75ed83a1fd@xen.org> <2bb21703-8078-cd92-0463-bea049413f32@xen.org> <85acdd9fa8248ddb93f2c5792bf5bd41@kernel.org> <55bcb88b-8816-542e-e113-c7cab6507bf4@xen.org> Message-ID: Date: Fri, 3 Apr 2020 18:46:51 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <55bcb88b-8816-542e-e113-c7cab6507bf4@xen.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Peng Fan , George.Dunlap@citrix.com, Wei Xu , Bertrand.Marquis@arm.com, xen-devel@lists.xenproject.org, Stefano Stabellini Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 03/04/2020 17:23, Julien Grall wrote: > > > On 03/04/2020 17:18, Stefano Stabellini wrote: >> On Fri, 3 Apr 2020, Marc Zyngier wrote: >  > Doing what my patch here does might be OK until one of these guests >> start to rely on ISACTIVER to be accurate. So far I have not seen any >> examples of it, but I agree it could happen, hence, it is risky. > > I am only going to answer to this. This is not about *accuracy* but > deadlock in your guest. I actually wrote a long e-mail on this thread > explaining the possible deadlock. > > It is not because you can't reproduce the deadlock that the dealock is > not there. When are you going to stop dimissing real bug in your > implementation? So everyone are on the same page. Here the link to the e-mail I wrote about the potential problem: https://lists.xenproject.org/archives/html/xen-devel/2020-03/msg02039.html Cheers, -- Julien Grall