Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4203703pxu; Mon, 30 Nov 2020 21:43:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJycqgivwOT4dbUvymosLFhg+MsvFhC7ZBF/kpEVnmuk4UsW8roBnMwXU6ACBRDs83bGGd2F X-Received: by 2002:a17:906:29db:: with SMTP id y27mr1463657eje.179.1606801405770; Mon, 30 Nov 2020 21:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606801405; cv=none; d=google.com; s=arc-20160816; b=r+4wAtWiHO3RDVlIG6OjLf8pLt7j2Qlo8936LeNGsje8v2tvJY0Xob9LEzg7xD6CRZ EZICbYVijWHUm167nyvC8WYdPCjH3VCDUtf4zqul2fuCm8npWiS9r4UTNTdr0jz5Smze efSE8FeHO8PyCHLiUTkZEAbYlnk3C75Q6yS29n/oSNe9vgaTLV9JlU++lcRAMqQYOHud 2dOaD77KlVPZ0N4efDufsBG/NZYKdDpS1DqtWjjqVmXPOoBZjIrTwK58xkOcTqEBm2Q8 IdI6U1BUnrPhiD6l2jrpd7HJtdILS6YN53PaDXK/loQD11rJqSJldomLqRACMICV9CG9 84og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=Va/VLhxWfEaS9bU+9e0fuW6OViiKC2FQcNIttpxKyWk=; b=I6LhC+sIpfp9Q5oKrLffBGvVS0IkKjHGURQRC46jZZ1vf5gh4sEtqIIZ2f0l7bCLPY 8wOw4N65LSc/w/mhqLU/VP4LOK9w5BtoXT/LXn0OkG0zIFFRsZ34vxCb7QukbRw2XpPK VxRJ/R8Mx3o8BTblApFmmzgJ5wbnzH+2tcn4NZjHNUAhyBYdqDDkzd68IDKsH8kPsoOz YV9EGg5VA+Ts7nXvO/6HBsZ7ZhGXFP1rSM7MsrfVAYE/8FbfjuBO8odGF2Xi27K6F6VU I1SiQ4M2OcIt0jK1J8zEtZn3H9k+fG1LPyS0IBrRxYxc6IgnxwKPqPwW/Kswa38UK8nl 02zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=yqxr0m9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si536544edr.228.2020.11.30.21.43.03; Mon, 30 Nov 2020 21:43:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=yqxr0m9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726339AbgLAFSX (ORCPT + 99 others); Tue, 1 Dec 2020 00:18:23 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:44110 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbgLAFSX (ORCPT ); Tue, 1 Dec 2020 00:18:23 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B159aVY126012; Tue, 1 Dec 2020 05:17:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=Va/VLhxWfEaS9bU+9e0fuW6OViiKC2FQcNIttpxKyWk=; b=yqxr0m9MWcI1n3rwoRj1Csys3NBJ7Dr1wzhGMJO3L4DoWu18qbKavS0uuWQByHDbWFRP n9CGFh3DWp9f4ZGa1NKloplFITMSDfZILSQm9U4Rhs/3ifbYP8dZUgxHiAnjatMhb9KF p2JrstDGUAUHmfgoOyebzzNVgosH+1GIWysOxIjY8gs8lcVqVMSCuA1uYRO2Vzax9HGL eEGVA+nVCgCuSVqMRhBP8SSugLgBndVilNzr5q2STpQlKsM3PNoBYx6GtrP2f6WbQQta XhZUEEPNYb5uQXMvKXWaAAOmIbncVcI45WIoh3Z57DBnVMKqrl3m7UkvcwHkxdRgaOWq xg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 353egkgk9y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 01 Dec 2020 05:17:26 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B15AM6E187308; Tue, 1 Dec 2020 05:17:25 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 35404me6ct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Dec 2020 05:17:25 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0B15HMh1022831; Tue, 1 Dec 2020 05:17:23 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 30 Nov 2020 21:17:22 -0800 To: Can Guo Cc: asutoshd@codeaurora.org, nguyenb@codeaurora.org, hongwus@codeaurora.org, rnayak@codeaurora.org, linux-scsi@vger.kernel.org, kernel-team@android.com, saravanak@google.com, salyzyn@google.com, Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Stanley Chu , Bean Huo , Bart Van Assche , Satya Tangirala , linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH 1/1] scsi: ufs: Remove scale down gear hard code From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <1606442334-22641-1-git-send-email-cang@codeaurora.org> Date: Tue, 01 Dec 2020 00:17:19 -0500 In-Reply-To: <1606442334-22641-1-git-send-email-cang@codeaurora.org> (Can Guo's message of "Thu, 26 Nov 2020 17:58:48 -0800") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9821 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012010034 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9821 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 suspectscore=1 phishscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 priorityscore=1501 spamscore=0 impostorscore=0 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012010034 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Can, > Instead of making the scale down gear a hard code, make it a member of > ufs_clk_scaling struct. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering