lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5a88c8a33e77ea2fc086cfbf1aeb1c0b3b6843c2.camel@gmail.com>
Date:   Fri, 08 May 2020 11:15:43 +0200
From:   Bean Huo <huobean@...il.com>
To:     Bart Van Assche <bvanassche@....org>, alim.akhtar@...sung.com,
        avri.altman@....com, asutoshd@...eaurora.org, jejb@...ux.ibm.com,
        martin.petersen@...cle.com, stanley.chu@...iatek.com,
        beanhuo@...ron.com, tomas.winkler@...el.com, rdunlap@...radead.org
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        hch@...radead.org, cang@...eaurora.org
Subject: Re: [RESENT PATCH RFC v3 3/5] scsi: ufs: add ufs_features parameter
 in structure ufs_dev_info

On Thu, 2020-05-07 at 18:02 -0700, Bart Van Assche wrote:
> On 2020-05-04 07:20, huobean@...il.com wrote:
> > From: Bean Huo <beanhuo@...ron.com>
> > 
> > Make a copy of bUFSFeaturesSupport, name it ufs_features, add it
> > to structure ufs_dev_info.
> > 
> > Signed-off-by: Bean Huo <beanhuo@...ron.com>
> > ---
> >  drivers/scsi/ufs/ufs.h    | 2 ++
> >  drivers/scsi/ufs/ufshcd.c | 2 ++
> >  2 files changed, 4 insertions(+)
> > 
> > diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h
> > index 53a5e263f7c8..1f2d4b4950b8 100644
> > --- a/drivers/scsi/ufs/ufs.h
> > +++ b/drivers/scsi/ufs/ufs.h
> > @@ -543,6 +543,8 @@ struct ufs_dev_info {
> >  	u16 hpb_ver;
> >  	/* bHPBControl */
> >  	u8 hpb_control_mode;
> > +	/* bUFSFeaturesSupport */
> > +	u8 ufs_features;
> >  };
> >  
> >  /**
> > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
> > index 83ed2879d930..1fe7ffc1a75a 100644
> > --- a/drivers/scsi/ufs/ufshcd.c
> > +++ b/drivers/scsi/ufs/ufshcd.c
> > @@ -6625,6 +6625,8 @@ static int ufs_get_device_desc(struct ufs_hba
> > *hba)
> >  		goto out;
> >  	}
> >  
> > +	dev_info->ufs_features = desc_buf[DEVICE_DESC_PARAM_UFS_FEAT];
> > +
> >  	if (desc_buf[DEVICE_DESC_PARAM_UFS_FEAT] & 0x80) {
> >  		hba->dev_info.hpb_control_mode =
> >  			desc_buf[DEVICE_DESC_PARAM_HPB_CTRL_MODE];
> 
> Since this patch touches the same code as patch 1/5, please merge
> patches 1/5 and 3/5 into a single patch.
> 
> Thanks,
> 
> Bart.


Bart
you have addressed this in the V2, sorry for this fault.
I will merge them in the next version.

thanks,

Bean
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ