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: <5bd85dce-13a8-4558-a574-726626ecbc5c@web.de>
Date: Fri, 7 Jun 2024 14:23:10 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Louis Chauvet <louis.chauvet@...tlin.com>, Lizhi Hou <lizhi.hou@....com>,
 Brian Xu <brian.xu@....com>, Raj Kumar Rampelli
 <raj.kumar.rampelli@....com>, Vinod Koul <vkoul@...nel.org>,
 Michal Simek <michal.simek@....com>, dmaengine@...r.kernel.org,
 linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH v2] dmaengine: xilinx: xdma: Fix data synchronisation in
 xdma_channel_isr()

…
> +++ b/drivers/dma/xilinx/xdma.c
> @@ -885,11 +885,11 @@ static irqreturn_t xdma_channel_isr(int irq, void *dev_id)
>  	u32 st;
>  	bool repeat_tx;
>
> +	spin_lock(&xchan->vchan.lock);
> +
>  	if (xchan->stop_requested)
>  		complete(&xchan->last_interrupt);
…

Can any lock scope adjustments matter also for another variable definition?
https://elixir.bootlin.com/linux/v6.10-rc2/source/drivers/dma/xilinx/xdma.c#L873

	struct xdma_device *xdev = xchan->xdev_hdl;


Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ