Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp688175lqm; Wed, 1 May 2024 12:28:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdEWdOSFht3ODzPZNDWvZFx5hDrk9V/iSyf/tl+s5Wy4c9dYasvyegzn23mAL8Cb37rWwqiyRbq2JdMpEbYTD2ZvA2+TiBbqH4MNS84Q== X-Google-Smtp-Source: AGHT+IFDTRKAl58Z78x+C2CzNixOR2PMnaAGj6SBH/0RYwB/MnS6wzLxp1x31FWkMBrkjvekEL2g X-Received: by 2002:a17:902:da8c:b0:1e1:a54:1e44 with SMTP id j12-20020a170902da8c00b001e10a541e44mr3885412plx.16.1714591736111; Wed, 01 May 2024 12:28:56 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c10-20020a170902724a00b001e431e864ebsi24071768pll.342.2024.05.01.12.28.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 12:28:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165711-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Fuscnx88; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-165711-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165711-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B8211283FD1 for ; Wed, 1 May 2024 19:28:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDB79161306; Wed, 1 May 2024 19:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Fuscnx88" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 8F66212FB1A for ; Wed, 1 May 2024 19:28:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.12 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714591728; cv=fail; b=IinCY2fuALAgjBPZfmIsR8jyQ7IPQ7x6Zs1MXYMA+D8TbMRDjfmSdD8TKCdyYClkyqPiyIFGDj0Nmo8Amx0b1q1JSc2KRX5/sYUC5c00cXrtze1b8MrYEPfcsQXRNpH+M+giWkdp7RJ/JoQeoZikqX3OSxZorBXrJprQD5j2NTY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714591728; c=relaxed/simple; bh=JX3bPSixXAN8llzH0r2IlD5+51eukb5MqgYOKhIBmZA=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=aizEKTaqsoP5uenfJHT7zxQmoTr0EP4TnpeEkJi2HfcZ9MrYk5HtKpBoaeNr/Zqg0zGLbfeEdbj2ou2jK2ffGSUR9vG5mxnd/tFLxahV+9M9Dcq6gJs3W/PqbS6IFj1uR3XxEuz8fjSte8pLYkqeGDdKQZK+ZuYfd9y2L3aJO5M= 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=Fuscnx88; arc=fail smtp.client-ip=198.175.65.12 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=1714591727; x=1746127727; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=JX3bPSixXAN8llzH0r2IlD5+51eukb5MqgYOKhIBmZA=; b=Fuscnx88kNob/fc7GCrltMv1GsNpndubF97PJol3sdftODg6Fe6E2VHm DgaD8uHZGKP+Ws8/SZVQv7YgIq+Dv/jReePOgIRvONrL6HvnG+vK88IBY vsbW3kbMi1yBFDfnmVVFBspapzETMuwPk/ChIKJ3BaBy5LJFl6YJasS6y mjXD6cD7lOiRh3furQTkvQs6/VRUiO7qdeOEGp0yoNQJTBX3fCU80EDHK Ga5N3XcZuqFyQWbznlspkzNbZpcLjgxdVT+Mdi79HCQsdu1DbrWXZ8Wcq pOf0lqqZW4xxlFQxKhYCgxLVf3tJ3FzDYa0MwOva0ZMhyJsf3yPPmvne6 Q==; X-CSE-ConnectionGUID: XVMkdDkaT5KW3GxNuLMS4w== X-CSE-MsgGUID: eiyNf8SiSUqPRW49rDSw6Q== X-IronPort-AV: E=McAfee;i="6600,9927,11061"; a="21754655" X-IronPort-AV: E=Sophos;i="6.07,246,1708416000"; d="scan'208";a="21754655" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2024 12:28:45 -0700 X-CSE-ConnectionGUID: Gs290JkURrqn/JpGlF4aug== X-CSE-MsgGUID: 0BkjaitoTKGM1Iy/CstaoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,246,1708416000"; d="scan'208";a="27378397" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 May 2024 12:28:45 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.35; Wed, 1 May 2024 12:28:44 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 1 May 2024 12:28:44 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.40) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 1 May 2024 12:28:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/N67Ev3SQTLeRC8dQK7kRW3HWiI20JK7ST/lKuqbbkoHYurSN2EhggiX0TlUhFrRe9jZy7ecyXwnyzP8KhKlZuHsIliOKoXJmt944TCPh4wWRTNDBO/uXB5wbFyN23A6sUTWGd2ywrIF6NGkFrgqNOuJpBFVIgHYkINFFa3vJtbRRBLOFOSQX/DKZO+lIT/H1tpwcSUsNYGiWZ2JRJSUbOWEQ1013P0m4bwHbqf1TbnJMrm3kmDBKgrB2Y1w4+cyA7sP6N0Kdg1Ad6P1kafF+1zcNLVsN8+Q5ywjL1eOCQFtsOToMy7XL0NzVNts0sifArf2AstvV91Qx08LMcmEQ== 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=HrI3OBHDLQaO6HyIF8SF6VCewk/bX3dTavWub3g6y+g=; b=U6+M93tqYqjYQbH2nflufrcqr3yoUBFins0GP8xthKaGfbUqXgQYxc4o7PZsgcxrk2BGx8k+RMZ9oRQIZWAF3cL/eG8CU+P7R8mcTFgq/Ju0Uc7BEZNU2b7oTMhGds/b+pjAbcv/8PZuo6R6I6CE/qyi4V8qKBDlwXcyDnbYxqbhG76tWArF6hMVZGHyTN6l9mj8VkhKPraJCoAitAbB17NbPzKVuBmmMBsuMVd8Bt5u1ZCW0kqUK6eB+HlDz47jOHhUvnCLRNa/KGdrImgJCYha+XmwmuKeQtH/RNenRLUijsPB9ZuVRGLGgM31qSre8icfPMrOa45Vy5nACjEIrQ== 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 MW5PR11MB5882.namprd11.prod.outlook.com (2603:10b6:303:19e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Wed, 1 May 2024 19:28:42 +0000 Received: from PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::6b05:74cf:a304:ecd8]) by PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::6b05:74cf:a304:ecd8%5]) with mapi id 15.20.7519.031; Wed, 1 May 2024 19:28:42 +0000 Date: Wed, 1 May 2024 12:28:39 -0700 From: Dan Williams To: Tom Lendacky , Dan Williams , , , , CC: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , "Peter Zijlstra" , Michael Roth , "Ashish Kalra" Subject: Re: [PATCH v4 13/15] x86/sev: Take advantage of configfs visibility support in TSM Message-ID: <663297e7cbdee_1384629418@dwillia2-mobl3.amr.corp.intel.com.notmuch> References: <662c239680842_b6e02944b@dwillia2-mobl3.amr.corp.intel.com.notmuch> <33620512-a456-aa87-25d3-e15f2d3d256f@amd.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <33620512-a456-aa87-25d3-e15f2d3d256f@amd.com> X-ClientProxiedBy: MW4PR03CA0064.namprd03.prod.outlook.com (2603:10b6:303:b6::9) To PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) 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: PH8PR11MB8107:EE_|MW5PR11MB5882:EE_ X-MS-Office365-Filtering-Correlation-Id: 40cb1f40-c448-42ea-3d74-08dc6a14e93f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|7416005|1800799015; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?TkyCZdyu3siDOby+MigwXjGnYhGzNYLUQt76UoQJ6PwAbs8DDxsk7fLXUN?= =?iso-8859-1?Q?2JnNKfJl3tqjiiQj5T1ve7ssWkJMOyNZSWFLXIYVT3Htq5C9wvX/g6Woj9?= =?iso-8859-1?Q?AubWXCae4VqUrTBXQ8Are/Q9xcFmmfmS2+LuQVnQyLW40TLQE6d1lvirQc?= =?iso-8859-1?Q?Q5IjEGn2NZYaSkCancfTnWvnrfjFJcTQvVoXaTphFA/X2zTHPOh19xbt1T?= =?iso-8859-1?Q?rVVZ/bqEwAy5NJG/WDzzNIHODeQbMT4ByLEWzBYaZbsW+e+SbyXtUcrUyk?= =?iso-8859-1?Q?ZiMCCJZTQI78CLo4LkXB2H911MszX+NzSpveTHkcfFf7KhNohCh/nN2/o5?= =?iso-8859-1?Q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vBxL87QEBtVdMIwpUwmPbFtA?= =?iso-8859-1?Q?5h/9RSQa9xvYT3dBLhfOcGsJ7rDnzj1snjKTV1u2RQ1whAuLSFdM1pJg6a?= =?iso-8859-1?Q?hm7G8U8ksesSQXYNl0mLPAPugQ=3D=3D?= 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:(13230031)(376005)(366007)(7416005)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?c+JPi0/MUFh8tryxgKyC66VjULkClVQy5MTCIVavVnOb5gnWR93r/K1eFr?= =?iso-8859-1?Q?ev28lZx+1Bp5S51iYbwHnZkSFqb168VDAHURItk+tA9kdoXZhoWTA2Zq+0?= =?iso-8859-1?Q?RwUS7stUG3PUjj/s9cLm3CaTjzrUmK/H8Y27TxSVim8YuzHauDLq5XKDXC?= =?iso-8859-1?Q?gHQJp3h56pYdW+dtCQfw1E5GKm8pPk87P7Kx0IoeWjyFR5dlNzUXvKpOEE?= =?iso-8859-1?Q?FpcYCDYqQzyFzToHg8J6a4tbKYXhxZb9wVPl3Yzww1gZadx/V5dXX8ROOK?= =?iso-8859-1?Q?9NwN4n5459xern2IilI8Vq0XArC5vNtY0mIwk5psVQx3YfLYIWGOSlUW3O?= =?iso-8859-1?Q?cxMjWiGVYy2LJWVTmypc4dHV4ulZkZIICGgHVc/4VQB3pSzPSbSOolG0YK?= =?iso-8859-1?Q?zCH95oxRqfVACi6CZ2XZsav0t8v7OaQynqRY1He0VFy5FqBWdElHXRnOcK?= =?iso-8859-1?Q?HLeZ1mlbfRYj56cbkXxIqwCif6GF2WTB3K06tJ4tWQshpemZKa23l3uRqA?= =?iso-8859-1?Q?+T6zs6IzRp5x/L9l/cqmkQYi3V5u3SfbRrAI/v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rh0Z6B9QGLsswznPCLVefkYXJnshZumFjXsG0XG0XtE6KVA5Yz?= =?iso-8859-1?Q?IhfAntXnZaORu3rn0XzYD2RxojoJQ0sOEd+zZVYva9z827M8ql0QXF7fbr?= =?iso-8859-1?Q?6bfOWKfn672kAheHIkYmv08MwGlyXBRi25veLeZK8UYfPf9W97Uhhlc/2a?= =?iso-8859-1?Q?dHe8bs0YhtxkzKY2K0f5qv8WpJkL90KaAyOybkkJL0A6hqYWCAh5hoRQ?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 40cb1f40-c448-42ea-3d74-08dc6a14e93f X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB8107.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2024 19:28:42.6891 (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: qaf5tduUmCmEwyjl2B+4xEBtlTZ+Zrnl5lC1uF9n4lNbYpFDEGdC9y6adaroOJAOTqc/ju6wXXqVQ+xELQwo7lYbe+IGfQOmsEYYCBcvDbU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5882 X-OriginatorOrg: intel.com Tom Lendacky wrote: [..] > >>> +static bool tsm_report_is_visible(struct config_item *item, > >>> +????????????????? struct configfs_attribute *attr, int n) > >> > >> Per the comment on where to find the is_visible() callbacks for a given > >> item type, I expect the need to pass @item here goes away when this can > >> assume that there is only one way to have is_visible() invoked for > >> @attr, right? > > > > Yes. > > But as I look closer, there is only a single ops callback pair > (is_visible() and is_bin_visible()), so as long there is never another > group / subdir defined under the TSM report, this works. But if another > group is added, then the item parameter would likely be needed or the > ops callback would have to be updated to differentiate for the vendor > (SNP/TDX). Makes sense, for the tsm_report_is_visible() signature. Especially as this is proposed as a generic configfs facility. It has symmetry with sysfs that passes an @kobj parent anchor, to sysfs is_visible() callbacks. However, I still think neither @item nor @attr need to be passed down from tsm_report_is_visible() to the vendor backend. Those can be added when/if another item type is added, which I do not see on the horizon.