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: <vgqd74pmc6av25d2zy6alfm26sjir5nyhxjisisebuawpeqcor@gjxevxzjnbbe>
Date: Mon, 9 Feb 2026 14:40:13 +0900
From: Koichiro Den <den@...inux.co.jp>
To: mani@...nel.org, cassel@...nel.org, kwilczynski@...nel.org, 
	kishon@...nel.org, bhelgaas@...gle.com, corbet@....net, jingoohan1@...il.com, 
	lpieralisi@...nel.org, robh@...nel.org, Frank.Li@....com
Cc: linux-pci@...r.kernel.org, linux-doc@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] PCI: dwc: ep: Fix BAR update handling with
 in-place epf_bar reuse

On Mon, Feb 02, 2026 at 11:54:05PM +0900, Koichiro Den wrote:
> Hi,
> 
> This patch series is a follow-up to a side discussion that started from
> Niklas' comment at:
> https://lore.kernel.org/all/aXtrW7viGZfMNZur@ryzen/
> 
> This series:
>   1) Makes BAR Match vs Address Match teardown in DesignWare EP explicit
>      by returning right after clearing a BAR-match inbound mapping.
>   2) Fixes the dw_pcie_ep_set_bar() mapping-update path to run
>      dw_pcie_ep_clear_ib_maps() unconditionally, since the driver cannot
>      reliably distinguish BAR Match -> BAR Match from Address Match ->
>      BAR Match transitions when the same epf_bar instance is updated in
>      place and passed in again.
> 
> Base: controller/dwc branch, latest:
> commit a24149881558 ("PCI: dwc: ep: Add comment explaining controller level
>                       PTM access in multi PF setup")
> 
> Changes since v1:
>   - Switched from the v1 approach (Y) to the alternative approach (X)
>     that was proposed earlier in the discussion.
>     Details of the v1 (Y) vs v2 (X) are described at:
>     https://lore.kernel.org/all/sextbnbmsur2xjfoun2l4lr5vekmpzae7sx6or2ird44t6ud6d@yprcz43tpq4p/
>   - Changed the subject.
> 
> v1: https://lore.kernel.org/all/20260131133655.218018-1-den@valinux.co.jp/
> 
> Thanks,

Hi Mani,

Just following up on this series.
If this looks fine to you, would you mind picking it up when you have a
chance?
(Niklas has also commented here: https://lore.kernel.org/all/aYSZxCtACmQyC0XT@ryzen/)

Kind regards,
Koichiro

> 
> 
> Koichiro Den (2):
>   PCI: dwc: ep: Return after clearing BAR-match inbound mapping
>   PCI: dwc: ep: Always clear IB maps on BAR update
> 
>  drivers/pci/controller/dwc/pcie-designware-ep.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 
> -- 
> 2.51.0
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ