Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1647250ybb; Sat, 21 Mar 2020 02:55:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtzwHZIH63M4jobj+Ygt1ztqvrEnYIqmAZ9hcXem0dNiyskAYvbpIypoeGSPIMXnBPi7Rtf X-Received: by 2002:aca:ebca:: with SMTP id j193mr9721251oih.124.1584784534647; Sat, 21 Mar 2020 02:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584784534; cv=none; d=google.com; s=arc-20160816; b=WHjMCvSg0Nso8bwzVIHpkZvA8qH1ke/mrUHr8ZoOBGUytPqTv4/PJ2qYQOoEjOiNhy PlPbeG0EOCty+bykKyPz4CjusQVOaV18eg968I0/o/x+9XhZ+DVvUBYBspShnQVm1NfF EAltoC2PKpEG78ETwkHE7cbsewvEH1j4J/oHAk9uyPohvD7qMGui79Cu3XIYZRnrYAh2 eWmvFtJ1cQA07o5iXAi3RKG/BtH8CeTFC0OoC6iubX8OVq9kwIK4K1yUauUtVZ8eY8MJ w2dWbRCc0tMgns0mD/yVnXwA9yLtjiFn/kqlRIammxbuydyURzef0X6tTydTUgSrB7f2 0JlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=QX0Lj882/0wWt5FpP1tLqCJm4Tt2OS+/pdPApSZhZ48=; b=Eai8AtVo2PrCokn/b2zYplGjDVyM+G4+sqIjk0y82XN3CXwFHPAQ5mKm5jsUqehqKK 9VR90JrYcP05VZ4QiZbSpKEYL+21anLxWBj5YGL8GeVZxMS+PWB9/WhK4epp/imd3OrN hVz9sgQTgsAzuUO69PJUVkiotQjJznr2KoPeGyk4Tn7zr0mD8GUwdk5ieyEnmHqZScUY ypOA7E6AHBr0icB/Rg1QjxGfDsyrOrw+R6BPXwNZmVPgPMqhT3DRndj0x8cefgRmMvYP 2Wq4pNp/qeRh4PCyq4NAxfRWvKzdpCdUTh11MTL6jd8NR659wBJhvl3ki6MrU5wx0gH7 atXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mK+3t8pN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w90si4623779otb.305.2020.03.21.02.55.22; Sat, 21 Mar 2020 02:55:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b=mK+3t8pN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728320AbgCUJye (ORCPT + 99 others); Sat, 21 Mar 2020 05:54:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:55980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgCUJye (ORCPT ); Sat, 21 Mar 2020 05:54:34 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B6A1420732; Sat, 21 Mar 2020 09:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584784473; bh=NS/N+R4zjFt1wYwXqNO17JBU2FQXg+65IRm1UhhpibY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mK+3t8pNxQDaG1R96o1v1rHlvKzydm3GJ6p68lz/bj/H5yU9RACQQY6fQszq0vLAr Rzlafw7j6vsvVYZiOkpYa7rzIjeTaKMH6b6Tx0Xx5BVg8tCPdogg+Bbe6UrXPj9yl3 0HNellmJWUfWBcmCmz1wWP7/+0J6GJ9Cdt+8Q9R8= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFapr-00ETBh-Mp; Sat, 21 Mar 2020 09:54:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 21 Mar 2020 09:54:31 +0000 From: Marc Zyngier To: Heyi Guo Cc: linux-kernel@vger.kernel.org, wanghaibin.wang@huawei.com, Thomas Gleixner , Jason Cooper Subject: Re: [PATCH] irq/gic-its: gicv4: set VPENDING table as inner-shareable In-Reply-To: <3de7a72f-1a15-c908-57e6-35eff00b1ca6@huawei.com> References: <20191130073849.38378-1-guoheyi@huawei.com> <20191201180434.1dba3116@why> <3de7a72f-1a15-c908-57e6-35eff00b1ca6@huawei.com> Message-ID: <40704a28b562167b58992c036bff4f81@kernel.org> X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.10 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: guoheyi@huawei.com, linux-kernel@vger.kernel.org, wanghaibin.wang@huawei.com, tglx@linutronix.de, jason@lakedaemon.net X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, M. -- Jazz is not dead. It just smells funny...