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]
Date:   Fri, 6 Apr 2018 16:14:52 +0200
From:   Christoph Hellwig <hch@....de>
To:     Dominik Brodowski <linux@...inikbrodowski.net>
Cc:     hch@....de, thomas.lendacky@....com, tglx@...utronix.de,
        dwmw2@...radead.org, joro@...tes.org, jdmason@...zu.us,
        konrad.wilk@...cle.com, torvalds@...ux-foundation.org,
        mulix@...ix.org, peterz@...radead.org,
        iommu@...ts.linux-foundation.org, mingo@...nel.org,
        linux-kernel@...r.kernel.org, lgirdwood@...il.com,
        broonie@...nel.org, perex@...ex.cz, tiwai@...e.com
Subject: Re: x86/dma conversion for v4.17-rc1 breaks sound / sst-acpi
        (commit 6e4bf5867783)

Hi Dominik,

can you try current Linus' master with the following hack applied and
see if that works?

diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 47aeb04c1997..32aacd0d56a8 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -1087,6 +1087,6 @@ const struct dma_map_ops swiotlb_dma_ops = {
 	.unmap_sg		= swiotlb_unmap_sg_attrs,
 	.map_page		= swiotlb_map_page,
 	.unmap_page		= swiotlb_unmap_page,
-	.dma_supported		= swiotlb_dma_supported,
+	.dma_supported		= dma_direct_supported,
 };
 #endif /* CONFIG_DMA_DIRECT_OPS */

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ