Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6019454rwl; Tue, 4 Apr 2023 06:54:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Zc28r9H6acru5UWxeA/Q3ZBtHRU6LrV1MIlo0Kk/LcaP7DcoaQ8g2vXLsXEk+JwP+ayjDQ X-Received: by 2002:a17:906:2e8f:b0:93e:3127:fc28 with SMTP id o15-20020a1709062e8f00b0093e3127fc28mr2334894eji.39.1680616490399; Tue, 04 Apr 2023 06:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616490; cv=none; d=google.com; s=arc-20160816; b=bgrux8+PsgKerFc5ZXiCkfu6Qa4oCY9bq7rjWt5qK/dSZeRAmWOuHIj/ZZMhUTJZ3y Zpp3bWuG3rs2OouIMNYczT1nnoGRZQQn1uyWDCUhlNQDPpzD9SoTJ5o9qN8VTHV4YYA8 qhvYKv+g8Mh5/CfuyIXIGPq+sdQDhTyd9pun1pP/8bWaj+0S4tsl72xhP8wJBOfyNmIt MfO/zGSTRz7xQVzuOIXN5ggLFJRRJjrpbQ0++XO2WrohZxDd4kK5F4nrr4lWHigeZ6i8 CbvNVoMkJoI21cJiCYGGAmoZG25+pYR2n0erCWg1Ff5Cs53IJqlb1uS9+rciUnGNaGdN RI7A== 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=a2tCmz/FAA9NTUlqU+MPwD0yWNR9hbmfHEJl7bHRgUE=; b=ttESSvawJDaK8/LfxOOhLjWrNDQt+Q7u4mf0f5z5+K2uZHO8AOg895g4tdoOnC2gH5 OpEguS2EVDla+XleHUUiU+YNhiVrTpUiIL7C/rFGOek9rYBi67Ts55X13vBjiI7WEtYa Nl4VRiLi6yxtkMaEtJWUb+4DBKcDNEqBphhmBzLcvhEt97+9E/pQjL/IUvDvfuFux++L zQdxZUZBlf/fe+tZMKosB77KUw+aRiXQUxSkcTG9YdZhndZPLU5HU21OVKqKzYcKRjQI JRj0FmlmV0nx+/+QmEToG9IPj4vIjo52ZxYtNbVi84cotYnQscx2DzKA6MB0+R5bqiIT ALzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=I0wC+Xbw; 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 p5-20020a170906604500b00933a21fc97esi9900115ejj.964.2023.04.04.06.54.24; Tue, 04 Apr 2023 06:54:50 -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=I0wC+Xbw; 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 S235529AbjDDNwy (ORCPT + 99 others); Tue, 4 Apr 2023 09:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235524AbjDDNwi (ORCPT ); Tue, 4 Apr 2023 09:52:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D1694C02; Tue, 4 Apr 2023 06:52:20 -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 1F39D633FB; Tue, 4 Apr 2023 13:52:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08180C433EF; Tue, 4 Apr 2023 13:52:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680616339; bh=MSq80/jtEP5/a2z150pfwlx/0iqZWHMJS6OkyDwhKuM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I0wC+XbwQZkysDSJDYjR3YlSRS/d5GsJ6aBEPNStkL2IR5798BIeRPaPS3xym6auB r9d7FIRPVegGc06XA0aTWAD12XZ/+t9Pdidw02Fk8hRoeFYrThIyimsqG94OFOxA3y RYhuE7cLJ1+HCBLq3tFAGyRLGFpb/8NcYgOGmB6c= Date: Tue, 4 Apr 2023 15:52:17 +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 04/32] perf/hisi-uncore: Assign parents for event_source devices Message-ID: <2023040411-parish-tanning-4440@gregkh> References: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> <20230404134225.13408-5-Jonathan.Cameron@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230404134225.13408-5-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:57PM +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 platform device. > > Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@kroah.com/ > Signed-off-by: Jonathan Cameron Reviewed-by: Greg Kroah-Hartman