Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp329099pxb; Tue, 28 Sep 2021 23:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrTiDwprXcN0B4VquW2v3ORbfFw0Fr25X+ruHcbAsCpY6InYt0SYPj2g6/QTX+9X8nfde+ X-Received: by 2002:a62:7f01:0:b0:43c:ecef:98dd with SMTP id a1-20020a627f01000000b0043cecef98ddmr9707101pfd.50.1632897269132; Tue, 28 Sep 2021 23:34:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632897269; cv=pass; d=google.com; s=arc-20160816; b=dHCPJNFPQHezk3+v+fSulGEtHukY6tO+sPvlxu2qq7RDQntBixD4xvqNTr4lzwE0DV 9hr8ejOkqhThLtgfWZS6v82aRke1AZW2Xy/DJJUCdhtReR+S4jorYwsHwUE3cda2k4ux Qm9IZM3VW33a660DR0fFIFlMjPEt23VbkBh1XkyUQwhHChSQGfnyUC5079zMMP6BGJyQ /EnaFtjwK5yBn4Bz6SJVVDy3bx9F946ZH+KjIPyQwsEuBFWNb1PsSLngvhEjKhVcK6tf pBMoB7ehg/mEPFyO2SzqPC12Vpltac/Qbw0eoRefQC9n1aQARXlH+orpiEaw7k++Db1g sKzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature; bh=l48A1+So/SeDNXJOJbbhqCpOlhms0ouqoSFp666Sp9I=; b=rRMSH8Dcsm09RAxkgdWjlWn0cWcCBVKdcfRedOGvmATt+o96XIcku76mEYDZ9c3j41 Zpl/5cRFB+aL0hl3nvgJHqz8fZIepRJO4tApjtM/qWaRAJUCEIMtYDNaU/MA+KUtf0hD Xjl+Av9uhyCYFFnFQTVfxSrUol7A51MfmHVK7voTv7Gnmj549SEa81sZGXhIaf/H7RMw P8YOjUlO0faTtFfRQRRg8T7BTzOqWeUHKryBTinVEV9tn606Dz51iphxqTObcKOzb7iL KReitudB2bI8Gfq1e1TLeeiTSW1HpRYq3N4QnkGbAQrM5r/mM5Kbf/4n5XBvljw5uXaW hvEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=qQanZfzF; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=qbbsdUBK; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si1810777pgk.86.2021.09.28.23.34.16; Tue, 28 Sep 2021 23:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=qQanZfzF; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=qbbsdUBK; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244304AbhI2GeZ (ORCPT + 99 others); Wed, 29 Sep 2021 02:34:25 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:13963 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244177AbhI2GeZ (ORCPT ); Wed, 29 Sep 2021 02:34:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1632897164; x=1664433164; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=raYVdb01/Hhci04VCb0J6xlNuvq2bjGYYK8YzcIQWUg=; b=qQanZfzFPa8E9ddznjEgWoh1xXj2dInvjTGEfEdl6oAU0xGsSANwP6FL 9UeixjoHNwyfFHNXGB2B3M6+r6+GufLPwiumCMnwe1yQf7Cj2VYxEU982 CJWvpeBt6nVU5DTbvWwhpsO3YGv/135E5WsNNTWBgQc48Oe0iHws+nzO1 4iqnGQCodH3q7atl9TddVegvMOerN++TAIJIxYl7S21j+WmO+mzrVEHMZ QsuJXlhLfDVmOno+OSQbn3bDSFlgFlMfsumVa3WTFHLcoVj/T4GlP3VWK /+WeYW7u5UVxg36qc4BTIdVbyKZ61+5BVCXgSLz9+eLjsrx94DOInotCp Q==; X-IronPort-AV: E=Sophos;i="5.85,331,1624291200"; d="scan'208";a="292916770" Received: from mail-bn1nam07lp2040.outbound.protection.outlook.com (HELO NAM02-BN1-obe.outbound.protection.outlook.com) ([104.47.51.40]) by ob1.hgst.iphmx.com with ESMTP; 29 Sep 2021 14:32:42 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B+41Y7pClnTvfPRLp0rP+gSt5G9nUPC0zvW8Mjz7FBhVpkgLanpfj1FReT1wuzMhd1PwE6Np0myoOTE/mITUoAI2vwi3aN5perhN7pgIZQYFK4nZger9L2OI7jSYyOdHOt2qrLoypJHlGB+Kk+pdFMElOkrXKmXKq+ogVSekxHNoQbwea2C/3foH8muYy0kNGxnMiHm3FeYn1bPsOmlS/wL83gHz/OjxUcI7q/vTDtERIZGJV2HU00Xtuy3rpCyTod1GHQpZhFTPx3fBT9tXZY69OK0WD3OIGTtpZGqIM/NYZQzI54J2sKTq4jcGA/fH0uZ3Ai5Q2XxZzmiv/V62vw== 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; bh=l48A1+So/SeDNXJOJbbhqCpOlhms0ouqoSFp666Sp9I=; b=OYYCUY5xkEzh1CucT7IIbaJCuMdj4D27MN2TCf24JbILuuZhlvgn6WqMIhvPS3HcA/MU9nNPTchAbziu+Gc9rKJ1Z2Vb99zGFP5TRPvl5dih3nYv6bWD68e6PW/sJtk3HxwqWrokWUJOocgrd3xMImW3bLhB7ExI5NA6oR71jYMSB6hcXigsGlRQ05vXyp71llLjeYSZkA6GRWTm8xLphCFXKnbBx3GjA4hT5AgLrj9zu0CGdlMUvAKawwFizqhgIN8yzoGKfVhntABkqqbRmmKVyDU7CvyrTIZaReJn2Aj0K+pErV74mp52VJ2j8ajl+CuZAv/KBLOSXkcwkALOIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l48A1+So/SeDNXJOJbbhqCpOlhms0ouqoSFp666Sp9I=; b=qbbsdUBKAgPX9dmIQBoAwGpsSzIIs5WGHvp3HD3JKn3gEqgWI/KAuKh0X8MjAFda3yaQ7zJp/k6HANNjZcIHUkeuQgtHwB2s7WY63fuuP4QF/64rPgiwpSlBx2bafQ8qbX4t9tEg7jBz5oZwNGJDRmr0YPCGiuARUZ/dlgR8EN8= Received: from DM6PR04MB6575.namprd04.prod.outlook.com (2603:10b6:5:1b7::7) by DM6PR04MB4843.namprd04.prod.outlook.com (2603:10b6:5:2a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Wed, 29 Sep 2021 06:32:40 +0000 Received: from DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::edbe:4c5:6ee8:fc59]) by DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::edbe:4c5:6ee8:fc59%4]) with mapi id 15.20.4544.021; Wed, 29 Sep 2021 06:32:40 +0000 From: Avri Altman To: Mauro Carvalho Chehab , Linux Doc Mailing List , Greg Kroah-Hartman CC: Jonathan Corbet , "Martin K. Petersen" , Adrian Hunter , Bean Huo , Can Guo , Daejun Park , Lukas Bulwahn , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 16/17] ABI: sysfs-driver-ufs: Add another What for platform drivers Thread-Topic: [PATCH 16/17] ABI: sysfs-driver-ufs: Add another What for platform drivers Thread-Index: AQHXs6f5Yuh6nmqV7E6a9UXcE4axwKu6iE1g Date: Wed, 29 Sep 2021 06:32:40 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=wdc.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fc16b692-69d8-4ab3-9f77-08d98312efbf x-ms-traffictypediagnostic: DM6PR04MB4843: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QHDdgOUhqgkgrXekfycwrAZtF1T/ucQ8tLp2gYdRtgZ18IedOuAjZHE6lgzsG0G7igRDKaW4Ebl5BixrereJaHicjCHWPO05pmsGpEqb1q6UBADU5AhGBIvBh0AnyRmhjh4GqNmZCgiUKfw16kItSUkceOP8c0sTFUrOAzWCfJLLLTnbzjLNCvYq44BZo+f+OZ88jkejcdrXd8Ih9v99tYgepoXlJ24kmusz6k3RJfAMKHW0Vp3SJMvCh6nCEsftuOyrHXgliWug+on7Fp+18+HZc4EH7lMf2cmcyMOlQMY1pyX6qNqPRGJ4lpOFY6Cgs8HI1L/O+96P6OTche/VU9etNgZKuUrPI+hb8vJ5gmoIl+OPndzjsDbp5gu4nyZ9UgZaaiiDo/+JIvkMsHr6mqq4uMtfwuEdzevNZ1LvIx5RC5JGgzYffBw5QwSJ8Wnc9jD7jmw1/9sdr2M1lTTD6JuMAZnY77ErdbJyMq76nfkM15a4x8539/S9ajnljnqD0xHyULIOSuchEewPw+fyZqjrURd0BflbP83X1cws9TXAHiGQLxoy1AgAZvHkgqdDKP/3yQsWD3aYacQlkdL0Fm2P0/LLoG/mmnASynJY3sjIZ23BZ3SW5TjTm2qZ5/BgAtX2lWJKnf7dV/8jBqHiiweEV4g0Y9BiUFLWW42bOKBH3IA37EykCo7iQ5m5e2XLBqw1AX11qXOhcTZtGZn3TQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR04MB6575.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(110136005)(54906003)(4744005)(38100700002)(64756008)(122000001)(86362001)(26005)(8936002)(76116006)(66946007)(8676002)(33656002)(7696005)(2906002)(5660300002)(66446008)(66556008)(508600001)(186003)(66476007)(55016002)(9686003)(52536014)(71200400001)(38070700005)(316002)(6506007)(4326008)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gdui1lvC3X8wSLQV+ZLgunSQqOCC0xXb3Dn2ZCcUnQQw9qY0g2apmQKJgaHa?= =?us-ascii?Q?CBZ7H/QFwJSt92KX9DS7Wmo8krzEdRcPLaXouh/J51stueTb8whsKAGvSvxy?= =?us-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/rnqJbU7JfeWgts?= =?us-ascii?Q?R7XxjMtPZgY8NUfaZtirqPb8lLg/bnUQKwD4DHt0X+twsQp9spDGAnr+efXX?= =?us-ascii?Q?rgtcs63n3vvUuH//aXV0gwdJfbNxwf27z+KfqANPwFOi9v32hXhCmf7WHfgf?= =?us-ascii?Q?Ki9XeL4X0ZiF2VB4pLVAj9vhsA5B3KTNrdP3dIWW0HDLpliSDU4pg+tcT/+i?= =?us-ascii?Q?/kAjIc6arfnkKXsUFRmcfNGPg9K/aQifIB1qiRCWaH9PyZclXrebRxxpm7lD?= =?us-ascii?Q?NkwU2dD1K4uc/WGX+J8tQICg4TdyR0/BZCwGzZhMCUJDmzEr6Sa/lyRQ1YFv?= =?us-ascii?Q?VTLwZJQtK9magHXFYNmA2J+w?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB6575.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc16b692-69d8-4ab3-9f77-08d98312efbf X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2021 06:32:40.3354 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SzqMRTagJhi4rcIbAP4X4fHYeMJL9juBxQS254H17I4B8r/8u5KwyHJfK1O6maKoXCIcJDzsPIEAiTGEJv5zQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4843 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The current what expressions: > What: /sys/bus/platform/drivers/ufshcd/*/... >=20 > Doesn't actually match what (some?) platform drivers actually > export. For instance, drivers/scsi/ufs/ufs-hisi.c actually > creates the sysfs struct for ufshcd inside this directory: >=20 > /sys/devices/platform/soc/ff3c0000.ufs >=20 > Which has those aliases: >=20 > /sys/devices/virtual/devlink/platform:fff35000.crg_ctrl-- > platform:ff3c0000.ufs/consumer/ > /sys/bus/platform/drivers/ufshcd-hisi/ff3c0000.ufs/ > /sys/bus/platform/devices/soc/ff3c0000.ufs/ > /sys/bus/platform/devices/ff3c0000.ufs/ >=20 > So, add another What: for such files that will match the > device ufs entries, e. g.: >=20 > What: /sys/bus/platform/devices/*.ufs/ On some platforms the suffix is .ufshc So Maybe use: /sys/bus/platform/devices/*.ufs*/ Thanks, Avri >=20 > Signed-off-by: Mauro Carvalho Chehab