Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1633916lqp; Mon, 15 Apr 2024 12:05:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuMkSyS1Lnfyi/h+duRT6n/D3BAVFWd2Q/7RXb9NqfYepGmKvyWZX097ArPawjCqASn++J3OM1OKWm/nC2irIqWFVb5/6yTwgA3fu64g== X-Google-Smtp-Source: AGHT+IHLYhAlBdLIkmZfwF+eZ22pz8aSQ3OE8Jd4v+R5WqCXKBy14h6jmTW4G6xSTh0nqkedsZQJ X-Received: by 2002:a17:907:6e87:b0:a52:3d07:de62 with SMTP id sh7-20020a1709076e8700b00a523d07de62mr7936126ejc.58.1713207923532; Mon, 15 Apr 2024 12:05:23 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qf42-20020a1709077f2a00b00a51dd18c1dasi5133742ejc.790.2024.04.15.12.05.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 12:05:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UgoTWH9D; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-145746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1CF8B1F22D25 for ; Mon, 15 Apr 2024 19:05:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9640155A27; Mon, 15 Apr 2024 19:05:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UgoTWH9D" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E550D84D24; Mon, 15 Apr 2024 19:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.13 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713207918; cv=fail; b=KyOANRHkD+WHai+LAQ56KqfrK7p3MN4d3loVGO+24A7V0Qd0R45tpSWbpu/eJVEuyucN7YAiHnOaDfQynX54NGAAoObqXBjl1/BRY3A5mlggbE+m3MD09pa/8lmtAqLHk5NfVZ84WKF52Mz4JE/tpzU6if6DBmAlT/1foAATloE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713207918; c=relaxed/simple; bh=utTtKgwOWETogSsJRDn9Jib30vg+ATS3Yzm9N6ZshhI=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=C60LaGljJPothOk9PRUq6eLlLscvLOj3es7xslH2PMeIgb0ciKtKPPdqWyIrGIRQZojovdqOpdigKxJI29cGjJC/s3SzVbIyG6/fqwUfssozLW/pJmJSlzeyvF5ei7OG20QJ0mx1sgE60JWeDF8AHxCEpfAiUlItTtIb781vidM= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=UgoTWH9D; arc=fail smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713207917; x=1744743917; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=utTtKgwOWETogSsJRDn9Jib30vg+ATS3Yzm9N6ZshhI=; b=UgoTWH9DAqXDmSJ7ri/DV+DNIkYl3sES/22O59nY7kaFKu6T/29fnuuf E1pZRYvN1wfNWjirqIVdsuQYpjAyslXebg+EwbKkOhKeC4w/xB+78HBSP qwAVbnaQk9nUSrPj/edJ/OYz3cnpPmjTy+zSTvdG6PxX5F1v1Q3BXZDk8 PbjhemNhtq3BI67BKj9O2rcL5Oj04xQj7lF6aOVo0K8tB8Vz4HJduq1Q4 yIr2Jcul8lGtOVY4ZlmXK0zSTOP3TWNu3YWLSIHjXS2h+c8sjTBxRoLPX 7tZBHlLx99RgDwEXz+mfEX2+bzPtV9rFqDM8Ckj8rl2j8QaeYEhQrbRth w==; X-CSE-ConnectionGUID: I6KWeSQXR5WvyZfmNpvkzA== X-CSE-MsgGUID: h/b6B8yWRvel4nZXWXpiew== X-IronPort-AV: E=McAfee;i="6600,9927,11045"; a="19766020" X-IronPort-AV: E=Sophos;i="6.07,203,1708416000"; d="scan'208";a="19766020" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 12:05:16 -0700 X-CSE-ConnectionGUID: aj9zeFwBQxmdKkzoW5KRfw== X-CSE-MsgGUID: 2NQWjY++SpecKEBXg/e2nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,203,1708416000"; d="scan'208";a="53204847" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 15 Apr 2024 12:05:15 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 15 Apr 2024 12:05:14 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 15 Apr 2024 12:05:14 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 15 Apr 2024 12:05:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XjA5mpJkbGfm+oAVknC1d18Zu7DTBxY7b365EdKx3x9NCJnTxYE7d8jwU19gkRfw/U6f/Ul12NW2uKB5/gIcn9kaD9C5lEaGR+BB91YgU0d7q2PXLt327Vwo8cfQi0hU8uagj9HRmN0GG7qYET7sxao7S253ElU/XP6v5bnRLBNGTyftu8cE8SaN4wpGJLmBmm3RlvM7Vm7ggid5/M22kS8XolSZ+l66hZyc0Yp868TepeBVY62LIjS0Y0HxEd1nvxEQcQ/d7aRA0AH42JOk6gMA4ftXT1Za8igaYtfd3LWn2MkUudTo6YQ/cfn/WqSXEgXu7Cl9mdtFizGDI81MwA== 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=0eT7lzIseO+s5VnZNy6s4ntLt/RvokmkVmW3eZhHHak=; b=gNsa0kBYcjytdOoo1uCgvghGXp1Xp1prjUXjjpkf7qsIMkXEz74Uy6B/S/0t0S5NqCDkGmiS5iyv/A+e5d7q1oWplXzrJtkqM0ac2bdBpM37nZ7M8yrQazjBbz6dH2+kF+R+hmzGZS3swH9i6TdJIKcQh3fZBYxf7jjey1K7iVFfhRnVdJfoQ8VwlLmHmZ/8N8quby8VhO4IqxpaRmsiTjx1YPJTFulO8Gmjm43strKe4s5Ln7QzFMuEhm159h5Ev2iKeCgj51AHZKXYjZHKt4v9caj64r76SuPMiEnOZDdlAVcauxqrd0fPFs7sdkLQtOVk0SlrTGWjydM+yyNuTw== 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 IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) by PH8PR11MB7966.namprd11.prod.outlook.com (2603:10b6:510:25d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Mon, 15 Apr 2024 19:05:10 +0000 Received: from IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::8f29:c6c9:9eb2:6392]) by IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::8f29:c6c9:9eb2:6392%5]) with mapi id 15.20.7452.041; Mon, 15 Apr 2024 19:05:08 +0000 Message-ID: Date: Mon, 15 Apr 2024 12:05:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH v2 26/30] dmaengine: idxd: Assign parent for event_source device Content-Language: en-US To: Jonathan Cameron , Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , , , CC: , Shaokun Zhang , "Yicong Yang" , Jiucheng Xu , Khuong Dinh , Atish Patra , Anup Patel , Andy Gross , Bjorn Andersson , Frank Li , Shuai Xue , Vineet Gupta , Shawn Guo , Dave Jiang , Wu Hao , Tom Rix , , Suzuki K Poulose , Liang Kan References: <20240412161057.14099-1-Jonathan.Cameron@huawei.com> <20240412161057.14099-27-Jonathan.Cameron@huawei.com> From: Fenghua Yu In-Reply-To: <20240412161057.14099-27-Jonathan.Cameron@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR02CA0026.namprd02.prod.outlook.com (2603:10b6:a02:ee::39) To IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB6097:EE_|PH8PR11MB7966:EE_ X-MS-Office365-Filtering-Correlation-Id: 13f9df7d-b20f-47f4-cd95-08dc5d7ef78b 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: Jj60lXo2bgHrQvALmbLw040YqLI1lCZUGkJYJbzGmT0pvj7oXumTB1LqW3U0IFuT7b4JHO8B8kol8RCtDB2R5BlokkdAYR5ELIKGLUjzzdIUPF9joT1tQ1YBD1NlYula/e+sm96lHMS2Ok3WjHzt7a69pMqlOd43WwA6MEZN09dJsbzYDI5Z9xh5c5AyIoxY1IcaIMKSYgGs4K2SJHXv3NHmqn9xM8XMS0HtXGqJp1dVC9BxyshXIdW2aSY7GH1j0yvpUt1HZy32wWN9B/OvtELeaRvY5LMBlyiBqqBkAvdaDDphbYcf2LwJktgBqBiWCead79Z5vjLiit6U4f8mfFalIQzZ7aMr01AeC0O8KsuU/cLmOBNLzSwThAxkhmZaZseg0MhLFBuztmwj1ZAapNrKJQ5W2E3rRyZ0Q47Q9bdGWb35R4hkZsa0B9ehGQCq+ANiaG3JoQDEx8LhuwOMyXeSJCnH2DalpGUr+5KSLtF8bljWw4eW8HEzaCWWwoin81+8Yuc7lHb2hCpBUHaEWkdVgFZFlIeVDLNT1UspZ2bgwtKhMVvSTdbq7xZxGR1FRZedxjbnt27DWMwwDwIoLzkKzjZNT7DNdWz6yaSMBy4zbr8h5Ryk/4ThqMmVn82RDsIG+bUQLyWyCHkMvGB6fNDg+EH/1082Kuj5H0te6Ec= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB6097.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TisrLzBLM2UyTWpIbTE4b0pCMUc1eCtxdlRxK01LNnBDZ2RIbGJUdjFFQjZS?= =?utf-8?B?Qll5VnNaQW1GZmVHMVlBTXFVMFJhaXNhbnU2K3VyemRLVzNXaFNabVB3aWRx?= =?utf-8?B?RExFVW4rWG9aY0FjZFFJVDd3WWxDTUFwUkdlSUFYTWZOSloxRG0wNm5abXl4?= =?utf-8?B?TWtIZThtcDhxcVo1RGxqWTc3dzZMQi9NRzBiYWN3akdOYUY4YjhiS1Fmbm5x?= =?utf-8?B?eTVIU3R0MUxnWDlKNHVHQWJ4QzJ1dm16b0NwQVJrRVkrdkZsOTRRVkVPQnVS?= =?utf-8?B?alNjVnM0NUVCWHo3M2l4RmR3dWEvYzk3S0hUUDRyT1pTdm1zWjlHd3FQYkF0?= =?utf-8?B?UGl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X-MS-Exchange-CrossTenant-Network-Message-Id: 13f9df7d-b20f-47f4-cd95-08dc5d7ef78b X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB6097.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2024 19:05:08.2243 (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: nEWjjfzt299bQCjiphAVaNKYdH+QEMea9YvXCXaDepCdRew8/3zqAGT1bfp9YIKFC8RzgW5v/umAk0sizrWMow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7966 X-OriginatorOrg: intel.com Hi, Jonathan, On 4/12/24 09:10, Jonathan Cameron wrote: > Currently the PMU device appears directly under /sys/devices/ > Only root busses should appear there, so instead assign the pmu->dev s/busses/buses/ > parent to be the iDXD PCI Device. s/iDXD/IDXD/ > > Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@kroah.com/ > Cc: Fenghua Yu > Cc: Dave Jiang > Signed-off-by: Jonathan Cameron Other than the typos, Reviewed-by: Fenghua Yu > --- > drivers/dma/idxd/perfmon.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/dma/idxd/perfmon.c b/drivers/dma/idxd/perfmon.c > index fdda6d604262..fbb586eed0b3 100644 > --- a/drivers/dma/idxd/perfmon.c > +++ b/drivers/dma/idxd/perfmon.c > @@ -477,6 +477,7 @@ static void idxd_pmu_init(struct idxd_pmu *idxd_pmu) > } > > idxd_pmu->pmu.name = idxd_pmu->name; > + idxd_pmu->pmu.parent = &idxd_pmu->idxd->pdev->dev; > idxd_pmu->pmu.attr_groups = perfmon_attr_groups; > idxd_pmu->pmu.task_ctx_nr = perf_invalid_context; > idxd_pmu->pmu.event_init = perfmon_pmu_event_init; Thanks. -Fenghua