Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9596376ybl; Fri, 17 Jan 2020 15:05:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzL9Qc4LrqZsV4KMLFOgJVIbY2Y7DWtk8X3D3rbSk1vlAjg+3c6BtmkBJNs8mAVj6hJUreZ X-Received: by 2002:a9d:4c94:: with SMTP id m20mr8159096otf.341.1579302313790; Fri, 17 Jan 2020 15:05:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579302313; cv=none; d=google.com; s=arc-20160816; b=tl707GVwLNwrRDPAX49GY/w8i4VOV4gcNiARPuTiRJlrD8EFCcwIBF2tqLWOV5jAh8 7TDM3niwD36wgTHJtnih38DW+pl2ooAJktImk4NFsDD0b8HsIHXXHv6891aX7xtPsKFL R84FIxmV+GhD9b0KZvdwJlMZse8Ltw7EZ3S19mI4QJ/V8zBKMUsdUatZ2Zsr/B5IwQju D7i8bkISrGOt+bGUPGavGjtAztoGXky6Wx4IXirx2B1N73nXyccQmOqy0Tmh8L0ujfsc Y6e6KebYK8ldXL+nX22xLwVCgtfOuOKFEHwlyUN3euGPsYzIMnaEHMaEE6F1VDzRkutp 6l2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5quz/sXDX8o8ICPwUpRb3ta3WYQ721Mtd7frfvTaU00=; b=UvLKI5aHOLkXDkzv8xQR4AwEti/FVvFO1zFw7tyT3dKnRc0wRa02tPCSV3DfiffJt/ K0t8G41lB8T8fuCPpXvIIikfim8P6Q8B6jUSfJbVrdZA0kRtvoT5cxbVMhVcZFpSbj55 whTWkZDWFU368vYRVcOWx7sxR6PY7GTZBYpLVUQb4grQ0emmER/Fp2Wher37ndpySwVX keViXJ9KP0iIdKnUW3fsTcqFla5SCN9MqeMH1yLSbi2KFcUzWORnaJcgmi0PBIhdsbUr hLsgI3uxQQBfDgZVhw8dJjJYwlm9WSmk52EVQkozEgQ/sb1WpG2rGMTrIYxhpT/Qs1bL 0xSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gArZ7YMl; 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 z65si13873406oia.33.2020.01.17.15.05.01; Fri, 17 Jan 2020 15:05:13 -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; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gArZ7YMl; 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 S1729798AbgAQXEF (ORCPT + 99 others); Fri, 17 Jan 2020 18:04:05 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:49581 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729099AbgAQXEF (ORCPT ); Fri, 17 Jan 2020 18:04:05 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 744C4585E; Fri, 17 Jan 2020 18:04:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 17 Jan 2020 18:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5quz/s XDX8o8ICPwUpRb3ta3WYQ721Mtd7frfvTaU00=; b=gArZ7YMl0/16hrDswrK6K4 Oj1/8tYUm8W6ZSIHSp2E272yRYtNDil2/b+Zl1uR0y2yDMLrKFPfaIz8cwNw0TCe /QXpv9G/bdVH1qnM7kVEXHVEB6BF3GEAtGZlwTvKPTLM9m7/cuJacUwm8/jnLde6 oake1xaY2Rd/fo94DOsXuyv3mOfstgSaUr5Orj2lRAOwhcYHMyPdNxU5WPKmh3ZY zIIWtfx7pmMhjAkFxQsAkBsGqTpN4gD5/qko0JEam5s1fwPyMthWyik0V2YBeBqB FuMd452qavUFwglnUYWUebwh8+kbfb6nzXVUa05WJYsnVhxzzYI696iuFAW22McA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrtdelgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghgucfm jfcuoehgrhgvghhkhheslhhinhhugidqfhhouhhnuggrthhiohhnrdhorhhgqeenucfkph epkeefrdekiedrkeelrddutdejnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvghes khhrohgrhhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 10A2E80063; Fri, 17 Jan 2020 18:04:01 -0500 (EST) Date: Sat, 18 Jan 2020 00:03:56 +0100 From: Greg KH To: Andi Kleen Cc: roman.sudarikov@linux.intel.com, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, bgregg@netflix.com, kan.liang@linux.intel.com, alexander.antonov@intel.com Subject: Re: [PATCH v4 2/2] perf =?iso-8859-1?Q?x86?= =?iso-8859-1?Q?=3A_Exposing_an_Uncore_unit_to_PMON_for_Intel_Xeon?= =?iso-8859-1?Q?=AE?= server platform Message-ID: <20200117230356.GA2093716@kroah.com> References: <20200117133759.5729-1-roman.sudarikov@linux.intel.com> <20200117133759.5729-3-roman.sudarikov@linux.intel.com> <20200117141944.GC1856891@kroah.com> <20200117162357.GK302770@tassilo.jf.intel.com> <20200117165406.GA1937954@kroah.com> <20200117172726.GM302770@tassilo.jf.intel.com> <20200117184249.GB1969121@kroah.com> <20200117191220.GN302770@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200117191220.GN302770@tassilo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 17, 2020 at 11:12:20AM -0800, Andi Kleen wrote: > > > pmon0-3: list of pci busses indexed by die > > > > > > To be honest the approach doesn't seem unreasonable to me. It's similar > > > e.g. how we express lists of cpus or nodes in sysfs today. > > > > Roman, > > I suppose you'll need something like > > /sys/device/system/dieXXX/pci-pmon<0-3>/bus > > and bus could be a symlink to the pci bus directory. Why do you need to link to the pci bus directory? > The whole thing will be ugly and complicated and slow and difficult > to parse, but it will presumably follow Greg's rules. Who needs to parse this? What tool will do it and for what? greg k-h