<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/dcons/dcons_crom.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-01-07T21:25:44Z</updated>
<entry>
<title>Check the return values of contigmalloc(9) as well as bus_dma(9)</title>
<updated>2009-01-07T21:25:44Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2009-01-07T21:25:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3da80d3a0e4fffb41478141e752c945daf69aeaf'/>
<id>urn:sha1:3da80d3a0e4fffb41478141e752c945daf69aeaf</id>
<content type='text'>
functions and stop attaching of dcons(4) and dcons_crom(4) if
they indicate failure. This fixes a panic seen on sparc64 machines
with no free physical memory in the requested 32-bit region but
still doesn't make dcons(4)/dcons_crom(4) these work. I think
the latter can be fixed by simply specifying ~0UL as the upper
limit for contigmalloc(9) and letting the bounce pages and the
IOMMU respectively handle limitations of the DMA engine. I didn't
want to change that without the consensus of simokawa@ though,
who unfortunately didn't reply so far.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Given that the buffer dcons_crom(4) exposes is used for both input</title>
<updated>2008-11-19T22:09:03Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2008-11-19T22:09:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eddfa7b1474598bf9c9327713a849c4773afd868'/>
<id>urn:sha1:eddfa7b1474598bf9c9327713a849c4773afd868</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Add the address of IDT in the configuration ROM. (i386/amd64 only)</title>
<updated>2007-06-08T04:33:25Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-08T04:33:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=293b847542ebfac574cd9a9d888df9769d45e77f'/>
<id>urn:sha1:293b847542ebfac574cd9a9d888df9769d45e77f</id>
<content type='text'>
A change to dconschat(8) will follow so that it can bomb
this address over FireWire to reset a wedged system.

Though this method is just a hack and far from perfection,
it should be useful if you don't want to go machine room
just to reset or to power-cycle a machine without
remote-managed power supply.  And much better than doing:
# fwcontrol -m target-eui64
# dd if=/dev/zero of=/dev/fwmem0.2 bs=1m
</content>
</entry>
<entry>
<title>Poll bus resets on FireWire while kdb/gdb is active.</title>
<updated>2007-06-08T00:54:44Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-08T00:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9953c34ca6e41c2022f0bbc73001aee0f8ac981d'/>
<id>urn:sha1:9953c34ca6e41c2022f0bbc73001aee0f8ac981d</id>
<content type='text'>
Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb
is active. After this change, a dcons connnection over FireWire can survive
bus resets even in kernel debugger.

This means that it is not too late to plug a FireWire cable after a panic
to investigate the problem.

Actually there is a small window(between a jump to kernel from loader and
initialization of dcons_crom) in which no one can take care of a bus reset.
Except that window, firewire console should keep working
from loader to reboot even with a panic and a bus reset.
(as far as you enable LOADER_FIREWIRE_SUPPORT)
</content>
</entry>
<entry>
<title>Change default value of hw.firewire.dcons_crom.force_console to 0</title>
<updated>2007-05-27T14:00:34Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-05-27T14:00:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=db7275797330ddc1b8c9866c11fb218bc388b422'/>
<id>urn:sha1:db7275797330ddc1b8c9866c11fb218bc388b422</id>
<content type='text'>
for least astonishment.

MFC after: 3 days
</content>
</entry>
<entry>
<title>Start each of the license/copyright comments with /*-, minor shuffle of lines</title>
<updated>2005-01-06T01:43:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-06T01:43:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=098ca2bda93c701c5331d4e6aace072495b4caaa'/>
<id>urn:sha1:098ca2bda93c701c5331d4e6aace072495b4caaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Split dcons core code and OS dependent code.</title>
<updated>2004-10-13T05:38:42Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2004-10-13T05:38:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=31a58777865b45a056dd435ea8ecf426bed54985'/>
<id>urn:sha1:31a58777865b45a056dd435ea8ecf426bed54985</id>
<content type='text'>
- Implement dcons_ischar() and dcons_load_buffer().
- If loader passed a dcons buffer address, keep using it.
	(We still need a patch to cheat memory management system.)
</content>
</entry>
<entry>
<title>Add missing &lt;sys/module.h&gt; includes</title>
<updated>2004-05-30T20:08:47Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-05-30T20:08:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe12f24bb098d8d2a6c35394a53a65b3e64f83d9'/>
<id>urn:sha1:fe12f24bb098d8d2a6c35394a53a65b3e64f83d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Clean up global data.</title>
<updated>2004-02-16T07:25:46Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2004-02-16T07:25:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=19b3bba3e5e734773a56c7a0962510dfe16a64d5'/>
<id>urn:sha1:19b3bba3e5e734773a56c7a0962510dfe16a64d5</id>
<content type='text'>
- Force dcons to be the high-level console after dcons_crom
	has been attached.
- Add a tunable to be the high-level console.
</content>
</entry>
<entry>
<title>Move post dmamap_load processes into the callback function.</title>
<updated>2003-11-08T16:26:22Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2003-11-08T16:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ddce43e1cf10a06aefc01c1d56ce7e2269c1c8f2'/>
<id>urn:sha1:ddce43e1cf10a06aefc01c1d56ce7e2269c1c8f2</id>
<content type='text'>
</content>
</entry>
</feed>
