Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4248109pxf; Tue, 6 Apr 2021 11:22:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHIxblBAIb2fV5Ni70lB7Svwahyc6tgHUXghE1ZIapepllcORKh9q4VS+DGhnIqZlD6M+X X-Received: by 2002:a6b:7a4d:: with SMTP id k13mr25282641iop.39.1617733364020; Tue, 06 Apr 2021 11:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617733364; cv=none; d=google.com; s=arc-20160816; b=ci/ik+PxGuG+8TIWOlRoi2XUxD27TYgfPkVr/X0itH2JsAt0uEhpx/A5NdaMAIvna+ qZ2vqU6NcHYAW9I2lKKarZGgNyZ8XpxIjz1Lyeks68uvgSerk36xxA5YigPyz6qvNaNo L/uWkSmkeCjB0UKp27LuA50260LcBgC/nU6Gqcl5Xxzg1HmeUJD9XCPEm7jEk9xKDYDE tIPVS08P21ZFUMr8uWp29zhB786tD8y42Aps8hu11YBubAx55eKUTeeoucDTEiwC5Rol iep65tA88ZSsFerzWIrk2Lb+PWWbKhfyklFZt8IGuuAb46bbgCMZqwCSnZ6HiRiB/j87 pHeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9moNXTn57Ata3aeQk1ca35q6D7hcunqCowypqvL8DFA=; b=P5gma1dRHD17n3olSoIlirgEUzaT59xTC8yYeCsztRRX2PiEYVGK8E1DvW9BGKfguY iKDlLNq8mn8nBktj1Ud+qrejDaXViKmkh3iUdz08/OlwLSyIPUe9r9ONjG1PIwItvTRQ CbjMXJ4h7dOSVvktFtidtNODwQU48YtQfgN5qLMvQPOB9iuMz9/9FnxG5vBsJRC8uL2Q fKSqUmbWKvi37qEAZWJWXoruy6hgk99T+MNdWgPwsI0p/+bucq7jtp0SctRULryouBpp 8SoNtscho7XhroDX2A+vC0XnTP65YxinCUooexn9VTwHM6KVQUV+QJmetcXyLzE+DoYk avzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si18444435iow.46.2021.04.06.11.22.31; Tue, 06 Apr 2021 11:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240836AbhDFJI3 (ORCPT + 99 others); Tue, 6 Apr 2021 05:08:29 -0400 Received: from 8bytes.org ([81.169.241.247]:33522 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240199AbhDFJI3 (ORCPT ); Tue, 6 Apr 2021 05:08:29 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 27AE33A4; Tue, 6 Apr 2021 11:08:20 +0200 (CEST) Date: Tue, 6 Apr 2021 11:08:18 +0200 From: Joerg Roedel To: "chenxiang (M)" Cc: Sai Prakash Ranjan , Will Deacon , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org, Robin Murphy , linux-arm-kernel@lists.infradead.org, linuxarm@huawei.com Subject: Re: [PATCH] iommu: Add device name to iommu map/unmap trace events Message-ID: References: <20210209123620.19993-1-saiprakash.ranjan@codeaurora.org> <20210212105039.GG7302@8bytes.org> <626fbcb8-b84f-1522-4ec3-9c7c1f5f7a93@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <626fbcb8-b84f-1522-4ec3-9c7c1f5f7a93@hisilicon.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 06, 2021 at 02:56:53PM +0800, chenxiang (M) wrote: > Is it possible to use group id to identify different domains? No, the best is to do this during post-processing of your traces by also keeping tack of domain-device attachments/detachments. Regards, Joerg