Date: Wed, 19 Nov 2008 22:09:03 +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: <200811192209.mAJM9MOk079953@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2008-11-19 22:09:03 UTC
FreeBSD src repository
Modified files:
sys/dev/dcons dcons_crom.c
Log:
SVN rev 185108 on 2008-11-19 22:09:03Z by marius
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.10 +1 -1 src/sys/dev/dcons/dcons_crom.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811192209.mAJM9MOk079953>
