Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp202913rwl; Tue, 4 Apr 2023 22:14:00 -0700 (PDT) X-Google-Smtp-Source: AKy350a30/YlGNpD/2XQm9AaK6bC4t5BGHGjWMb4aFI/kmbDgRz38fyjpvfMpmWHJlhihfeY78SI X-Received: by 2002:a05:6a20:6d93:b0:da:49fb:a620 with SMTP id gl19-20020a056a206d9300b000da49fba620mr1261376pzb.28.1680671640102; Tue, 04 Apr 2023 22:14:00 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a6545c3000000b00513f070aaabsi5509156pgr.613.2023.04.04.22.13.45; Tue, 04 Apr 2023 22:14:00 -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=@intel.com header.s=Intel header.b=UbiJUpCE; arc=fail (signature failed); 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236750AbjDEFF4 (ORCPT + 99 others); Wed, 5 Apr 2023 01:05:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236534AbjDEFFy (ORCPT ); Wed, 5 Apr 2023 01:05:54 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4F72359D; Tue, 4 Apr 2023 22:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680671152; x=1712207152; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=BlYXpDFZgVPdmWEqlE/MfJmx8DZPUzt80ZPiWWSSO88=; b=UbiJUpCEkHgPHgSQWf83ChdTlUVutNm9A8KfWLE6k4aWIA6zkTiIe8QL 8uEmNmuEaqPUA+TCXWEFYKXHUEXp86EEPJCjMhBLLMZabQTY+DGeSEsmY yA7pm4NMtJQ0VUSjSw/CbePcPmav4h6UL7YkdiM85RJcT2J6fZhZ8xmk7 917dj7BUY4LZ1M0/b1/ygsO9VHFjzswnHQXubVKmuoFGzSgZALN72BWMN WN/bBdXiS/nbVat8MyhHPuHsX6F2tfn8deuZnHJu22xJnRwe2zyMyk7kt mZGR+PNeB+5OttbCf7VcltGV4jwaE9KND29t7inJZCMdKjQIqaD9fVYTs w==; X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="322031560" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="322031560" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2023 22:05:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="755885242" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="755885242" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 04 Apr 2023 22:05:51 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 4 Apr 2023 22:05:50 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 4 Apr 2023 22:05:49 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 4 Apr 2023 22:05:49 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Tue, 4 Apr 2023 22:05:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gmmaVQdakt4uNrFE3B5emnbP0w34NuBKrq59UMUEHNj/ecO7FCNgpbeYkwOMf0XOVMKSDXSNEXS50otEhgkY6R0Cf8oyjh4VWLOAZz/L+I8pNZ+vgZ9mYllLmte05gVAof4TLuIJ/c/FJo8jEFzJPdxMat9NCvCvPlioFsJUYCf457pcHlGopVGyGX6phoo1QwVTTK+4neE25gTNge58+k8ePfz4XDwwqtGKz5tJIH9Uu1H28C7S5pPSVjRnw6FgeqbRfW2Swgo1CSHtL6OnKJABJJUm+jFNGYFhxjrRmdlck7SG2RkHFfEmVIMFsY3FrAhVo0DX4Nt1LLYYyeMV+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v4fmY5xTMzxxyOt1anyyjf6MtQAX79M8jujBRC9nhG8=; b=CRZc78cQbFHOgHcPhY94+MGW+3T50sxmuL8+suquiMb4HUiYydst1qs6G6OwI0XtkEqMW494oLX89pIknWtKjh3C2Fw0wWxLwZlpnROiyuX9J0dlkwwL9JT79R2uVuQvpliMUzss2LzUPsLuD/42kExI5s4KDkzc2KgCT5d438ZvgvihDSkTtN/8VbEXUpidk1jiHP5xFm5jxqu1nPbJnqhqKIGq/w21FZffVxcQytPVAZT6aNRV8jjwHSwXzKlWk0nWCRm6sWpAm35TrxWsRE3eH9kV593Qj64XlgOdQtn9reyhC0oAdzVBHjbNIgy+Sbi2tH2LRfYmvPslw7igsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) by DS0PR11MB6517.namprd11.prod.outlook.com (2603:10b6:8:d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.35; Wed, 5 Apr 2023 05:05:41 +0000 Received: from PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::ffa1:410b:20b3:6233]) by PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::ffa1:410b:20b3:6233%5]) with mapi id 15.20.6254.033; Wed, 5 Apr 2023 05:05:41 +0000 Date: Tue, 4 Apr 2023 22:05:37 -0700 From: Dan Williams To: Jonathan Cameron , Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , , , CC: , 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 , , Suzuki K Poulose , Liang Kan Subject: RE: [PATCH 30/32] drivers/nvdimm: Assign parent for event_source device Message-ID: <642d01a118981_21a8294cf@dwillia2-xfh.jf.intel.com.notmuch> References: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> <20230404134225.13408-31-Jonathan.Cameron@huawei.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230404134225.13408-31-Jonathan.Cameron@huawei.com> X-ClientProxiedBy: BY3PR04CA0025.namprd04.prod.outlook.com (2603:10b6:a03:217::30) To PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH8PR11MB8107:EE_|DS0PR11MB6517:EE_ X-MS-Office365-Filtering-Correlation-Id: ccf1198f-e225-4afe-d14e-08db35936726 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aZvCnoIpNfE1kn5nbJFekjjHrL9YmKWOQhw6VRiPeBW3KRFDd3itKLxxMVyuIfl086w8oSZtAIP1AqI1kzLTYVDMMSvXJu7nwIHvrLkkPjYScsW4kUMNRwUKPbhiy095RAJAhkcYcOSHCwIf9p1MckTs/nEKSLvQl2s93oHvugY/gWXhYBuG1db8t5NqzrogkeZjcTO4uHgdLYKQSND6thXY8xg2fuhlYYl+v+0dPuZzkOOdU0uhJS01F5YdOUy6VGIx4dZV2CQfWvR594ukAoLZ9Dtr002evDIxQgE17ga1nVw4aAwmKabECWIFVZZAUjwC/uPLP5FzkgNICkgCQUiMC6wXII8RLfNl0s7GMDqqifPHCkhjtbQ6BYvVsirHqr854lH9KqKyt3WAHs4lEnR++xmT/rgw+K0ldlANYtIvWINngQAFqO9rQ9wXIbAZLvgfof/95K12Xmy8RDcrxlyDsnH83zGiJYm2HhwOU1TWUzULwIdrZxp4OtLFKDaPLNvuQTcv8aEJ8HfoCsOQTQhbNBs0VGlTiAkvYREGg6g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR11MB8107.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(366004)(346002)(396003)(376002)(136003)(451199021)(6486002)(966005)(6666004)(8676002)(66476007)(66556008)(66946007)(9686003)(26005)(6512007)(6506007)(86362001)(4326008)(2906002)(186003)(316002)(478600001)(82960400001)(110136005)(41300700001)(8936002)(54906003)(4744005)(38100700002)(7416002)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?6n+m3xUfnUGUP+rrkzLT/4D1y5fKt0+iLu++G289X7V93mZDTk4RXuU2AQL3?= =?us-ascii?Q?EPGqE4T9dZNaE5w94eaHREfk1vGo/k3zEZJzDivTQFdpXjwAufZBIroI9Fkn?= =?us-ascii?Q?DQ8dkIbZOGZ3MhUIvGU/NazcfeVQ0OGYSgMi4pzNDRH9ANirjFdwzA2ZVp6/?= =?us-ascii?Q?412ZPKkxnBvLNZKCYmAbEvlEW8LrclLxWr0AkdCPdQGQgBeSQAxWH3agH8Pw?= =?us-ascii?Q?4QRONjI6c/MW/gbwYfaePjksKsjFH6VrJftvIl0WWR+6oIwyDlT5RVieb9AV?= =?us-ascii?Q?rMRJiPokGBHPFkvk9KQDFLHDXra+T60GNl2pP4zqGchHFR1ZKVd/3hppGGBx?= =?us-ascii?Q?7363d0AHEjdBedsbL85khwzLW8u/leXlADocL3WoXw1Fpw6lrLu3cGKK+waZ?= =?us-ascii?Q?HlUKNklY1ngmy/53nAzz1tJG23egIgjPhgOe5mKWjxinGVpRkXow4WULDZVu?= =?us-ascii?Q?S1GugdcLQJkgJl1xkvYO+6N8+i+yC0KmvMAysdW9z15y91U7CEM40qN4Yyan?= =?us-ascii?Q?Mn5CJPsxOutxYK/GrwkB8ASM5R+eiGZ7rRde0few5rBg7ht2kHNRALzsImV1?= =?us-ascii?Q?ztvUMiYf+fqfM8Iw01BtPhNuK+wBOSeT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Q?uljGdYItvX5nhNgesbey/q2ytDJ7mOFMJgbCxv/HdRw25Y4HK1fjC0EZsZ3Z?= =?us-ascii?Q?FLLMiTRhQZdigbZA2VynAfiYQw5Wzwi7ahNiuvdDtTG6uUBnJVfzHk8sHTev?= =?us-ascii?Q?nw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: ccf1198f-e225-4afe-d14e-08db35936726 X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB8107.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2023 05:05:41.2750 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QzG8LRgu1Mja/sEgPLWoVAPyuvp4p8JEd3fP99ZLTJWQZZ6s9YHyWq8IgZSDruVcMuBX/c1JKD3GHSo7U002esMHDuzh1HhCmbS9auCBNXs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6517 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE 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 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/ > Cc: Dan Williams > Cc: nvdimm@lists.linux.dev > Signed-off-by: Jonathan Cameron Reviewed-by: Dan Williams