<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/sio, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2012-12-20T04:16:25Z</updated>
<entry>
<title>MFC r242996:</title>
<updated>2012-12-20T04:16:25Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-12-20T04:16:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9193d03d62c4e22f222623c2d49c25bc2740fc0f'/>
<id>urn:sha1:9193d03d62c4e22f222623c2d49c25bc2740fc0f</id>
<content type='text'>
	Add support for CIR1000 - Cirrus Logic V34 to the sio driver

PR:		kern/44267
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r228631: kern cons: introduce infrastructure for console grabbing by</title>
<updated>2012-05-13T17:04:46Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2012-05-13T17:04:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=33a662c963044ea3fcc5293a131e9da2abe506fe'/>
<id>urn:sha1:33a662c963044ea3fcc5293a131e9da2abe506fe</id>
<content type='text'>
kernel
</content>
</entry>
<entry>
<title>MFC r227532:</title>
<updated>2012-01-10T00:26:54Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-01-10T00:26:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=18b370afdfd7accaf24f5d3cb64a85f7134239c3'/>
<id>urn:sha1:18b370afdfd7accaf24f5d3cb64a85f7134239c3</id>
<content type='text'>
	- add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial)
	- correct mislabeling of 0x432214e4 device

PR:		kern/119606
Approved by:	jhb
</content>
</entry>
<entry>
<title>Follow up to r225203 refining break-to-debugger run-time configuration</title>
<updated>2011-08-27T14:24:27Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-27T14:24:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e5a0927394502ac7d7d0383c523490eb35f773dc'/>
<id>urn:sha1:e5a0927394502ac7d7d0383c523490eb35f773dc</id>
<content type='text'>
improvements:

(1) Implement new model in previously missed at91 UART driver
(2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h
    to opt_kdb.h (spotted by np)
(3) Garbage collect now-unused opt_comconsole.h

MFC after:	3 weeks
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>Attempt to make break-to-debugger and alternative break-to-debugger more</title>
<updated>2011-08-26T21:46:36Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-26T21:46:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4cf75455890c103c9a66cb791e88998aafd4f8ce'/>
<id>urn:sha1:4cf75455890c103c9a66cb791e88998aafd4f8ce</id>
<content type='text'>
accessible:

(1) Always compile in support for breaking into the debugger if options
    KDB is present in the kernel.

(2) Disable both by default, but allow them to be enabled via tunables
    and sysctls debug.kdb.break_to_debugger and
    debug.kdb.alt_break_to_debugger.

(3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER continue
    to behave as before -- only now instead of compiling in
    break-to-debugger support, they change the default values of the
    above sysctls to enable those features by default.  Current kernel
    configurations should, therefore, continue to behave as expected.

(4) Migrate alternative break-to-debugger state machine logic out of
    individual device drivers into centralised KDB code.  This has a
    number of upsides, but also one downside: it's now tricky to release
    sio spin locks when entering the debugger, so we don't.  However,
    similar logic does not exist in other device drivers, including uart.

(5) dcons requires some special handling; unlike other console types, it
    allows overriding KDB's own debugger selection, so we need a new
    interface to KDB to allow that to work.

GENERIC kernels in -CURRENT will now support break-to-debugger as long as
appropriate boot/run-time options are set, which should improve the
debuggability of BETA kernels significantly.

MFC after:	3 weeks
Reviewed by:	kib, nwhitehorn
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>Based on discussions on the svn-src mailing list, rework r218195:</title>
<updated>2011-02-08T00:16:36Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2011-02-08T00:16:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e7ceb1e99b88b9aedbfa17871819c1cabd2761e3'/>
<id>urn:sha1:e7ceb1e99b88b9aedbfa17871819c1cabd2761e3</id>
<content type='text'>
 - entirely eliminate some calls to uio_yeild() as being unnecessary,
   such as in a sysctl handler.

 - move should_yield() and maybe_yield() to kern_synch.c and move the
   prototypes from sys/uio.h to sys/proc.h

 - add a slightly more generic kern_yield() that can replace the
   functionality of uio_yield().

 - replace source uses of uio_yield() with the functional equivalent,
   or in some cases do not change the thread priority when switching.

 - fix a logic inversion bug in vlrureclaim(), pointed out by bde@.

 - instead of using the per-cpu last switched ticks, use a per thread
   variable for should_yield().  With PREEMPTION, the only reasonable
   use of this is to determine if a lock has been held a long time and
   relinquish it.  Without PREEMPTION, this is essentially the same as
   the per-cpu variable.
</content>
</entry>
<entry>
<title>remove now-redunant cardbus attachment.</title>
<updated>2009-03-09T13:23:54Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-03-09T13:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=155a83e87ada23dc65476957d310cdf309a16c7b'/>
<id>urn:sha1:155a83e87ada23dc65476957d310cdf309a16c7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow device hints to wire the unit numbers of devices.</title>
<updated>2008-11-18T21:01:54Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-11-18T21:01:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0d484d249f35fa0a471300e3a7f5a629aab472f8'/>
<id>urn:sha1:0d484d249f35fa0a471300e3a7f5a629aab472f8</id>
<content type='text'>
- An "at" hint now reserves a device name.
- A new BUS_HINT_DEVICE_UNIT method is added to the bus interface.  When
  determining the unit number of a device, this method is invoked to
  let the bus driver specify the unit of a device given a specific
  devclass.  This is the only way a device can be given a name reserved
  via an "at" hint.
- Implement BUS_HINT_DEVICE_UNIT() for the acpi(4) and isa(4) bus drivers.
  Both of these busses implement this by comparing the resources for a
  given hint device with the resources enumerated by ACPI/PnPBIOS and
  wire a unit if the hint resources are a subset of the "real" resources.
- Use bus_hinted_children() for adding hinted devices on isa(4) busses
  now instead of doing it by hand.
- Remove the unit kludging from sio(4) as it is no longer necessary.

Prodding from:	peter, imp
OK'd by:	marcel
MFC after:	1 month
</content>
</entry>
<entry>
<title>Add a note about a bug in how sio manages its softc.  This was</title>
<updated>2008-10-08T08:08:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2008-10-08T08:08:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e21f22596b9d779275d4c7fd4982e49639c6a266'/>
<id>urn:sha1:e21f22596b9d779275d4c7fd4982e49639c6a266</id>
<content type='text'>
discovered by Dorr H. Clark.  I'm not at all sure how to fix it, but
wanted to document it at the very least...
</content>
</entry>
<entry>
<title>Expand kdb_alt_break a little, most commonly used with the option</title>
<updated>2008-05-04T23:29:38Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2008-05-04T23:29:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=43d7128c1450d36af259094b7cf39c0c4d17908c'/>
<id>urn:sha1:43d7128c1450d36af259094b7cf39c0c4d17908c</id>
<content type='text'>
ALT_BREAK_TO_DEBUGGER.  In addition to "Enter ~ ctrl-B" (to enter the
debugger), there is now "Enter ~ ctrl-P" (force panic) and
"Enter ~ ctrl-R" (request clean reboot, ala ctrl-alt-del on syscons).

We've used variations of this at work.  The force panic sequence is
best used with KDB_UNATTENDED for when you just want it to dump and
get on with it.

The reboot request is a safer way of getting into single user than
a power cycle.  eg: you've hosed the ability to log in (pam, rtld, etc).
It gives init the reboot signal, which causes an orderly reboot.

I've taken my best guess at what the !x86 and non-sio code changes
should be.

This also makes sio release its spinlock before calling KDB/DDB.
</content>
</entry>
</feed>
