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
| ||
|
Date: Sun, 20 Apr 2008 10:26:31 +1000 From: Benjamin Herrenschmidt <benh@...nel.crashing.org> To: David Airlie <airlied@...ux.ie> CC: <linux-kernel@...r.kernel.org>, <stevewin@...ibm.com> Subject: [PATCH 2/2] drm: Remove unneeded dma sync in ATI pcigart alloc Now that the ATI pcigart code uses dma_alloc_coherent, we don't need the dma_sync_single_for_device() that we used to have here. Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org> --- Probably not stable material as it won't hurt not to remove it. drivers/char/drm/ati_pcigart.c | 7 ------- 1 file changed, 7 deletions(-) --- linux-work.orig/drivers/char/drm/ati_pcigart.c 2008-04-19 16:52:23.000000000 +1000 +++ linux-work/drivers/char/drm/ati_pcigart.c 2008-04-19 16:54:00.000000000 +1000 @@ -167,13 +167,6 @@ int drm_ati_pcigart_init(struct drm_devi page_base += ATI_PCIGART_PAGE_SIZE; } } - - if (gart_info->gart_table_location == DRM_ATI_GART_MAIN) - dma_sync_single_for_device(&dev->pdev->dev, - bus_address, - max_pages * sizeof(u32), - PCI_DMA_TODEVICE); - ret = 1; #if defined(__i386__) || defined(__x86_64__) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists