Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp348315pxb; Wed, 29 Sep 2021 00:09:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj7MqerfaCAxVVpAXV5fhr1WOuFj978bP360UQzJHWR5Iwu19Sr47IxY1uwZ9APvLIy6kG X-Received: by 2002:a17:906:a246:: with SMTP id bi6mr11716952ejb.389.1632899340023; Wed, 29 Sep 2021 00:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632899340; cv=none; d=google.com; s=arc-20160816; b=Fe+lsxGRHUI0gxjw4GDI9cZssORH8yu9xkeaKtZeu46teXUn6BZ1pyom33JgzX6kN3 N1jlKO5TVrGWld1ZtWa6vLVa6bE8brLjGhnKvErbz1BALuL46eZzva8fYEVearD5PICw cWqH0nWCuNOrfgvSI1keJjAcN/yaoeJ2uo0IkGGpa00LEKAWEwnJ3vhyw+cS/FgKdF+x 03WqqTOdUTEfAM5wccrFeRyg3+JsE2NkmBc2SYuB0b4hfN6gheXRWPSUd47dxHQLOTTJ fBPgx026cUfT79PI5vcDPOhfYIJnjrh2mwEoRzuSmRhlwh/eHE5jpspSwb+3ySwqlB2K TWvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jCIVOJWZLF98Hbe01GPBe3/aqQObNVAn8r5K0k9U+mE=; b=QXFgx58kTvXJPw7xFLFAIHhe++EphklzXbhkVqBcng2cFJwkxcLy0gC5I/m0zhh4xY l/14/Pp1Ss6dX13tB+edk5Dg420B907vlAvvMJYWhuGtzDcI3nuYh9737si6r5eneqKs N0aISpWbR/0lDLMa1kKj1ls373hqD1yh2y+CUADmc+PSiP5vfyWoka7w8c/koB9L7WGH p1dKlBftdFMAr8u8EFEJxGCnb8nl6aDPWP8vrS+4PqwszaepmMabmZc1NP89VkBcUmrP NwNxUYY7jmCzDTr2ZI5nvIV0ArBuKVIxW4D3bUf8nyzgKdYhX+lZoJhTgGbWuir5M9op YsuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LNYuFHab; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si1636683edv.274.2021.09.29.00.08.34; Wed, 29 Sep 2021 00:09:00 -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=pass header.i=@linuxfoundation.org header.s=korg header.b=LNYuFHab; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244500AbhI2HFd (ORCPT + 99 others); Wed, 29 Sep 2021 03:05:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:54362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244488AbhI2HFd (ORCPT ); Wed, 29 Sep 2021 03:05:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE4386138E; Wed, 29 Sep 2021 07:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632899032; bh=GcoU2MZqcGbGfGu7dqp3ky0uo+isKPbsBl/bQHfwjkA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LNYuFHabhSmp8WoFeFG/LNoV9ixHrrJN+WcMeeFnkuAMAKPpSgiaqs28Ie4ObbkqR v79QTMO+IUwjr7Myg8tyVkc760HeuJ0qmskht5wWiLv7bTfAPZbGaTce9QEHhjS9t5 8qGObuF6tyv4Rkc0dHyPR8+ZCfdAi7rjyTgJnj6c= Date: Wed, 29 Sep 2021 09:03:49 +0200 From: Greg Kroah-Hartman To: Avri Altman Cc: Mauro Carvalho Chehab , Linux Doc Mailing List , 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 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 06:32:40AM +0000, Avri Altman wrote: > > The current what expressions: > > What: /sys/bus/platform/drivers/ufshcd/*/... > > > > 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: > > > > /sys/devices/platform/soc/ff3c0000.ufs > > > > Which has those aliases: > > > > /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/ > > > > So, add another What: for such files that will match the > > device ufs entries, e. g.: > > > > What: /sys/bus/platform/devices/*.ufs/ > On some platforms the suffix is .ufshc > So Maybe use: > /sys/bus/platform/devices/*.ufs*/ That's confusing. How about describing why "ufshc" is used in another entry? You all must have picked the new name for some reason to differentiate, right? thanks, greg k-h