Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1665358rdb; Thu, 7 Dec 2023 05:51:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3vUgwUVRHWB30JbfJM9gncO1W0TgdI8kF4M9NNRRreH7VURLvitnalugKfQdR7nP/zLAv X-Received: by 2002:a05:6a20:8e01:b0:190:1b6d:4c34 with SMTP id y1-20020a056a208e0100b001901b6d4c34mr308115pzj.57.1701957096445; Thu, 07 Dec 2023 05:51:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701957096; cv=none; d=google.com; s=arc-20160816; b=u2byX4swxNZMG1U8hTh30DG6Eu3kVYDn3sQ7+9ku2dQJ39GlcKL/ESJvOgJsb0ibIR l5YgCDDhQ4xJaYBq9OvbwYCq7ijffLR1yte+pZHrhdkjfmDsHWzlEfWKYlsl4JTxcAd3 F1Gp9tMdz56W0MDLOy6E+KqgfeA5PZFSeoV8EwV9ePHWT6WVCTWEQoup7kwJ97/wfPFz jwLsgkSGIpwDBFo9Z1WQ6ETzXsNkBrNMLb/Sm5xXkLa7sYGBKJCZOETE7L0T/lbko+z4 XRVB5fR8C2qwC7ALyi5nrwQMCeDhr31p2sMY7yb3KX3uKdjB/fdumcEB7aq8Em9W1QAP fRDA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=R6axPfpwmuXoAc+1JQucNBxzliOnKigTAtXbyQTKh0Y=; fh=rb5sR2rQa902X84yik1TqLU5qpRkQt89dLyRG+6e3gw=; b=rGa8HEtj1lfrxjmyW1+XifOu4g29XzkeCjxD6D237qhQiAJ9GS3Cl+wDZ7pPs1M0L0 wckB/zPSsmkx/Q6jt8i0pk1c09S4a1igQBJRCP21PaNf72CB3OJBLxYW8sk/7eg5QYX0 /0gfUj2V3UG6EhWhY/RkjEpX7RtIBjWJSFUvQ+CE5suONvNzU7qJsQdbUDPq3h75juy5 c4MoKAM5xLfzS7WN6QNjWd/ejpC1clnQhdS9ZjAyZnZO6vOszfGZacoY7CYOhjmmzt5d oz499/G8WPHYkZf+TZZFS3WmpW69muXKN1H4tzGJ0C1Q7eR8UjQR8zzGHYzXiA4R0L4e 2JgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SQulwZKR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s23-20020a17090aad9700b002869248f289si1143225pjq.0.2023.12.07.05.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 05:51:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SQulwZKR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AA4DA807C55F; Thu, 7 Dec 2023 05:50:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442127AbjLGNud (ORCPT + 99 others); Thu, 7 Dec 2023 08:50:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442008AbjLGNub (ORCPT ); Thu, 7 Dec 2023 08:50:31 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0836410F3 for ; Thu, 7 Dec 2023 05:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701957037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R6axPfpwmuXoAc+1JQucNBxzliOnKigTAtXbyQTKh0Y=; b=SQulwZKRC2+y1cx8T0E99dboQzHePwEDboOurcexhZB8ofJ+5r3BwbMMKzlOy1fqf89C1+ eavx+060eO9G/AZRE95ApkDJncq+B/Zvc90KVD0Cfyq6GZfG4W9Wdj8t7SDphT4PWMyE/x 2h+Oq9qZ2TjTVtmQmLKhP8kcs1Cr26k= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-169-C9wgdougO2GAY3AwKVAzcw-1; Thu, 07 Dec 2023 08:50:35 -0500 X-MC-Unique: C9wgdougO2GAY3AwKVAzcw-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-67ab70c547fso11614586d6.3 for ; Thu, 07 Dec 2023 05:50:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701957035; x=1702561835; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R6axPfpwmuXoAc+1JQucNBxzliOnKigTAtXbyQTKh0Y=; b=vRm3+yHRYANpXhbpCs10qzlPE7kpNGsamyUOW6FBw1+PBzPmj4S49irZW0hPNDYSmv 9OY0lUzqDwW/RwSzmW3nFo+1hm2TdTtG4Y8UMBA7S0UWxe47ZRjTN10tCo44+msAP62O cGNyNQhfV+aqp2CtvyXnTkG06ya+DhJ9/s9WnXJLh9Nmj0Yayjw8mVzB39E6fjqHIIpt bJ7qO2ZVlK5OtGsp8mSJxieRfkVesneRNp1QdlQHc1TzRWoULNUy/PSlagnnYlN4ezrb WwGYG+b0F0X5vG+qt5zNHZjoMnzLw/VEFzRNFEHP0TqozrUxZXJeNv0xLvPqgeYSJig2 SXvQ== X-Gm-Message-State: AOJu0YymjWts4Zl7580pc+fiXKco9et3vBDsKGEqLKJ+W+z3OiAmqS4r 1dUXa3/KlSC7vU+TYKpH6Tw8Pf6IBOF5uADsf5UwtUvdCoTTiMWHpqAFWGGju4zHIclZpEUQ6Ot W/xZWb0rgLYO+V5A5GPvB8gvL X-Received: by 2002:a0c:f351:0:b0:67a:b9a0:4319 with SMTP id e17-20020a0cf351000000b0067ab9a04319mr2406189qvm.19.1701957035079; Thu, 07 Dec 2023 05:50:35 -0800 (PST) X-Received: by 2002:a0c:f351:0:b0:67a:b9a0:4319 with SMTP id e17-20020a0cf351000000b0067ab9a04319mr2406177qvm.19.1701957034833; Thu, 07 Dec 2023 05:50:34 -0800 (PST) Received: from fedora ([2600:1700:1ff0:d0e0::47]) by smtp.gmail.com with ESMTPSA id d13-20020a0cea8d000000b0067a9d48fdc8sm501435qvp.19.2023.12.07.05.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 05:50:34 -0800 (PST) Date: Thu, 7 Dec 2023 07:50:32 -0600 From: Andrew Halaney To: Manivannan Sadhasivam Cc: martin.petersen@oracle.com, jejb@linux.ibm.com, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, quic_cang@quicinc.com Subject: Re: [PATCH 05/13] scsi: ufs: qcom: Remove the warning message when core_reset is not available Message-ID: References: <20231201151417.65500-1-manivannan.sadhasivam@linaro.org> <20231201151417.65500-6-manivannan.sadhasivam@linaro.org> <20231207051835.GA2932@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231207051835.GA2932@thinkpad> X-Spam-Status: No, score=0.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 05:50:46 -0800 (PST) On Thu, Dec 07, 2023 at 10:48:35AM +0530, Manivannan Sadhasivam wrote: > On Wed, Dec 06, 2023 at 12:36:41PM -0600, Andrew Halaney wrote: > > On Fri, Dec 01, 2023 at 08:44:09PM +0530, Manivannan Sadhasivam wrote: > > > core_reset is optional, so there is no need to warn the user if it is not > > > available (that too not while doing host reset each time). > > > > What's the bit in the parenthesis mean here? I'm having a hard time > > following. Otherwise, this looks good to me. > > > > I was just mentioning that the core reset can happen multiple times depending on > the scenario, so it doesn't make sense to print a warning each time if the reset > was not available. Ahh gotcha, maybe be a little more verbose in that part on the next spin? As is I'm struggling to get that from the commit message's text. Reviewed-by: Andrew Halaney > > - Mani > > > > > > > Signed-off-by: Manivannan Sadhasivam > > > --- > > > drivers/ufs/host/ufs-qcom.c | 4 +--- > > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > > > diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c > > > index dc93b1c5ca74..d474de0739e4 100644 > > > --- a/drivers/ufs/host/ufs-qcom.c > > > +++ b/drivers/ufs/host/ufs-qcom.c > > > @@ -296,10 +296,8 @@ static int ufs_qcom_host_reset(struct ufs_hba *hba) > > > struct ufs_qcom_host *host = ufshcd_get_variant(hba); > > > bool reenable_intr; > > > > > > - if (!host->core_reset) { > > > - dev_warn(hba->dev, "%s: reset control not set\n", __func__); > > > + if (!host->core_reset) > > > return 0; > > > - } > > > > > > reenable_intr = hba->is_irq_enabled; > > > disable_irq(hba->irq); > > > -- > > > 2.25.1 > > > > > > > > > > -- > மணிவண்ணன் சதாசிவம் >