Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp455318yba; Thu, 9 May 2019 00:11:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwu//vpuon56txXFthVsa//LniYMrRC37rAMc0YLmChIyJ+NtAdxxLac4+YQzKTki5IKYXl X-Received: by 2002:a65:6546:: with SMTP id a6mr3407029pgw.5.1557385892715; Thu, 09 May 2019 00:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557385892; cv=none; d=google.com; s=arc-20160816; b=TuRiY+tQH0XdcM9tDEpgdfQGA+QOWid0hznAFwN7HJqzFlgyRtyYT9c35EfoRKdBu0 A4a+BFmCxA4zAb3iKvEPMShu1J7IwxyJtf3zNF5nLsO7wfXQUXv5yOaeHKjQl+BXb/mK zpBl0h9EQtH52wj4+VwN5YvNjEBMG3BWNhZ7QFWzE0m3vnpm3FDDzb0Cq8vM1VfEOcOv /P2A2j+laJ3YvahA+HID1x+zeQPYqHJ6L65gFeQMkEahj2Ca3Eih+HxmYihk40CanVA2 SjnoaxtkIztLjx8qUOsCZdngVH4ogieUPNJRGQGXJBY6lAKLWYjC091cUGNvOt/Q65QZ IW1Q== 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:mime-version :user-agent:date:message-id:subject:from:cc:to; bh=vMNFFGvD+5k+77FhwMyzJeS9eBWs5woLRBXt+0PIWeM=; b=ITZ6weodXSZCilfDQpJABGTNbp8VVjZ7MZ83oV+zKxfXMkmq7R1TyfgcDD2tqhyGII 3YSG+EzW5OvO0/JdXmjzCpEP1i1nOKMm8oEfRZcOT+EL46S/FnyUvYBKVlOAz0CzCAfr ahMtWNt0cnGG/BnUi6a79jFpJT1lxskUxLXukQutcRJ6gfnrk9P8DzJB4o1k2oteceBN Y3qB1b/xSyDqFUts8G6dznN2TInT3+PJJ6ums7ptu5wLanEDmzQ9MDBnlCH200vlVjHP 7GL8wBm8lrv22mcIGv8TUty5S0P+L/3wvBQfxqsHl2VaGWi+xFvXEm29UfXDJJlAXMHL p4Zg== 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 b11si1913866pge.440.2019.05.09.00.11.16; Thu, 09 May 2019 00:11:32 -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 S1726549AbfEIHKS (ORCPT + 99 others); Thu, 9 May 2019 03:10:18 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7737 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726192AbfEIHKS (ORCPT ); Thu, 9 May 2019 03:10:18 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 6730D60ABA2AFA2752F7; Thu, 9 May 2019 15:10:16 +0800 (CST) Received: from [127.0.0.1] (10.177.31.55) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Thu, 9 May 2019 15:10:10 +0800 To: CC: Marc Zyngier , Christoffer Dall , wanghaibin 00208455 From: Heyi Guo Subject: Why do we mark vpending table as non-shareable in GICR_VPENDBASER? Message-ID: Date: Thu, 9 May 2019 15:10:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.31.55] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, We can see in its_vpe_schedule() the shareability bits of GICR_VPENDBASER are set as non-shareable, But we set physical PENDBASER as inner-shareable. Is there any special reason for doing this? If it is because the vpending table is GICR specific, why don't we do the same for physical pending table? We have not seen function issue with this setting, but a special detector in our hardware warns us that there are non-shareable requests sent out while some inner shareable cache entries still present in the cache, and it may cause data inconsistent. Thanks, Heyi