Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp214393rwb; Wed, 10 Aug 2022 23:23:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR6PXfr48KzFTEcJ4iEbTN9zZNEIqL9LkYLXj2FzpFk5ck0xsWAY4gddjLmwBC0nb0kyWTeo X-Received: by 2002:a17:907:3f2a:b0:730:ec00:1b19 with SMTP id hq42-20020a1709073f2a00b00730ec001b19mr21274967ejc.722.1660198992276; Wed, 10 Aug 2022 23:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660198992; cv=none; d=google.com; s=arc-20160816; b=O4vOdKANAmb2r3V1kGzkC506ezfFpwSpZepSz0g1Hh8/NBAb+wkEQw6FxgUYcKueHQ 3gQH7KqEIwfAYsCldjWxOZSNRPo6CJZ8V8W3HEmJahpVGwXEYvxtOusIGjCG6f5igi42 oBCKZRGQEUp3xf9nbtuE2oB+uElMDrVmnJW99aLcy5nvlfyDLC6MJFhP5ATWGDeu5KTA 7KQiuqC1FdhbOysnzVtlSQVXhWqL904Xgm1Msl1mvXPmY+QcPIu4nzCmqqPwM5/tPz0r PH51KN50qsP7JcWoE0NlHoM8CkuDvVjGINO8wTJd0jzkNTkOyMeEbULcZSx+7wONAHzE pfSA== 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=3UwPeUeQ7VjDnVNZ+LHhCUxVFGX5ZUyFg7qjSB+Mf2U=; b=QVqwBKLwG0wMDlorr/X7/gn5j8SybLvky9Esf8fy/eYPAspW3GEzVHynUWfnTVukcS u+N3xHgN3ePNq8SE0+RT6TAeB1/CxJVwLsrRkRK3RdZ+V3Ye7xoJYpjei7JF5RFsNOhT UKLIks8orR73SbgnvaS/DT9q0s/zKRJ4ptuq6lLoTvS3jow6QFbiRTIfNL7oGOWMyvO6 5BhaBSY2oYFrXL3ZG400fCepZMjjTWyYmfZzFo+qqS8ftll//Ta2eO5/6nfNDR8EJZv9 n1MsiDpKuDzVQ53TreeLxBgY60zoLDqLI7jfXDtsZhuZwJsVvQPFxNohsXdb+yG/1EJ+ 7e9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NPZw0hIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd11-20020a1709069b8b00b0072b3a316cc6si2903483ejc.977.2022.08.10.23.22.42; Wed, 10 Aug 2022 23:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NPZw0hIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233787AbiHKGUF (ORCPT + 99 others); Thu, 11 Aug 2022 02:20:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiHKGUD (ORCPT ); Thu, 11 Aug 2022 02:20:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C13283BE5; Wed, 10 Aug 2022 23:20:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D548D6144E; Thu, 11 Aug 2022 06:20:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C86CBC433D6; Thu, 11 Aug 2022 06:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660198801; bh=3UwPeUeQ7VjDnVNZ+LHhCUxVFGX5ZUyFg7qjSB+Mf2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NPZw0hIwdfWFx7Nay1KSTarxP3gtJFHt0j/W+VsjS9bqO+LLKEpBAa9J5o+bO799H iiyKae2sAUwRT4YRJvtnQULqmxR+LBOwUE1I42tjJO+4RV0tjBDromCMjPRjWzYfc9 9jDUIr59O/AVdBSdS0wqDJu10mUBumVF2PiSXXSY/LSbmb8St4Wvrh/InyOjh1eItF Q7s2KnEQYf48D3W9RLmyaIoEV9a8qqYdRjA35pMY0AwEdbHuBr6CxQLnwn5c+4OVHv /zD/wYk6ExOMGTXabQWOLZVH3+slWoSwMqVZ03WdjQctE9HtqzmFUNuVZMJ8elzXhp 2hy0Ho/kvnrEQ== Date: Wed, 10 Aug 2022 23:19:59 -0700 From: Eric Biggers To: Daniil Lunev Cc: Greg Kroah-Hartman , Adrian Hunter , Bart Van Assche , Alim Akhtar , Avri Altman , Bean Huo , "James E.J. Bottomley" , "Martin K. Petersen" , Mauro Carvalho Chehab , Sohaib Mohamed , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v6] ufs: core: print UFSHCD capabilities in controller's sysfs node Message-ID: References: <20220803074955.v6.1.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 03, 2022 at 04:34:55PM +1000, Daniil Lunev wrote: > > > + > > > +/* > > > + * The "capabilities" sysfs group represents the effective capabilities of the > > > + * host-device pair, i.e. the capabilities which are enabled in the driver for > > > + * the specific host controller, supported by the host controller and are > > > + * supported and/or have compatible configuration on the device side. > > > > Why is this information not also in the Documentation/ABI/ entries as > > well? > > > How would you want me to word it in there? For each entry? There > will be more in the future, would we need to just copy it as a > boilerplate? Bart suggested it be added in the code, do you see > a good way to mention the same in the doc? > Thanks, > --Daniil This is describing the directory, so please include it in a documentation entry for the directory itself (/sys/bus/platform/drivers/ufshcd/*/capabilities/) just above the documentation entries for the files in the directory. - Eric