From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDEE2C00144 for ; Tue, 2 Aug 2022 02:38:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235735AbiHBCih (ORCPT ); Mon, 1 Aug 2022 22:38:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231416AbiHBCif (ORCPT ); Mon, 1 Aug 2022 22:38:35 -0400 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E68AC41D02; Mon, 1 Aug 2022 19:38:34 -0700 (PDT) Received: by mail-pl1-f176.google.com with SMTP id d16so4073194pll.11; Mon, 01 Aug 2022 19:38:34 -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=UGzznOV9VUjY4XYtVqCKOg55qroI35eUv2/+eZwa/S0=; b=eBhWrKmgHcQRTAtnBXgZqV8TZCqhS3LD8g9Fu51vHe+x3M/K+DyrmMjv9ccyPoEOVY EYiUn3j9JMw+CVt0iXIGuuuzE3P6mruXb05gsj/Ti6JFp+BiQyRdvJ+o2Wboe7k6KzrJ 1BwM5SIjELm2tbYmw5dGVf/r2LlwMcvLh7QYH4P0ZIt2pCyNSlP5bw6xJLi1toR36tfj K96KI/KfMwSKnD2PN92mxsBsISXjG4WJSghLEZC/aMFentjb/6BE2w3DyvvEX2ChfiC+ D9FkMZ8QDlKKUBU2Gl86OXSfYg7Zf20zs7ASSwGi9h0dWO2HFLBmf8Td7YcwXE3KWYwM mbwQ== X-Gm-Message-State: ACgBeo0iSnG6t4ZWaSq/wzKyq6PZ+UTr6iqlKS28bLkuS2IMONCs1sBQ qYo4WB7hEjy+WRyHuYRWeOM= X-Google-Smtp-Source: AA6agR7BIr8AO5+UTQSdCXvoHrMZ7XFc20qaqeBllNotwuZ6TgL1KEpbuk0pEVZV5xXyRI+tZldklw== X-Received: by 2002:a17:902:d48f:b0:16d:4b2e:e2a2 with SMTP id c15-20020a170902d48f00b0016d4b2ee2a2mr18844904plg.77.1659407914211; Mon, 01 Aug 2022 19:38:34 -0700 (PDT) Received: from [192.168.3.217] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id e4-20020a056a0000c400b0052dd95e72bcsm332434pfj.193.2022.08.01.19.38.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Aug 2022 19:38:32 -0700 (PDT) Message-ID: Date: Mon, 1 Aug 2022 19:38:31 -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 , Adrian Hunter , Greg Kroah-Hartman Cc: 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: <20220802103643.v5.1.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/1/22 17:37, Daniil Lunev wrote: > +What: /sys/bus/platform/drivers/ufshcd/*/capabilities/write_booster > +What: /sys/bus/platform/devices/*.ufs/capabilities/write_booster > +Date: July 2022 > +Contact: Daniil Lunev > +Description: Indicates status of Write Booster. > + > + == ============================ > + 0 Write Booster can not be enabled. > + 1 Write Booster can be enabled. > + == ============================ > + > + The file is read only. Is the "capabilities" directory a directory with capabilities of the host, with capabilities of the UFS device or perhaps with capabilities of both? Thanks, Bart.