Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp827362ybl; Mon, 2 Dec 2019 19:01:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwaAmu10eJyKGieL8UEtVk66reIHRg3AAvE3Z09+vMeFn8iXVSrYBMx06siX5jq28LtZNL/ X-Received: by 2002:aca:3442:: with SMTP id b63mr2042295oia.36.1575342092951; Mon, 02 Dec 2019 19:01:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575342092; cv=none; d=google.com; s=arc-20160816; b=vsCaTquTY5nPErJSfd33mJgbag2IUEL/c+Th9fsfMeElmWmUcFHW4asmprXumsM1TC EN0G/HFwY2zjMrYvN3R4YjkXKbJ//mj53+3RrEa9iQst1HsA5yQNaY0UnhHTPMNasX4o ALuVKicDID7M0++iCFAObzxpVSIh7v1I5wr4n6ehGDwfuimtk2Wm8HIsyNl/QJ0w5diR aKQ8iB+FxJnbt5jEiqQ8SOFEZjTgXUp1AH8zE3IohL+U5TnZZ2Tk9Wh/jp2RpEPUbIyE 1NP/4E9raSDfFBr3MzAEYA8j7ibY3AC5eV2v6xPnlS1ihepUADc8Ei/hqIgPIxLo1eW2 7ZIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pm0MLJcJVi4eK6hiSh9rxis0dIhrmqPcvjOj+r9sFWc=; b=FTdlGIunWfLBbij43Bhv47qDj5Q8CzFTtVrlEGRFK/EgCOKYFklr3WXzEGx9tQl77z p18YQ/SKQoawLBl0tcIJkT0kSZ/1dycnrZmz1ImKJSJtKt4lb4BgthO6+3doOlGY8Odg EBjDBHewoe1eD05Z9SmXuVez97YTXqNEfmXBKnB2hL7llTD/bQ3IQUL12QJqZgeN+rTw QFtsRltwKg+3pc9FCqYz+WRQWp64lH0X8mBHmny1C3i1q1fW+ck0AyRwnmpUnWH0uILp Lua0R/rN86oN3uGZiNW71VkxaMawNdXpiTEcQaFC7cieGLqFu1IfwoSMNJbmTnvZXLPH u9Rw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l131si601512oib.174.2019.12.02.19.01.19; Mon, 02 Dec 2019 19:01:32 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726190AbfLCDAu (ORCPT + 99 others); Mon, 2 Dec 2019 22:00:50 -0500 Received: from mga02.intel.com ([134.134.136.20]:2520 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbfLCDAu (ORCPT ); Mon, 2 Dec 2019 22:00:50 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2019 19:00:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,271,1571727600"; d="scan'208";a="410674991" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga005.fm.intel.com with ESMTP; 02 Dec 2019 19:00:31 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 9C876300B57; Mon, 2 Dec 2019 19:00:31 -0800 (PST) Date: Mon, 2 Dec 2019 19:00:31 -0800 From: Andi Kleen To: Stephane Eranian Cc: roman.sudarikov@linux.intel.com, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , LKML , bgregg@netflix.com, "Liang, Kan" , alexander.antonov@intel.com Subject: Re: [PATCH 1/6] perf x86: Infrastructure for exposing an Uncore unit to PMON mapping Message-ID: <20191203030031.GP84886@tassilo.jf.intel.com> References: <20191126163630.17300-1-roman.sudarikov@linux.intel.com> <20191126163630.17300-2-roman.sudarikov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > You are just looking at one die (package). How does your enumeration > help figure out > is the iio_0 is on socket0 of socket1 and then figure out which > bus/domain in on which > socket. > > And how does that help map actual devices (using the output of lspci) > to the IIO? > You need to show how you would do that, which is really what people > want, with what you > have in your patch right now. See the rest of the patch series. It implements all of this in the perf tool. -Andi