Date: Wed, 14 Jan 2009 21:04:23 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/dcons dcons_crom.c Message-ID: <200901142104.n0EL4ZxB038511@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-01-14 21:04:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/dcons dcons_crom.c Log: SVN rev 187240 on 2009-01-14 21:04:23Z by marius MFC: r185108 Given that the buffer dcons_crom(4) exposes is used for both input and output, set BUS_DMA_COHERENT when creating the DMA map used for loading the buffer. As a side-effect this solves locking issues on sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt filter, which are executed in a critical section, and iommu(4) has to use a sleep lock when taking advantage of the streaming buffer. Reported and tested by: kensmith Approved by: simokawa Revision Changes Path 1.9.2.1 +1 -1 src/sys/dev/dcons/dcons_crom.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142104.n0EL4ZxB038511>