<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/ppc, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-03-18T01:28:41Z</updated>
<entry>
<title>Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.</title>
<updated>2016-03-18T01:28:41Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2016-03-18T01:28:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=da1b038af9f9551a0b2f33d312b4eede00aa1542'/>
<id>urn:sha1:da1b038af9f9551a0b2f33d312b4eede00aa1542</id>
<content type='text'>
On some architectures, u_long isn't large enough for resource definitions.
Particularly, powerpc and arm allow 36-bit (or larger) physical addresses, but
type `long' is only 32-bit.  This extends rman's resources to uintmax_t.  With
this change, any resource can feasibly be placed anywhere in physical memory
(within the constraints of the driver).

Why uintmax_t and not something machine dependent, or uint64_t?  Though it's
possible for uintmax_t to grow, it's highly unlikely it will become 128-bit on
32-bit architectures.  64-bit architectures should have plenty of RAM to absorb
the increase on resource sizes if and when this occurs, and the number of
resources on memory-constrained systems should be sufficiently small as to not
pose a drastic overhead.  That being said, uintmax_t was chosen for source
clarity.  If it's specified as uint64_t, all printf()-like calls would either
need casts to uintmax_t, or be littered with PRI*64 macros.  Casts to uintmax_t
aren't horrible, but it would also bake into the API for
resource_list_print_type() either a hidden assumption that entries get cast to
uintmax_t for printing, or these calls would need the PRI*64 macros.  Since
source code is meant to be read more often than written, I chose the clearest
path of simply using uintmax_t.

Tested on a PowerPC p5020-based board, which places all device resources in
0xfxxxxxxxx, and has 8GB RAM.
Regression tested on qemu-system-i386
Regression tested on qemu-system-mips (malta profile)

Tested PAE and devinfo on virtualbox (live CD)

Special thanks to bz for his testing on ARM.

Reviewed By: bz, jhb (previous)
Relnotes:	Yes
Sponsored by:	Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D4544
</content>
</entry>
<entry>
<title>Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().</title>
<updated>2016-02-27T03:38:01Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2016-02-27T03:38:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c47476d7e6801deffc8b3c057d0fbf7d2335a0c2'/>
<id>urn:sha1:c47476d7e6801deffc8b3c057d0fbf7d2335a0c2</id>
<content type='text'>
Most calls to bus_alloc_resource() use "anywhere" as the range, with a given
count.  Migrate these to use the new bus_alloc_resource_anywhere() API.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D5370
</content>
</entry>
<entry>
<title>Convert rman to use rman_res_t instead of u_long</title>
<updated>2016-01-27T02:23:54Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2016-01-27T02:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2dd1bdf1834c53d048d3d9a7079b45afea5cecd7'/>
<id>urn:sha1:2dd1bdf1834c53d048d3d9a7079b45afea5cecd7</id>
<content type='text'>
Summary:
Migrate to using the semi-opaque type rman_res_t to specify rman resources.  For
now, this is still compatible with u_long.

This is step one in migrating rman to use uintmax_t for resources instead of
u_long.

Going forward, this could feasibly be used to specify architecture-specific
definitions of resource ranges, rather than baking a specific integer type into
the API.

This change has been broken out to facilitate MFC'ing drivers back to 10 without
breaking ABI.

Reviewed By: jhb
Sponsored by:	Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D5075
</content>
</entry>
<entry>
<title>Add support for SIIG x1 pci-e single parallel port card (JJ-E01211-S1)</title>
<updated>2013-11-09T08:27:55Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-11-09T08:27:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2b400c83f248af9cbf2b7c066dfa7e5c68a9c3c7'/>
<id>urn:sha1:2b400c83f248af9cbf2b7c066dfa7e5c68a9c3c7</id>
<content type='text'>
PR:		kern/182217
Submitted by:	Craig Leres &lt;leres@ee.lbl.gov&gt;
MFC After:	1 week
</content>
</entry>
<entry>
<title>Fix build.</title>
<updated>2013-02-21T12:40:52Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2013-02-21T12:40:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d0741ed4c3030d4eeaed706ee31321743d2ec70c'/>
<id>urn:sha1:d0741ed4c3030d4eeaed706ee31321743d2ec70c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace splhigh() with critical_enter()/leave() to ensure we write the</title>
<updated>2013-02-21T00:27:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2013-02-21T00:27:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1eb7e5fe859d466fb67255b868647cea41bbc28d'/>
<id>urn:sha1:1eb7e5fe859d466fb67255b868647cea41bbc28d</id>
<content type='text'>
config mode unlock sequence quickly enough. This likely isn't too critical,
since splhigh() has been a noop for a decade...
</content>
</entry>
<entry>
<title>No longer need splhigh() since locking was done, delete it and</title>
<updated>2013-02-21T00:26:31Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2013-02-21T00:26:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=37270a177d8c215612973ae21f1bee31c6c3711c'/>
<id>urn:sha1:37270a177d8c215612973ae21f1bee31c6c3711c</id>
<content type='text'>
comments about it.
</content>
</entry>
<entry>
<title>Rename device_delete_all_children() into device_delete_children().</title>
<updated>2011-11-22T21:56:55Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-11-22T21:56:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3b12bdb58f3ab1b077e536cd72894cbe3e56dff5'/>
<id>urn:sha1:3b12bdb58f3ab1b077e536cd72894cbe3e56dff5</id>
<content type='text'>
Suggested by:	jhb @ and marius @
MFC after:	1 week
</content>
</entry>
<entry>
<title>Move the device_delete_all_children() function from usb_util.c</title>
<updated>2011-11-19T10:11:50Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-11-19T10:11:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=11bcf702f4200a351f06b549e14bc9ea4fc76dcc'/>
<id>urn:sha1:11bcf702f4200a351f06b549e14bc9ea4fc76dcc</id>
<content type='text'>
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify a few other places where
it makes sense to use device_delete_all_children().

MFC after:	1 week
</content>
</entry>
<entry>
<title>- Add support for MosChip 9865 Single 1284 Printer port</title>
<updated>2011-02-19T17:38:51Z</updated>
<author>
<name>Martin Wilke</name>
<email>miwi@FreeBSD.org</email>
</author>
<published>2011-02-19T17:38:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c7fd2483c5aea167c28b10e1c3cccc8d0baf7ac3'/>
<id>urn:sha1:c7fd2483c5aea167c28b10e1c3cccc8d0baf7ac3</id>
<content type='text'>
PR:		kern/152663
Submitted by:	Jonathan Chen &lt;jonc@chen.org.nz&gt;
Approved by:	rwatson (mentor)
</content>
</entry>
</feed>
