Page MenuHomeFreeBSD
Feed Advanced Search

Sep 22 2016

mat added a member for committers: jrm.
Sep 22 2016, 1:24 PM

Aug 26 2016

delphij added a member for committers: sepherosa_gmail.com.
Aug 26 2016, 11:58 PM

Jul 7 2016

mat added a member for committers: badger.
Jul 7 2016, 8:16 AM

Jun 15 2016

gnn added a member for committers: karels.
Jun 15 2016, 12:03 AM

Jun 1 2016

mat added a member for committers: cpm.
Jun 1 2016, 2:51 PM

May 9 2016

adamw added a member for committers: woodsb02.
May 9 2016, 5:59 PM

Mar 18 2016

jhibbits closed D4544: Use uintmax_t (typedef'd to rman type) for rman ranges. by committing rS297000: Use uintmax_t (typedef'd to rman_res_t type) for rman ranges..
Mar 18 2016, 1:29 AM · committers

Mar 17 2016

bz accepted D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

I have only tested parts of this on arm* and amd64 but I am in general favour as it allows me to boot certain systems in a simulator with a lot less hakery and trouble (which means it boots rather than crashes) ;-)

Mar 17 2016, 2:53 PM · committers

Mar 13 2016

jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#120038, @cem wrote:

Any reason not to use uint64_t instead, per Bruce?

Mar 13 2016, 7:55 PM · committers
cem added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Any reason not to use uint64_t instead, per Bruce?

Mar 13 2016, 5:18 AM · committers
jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Ping? If there are no objections, I want to get this in in the next week or so.

Mar 13 2016, 4:12 AM · committers

Mar 4 2016

jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Reduce the diff to printf changes and flipping the switch.

Mar 4 2016, 1:34 AM · committers

Feb 16 2016

wblock added a member for committers: uqs.
Feb 16 2016, 2:25 PM

Feb 15 2016

wblock added a member for committers: lidl.
Feb 15 2016, 3:56 PM
wblock added a member for committers: skra.
Feb 15 2016, 3:18 PM
wblock added a member for committers: jmallett.
Feb 15 2016, 3:18 PM
wblock added a member for committers: rpokala.
Feb 15 2016, 6:07 AM
eadler changed the edit policy for committers.
Feb 15 2016, 5:20 AM
allanjude added a member for committers: sobomax.
Feb 15 2016, 4:57 AM

Feb 14 2016

eadler added a member for committers: tuexen.
Feb 14 2016, 8:37 PM

Feb 10 2016

allanjude added a member for committers: cem.
Feb 10 2016, 6:37 PM
eadler added a member for committers: trhodes.
Feb 10 2016, 7:35 AM

Jan 19 2016

jhb added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Only a few nits still.

Jan 19 2016, 1:38 AM · committers

Jan 18 2016

jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Ping? I think this is ready to commit, all comments have been addressed.

Jan 18 2016, 6:35 PM · committers

Jan 11 2016

jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Update to address jhb's comments. This should be the final diff.

Jan 11 2016, 2:50 PM · committers

Jan 7 2016

jhb added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 7 2016, 6:22 PM · committers
jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Remove leftover merge-o marker.

Jan 7 2016, 3:02 PM · committers
jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Address jhb's comments, and add libdevinfo/devinfo to the mix.

Jan 7 2016, 3:01 PM · committers

Jan 6 2016

jhibbits added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 6 2016, 4:18 PM · committers

Jan 5 2016

bjk added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#101483, @kib wrote:

I strongly prefer the ~0 over the useless pass over the source code.

Jan 5 2016, 1:10 AM · committers
jhb added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 5 2016, 12:46 AM · committers
jhb added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 5 2016, 12:40 AM · committers

Jan 4 2016

kib added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#101238, @bjk wrote:
In D4544#101018, @cem wrote:

~0 is 0xffffffff on AMD64, not 0xffffffffffffffff. Every replacement of ~0ul by ~0 seems wrong.

On PowerPC, ~0 cast to uintmax_t resolves to 0xffffffffffffffff. I just tested on freefall, too, the following program:
[...]
So your assertion is incorrect.

~0 cast to uintmax_t and ~0 are different values. ~0 has type int.
Values of type int may be implicitly converted to values of type uintmax_t such as by passing in a function argument. C99 (n1256.pdf) 6.3.1.3 says:

"""Otherwise, if the new type is unsigned, the value is converted by repeatedly adding or subtracting one more than the maximum value that can be represented in the new type until the value is in the range of the new type."""

~0 (as type int) is -1, in our twos-complement implementation. -1 is not representable in the unsigned type, so adding 2**64 to get 0xffffffffffffffff is defined behavior, but relies on some somewhat obscure language in the language specification. It seems like much better style (to me) to directly write the intended value, as Conrad indicated.

Jan 4 2016, 3:52 PM · committers

Jan 3 2016

bjk added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#101018, @cem wrote:

~0 is 0xffffffff on AMD64, not 0xffffffffffffffff. Every replacement of ~0ul by ~0 seems wrong.

On PowerPC, ~0 cast to uintmax_t resolves to 0xffffffffffffffff. I just tested on freefall, too, the following program:
[...]
So your assertion is incorrect.

Jan 3 2016, 10:59 PM · committers
jhibbits added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 3 2016, 12:43 AM · committers

Jan 2 2016

cem added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 2 2016, 11:25 PM · committers
jhibbits added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 2 2016, 10:47 PM · committers
jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#101018, @cem wrote:

~0 is 0xffffffff on AMD64, not 0xffffffffffffffff. Every replacement of ~0ul by ~0 seems wrong.

Jan 2 2016, 10:44 PM · committers
cem added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

~0 is 0xffffffff on AMD64, not 0xffffffffffffffff. Every replacement of ~0ul by ~0 seems wrong.

Jan 2 2016, 10:38 PM · committers
cem requested changes to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Jan 2 2016, 10:37 PM · committers
jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Update to include man pages and expose rman_res_t to user space.

Jan 2 2016, 4:18 PM · committers

Dec 19 2015

kib added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Update to s/__rman_res_t/rman_res_t/. No other changes.

Dec 19 2015, 10:43 AM · committers
jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Update to s/__rman_res_t/rman_res_t/. No other changes.

Dec 19 2015, 4:25 AM · committers

Dec 17 2015

jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

I still have to fix the man pages for rman(9), and bus_*_resource(9), coming soon. Looking for additional comments on the code. I'm also building tinderbox with a s/__rman_res_t/rman_res_t/, to make it look nicer.

Dec 17 2015, 1:44 AM · committers
jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Add range checking in nexus. It's assumed anything underneath the nexus does range checking within its own bounds.

Dec 17 2015, 1:29 AM · committers

Dec 14 2015

kib added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Reviewing sys/x86/x86/nexus.c, for example, mem_rman.rm_end could be set to BUS_SPACE_MAXADDR instead of ~0, and that should be sufficient, and a similar change would be possible in the other archs. Thoughts?

Dec 14 2015, 4:55 PM · committers
andrew added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#95915, @kib wrote:

Could you, please, provide some reasoning behind the way the change is done. As I understand, the intent is to support full range of the resources values for PAE-like configuration, where native platform long type range does not cover e.g. the bus addresses. But, is it intended to provide 64bit resource ranges for e.g. arm or non-PAE i386 ? At least, I did not found any handling of possible mis-allocation of too-high resources. Or, is it not important ?

That may have been an oversight. It's not intended to provide resources which aren't accessible by the architecture. armv7 (more recent cortex's, I think?), i386-PAE, and powerpc (some, specifically mpc7450, and e500v2/e500mc, perhaps others) all support 36-bit addresses. But where it isn't supported, bounds checking should probably be performed (it may already be the case, only later at access time, rather than at allocation time).

Dec 14 2015, 4:04 PM · committers
jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
In D4544#95915, @kib wrote:

Could you, please, provide some reasoning behind the way the change is done. As I understand, the intent is to support full range of the resources values for PAE-like configuration, where native platform long type range does not cover e.g. the bus addresses. But, is it intended to provide 64bit resource ranges for e.g. arm or non-PAE i386 ? At least, I did not found any handling of possible mis-allocation of too-high resources. Or, is it not important ?

Dec 14 2015, 2:58 PM · committers
kib added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Could you, please, provide some reasoning behind the way the change is done. As I understand, the intent is to support full range of the resources values for PAE-like configuration, where native platform long type range does not cover e.g. the bus addresses. But, is it intended to provide 64bit resource ranges for e.g. arm or non-PAE i386 ? At least, I did not found any handling of possible mis-allocation of too-high resources. Or, is it not important ?

Dec 14 2015, 8:23 AM · committers

Dec 13 2015

jhibbits updated the diff for D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

Update diff to address comments.

Dec 13 2015, 10:46 PM · committers
jhibbits added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Dec 13 2015, 10:45 PM · committers
jhibbits added a comment to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..

More like "oops, didn't sanitize my diff completely"

Dec 13 2015, 10:14 PM · committers
adrian added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Dec 13 2015, 9:51 PM · committers
andrew added inline comments to D4544: Use uintmax_t (typedef'd to rman type) for rman ranges..
Dec 13 2015, 9:45 PM · committers
jhibbits retitled D4544: Use uintmax_t (typedef'd to rman type) for rman ranges. from to Use uintmax_t (typedef'd to rman type) for rman ranges..
Dec 13 2015, 5:53 PM · committers

Nov 15 2015

eadler added a member for committers: bhd.
Nov 15 2015, 5:28 PM

Aug 28 2015

mat added a member for committers: farrokhi.
Aug 28 2015, 7:06 PM

Jun 24 2015

eadler added members for committers: asomers, wg, jonathan, jlaffaye, danilo.
Jun 24 2015, 5:57 AM
eadler added members for committers: andrew, matthew, araujo, cy, bryanv, daichi, AMDmi3, bcran, syuu.
Jun 24 2015, 5:56 AM
eadler added members for committers: erwin, trociny, rstone, lstewart, skreuzer, ian, flo, op, makc, dchagin, bdrewery, thierry.
Jun 24 2015, 5:55 AM
eadler added members for committers: culot, antoine, grehan, delphij, rm.
Jun 24 2015, 5:54 AM
eadler added members for committers: cs, dru.
Jun 24 2015, 5:54 AM
eadler added members for committers: gahr, sunpoet, philip, oliver, madpilot, bsam, garga, johans, benl, tijl, harti.
Jun 24 2015, 5:54 AM
eadler added members for committers: novel, bcr, gnn, royger, des, alfred, hiren, kib, jmmv, rodrigc, grembo, andreast, milki, wollman, markm, jilles.
Jun 24 2015, 5:53 AM
eadler added members for committers: mjg, theraven, scottl, avg, cperciva, mav, marius, neel, pkelsey, loos, ganbold, vsevolod, butcher, jkim, pluknet, xmj, glebius, kevlo, se, jadawin, remko, dumbbell, melifaro, rene, sbruno, rodrigo, wblock, koobs, hrs, miwi, allanjude.
Jun 24 2015, 5:52 AM
eadler added members for committers: eri, will, pho, jamie, smh, trasz, ngie, rwatson, sson, mahrens, brd, pfg, joel, bjk, thompsa, flz, brooks, feld, stas, mva, db, jpaetzel, arved, shurd, robak, mandree, rakuco, vanilla, danfe, julian, davide, olgeni, martymac, marino, kwm, ivoras.
Jun 24 2015, 5:50 AM
eadler added members for committers: markj, jgh, oshogbo, jhale, simon, gblach, dvl, tychon, jceel.
Jun 24 2015, 5:45 AM
eadler added members for committers: mckusick, marcel, kami, demon, zbb, gibbs, kp, ed, tota, beat, pjd, kibab, jch, avilla, def, riggs, nwhitehorn, ohauer, crees, gavin, ume, jmg, dteske, bz, peter, olivierd.
Jun 24 2015, 5:44 AM
eadler added members for committers: zec, np, benno, jfv, daelf, br, naddy, scf, dor, midori, vanhu, dereckson, peterj, mp, gordon, alonso.
Jun 24 2015, 5:42 AM
eadler added members for committers: ehaupt, fabient, lev, mlaier, arybchik, kmoore, kmacy, ken, rrs, kuriyama, gonzo, rmacklem, tabthorpe, stb, nox, truckman, bofh.
Jun 24 2015, 5:41 AM
eadler added members for committers: slm, jah, dbn, emax, dfr, takawata, jchandra, whu, jlh, jkh, erj, jbeich.
Jun 24 2015, 5:39 AM
eadler added members for committers: lwhsu, lme, ray.
Jun 24 2015, 5:38 AM
eadler added members for committers: emaste, dim, swills, kan, az, tdb, pi, decke, sbz.
Jun 24 2015, 5:38 AM
eadler added a member for committers: gjb.
Jun 24 2015, 5:36 AM
eadler set the icon for committers to fa-building.
Jun 24 2015, 5:22 AM
eadler added members for committers: nyan, sjg, thomas.
Jun 24 2015, 12:13 AM
eadler added members for committers: vangyzen, brnrd, loader, fanf, zeising, zi, versus, kczekirda.
Jun 24 2015, 12:12 AM
eadler added members for committers: gallatin, gshapiro, pgollucci, acm, gad, deischen.
Jun 24 2015, 12:10 AM

May 16 2015

eadler added a member for committers: hselasky.
May 16 2015, 10:54 PM