Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp120884imn; Fri, 29 Jul 2022 01:34:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1undERWnQhwxev7AekL3RxgUHX8NOcdf8UcAK6sz0P95vntgiRuslJtiwG/FKgplJNI1gv7 X-Received: by 2002:a05:6402:2687:b0:43a:6025:1658 with SMTP id w7-20020a056402268700b0043a60251658mr2421740edd.271.1659083656691; Fri, 29 Jul 2022 01:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659083656; cv=none; d=google.com; s=arc-20160816; b=K6Jp1zSDCWJJlhR/qzmhC85y9L5KIFJ0/z+hFWBK/t0Rpzxx8qxbyPE0cHApRkXS4e 1pP3b3Yl+uX7lwILdAiapwdcyXOf1+jlJ4x/IvhN6vh7c7TcYZvhvh3YQedXh9lcDBtz 9xkPUoULBQlv2mOE2PWnRDtEHG3CB4bUBX6PKJ2uKln+X1uc0OPkhgBWM0+z2iZl3H+d wIWqRtzSL395cgjbIiXbKoWqmUQa1nFSwrJeo7Ar7t/Ccq0Op1GG/gFJbVq2aq7f6KQH IVcBxNQ5GABe2QB95uqQLV4KK3bd4tEJGsh0etnVlY2p7z3huWWTF5HxxLC1k6b063rh 9JeQ== 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=+YaFhfHaTnSph07hntjOH9udTSSKExuuFOLm0a5CqlE=; b=BV+sYFecjJfD6TJSYUXxxvARkCP7VamZ9TsBmzD4OFdeMIoeXXblu/MeI0Xa4ZQHjb h4Tc/VDZE2n9xmDldx6TMoFWcoY1pYjn4377Y5vPapJWRXQdSTvBFQJAQF7gAhyS+pyQ kBp9n4hCLLAErWGiS4r/oRwxPqCjixtTfnLSwrSLkBKy+wVmUF0bNxL9vraeinrxb4ag 0NDRBvd3JKluyCfSyka1XT8okG+tKHI/pGoUd++mayHGNWCy8IekgIN93AJ2jVu/K+Hy 9HwdYv4EaXQjiVNdbRUNGqngaKtkGlLS71SMCbKxKcP7sz/W0r5tmpf9VhY5xXIwUR8y AYQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xS4QMSlq; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a50cd91000000b0043a71d95839si2624778edi.546.2022.07.29.01.33.50; Fri, 29 Jul 2022 01:34:16 -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=@linuxfoundation.org header.s=korg header.b=xS4QMSlq; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235239AbiG2IcX (ORCPT + 99 others); Fri, 29 Jul 2022 04:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234548AbiG2IcV (ORCPT ); Fri, 29 Jul 2022 04:32:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A2857D1CC; Fri, 29 Jul 2022 01:32:19 -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 ams.source.kernel.org (Postfix) with ESMTPS id 9A342B826F0; Fri, 29 Jul 2022 08:32:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A00F8C433C1; Fri, 29 Jul 2022 08:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659083537; bh=9Q0MNhoqEt6iJgN9HLzuAyJsP2J06Va6Xapeha90OEQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xS4QMSlqbD7bc5DHXuSuJuZwFWTvWRwgn6F5Wlfv71/TCKcuUSS18rPFwHHm/2mGF FrN+NsyyLY3CStC5D9Nx5Ev4WaRFTGB52DPW8L9bhygzLSikAW6Qli6zPLuPRn4AM1 Q8XGpKUpV3/cnSJdaMSU9EtcFPYjsETPZMcTHlII= Date: Fri, 29 Jul 2022 10:32:14 +0200 From: Greg Kroah-Hartman To: Daniil Lunev Cc: Adrian Hunter , Bart Van Assche , Alim Akhtar , Avri Altman , Bean Huo , Can Guo , Daejun Park , "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 v3 2/2] ufs: core: print UFSHCD capabilities in controller's sysfs node Message-ID: References: <20220729020508.4147751-1-dlunev@chromium.org> <20220729120216.v3.2.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 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 Fri, Jul 29, 2022 at 06:29:45PM +1000, Daniil Lunev wrote: > > > > > > +What: /sys/bus/platform/drivers/ufshcd/*/capabilities/clock_scaling > > > > This shouldn't be linked to as a driver file, it's a device file. So no > > need for this line. > > > > > +What: /sys/bus/platform/devices/*.ufs/capabilities/clock_scaling > > > > Since when are all ufs devices platform devices? Do we not have UFS > > controllers on other types of busses? > > I have pretty much copped the structure of the entries across this file. Nearly > all of the entries link both device and driver paths and nearly all of > the entries > mention the platform-based path (which you correctly mentioned is not > factually correct, since we do have controllers on the pci bus). Please advise > if it is ok to keep it like this for consistency or what would be the > appropriate > way to adjust the documentation? Ah, ok, that's odd. Let's just leave this as-is for now, hopefully someone else cleans this up later. thanks, greg k-h