Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1051870rdb; Wed, 1 Nov 2023 09:57:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBYNj8BXjn/dvrlZPfjO/4N8WGfIqaoKUZmYkS31hrw+ffeTBfskpldntGnFqQL/l+cb9l X-Received: by 2002:a05:6a20:9152:b0:17b:5cbb:b874 with SMTP id x18-20020a056a20915200b0017b5cbbb874mr4059474pzc.15.1698857836493; Wed, 01 Nov 2023 09:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698857836; cv=none; d=google.com; s=arc-20160816; b=TIoT0mi10mASedF1TlBzTHL++VGgDF55nDzuWXBErieV5cc4Do3YVSRex0W4lzf7k8 FM70vF00yNEyi5yrkJtJ16doq4CJ/dGEJW1JZFV5shkSKIBRywzkVY7Iw44jKZvRxGuG t+JPAEF9oNX3D15h8o6csNLZirPpTGK4k7I5d2qZ9OXK0CwdY/Ycmgcrr/dV6z+S3Pqh MjozRYakZk19IR00MqlK9c02C6Htrv36dlpi+X7nv75txXeqq0zxX3vZUGjQsypNOjGb vAEQNHW8khdXPljpJ6sHE3crLczS+o1BEiWiUoIPz7lEVfU74jUeMdAwEZjABiJtHU0Y usVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=S0+VnMXLjP+kwaicD3UwKOa7X0FEZgTGR/DFhzdFdfw=; fh=uNkEi59TxkINRR7BCqyuTKHsjv9NexII0pjeckfr6kQ=; b=RGzl5OBeceribkOgXUpvNVg26bHzRizspfdaDKvmjCIOeRWxJMv26YRsX53v8fAjTm 4wiMlma2hGQegAtWLG/Bwwuuv9h7rOv72IV+IzAv6mfMAGEpYz57MkzGHW7q0aTFVNMa WfaFTest+i1j6Pib3exNtbFq2oQgiCU6g5sZSWRQgLDUaazZXiDWrGBsvpGnjhA1Ul8V hoN1HbUDVwuHsd8vw0MX0bLrc/1hM1nnyf+moMOoV8I7c44RGTvBeMmeMK/6cfMsvMkO 5C9Jo8ddWHGcM7GRbx1Jt17tojgkw0snFyYgEpndbqsMEuSfch2lCP4h0EERY6BDSevm fPAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e9R1CJI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o128-20020a634186000000b00565eedb1cf8si244717pga.825.2023.11.01.09.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 09:57:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e9R1CJI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 10D5F804EE4E; Wed, 1 Nov 2023 09:57:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344355AbjKAQ47 (ORCPT + 99 others); Wed, 1 Nov 2023 12:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344304AbjKAQ45 (ORCPT ); Wed, 1 Nov 2023 12:56:57 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C674710E; Wed, 1 Nov 2023 09:56:51 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-32d80ae19f8so4645837f8f.2; Wed, 01 Nov 2023 09:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698857810; x=1699462610; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=S0+VnMXLjP+kwaicD3UwKOa7X0FEZgTGR/DFhzdFdfw=; b=e9R1CJI5IQOzya+hPiq+4UvkMcZlaAxrsvYl/xle/OiUhExKIA0BnPkvUHE6ysnfRz WRoAhhWH0pjvj9VsEGlvomj44jCMR++zevjfeqmSKdlUIk2OCiXoM87uggb6brSfOkxL B1+fW36/HgLCeKI6cEvEGpy66yrbh5fGW7LgBgm/EmkXfzZX1tCKwS8prSe70mBb0K8I NEdC120+XYTWuSYsVQpL701vWKQ47TAGXVokK4BVLLCVxjlv5AcOO0R89yCSa+AZI2Pa tv2Fc/6tK660f6G8JpJpXDUSRVGvKyC/8YfHVHghuSiEKKwJHMcSCeENSFriEKRJopPP C1iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698857810; x=1699462610; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=S0+VnMXLjP+kwaicD3UwKOa7X0FEZgTGR/DFhzdFdfw=; b=DwpENkpvfZ+oSM2mDGUfRgNbNQd3+7aF/RWlEFTD8A+oxEbi+eCnYB97gLlQSivV0k CyoVJ6Wz7Xk4Wvvf7/2bgNKijD+3depBlJjvfLp0lU4FbPGMMcnNawViBnRyv7vyRGlx AHxqk/BLWBRqglrVxzmwZXNcj1KwurOJ+LS8EsVrT8EKgIDlMeSdAALjAOO1TEgdizXB ZsOpNFD+rB95voRSalahPFKPyyL5+QlqT2aM1jSAF5T6REvH6f1l/Mzapmcsgbixxcc0 BI4pyUGglvEf8lGTw0cYCmRCC6BwP4U+zP2jHGZqZP/arkOeJcUCMV+NXiJZ+qtAfIRO 6LZg== X-Gm-Message-State: AOJu0YxGqp4mrsAZ5a8eCBLJ3XDiN/V4rAHS/OOIwmuOsuZmAqHn+9iU 0c0UoRwp+eQGiigrKQUjHspYffPJq9VpOxa8 X-Received: by 2002:a5d:4b88:0:b0:32d:8872:aacb with SMTP id b8-20020a5d4b88000000b0032d8872aacbmr12772549wrt.53.1698857809842; Wed, 01 Nov 2023 09:56:49 -0700 (PDT) Received: from [172.23.12.176] ([85.119.46.9]) by smtp.gmail.com with ESMTPSA id b11-20020a5d4d8b000000b0032d8354fb43sm252616wru.76.2023.11.01.09.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 09:56:49 -0700 (PDT) Message-ID: <85ec355fdaf9d4362f34bdf2e1aded9a9bea9850.camel@gmail.com> Subject: Re: [PATCH v3] scsi: ufs: ufs-sysfs: Expose UFS power info From: Bean Huo To: Can Guo , bvanassche@acm.org, mani@kernel.org, stanley.chu@mediatek.com, adrian.hunter@intel.com, beanhuo@micron.com, avri.altman@wdc.com, junwoo80.lee@samsung.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, Alim Akhtar , "James E.J. Bottomley" , Lu Hongfei , open list Date: Wed, 01 Nov 2023 17:56:46 +0100 In-Reply-To: <1698811243-5024-1-git-send-email-quic_cang@quicinc.com> References: <1698811243-5024-1-git-send-email-quic_cang@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 09:57:13 -0700 (PDT) On Tue, 2023-10-31 at 21:00 -0700, Can Guo wrote: > Having UFS power info available in sysfs makes it easier to tell the > state > of the link during runtime considering we have a bunch of power > saving > features and various combinations for backward compatibility. >=20 > Signed-off-by: Can Guo Reviewed-by: Bean Huo