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] [day] [month] [year] [list]
Message-ID: <001501da41cc$cb1fbe80$615f3b80$@samsung.com>
Date: Mon, 8 Jan 2024 09:51:19 +0900
From: "Kiwoong Kim" <kwmad.kim@...sung.com>
To: "'Bart Van Assche'" <bvanassche@....org>, <linux-scsi@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, <alim.akhtar@...sung.com>,
	<avri.altman@....com>, <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
	<beanhuo@...ron.com>, <adrian.hunter@...el.com>, <h10.kim@...sung.com>,
	<hy50.seo@...sung.com>, <sh425.lee@...sung.com>, <kwangwon.min@...sung.com>,
	<junwoo80.lee@...sung.com>, <wkon.kim@...sung.com>
Subject: RE: [PATCH v1] ufs: get target SQ entry within critical section

> > diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
> > index 7bc3fc4..da1a9c0 100644
> > --- a/drivers/ufs/core/ufshcd.c
> > +++ b/drivers/ufs/core/ufshcd.c
> > @@ -2199,9 +2199,10 @@ void ufshcd_send_command(struct ufs_hba *hba,
> unsigned int task_tag,
> >   	if (is_mcq_enabled(hba)) {
> >   		int utrd_size = sizeof(struct utp_transfer_req_desc);
> >   		struct utp_transfer_req_desc *src = lrbp->utr_descriptor_ptr;
> > -		struct utp_transfer_req_desc *dest = hwq->sqe_base_addr +
> hwq->sq_tail_slot;
> > +		struct utp_transfer_req_desc *dest;
> >
> >   		spin_lock(&hwq->sq_lock);
> > +		dest = hwq->sqe_base_addr + hwq->sq_tail_slot;
> >   		memcpy(dest, src, utrd_size);
> >   		ufshcd_inc_sq_tail(hwq);
> >   		spin_unlock(&hwq->sq_lock);
> 
> Is this perhaps a duplicate of patch "scsi: ufs: core: Let the sq_lock
> protect sq_tail_slot access"? See also https://lore.kernel.org/linux-
> scsi/1702913550-20631-1-git-send-email-quic_cang@...cinc.com/#t

I didn’t see it. Thank you for letting me know.




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ