Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2648884imn; Tue, 2 Aug 2022 10:38:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tmFxhxCPJ0sRzakCQIO/3JQZFoR8rDJbqiIy+2CH6JUZMIlqASlwbKZfInORmqIVHBxP0P X-Received: by 2002:a05:6402:15a:b0:431:71b9:86f3 with SMTP id s26-20020a056402015a00b0043171b986f3mr21717305edu.249.1659461888890; Tue, 02 Aug 2022 10:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659461888; cv=none; d=google.com; s=arc-20160816; b=z+8HKmZK9QKpHh4nNx1Ql4FMUzQT30s90woLLX+8cwLpfW3MbnlNlfpKLtrOkNd31d 7D9QusXY4TJC271V7BRJlCElZM7VLFDick97U3PAolK284HnGd9jOlAFV1wElxPOe2Ps 2p3yt4QgVuT5iJs7B9406otpuS2aOwnNc0IdfcPZ84c/qCOeUkLP8lWin69t62qZe1iq KgHviTM+dDPDPvIVhOxbl0K4IkmmvlTPpazv6rIAlYYC6rLjcziYf+ZhWQAsEW9JYh+9 45tm0Yq/UDzkmf7PBzY7HY6+31euGas83MMFfRJ9iQ3KbIZjOEfQslaShEgvaCZldbUg g9qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=hQdFNNSZIS0UXH5mX4zMb5LlYpQDpBhKMVn8uxRhbMo=; b=FaYEtMfn17E16fUNKDiEGZbjGB6qw3zEFs2GvWt8u3Ie4sP6AjlDTnhg3y3RaMhMwL yGfJv7d8cjX6gEzyek6zx+z7BSRXexynwhV8MUovRgN/AQnA+SJ82hc4rgBXStiy+4lZ Wpuha+3CqK0ccOKCvzC7dcIc6jeYeGF78NGBcOJZmIuAAwU8OYwvKxWX6FWRcWh8vAZX uoPWXDNpK9Xcvyp9YysGyqOSCKOT4awXgIdS/lWHBzfaIHFlMMji6bizYSDQ4/SN958g jLUt8l1Ty1tpEw8/JaIe85rYR7UHNcgpCgonhXmZscaVsNxtI19JIhPkBTtJ5B23K+OW LWQw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc37-20020a17090716a500b0073097d37ce0si4328416ejc.634.2022.08.02.10.37.44; Tue, 02 Aug 2022 10:38:08 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230439AbiHBRc1 (ORCPT + 99 others); Tue, 2 Aug 2022 13:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiHBRc0 (ORCPT ); Tue, 2 Aug 2022 13:32:26 -0400 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BC7613D46; Tue, 2 Aug 2022 10:32:25 -0700 (PDT) Received: by mail-pj1-f50.google.com with SMTP id f11-20020a17090a4a8b00b001f2f7e32d03so1998446pjh.0; Tue, 02 Aug 2022 10:32:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=hQdFNNSZIS0UXH5mX4zMb5LlYpQDpBhKMVn8uxRhbMo=; b=6kjGl/TBSODgQj+Rd64zpVtC2CCXPfHM2Hy82MbnIcjjzUQL7Zh+xb9jdVJdP8QEnx p7fVqG+BIqKLGPSAb7LS+kq6phlAWOqf5JYfn85bz/5Ybx85QeTjoJGbpvbBmJGQK9S1 nueE/NQjfLZmi7ecbV2MzjoD+9ymvkqYOl+MTMlIsHtZNOT4R4dwP/bGfZJ/oAsnAa2D ocqPr5NCFYxBhB4jzFoB4E6kMmAXW9WE0PqHd8l25V4zgxpxekMZJJc3dJWb/n3KG5hP ogh9HXfq+E1bvUK5t0q8SxZpOD1CrC/xxrVwJ58lA/W1UBCZC1IzxBgHVn4/863d6Tey j/MQ== X-Gm-Message-State: ACgBeo1ThqwifQj0o0ene+kz/eYnBbf3FDIagNZyowYcWyHPpk0jxQAW L4ZJLCz7xiD1VesrJeds4Cw= X-Received: by 2002:a17:90b:4f8d:b0:1f5:835:1b19 with SMTP id qe13-20020a17090b4f8d00b001f508351b19mr538171pjb.63.1659461544415; Tue, 02 Aug 2022 10:32:24 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:5297:9162:3271:e5df? ([2620:15c:211:201:5297:9162:3271:e5df]) by smtp.gmail.com with ESMTPSA id j11-20020a170902da8b00b0016bfafffa0esm12099648plx.227.2022.08.02.10.32.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Aug 2022 10:32:23 -0700 (PDT) Message-ID: <438a9c4c-e601-ec22-0d05-5cec697d06a1@acm.org> Date: Tue, 2 Aug 2022 10:32:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v5] ufs: core: print UFSHCD capabilities in controller's sysfs node Content-Language: en-US To: Daniil Lunev Cc: Adrian Hunter , Greg Kroah-Hartman , Alim Akhtar , Avri Altman , Bean Huo , "James E.J. Bottomley" , Keoseong Park , "Martin K. Petersen" , Mauro Carvalho Chehab , Sohaib Mohamed , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20220802103643.v5.1.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no 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 8/1/22 21:12, Daniil Lunev wrote: >> Calling this the effective capabilities of the controller-device pair >> sounds good to me. But please do not refer to hba->caps. I'd like to >> rework hba->caps such that it only includes controller capabilities and >> no information related to the WriteBooster. Additionally, several UFS >> device capabilities that may be exported in the future are not >> represented in hba->caps. > > So can you clarify where specifically do you want me to mention that? > Should I name the directory "effective_capabilities" or the commit > message? I'm fine with the name "capabilities" since "effective_capabilities" is a bit long. How about adding the above explanation in the source code close to the definition of the capabilities group since it is more likely that it will be noticed there by software developers compared to Documentation/ABI/? Thanks, Bart.