Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp583446lqm; Wed, 1 May 2024 09:23:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYpvJAx8hQ24BIIUJYwrVl4scFeFxNMIZZpmmkSEgXBo0QD7nESYtbqt0mue/qBlYkH9NBKEpJpiLuNCUr70GbpL6dr0NkK8M5OA00CQ== X-Google-Smtp-Source: AGHT+IEyTfXZ5d6Qdqoy/A/8C80b0+eYuxCCMb1WxBQXxP4z/4+5/BPo2eiVrlAVe1+qa0gIgOS9 X-Received: by 2002:a17:906:15db:b0:a55:90dd:9524 with SMTP id l27-20020a17090615db00b00a5590dd9524mr2048969ejd.45.1714580622470; Wed, 01 May 2024 09:23:42 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hg6-20020a1709072cc600b00a58f9cecfa5si4646600ejc.407.2024.05.01.09.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=selector1 header.b=VezXFfSH; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-165570-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165570-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.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 0D8EE1F2198E for ; Wed, 1 May 2024 16:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3271D14012; Wed, 1 May 2024 16:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b="VezXFfSH" Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (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 163F7502A9 for ; Wed, 1 May 2024 16:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=67.231.156.173 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580615; cv=fail; b=DjftZuq/AExgY7sAgSNLDGjr5gy4MZk5k/mimLQIiEk+4/+Iu0UT3WUQ6uJ2m2Yyqkn46hl28U8v3c3CM6VrSFJMcuecW0HX56FGIialXQhk3jq4lNRmLBADy9OcEAkHcJZaj1+9yOUqNR91KNHNatUl1SnqX/fEIZv6V23s8nw= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580615; c=relaxed/simple; bh=ISIoHi24+h3cjjAkxZ6WhB21AozgMAm1aJ0axr/tQRQ=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=mhNhtw/3XK2zNn7eOenpA/orbh7mx8wbuPf49ecm5Ho4nmbBgDBqbhkTDaieeiMY7iJzthjg4vgfCBIXqduqrXpNKaAW3h/3Rt2vVmQtnRjeH3miH2MeXqFAL2HRugZDE4II77aBTy4gDebrjExSIs0kBbnsjIpAEpS5CJhmIFQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b=VezXFfSH; arc=fail smtp.client-ip=67.231.156.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4415HUUl010308; Wed, 1 May 2024 09:22:17 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3xtxqf603t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 May 2024 09:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fCWgoIkr6CoH3JS7VdIr7dLFhtMnFq1YrCouWmVs9m1oplwfKStyAEmRXVnm41XDsTG7u1MtyWKf4G9gK+p7u/CqGub+4juy3iyzzNAzRpOzVbzfrOA88eBILWDbZ75KJRfAbSe0Pq86lF1OW0fZgEt/eSrLgX4l/D15MdjzxZOU4f0PfS71K/jp+1UpG2RUkQpyM3uNswXXYJpInCOTyl4H/xlrnbeIRoTCk+LEjwZhZXRHGCUNeQ19F/cAfXmYwZwO8j6CUrB9jj+PGxfLHsDAoCSYecxlf5jWD/bdtYCvetMDo04YgGlcbb4imO2Fdm/ZiCqLuT2baJLDKYcJAQ== 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=2uVr8U7MsAEQtQqxEOy9cwDl6KPLnKptW7/nPQdoNTk=; b=PR12kLVGzDZ02usYXY+RDzSu9OXt/CynXSCgjKbGPxCCPmOGaqIBWYx68sMofSikOtdyJhwUCv+Hqji7nOtyJbVPz0PAn08EH4pYKdylSxDbQxOOb4vjYM8wtHRS+vdgIiq2SHoyXo9YYFjxBpFmOHJsIrN9wEXQg8at+1B0mXgkkjHiwlNiwxig7FxZEha26gaUJbcQLFfqjk8bSQCpTbEvmgNXjGDeERVYRp4sD2m0Mfo8E8rPEoOvjjANH9ylfNWum+35aCrHfb3KZlKvJ5o5NvUeM76CFHbGGaEQXWiteCVZOpQkAQZEZox93MYUJsH2xZsSgQqo9gzZTTDpWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2uVr8U7MsAEQtQqxEOy9cwDl6KPLnKptW7/nPQdoNTk=; b=VezXFfSHazmB+Fq32t/OnG+WEtDj5xjBoVnrvCqSNGc+92+/1L+f9g5EBIMFyDwOgk1qgWM9oQsClukKg6AmgVQ5nmG0RTvjmIF3LQ5G5GU0ofP4mCc+2EZ0K7sR4d41zL9lJGuarll25ASs4vd93MFDxjV+LGO0UFFsUQPyjjE= Received: from MW4PR18MB5084.namprd18.prod.outlook.com (2603:10b6:303:1a7::8) by BY1PR18MB6041.namprd18.prod.outlook.com (2603:10b6:a03:4b7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.37; Wed, 1 May 2024 16:22:10 +0000 Received: from MW4PR18MB5084.namprd18.prod.outlook.com ([fe80::1fe2:3c84:eebf:a905]) by MW4PR18MB5084.namprd18.prod.outlook.com ([fe80::1fe2:3c84:eebf:a905%5]) with mapi id 15.20.7519.031; Wed, 1 May 2024 16:22:10 +0000 Message-ID: Date: Wed, 1 May 2024 21:51:51 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 28/31] x86/resctrl: Drop __init/__exit on assorted symbols To: Dave Martin Cc: Reinette Chatre , James Morse , x86@kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, David Hildenbrand , Rex Nie References: <20240321165106.31602-1-james.morse@arm.com> <20240321165106.31602-29-james.morse@arm.com> <47af4fef-35d3-4d88-9afa-42c1a99fbe07@marvell.com> Content-Language: en-US From: Amit Singh Tomar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MA0PR01CA0076.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:ad::17) To MW4PR18MB5084.namprd18.prod.outlook.com (2603:10b6:303:1a7::8) 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: MW4PR18MB5084:EE_|BY1PR18MB6041:EE_ X-MS-Office365-Filtering-Correlation-Id: 6399667d-140e-47fc-c954-08dc69fada49 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|366007|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?V2tYUUNzRkZQdzFTZkU4TytsQkpDeUU0SnRaYWs5dGVraGFORmxnK0FyQ1B4?= =?utf-8?B?K0xqQzZocjBiMnRTS0pkUE1ta2xUaWNleE0zUkJ6VVhZTVk4U2NPRy93ZlZu?= =?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053dGJYempKWkJzVU1v?= =?utf-8?B?Skh2YzZhSmk3ajV1NUdzZ1gyQzE0OGZ0WkJLc0pzNG92QU5FcllTVlhPd2FI?= =?utf-8?B?ODlMcTA3UjJwd1hNS0s1YURvU2ExM1UrVGx4anlJTDRrbitaazNIQzE0N3hI?= =?utf-8?B?Q2plcDhKRXorU2tkN2ljNS9WUXY1akd6Y2E2b1pKVEd0VnhTTXZEblVMRkRV?= =?utf-8?B?MWNmWFp3bThtWFFtQW9jNit6MnJiTSt5Zi9uZHRHS1JRZjRJci8xcXZqVFMx?= =?utf-8?B?WEV5QlhrVjJhNDlOa3lkVG44Q1YwdGRPaTF2bHlaQUZwSjlsWkFydzJoazhQ?= =?utf-8?B?WFVzUGxOSUVJWEtvZEpZaVBGQkNsenNUNnNlZTR4N1NWYXpaaERoT0w1b3Vq?= =?utf-8?B?Q3J0WXlIL1ZsZzRtMTRmbDRuTFF2dDVmV1RJMW9pM3hDeUEvSE9oQXpwUS9C?= =?utf-8?B?R1YrRUJBSDlvVnE4NUVJNHVhdWl1TEZzVEZ2aGdRaDNaUy9hMmZQc2IxYWk3?= =?utf-8?B?NnZNUkw2Qk9yRC9MUDhtNVNJQ0t0c3VUOUtrY1N3MmZiQm52RW4yeVlJeGZJ?= =?utf-8?B?L01LcHIyUFo5c3hkZ3lnZEJlQ0EwY05jYWQ3L3h6WFBiMkpyVmVLbVI3eEpt?= =?utf-8?Q?24JuorC0DYw8PYQ1/AxWe2W6UNL7RpcIrlKPkf5ICfUU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR18MB5084.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(366007)(376005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QkFuaWE4Myt6N0s1d2s4emE1Ykxzc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dlRm1BOWVhbWJ2dUZSYVdPMlNONCthTFMybG1FK05tejRl?= =?utf-8?B?dDZUK0VxSDZYbTloRjRycHJ6REp2clhFTXRVTUttdXVMNWVFdTA4WkFxRksw?= =?utf-8?B?cGRSaTg1VzJQM0J4VVRQMFhYcmxBb1FLSWRNbnpacjNDNGtzendXbGEwUHJT?= =?utf-8?B?MjRPcXVZbHcydGdhZmVSeFd0MUphdEc5SlU5TEU0dnZBcktWa3FNK0FtbklB?= =?utf-8?B?NTJQTGhmSjBKV2QrR205aXBwOUQ1cDZRWEQ5Y29QbGIrdjBSZC9NdjdQVnNK?= =?utf-8?Q?mg6gCcsQGxauMjpiiZpMiEUpq?= X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6399667d-140e-47fc-c954-08dc69fada49 X-MS-Exchange-CrossTenant-AuthSource: MW4PR18MB5084.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2024 16:22:10.7929 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: diy4yqZcjVFL/YaYfl27+JMHviLne4p3LvW0El2o6aOwSP2XfLIhgboFs49VkAs5rOyyFdLFiufE7XDA3EO4Lw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR18MB6041 X-Proofpoint-GUID: 3H6zONeAO6ltHlWTteLpfSTU2zw8UnRq X-Proofpoint-ORIG-GUID: 3H6zONeAO6ltHlWTteLpfSTU2zw8UnRq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-01_16,2024-04-30_01,2023-05-22_02 >>> I think James will need to comment on this, but I think that yes, it >>> is probably appropriate to require a reboot. I think an MPAM error >>> interrupt should only happen if the software did something wrong, so >>> it's a bit like hitting a BUG(): we don't promise that everything works >>> 100% properly until the system is restarted. Misbehaviour should be >>> contained to MPAM though. >>> >> if "resctrl" is nonfunctional in this state, then this comment[1] here does >> *not* make sense. >> >> "restore any modified controls to their reset values." > > Can you clarify what you mean here? What I meant was, What's the rationale behind restoring the modified controls, if user is going to restart the system anyways (in order to use MPAM again), but later realized that it is needed so that *non* MPAM loads (user may still want to run other things even after MPAM error interrupt) would not have any adverse effect with modified controls. Therefore, taking my statement back. > > I think it makes sense to clean up the MPAM hardware as well as we can > in these situations, even if we can't be certain what went wrong. > > [final comments below] > >> Thanks >> -Amit >> >> [1]: https://urldefense.proofpoint.com/v2/url?u=https-3A__git.kernel.org_pub_scm_linux_kernel_git_morse_linux.git_tree_drivers_platform_mpam_mpam-5Fdevices.c-3Fh-3Dmpam_snapshot_v6.7-2Drc2-23n2228&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=V_GK7jRuCHDErm6txmgDK1-MbUihtnSQ3gPgB-A-JKU&m=DzR4EYX-356bYvqcrD5mYQBzLmDppMaRaHx6yjN7nRE5GH7nogtw6VtDZchmqb_q&s=SKpVy4sPg3dbFJGfMfUGoo252IHOrHrLfcv5f0sCmm0&e= >> >> root@localhost:~# mount >> tmpfs on /run/user/0 type tmpfs >> (rw,nosuid,nodev,relatime,size=32923772k,nr_inodes=8230943,mode=700) >> resctrl on /sys/fs/resctrl type resctrl (rw,relatime) >> >> root@localhost:~# devmem msc_addr 32 0x9999 >> [ 687.096276] mpam: error irq from msc:1 'PARTID_SEL_Range', partid:39321, >> pmg: 0, ris: 0 >> >> root@localhost:~# mount >> tmpfs on /run/user/0 type tmpfs >> (rw,nosuid,nodev,relatime,size=32923772k,nr_inodes=8230943,mode=700) >> resctrl on /sys/fs/resctrl type resctrl (rw,relatime) >> >> root@localhost:~# umount resctrl >> umount: /sys/fs/resctrl: no mount point specified. >> >> root@localhost:~# mount >> tmpfs on /run/user/0 type tmpfs >> (rw,nosuid,nodev,relatime,size=32923772k,nr_inodes=8230943,mode=700) >> >> root@localhost:~# mount -t resctrl resctrl /test >> mount: /test: unknown filesystem type 'resctrl'. > > > Thanks for trying this out. > > I guess the behaviour here might want a bit more thought. > > I'm not too keen on us leaving a defective mount in the namespace, > with a nonexistent mount pount. I'm wondering whether things like > systemd may get confused by this... > > Cheers > ---Dave