Patch-ID# 101734-03 Keywords: raw SPARCstation 5 database corruption ddi_dma_sync iommunex Synopsis: SunOS 5.3: iommu fixes for sun4m Date: Nov/16/94 Solaris Release: 2.3 SunOS release: 5.3 Unbundled Product: Unbundled Release: Topic: SunOS 5.3: iommu fixes for sun4m BugId's fixed with this patch: 1163256 1168268 1168268 Changes incorporated in this version: 1168268 Relevant Architectures: sparc NOTE: sun4m Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /kernel/drv/iommu Problem Description: 1168268 ddi_dma_sync(DDI_DMA_SYNC_FORKERNEL) / iommunex_dma_mctl bug again SS5 This is a new rev of the patch which fixes a case that was not properly handled before. It fixes the case where a driver passes the flags DDI_DMA_SYNC_FORCPU to ddi_dma_sync(). (from 101734-02) 1168268 ddi_dma_sync(DDI_DMA_SYNC_FORKERNEL) / iommunex_dma_mctl bug again SS5 There is a performance problem on Sun-4m machines that use the Swift (MicroSPARC 2) processor. Driver calls to the routine ddi_dma_sync(), which flushes the caches in order to make them coherent with DMA activity, can take much longer than they should. This severely affects I/O devices such as high speed network. (from 101734-01) 1163256 `read' call returns rubbish (using aio) on sparcstation 5 Programs which do raw disk I/O (using /dev/rdsk) instead of going through the file system (/dev/dsk) will experience data corruption on SPARCstation 5. Database programs typically do this. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- Reboot the system after installing the patch.