From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8B65C4332F for ; Tue, 7 Dec 2021 14:00:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232984AbhLGOEZ (ORCPT ); Tue, 7 Dec 2021 09:04:25 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:4226 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237475AbhLGOEX (ORCPT ); Tue, 7 Dec 2021 09:04:23 -0500 Received: from fraeml741-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4J7hkT3JQ3z67ySF; Tue, 7 Dec 2021 21:59:45 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml741-chm.china.huawei.com (10.206.15.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 15:00:52 +0100 Received: from [10.47.82.161] (10.47.82.161) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 14:00:51 +0000 Subject: Re: [PATCH v2 3/3] perf/smmuv3: Synthesize IIDR from CoreSight ID registers To: Leo Yan , Robin Murphy CC: Jean-Philippe Brucker , , , , , , , References: <20211117144844.241072-1-jean-philippe@linaro.org> <20211117144844.241072-4-jean-philippe@linaro.org> <766ac58a-ffb7-f673-709b-0f0f740f3cfd@arm.com> <53f868a8-c7ae-b69d-b061-bb0a7dc98f8a@huawei.com> <20211207132007.GB255238@leoy-ThinkPad-X240s> <675bfd78-69ac-608f-1303-e86b90a83f72@arm.com> <20211207135904.GH42658@leoy-ThinkPad-X240s> From: John Garry Message-ID: <2ece685e-84fb-cec2-522e-70680bcf9370@huawei.com> Date: Tue, 7 Dec 2021 14:00:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20211207135904.GH42658@leoy-ThinkPad-X240s> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.82.161] X-ClientProxiedBy: lhreml721-chm.china.huawei.com (10.201.108.72) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 07/12/2021 13:59, Leo Yan wrote: >> Whether other implementers might retroactively define "equivalent" IIDR >> values for their existing implementations in a way we could potentially >> quirk in the driver is an orthogonal question. > Agreed, it makes sense that supports the standard IP modules in > the mainline kernel at this stage. > > Thanks for explanation. Leo, if you really want this to work on D06, I could also hack some out-of-tree perf tool patches for you. I'm not sure if you're interested in that. Let me know. Thanks, John From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 710E5C433F5 for ; Tue, 7 Dec 2021 14:01:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id EF6F040935; Tue, 7 Dec 2021 14:01:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XskD6vsEJlfq; Tue, 7 Dec 2021 14:01:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 38D4140920; Tue, 7 Dec 2021 14:00:59 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 07B1FC001E; Tue, 7 Dec 2021 14:00:59 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id ED6D9C0012 for ; Tue, 7 Dec 2021 14:00:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DA41640935 for ; Tue, 7 Dec 2021 14:00:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jkdwADFnZCr3 for ; Tue, 7 Dec 2021 14:00:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9BDB640920 for ; Tue, 7 Dec 2021 14:00:55 +0000 (UTC) Received: from fraeml741-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4J7hkT3JQ3z67ySF; Tue, 7 Dec 2021 21:59:45 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml741-chm.china.huawei.com (10.206.15.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 15:00:52 +0100 Received: from [10.47.82.161] (10.47.82.161) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 14:00:51 +0000 Subject: Re: [PATCH v2 3/3] perf/smmuv3: Synthesize IIDR from CoreSight ID registers To: Leo Yan , Robin Murphy References: <20211117144844.241072-1-jean-philippe@linaro.org> <20211117144844.241072-4-jean-philippe@linaro.org> <766ac58a-ffb7-f673-709b-0f0f740f3cfd@arm.com> <53f868a8-c7ae-b69d-b061-bb0a7dc98f8a@huawei.com> <20211207132007.GB255238@leoy-ThinkPad-X240s> <675bfd78-69ac-608f-1303-e86b90a83f72@arm.com> <20211207135904.GH42658@leoy-ThinkPad-X240s> Message-ID: <2ece685e-84fb-cec2-522e-70680bcf9370@huawei.com> Date: Tue, 7 Dec 2021 14:00:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20211207135904.GH42658@leoy-ThinkPad-X240s> Content-Language: en-US X-Originating-IP: [10.47.82.161] X-ClientProxiedBy: lhreml721-chm.china.huawei.com (10.201.108.72) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Cc: mark.rutland@arm.com, Jean-Philippe Brucker , devicetree@vger.kernel.org, iommu@lists.linux-foundation.org, robh+dt@kernel.org, uchida.jun@socionext.com, will@kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: John Garry via iommu Reply-To: John Garry Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On 07/12/2021 13:59, Leo Yan wrote: >> Whether other implementers might retroactively define "equivalent" IIDR >> values for their existing implementations in a way we could potentially >> quirk in the driver is an orthogonal question. > Agreed, it makes sense that supports the standard IP modules in > the mainline kernel at this stage. > > Thanks for explanation. Leo, if you really want this to work on D06, I could also hack some out-of-tree perf tool patches for you. I'm not sure if you're interested in that. Let me know. Thanks, John _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A70EC433EF for ; Tue, 7 Dec 2021 14:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Iv4zbuZNT5KbKD3LvwBdus8sm2M3uGviyOaYrEpNOro=; b=ZWWe2KI5+4IbN0PdBOjCacgYZm EvgiWp9+ou4TwIn1pFf0sa9sLF5cJ1lNoH36lV1vmMAa0u0bqmtxU29RvZfqzHc7fny14bisNA28j yXYto9Y8xRUjG+lJYSOkBMOmiS0O5ymMm5xAi/y7ZlqkgBVmTJ86JBuYeTp7xLh6/vKOxGLBioOr7 ZjQN7HuPoWttIsoy5FPt+3yBKUeyCnzdFe/l/vmmbTb075VF8vA8OC4B2rgcEm21qTwyhyco0suM2 j7q4x5jXC+lf8uu5amaN10PcJ+FMEcIsoQk7aTxvpxSm5H/DSCQZD194Kxd6heLRDdk/yyWPUwIFj xD66Q9/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mub1f-008oN7-Up; Tue, 07 Dec 2021 14:01:00 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mub1b-008oKu-Ov for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 14:00:57 +0000 Received: from fraeml741-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4J7hkT3JQ3z67ySF; Tue, 7 Dec 2021 21:59:45 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml741-chm.china.huawei.com (10.206.15.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 15:00:52 +0100 Received: from [10.47.82.161] (10.47.82.161) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 14:00:51 +0000 Subject: Re: [PATCH v2 3/3] perf/smmuv3: Synthesize IIDR from CoreSight ID registers To: Leo Yan , Robin Murphy CC: Jean-Philippe Brucker , , , , , , , References: <20211117144844.241072-1-jean-philippe@linaro.org> <20211117144844.241072-4-jean-philippe@linaro.org> <766ac58a-ffb7-f673-709b-0f0f740f3cfd@arm.com> <53f868a8-c7ae-b69d-b061-bb0a7dc98f8a@huawei.com> <20211207132007.GB255238@leoy-ThinkPad-X240s> <675bfd78-69ac-608f-1303-e86b90a83f72@arm.com> <20211207135904.GH42658@leoy-ThinkPad-X240s> From: John Garry Message-ID: <2ece685e-84fb-cec2-522e-70680bcf9370@huawei.com> Date: Tue, 7 Dec 2021 14:00:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20211207135904.GH42658@leoy-ThinkPad-X240s> Content-Language: en-US X-Originating-IP: [10.47.82.161] X-ClientProxiedBy: lhreml721-chm.china.huawei.com (10.201.108.72) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_060056_010075_335D6ABE X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 07/12/2021 13:59, Leo Yan wrote: >> Whether other implementers might retroactively define "equivalent" IIDR >> values for their existing implementations in a way we could potentially >> quirk in the driver is an orthogonal question. > Agreed, it makes sense that supports the standard IP modules in > the mainline kernel at this stage. > > Thanks for explanation. Leo, if you really want this to work on D06, I could also hack some out-of-tree perf tool patches for you. I'm not sure if you're interested in that. Let me know. Thanks, John _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel