Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp585493pxk; Wed, 16 Sep 2020 11:27:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjQY11FCU6O6GmJK+i4Bv+ule/O6UNODvJMSJQRaymSzysfbPSwGCEzLeHnPA6Ib/gvimO X-Received: by 2002:a17:906:49cb:: with SMTP id w11mr14886748ejv.530.1600280839622; Wed, 16 Sep 2020 11:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600280839; cv=none; d=google.com; s=arc-20160816; b=muJqsG5FqguBNUGB9PnQ5yqpaCemxdkEPyNLVT+UCBR4a6krMMJVC+dOZKyGICBGMu uU87ITrTF/MTzijmnxpuXijtkpw+n6iL/RpxBBMMrCPTm6xc7ladIuq17jhbqenDhCdD ++1vhxX7QbTJUdpyHWW7gcYAoAFaafwu3fe9HsxZSfk0SXVoBSZ9hM9IokjVQRz59XNC Fy0g1JKhCAYQuVNSAvtiwpgLMMdSBrLxafPKIJKlBKKkvyeC6xE3448rCYiR3mDtLZ63 tCBWVy9+40dT6T0pxNZ2A3Th5pmHdx6BLUsECPcqQxjQ5EnHA+zlNxSx7TzkVV/+ybKJ KIlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=AO04ZJthV6wOp331cDzltaI3Tu8GvaaOoL3rXtmXujI=; b=eDFjkCCZC3Vp16RHL8BJh+FwcNARcvB1kTlUOZMEukWI5xJDcAlQir0+9ebV65iZN2 hns3+dpzt7tIR5hkcaDa7BeQvq7XQQajtRyXD0jyvqNcIHxqfXcG04fAkFLnU2V2/yJ0 6O8rssyYb8HJb1x6mk5A4WlLfQDH0zY/Pwt/K/2/0eaU8G2r1eiQ32DW/MexwGsDZv7T RxkD1MBWBUygGI3eXKm/EUtkNK2m46GPuO+q/s//dtmgizj6+Z/hRxg0Q0rn7LfdR3Z9 V1QkDYGiLYJFrACdyQGQ+OTNyypyJWw3iENczCXYbbf/EaQHMrw78HNPqMpHD86XJND2 oHOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="sn/PKPBs"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si12919058edo.487.2020.09.16.11.26.57; Wed, 16 Sep 2020 11:27:19 -0700 (PDT) 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=@kernel.org header.s=default header.b="sn/PKPBs"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728006AbgIPS0U (ORCPT + 99 others); Wed, 16 Sep 2020 14:26:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:56738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbgIPSZn (ORCPT ); Wed, 16 Sep 2020 14:25:43 -0400 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F713206B5; Wed, 16 Sep 2020 16:05:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600272334; bh=HyK6e1+O96SknV92tJzQftwOnmSFa30VAHDCHZnsim0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sn/PKPBsbuwouKfzLqpPiPeRrRMelmWbS8zJ7JWaVVbmx6TztXUZ95QFwktdNXrt7 OzJqNVplOzkMkoBDQvJjzBJHXuLiNQVoERsDU7MfoFPyJ0fV0AcpzU1Nmo1pX5NSZ3 EfFrOKBv+sFZdEFJ2MpaoZxNa7WF7voExrLr8fOY= Date: Wed, 16 Sep 2020 09:05:33 -0700 From: Jaegeuk Kim To: Bean Huo Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, kernel-team@android.com, Can Guo , Alim Akhtar , Avri Altman Subject: Re: [PATCH 5/6] scsi: ufs: show ufs part info in error case Message-ID: <20200916160533.GA1011272@google.com> References: <20200915204532.1672300-1-jaegeuk@kernel.org> <20200915204532.1672300-5-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/16, Bean Huo wrote: > On Tue, 2020-09-15 at 13:45 -0700, Jaegeuk Kim wrote: > > Cc: Avri Altman > > Signed-off-by: Jaegeuk Kim > > --- > > drivers/scsi/ufs/ufshcd.c | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > > index bdc82cc3824aa..b81c116b976ff 100644 > > --- a/drivers/scsi/ufs/ufshcd.c > > +++ b/drivers/scsi/ufs/ufshcd.c > > @@ -500,6 +500,14 @@ static void ufshcd_print_tmrs(struct ufs_hba > > *hba, unsigned long bitmap) > > static void ufshcd_print_host_state(struct ufs_hba *hba) > > { > > dev_err(hba->dev, "UFS Host state=%d\n", hba->ufshcd_state); > > + if (hba->sdev_ufs_device) { > > + dev_err(hba->dev, " vendor = %.8s\n", > > + hba->sdev_ufs_device- > > >vendor); > > + dev_err(hba->dev, " model = %.16s\n", > > + hba->sdev_ufs_device->model); > > + dev_err(hba->dev, " rev = %.4s\n", > > + hba->sdev_ufs_device->rev); > > + } > > Hi Jaegeuk > these prints have been added since this change: > > commit 3f8af6044713 ("scsi: ufs: Add some debug information to > ufshcd_print_host_state()") > > https://patchwork.kernel.org/patch/11694371/ Cool, thank you for pointing this out. BTW, which branch can I see the -next patches? > > Thanks, > Bean