Received: by 2002:a05:6358:579e:b0:115:34ad:32ad with SMTP id m30csp2704833rwf; Tue, 4 Apr 2023 06:57:46 -0700 (PDT) X-Google-Smtp-Source: AKy350YAXhZsHe/EJ9T2oaX8wyPtachdK6OVr33kee+SFMnfBHPbFCeY0mprqpbo11nNyCJSBTxZ X-Received: by 2002:a17:906:e28a:b0:93a:219d:b167 with SMTP id gg10-20020a170906e28a00b0093a219db167mr2179286ejb.52.1680616631978; Tue, 04 Apr 2023 06:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616631; cv=none; d=google.com; s=arc-20160816; b=VY425RTpurJdqBsHn9XiLDuTkbqFlR4aL5NA2UAiSDAOnWju+A7gm+BoOebg3TZ9IB fHGgEJ8Y+oO1V+vFHNebwPyzKByqx2SQAA004jXc3s4tgo+EOeppq4znxeDtEDKgE5aY m1SOIg1QTeBF3kBKyjht0Y9O6NCx5H/a+em+dUJ5m5AjSRff0qfjl0KM7xw/rMQvj0et DfapZK5EzK1G9sJ46btTwBpf+k3lSBo/aWTY5BK4gH5M/Sd6s/E4mCJmtFZZwTMgU5dv TOW9wtrwFfVENQ3e86DuGFooJI3M/Uq2V16xO+D2dxoFl+AAn2PRwqhle+ayihUNlEBb +kfQ== 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:dkim-signature; bh=/kxzRVUQzThX4qw63kH9ZUOveJESICg/GuPwy7PZns0=; b=a7gZZzBQPHwqGALpIAYtwf5eq7A+s4CKF7qt9Rp3WSsZTeLzUPDwAerQt2DzrXI+rA friAo5dsCax01FlcxGtuio15ErSM4mI0E7KJysKIfLk5Rvjqlqeqn0yjllQ8Qn+/G1Gv 9YYZ+0Kn8DwQjVH3snnjs7xUfLLFik/lGRVW57g8xtrJhiE3u5sbUXFmd/oaZB6DOk32 cxv74Rp9i8CdnZN7oA8JoUaG2K2Vc2wc5K+uOvP/WZkgE2pf0Fpgl7aqqCdqjU0B6FkH fUpS8PIHanfnCM0tK/K2wRCRnsb9utjexYfBhhFUEMgBorVqTz0Ed3/cdfTEwfO4GKDz srVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M3dwKSvL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o3-20020aa7dd43000000b004fd211c6db6si4571899edw.642.2023.04.04.06.56.45; Tue, 04 Apr 2023 06:57:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M3dwKSvL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235478AbjDDNwS (ORCPT + 99 others); Tue, 4 Apr 2023 09:52:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbjDDNwQ (ORCPT ); Tue, 4 Apr 2023 09:52:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0B8846B4; Tue, 4 Apr 2023 06:52:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 40DD863455; Tue, 4 Apr 2023 13:52:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B56CC433EF; Tue, 4 Apr 2023 13:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680616320; bh=Djf79AP4GynlYLFL4isfn6yyApNdP33T6Cm1xLrbHHU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M3dwKSvLnzofCVWp5kdhTFusT8H6YbwSbxKUFscioD422ldzPk7uvhOBzq74I9kZf iza1+8y1Ci0RUeeex3fEIEjNSfN9hAFYZ9TbrdEd/rO0lkSVULZHrofLSEdS12eU0V ecld9LmBfcQXMebSrame3ow6/i/FMgXBOMYDbhow= Date: Tue, 4 Apr 2023 15:51:58 +0200 From: Greg KH To: Jonathan Cameron Cc: Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxarm@huawei.com, Dan Williams , Shaokun Zhang , Yicong Yang , Jiucheng Xu , Khuong Dinh , Robert Richter , Atish Patra , Anup Patel , Andy Gross , Bjorn Andersson , Frank Li , Shuai Xue , Vineet Gupta , Shawn Guo , Fenghua Yu , Dave Jiang , Wu Hao , Tom Rix , linux-fpga@vger.kernel.org, Suzuki K Poulose , Liang Kan Subject: Re: [PATCH 02/32] perf/hisi-pcie: Assign parent for event_source device Message-ID: <2023040451-guzzler-steadying-0d0a@gregkh> References: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> <20230404134225.13408-3-Jonathan.Cameron@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230404134225.13408-3-Jonathan.Cameron@huawei.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 04, 2023 at 02:41:55PM +0100, Jonathan Cameron wrote: > Currently the PMU device appears directly under /sys/devices/ > Only root busses should appear there, so instead assign the pmu->dev > parent to be the PCI device. > > Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@kroah.com/ > Signed-off-by: Jonathan Cameron > --- > drivers/perf/hisilicon/hisi_pcie_pmu.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Greg Kroah-Hartman