Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1936555ybb; Sun, 29 Mar 2020 17:41:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv4Z9C7cu2aH+jwVzvc3Qz4i1C75DIhjpjdFrHbQqOLbBBMAbvT0vWeysd08NUQyBOMV+7V X-Received: by 2002:a9d:2004:: with SMTP id n4mr7683532ota.74.1585528895244; Sun, 29 Mar 2020 17:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585528895; cv=none; d=google.com; s=arc-20160816; b=Wt1u6izs1kuOSZJDZDung2SHIbhfmWDUsJ6ot0nVrEDmrwJ/WQw4/buEYGyLBSXL9B GjE0r9P0H6SEBvOxxnM1J4HSsdxd/G76u+SUYeRKb7dSr5jzbj3RlrVoqelg4qskRyvh xx/jMReG114UVI2/8gCZmbb4YujFC4StvgSe5ufvJQrJJ3oRAGF5vbeEHLRPMmguH5er z6K2UlD+bPcKmZ7txKdoGjT07b81jrkxClf96uIKSa4ztJ7ESgRknuOx6wzHVYk94Oy+ qaL9AKMXV42sDZ+1FAcIGPCp6ZYWuwHoMFrMZAVkY+zQRZ9jGP8t8T4hu3I9qoC8apKc ZPQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=PqWxS5urQoQOqNLVhqRurJ7XTjoKibACilBTAXMrG6c=; b=X2JxPT+OJKOhpOjxgOY/kIzZYtWhIjXFLNjON1Sgn4zVU8wCSJWODZ9J4Rsdigd2T3 WtGyh2MA2Js6EkckGrCbIhwBB78Cz8UQlvFdsgtfVE3awU+u9rmmNC5zlrr9G28D4BE1 CBmceoWmtln/fBhEcFLap8o1q22EniaGne2W9sxWt4QMCvZK58vlcFvh6MKJI9Il2ID6 jeYuyfL9W/A/ZlMwrS9E3w5erDyAf1FWt+Xf/TBa5lmnVcE1rPFbGb4pPAQpQg0xus+1 wBljqCzQepaHmknCA+uV/Ng9gVId3I8ObWdHebTBxyD1Q0TpGgI1Ly0Dgl++q4rcnElQ vAxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si5954611oth.117.2020.03.29.17.41.23; Sun, 29 Mar 2020 17:41:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727880AbgC3AkI (ORCPT + 99 others); Sun, 29 Mar 2020 20:40:08 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:57756 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727612AbgC3AkI (ORCPT ); Sun, 29 Mar 2020 20:40:08 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5CA7052D1E77E03CE8F7; Mon, 30 Mar 2020 08:40:05 +0800 (CST) Received: from [127.0.0.1] (10.173.221.228) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Mon, 30 Mar 2020 08:39:57 +0800 Subject: Re: [PATCH] irq/gic-its: gicv4: set VPENDING table as inner-shareable To: Marc Zyngier CC: , , "Thomas Gleixner" , Jason Cooper References: <20191130073849.38378-1-guoheyi@huawei.com> <20191201180434.1dba3116@why> <3de7a72f-1a15-c908-57e6-35eff00b1ca6@huawei.com> <40704a28b562167b58992c036bff4f81@kernel.org> From: Heyi Guo Message-ID: <517af92f-4e15-6b88-fe2e-e76e2db7234e@huawei.com> Date: Mon, 30 Mar 2020 08:39:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <40704a28b562167b58992c036bff4f81@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.173.221.228] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/3/21 17:54, Marc Zyngier wrote: > Hi Heyi, > > On 2020-02-24 02:22, Heyi Guo wrote: >> Hi Marc, >> >> On 2019/12/2 2:04, Marc Zyngier wrote: >>> On Sat, 30 Nov 2019 15:38:49 +0800 >>> Heyi Guo wrote: >>> >>>> There is no special reason to set virtual LPI pending table as >>>> non-shareable. If we choose to hard code the shareability without >>>> probing, inner-shareable will be a better choice, for all the other >>>> ITS/GICR tables prefer to be inner-shareable. >>> One of the issues is that we have strictly no idea what the caches are >>> Inner Shareable with (I've been asking for such clarification for years >>> without getting anywhere). You can have as many disconnected inner >>> shareable domains as you want! >>> >>> I suspect that in the grand scheme of things, the redistributors >>> ought to be in the same inner shareable domain, and that with a bit of >>> luck, the CPUs are there as well. Still, that's a massive guess. >>> >>>> What's more, on Hisilicon hip08 it will trigger some kind of bus >>>> warning when mixing use of different shareabilities. >>> Do you have more information about what the bus is complaining about? >>> Is that because the CPUs have these pages mapped as inner shareable? >>> >>> I'll give it a go on D05 (HIP07) to find out what changes there. >> >> How's your go on D05? Did you see any issues? > > Sorry it took so long. I've given it a go on my D05, and didn't notice > anything bad (or rather, nothing worse than usual, since GICv4 on this > machine is pretty... funky). > > I've now take this into the 5.7 queue. Thanks, Heyi > > Thanks, > >          M.