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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251127121342.73a2fa9f@canb.auug.org.au>
Date: Thu, 27 Nov 2025 12:13:42 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Alex Williamson <alex@...zbot.org>, Marek Szyprowski
 <m.szyprowski@...sung.com>
Cc: Leon Romanovsky <leon@...nel.org>, Leon Romanovsky <leonro@...dia.com>,
 Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
 Mailing List <linux-next@...r.kernel.org>, Pranjal Shrivastava
 <praan@...gle.com>
Subject: linux-next: manual merge of the vfio tree with the
 dma-mapping-fixes tree

Hi all,

Today's linux-next merge of the vfio tree got a conflict in:

  kernel/dma/direct.c

between commit:

  d0d08f4bd7f6 ("dma-direct: Fix missing sg_dma_len assignment in P2PDMA bus mappings")

from the dma-mapping-fixes tree and commit:

  d4504262f745 ("PCI/P2PDMA: Simplify bus address mapping API")

from the vfio tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc kernel/dma/direct.c
index f973e7e73c90,d8b3dfc598b2..000000000000
--- a/kernel/dma/direct.c
+++ b/kernel/dma/direct.c
@@@ -479,9 -479,8 +479,9 @@@ int dma_direct_map_sg(struct device *de
  			}
  			break;
  		case PCI_P2PDMA_MAP_BUS_ADDR:
- 			sg->dma_address = pci_p2pdma_bus_addr_map(&p2pdma_state,
- 					sg_phys(sg));
+ 			sg->dma_address = pci_p2pdma_bus_addr_map(
+ 				p2pdma_state.mem, sg_phys(sg));
 +			sg_dma_len(sg) = sg->length;
  			sg_dma_mark_bus_address(sg);
  			continue;
  		default:

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ