Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5726294ybp; Tue, 15 Oct 2019 04:14:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbeH4ZD7WzxzSLxo1Yx4Yi8KoiZzdLaKAd86nlZSuFr8oe9QgfOGR6hOP8ldThemGADWaI X-Received: by 2002:a50:d556:: with SMTP id f22mr32413469edj.248.1571138047610; Tue, 15 Oct 2019 04:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571138047; cv=none; d=google.com; s=arc-20160816; b=D40AWLMMBkevcAt3XWur1IjLPq725UbJ82oBa4q8ibRtW0qGmw+50II7kF3qYZN4ZB Cqf/LTHO5KVLcdjILoABwGJx4y7H4ktpYtixe1vq4nfJ4MnoTb22mCs1IyksOj8T4b43 tzTc9HUfACk3lsAwajgEFjzzE+xJpK/iL3p43ubNMW1LBjxt/mdGb7qLQnxKy5STrr8Y 7biIgGw/GmXm3cHSBgLB+Jt3OJNltA3h0c0CBdcyMMrtN00zVuYMCVCcC0BO+JaAcwh9 O1IayOlbKWAS0IHXEGs+pPPy7zMA+i35UA2sSk8YwMe8no3DVLkG0SzK07IzRjHmG/jx RBMA== 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:cc:references:to :subject; bh=CRFCTF3TKjGOxPjpWT6vG9S1Brb0bGVsBCB1SesnZoU=; b=0bkCUv4brn7L7l/Z7L9g8nPaYML4EOgnhzn7AVg8AcHb1algdJ1UhOLaHAraCVU1ze QNdM+gWlsO/SHMTcgAK6QjBkUiG6r9IGSmYVc6gUSwLXbvlK5NBT3CByyrHDPRl+U51k 6P1WRCNbfFNb4vFspFUwy9qsbbqwu5Yg23fHlyO0pOrwveB+fTx9Sc5aLMoalB5znPvc mj9PVJ9RhNt4HJhuDNz9TgrnzpvOTvSB0g7o20Q8gk/esmsrvC0H4tLRrnpuAh34Qd52 gMyGf4kbv3Q3Nax7XZGPZMfORV9c9LEwYBHZvmtujHJnA7a7vIzH6rhQP1KJn3Ml08Pq dJhA== 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 va7si12628867ejb.4.2019.10.15.04.13.44; Tue, 15 Oct 2019 04:14:07 -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 S1728806AbfJOIra (ORCPT + 99 others); Tue, 15 Oct 2019 04:47:30 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50936 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726430AbfJOIra (ORCPT ); Tue, 15 Oct 2019 04:47:30 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E5CBC381E56DCDE9C84C; Tue, 15 Oct 2019 16:47:28 +0800 (CST) Received: from [127.0.0.1] (10.202.227.179) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Tue, 15 Oct 2019 16:47:19 +0800 Subject: Re: [RFC PATCH 6/6] ACPI/IORT: Drop code to set the PMCG software-defined model To: Hanjun Guo , , , , , References: <1569854031-237636-1-git-send-email-john.garry@huawei.com> <1569854031-237636-7-git-send-email-john.garry@huawei.com> CC: , , , , , , , From: John Garry Message-ID: <4de3b360-710f-e109-93bf-30ff942d08c1@huawei.com> Date: Tue, 15 Oct 2019 09:47:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.179] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/10/2019 04:06, Hanjun Guo wrote: >> -/* >> > - * PMCG model identifiers for use in smmu pmu driver. Please note >> > - * that this is purely for the use of software and has nothing to >> > - * do with hardware or with IORT specification. >> > - */ >> > -#define IORT_SMMU_V3_PMCG_GENERIC 0x00000000 /* Generic SMMUv3 PMCG */ >> > -#define IORT_SMMU_V3_PMCG_HISI_HIP08 0x00000001 /* HiSilicon HIP08 PMCG */ > Since only HiSilicon platform has such erratum, and I think it works with > both old version of firmware, I'm fine with removing this erratum framework. > Yeah, seems a decent change on its own, even without the SMMU PMCG driver changes. But we still need to check on patch "[PATCH RFC 2/6] iommu/arm-smmu-v3: Record IIDR in arm_smmu_device structure" to progress any of this. Will, Robin, Any opinion on that patch? https://lore.kernel.org/linux-iommu/1569854031-237636-1-git-send-email-john.garry@huawei.com/T/#m1e24771a23ee5426ec94ca2c4ec572642c155a77 > Acked-by: Hanjun Guo Cheers, John > > Thanks > Hanjun > > > . >