Page MenuHomeFreeBSD
Feed Advanced Search

Nov 17 2015

nwhitehorn committed rS290991: Bring up to date with HEAD..
Bring up to date with HEAD.
Nov 17 2015, 4:16 PM
nwhitehorn committed rS290990: Make native page table access endian-safe. Even on CPUs running in.
Make native page table access endian-safe. Even on CPUs running in
Nov 17 2015, 4:09 PM
nwhitehorn committed rS290989: Where appropriate, use the endian-flipping OF_getencprop() instead of.
Where appropriate, use the endian-flipping OF_getencprop() instead of
Nov 17 2015, 4:07 PM

Nov 15 2015

nwhitehorn committed rS290872: Let the system read the OPAL RTC..
Let the system read the OPAL RTC.
Nov 15 2015, 7:31 PM
nwhitehorn committed rS290852: Fix style bugs..
Fix style bugs.
Nov 15 2015, 6:39 AM
nwhitehorn committed rS290841: The compatible checks are sufficient here: no need to test the complicated.
The compatible checks are sufficient here: no need to test the complicated
Nov 15 2015, 3:19 AM
nwhitehorn committed rS290839: Deal with the IOMMU with a hammer: turn it off. Full booting now blocked by.
Deal with the IOMMU with a hammer: turn it off. Full booting now blocked by
Nov 15 2015, 1:50 AM

Nov 14 2015

nwhitehorn committed rS290837: Get PCI bus enumeration going..
Get PCI bus enumeration going.
Nov 14 2015, 11:42 PM
nwhitehorn committed rS290829: Bring tree up to date.
Bring tree up to date
Nov 14 2015, 7:49 PM

Aug 21 2015

nwhitehorn accepted D3345: Create a RouterBoard platform and use it to create a flash map.

Looks good to me.

Aug 21 2015, 6:33 PM
nwhitehorn accepted D3305: Make the mpc85xx platform a kobj base class..

Looks good to me.

Aug 21 2015, 6:32 PM

Jun 13 2015

nwhitehorn accepted D2364: freebsd-update src component skip if not installed.

Looks good to me.

Jun 13 2015, 3:05 AM

May 10 2015

nwhitehorn accepted D2442: Add a PCI bridge for the Freescale PCIe Root Complex.

Nice work! I agree about the #if 0 section, though -- please remove it when you commit.

May 10 2015, 11:52 PM

Apr 4 2015

nwhitehorn added a comment to D2215: Unify Book-E and AIM trap.c.

Looks good in general. One comment regarding Marcel's comment 2: I think all the codes are already unified, actually.

Apr 4 2015, 4:34 PM

Mar 27 2015

nwhitehorn accepted D2155: Fix bug in xrefinfo_find() for 64-bit platforms.

Looks OK to me. Would be nice if you changed the name of the "phandle" argument to "key" or something since, in the cases where this applies, it isn't a phandle.

Mar 27 2015, 6:25 PM
nwhitehorn added a comment to D2142: Move prstatus32 and friends to <sys/procfs.h>..

PowerPC bits look good to me.

Mar 27 2015, 6:22 PM

Mar 5 2015

nwhitehorn added inline comments to D2011: Categorize certain kernel builds as being broken in certain places..
Mar 5 2015, 4:31 PM
nwhitehorn added inline comments to D1990: Make ofwbus as a subclass of simplebus..
Mar 5 2015, 5:39 AM

Mar 4 2015

nwhitehorn added a comment to D1990: Make ofwbus as a subclass of simplebus..

Generally looks OK but see inline comment about cpufreq.

Mar 4 2015, 9:17 PM

Feb 20 2015

nwhitehorn added a comment to D1912: Fix endianness on FDT read in ARM GIC.

This is a good patch. The spec defines that interrupts properties are in 32-bit chunks "encoded as with <encode-int>" (i.e. big-endian and 32-bits at a time), so all endian decoding should be confined to OF_getencprop() calls in ofw_bus_intr_to_rl().

Feb 20 2015, 3:22 PM

Feb 19 2015

nwhitehorn closed D1554: Make powerpc64 kernel position-independent.

Committed in stages to HEAD.

Feb 19 2015, 4:20 PM
nwhitehorn accepted D1825: Add a function to run a callback for each cpu in the OFW data.

Sorry, was traveling. Looks good to me.

Feb 19 2015, 4:18 PM
nwhitehorn accepted D1549: Make the PowerMac fan control nonlinear.

Looks good to me. Thanks for doing this!

Feb 19 2015, 4:17 PM

Feb 12 2015

nwhitehorn added a comment to D1825: Add a function to run a callback for each cpu in the OFW data.

Could you elaborate more on what this does? I'm not really sure what the goal is relative to platform drivers that iterate through the tree (this is how PowerPC and sparc64 SMP work) or subdrivers (like cpufreq) hanging off the CPU hierarchy.

Feb 12 2015, 6:08 AM

Jan 21 2015

nwhitehorn added a comment to D1554: Make powerpc64 kernel position-independent.

I'm reasonably satisfied that it won't cause regressions now, since we've tested on UP and SMP 970, Cell, and the POWER simulator. If you won't have time to test on POWER hardware in the near future, and you think the approach here is reasonable, could you mark this "Approved"?

Jan 21 2015, 6:12 PM
nwhitehorn added a comment to D1554: Make powerpc64 kernel position-independent.

Could you try again post r277468? There was a bad interaction between some of the changed compiler flags and the hacked-together HID register restore sequence in mp_cpudep.c that I just fixed. I hadn't noticed the problem earlier since I wasn't using 970 based hardware. My G5 powermac now runs fine with a dynamic kernel.

Jan 21 2015, 3:00 AM

Jan 20 2015

nwhitehorn added a comment to D1554: Make powerpc64 kernel position-independent.

That should be right. You should be able to apply just the machdep.c, trap.h, and trap_subr64.S parts of the patch to see if the problem is there. Each section of trap_subr64.S is also independent if you have the time to bisect. I'm very confused about why your hardware and mine are different. You see the AP #1 launched message OK?

Jan 20 2015, 9:13 PM
nwhitehorn updated the diff for D1554: Make powerpc64 kernel position-independent.

Messed up the last diff. This should fix the SMP/Altivec issue in any case.

Jan 20 2015, 12:32 AM
nwhitehorn updated the diff for D1554: Make powerpc64 kernel position-independent.

I think I found the SMP issue, which was actually a CPUTYPE issue. There was an extremely subtle problem in the trap code that would cause a double fault on the first altivec instruction issued from userland. Fixing it is horrible, as it requires that trapcode be at most 8 instructions, which it now is. This comes up successfully on my hardware now. A retest on yours would be much appreciated.

Jan 20 2015, 12:30 AM

Jan 19 2015

nwhitehorn added a comment to D1554: Make powerpc64 kernel position-independent.

Andreas: which version of the patch did you try? It seems to work OK on my SMP hardware here.

Jan 19 2015, 8:05 PM
nwhitehorn updated the diff for D1554: Make powerpc64 kernel position-independent.

Updated to not __CONCAT for the SPRG instructions. Additionally, since ABSOLUTE_JUMP was only being used in one place, I just expanded it in-place.

Jan 19 2015, 5:48 PM
nwhitehorn accepted D1555: Update parsing of the reg cpu property to help ARMv8..

The patch looks good to me. Thanks for the reminder about the CPU id; most of the PowerPC code doesn't assume they are continuous (they aren't on many systems), but this erroneously does.

Jan 19 2015, 5:28 PM
nwhitehorn retitled D1554: Make powerpc64 kernel position-independent from to Make powerpc64 kernel position-independent.
Jan 19 2015, 6:29 AM

Jan 12 2015

nwhitehorn accepted D1504: Introduce ofw_bus_reg_to_rl() to replace part of common bus code.

Looks good to me.

Jan 12 2015, 8:48 PM

Dec 29 2014

nwhitehorn accepted D1392: Get rid of obsolete -mppc64bridge assembler flag.

Nuke it. I don't think it was necessary even when it was added. Thanks!

Dec 29 2014, 2:20 PM

Nov 29 2014

nwhitehorn accepted D566: Switch zfsboot installer force 4k option to use vfs.zfs.min_auto_ashift=12.

This is definitely an improvement compared to gnop and should go in the tree. The whole issue of 4K sectors should go back to the mailing list, however. This is useful only for pools that get upgraded with 4K disks in the future; in all other circumstances it is harmful.

Nov 29 2014, 4:38 PM
nwhitehorn accepted D1207: Add support for dtrace:fbt on modules for PowerPC.

Looks good.

Nov 29 2014, 4:37 PM

Nov 20 2014

nwhitehorn added a comment to D1160: The ranges parent bus address may just be a tag to the entry in the parent node. Take this in to account by searching until we find the root node's range..

I discussed this with Ian on IRC yesterday, but for posterity: we should remove this eventually and replace it with a copy of OF_decode_addr() from /sys/powerpc/ofw/ofw_machdep.c, which already handles all the cases and is quasi-standard in the tree.

Nov 20 2014, 5:05 PM
nwhitehorn accepted D1173: Use db_printsym() instead of our own in backtraces.

This looks great to me!

Nov 20 2014, 3:44 AM

Oct 27 2014

nwhitehorn added a comment to D1005: vt(4): Enable vt(4) by default.

That looks perfect to me. Thanks!

Oct 27 2014, 4:32 PM
nwhitehorn added a comment to D1005: vt(4): Enable vt(4) by default.

Mostly looks good to me. I'd phrase a few of the points in a more positive way, though, and also define the terms. "No modesetting" makes it sound like KMS isn't supported, for example, which it most certainly is.

Oct 27 2014, 3:23 PM

Oct 24 2014

nwhitehorn added a comment to D1005: vt(4): Enable vt(4) by default.

The keymap selection is the important bit there, I think. The installer keymap selection got rewritten as part of bsdconfig, so I no longer know how it works. Maybe Devin can take a look?

Oct 24 2014, 2:38 PM
nwhitehorn added a comment to D1005: vt(4): Enable vt(4) by default.

I agree too. Not an MFC candidate, but something that's a good idea. vt supports at least all of the hardware that syscons does now.

Oct 24 2014, 3:24 AM

Oct 14 2014

nwhitehorn added a comment to D566: Switch zfsboot installer force 4k option to use vfs.zfs.min_auto_ashift=12.

There was a discussion on this on the freebsd-fs list in June (e.g. http://lists.freebsd.org/pipermail/freebsd-fs/2014-June/019535.html). The consensus seemed to be that forcing the ZFS block size to larger than the stripe size was actually harmful in many cases and that this feature should be removed entirely rather than shifted to use the sysctl.

Oct 14 2014, 3:34 PM

Oct 12 2014

nwhitehorn added a comment to D937: Add an AC line monitor so power_profile can work.

What happens on systems with no battery? For example, desktops?

Oct 12 2014, 6:02 PM
nwhitehorn accepted D937: Add an AC line monitor so power_profile can work.

Nice work! I do wonder (this is out of scope, however) whether it is worth standardizing some of these interfaces. Hopefully various ARM hardwares (Chromebooks, for example) will acquire the same features.

Oct 12 2014, 4:06 PM

Sep 23 2014

nwhitehorn added a comment to D803: Use common fdt_intr_to_rl() function, enhance that to handle interrupt-extended properties, remove duplicated code..

Right! Then we should keep that.

Sep 23 2014, 9:15 PM

Sep 21 2014

nwhitehorn added a comment to D803: Use common fdt_intr_to_rl() function, enhance that to handle interrupt-extended properties, remove duplicated code..

This will probably break all non-FDT Open Firmware platforms, which do not include anything in sys/dev/fdt into their kernels. It's possible that the change to conf/files.powerpc fixes it, but it highlights a more general issue: there is nothing whatever FDT-specific about the code. Could you move the function into dev/ofw/ofw_bus_subr.c? That's where these things belong.

Sep 21 2014, 5:35 AM

Sep 16 2014

nwhitehorn accepted D788: Fix the stack tracing for dtrace/powerpc..

Check the box: this looks great to me.

Sep 16 2014, 11:45 PM
nwhitehorn accepted D787: math/gsl: Repair math/gsl build to support ARMv6.

Looks good. Thanks!

Sep 16 2014, 7:00 PM
nwhitehorn added a comment to D788: Fix the stack tracing for dtrace/powerpc..

Looks good to me too, though I don't know anything about dtrace.

Sep 16 2014, 6:18 PM
nwhitehorn added a comment to D787: math/gsl: Repair math/gsl build to support ARMv6.

I like the approach. It builds and works on powerpc64 11. It probably does need a test, but otherwise it looks good from my end.

Sep 16 2014, 6:11 PM
nwhitehorn accepted D789: vt(4): Use vt_fb_drawrect() and vt_fb_setpixel() in all vt_fb-derivative.

Looks good!

Sep 16 2014, 5:56 PM
nwhitehorn added a comment to D787: math/gsl: Repair math/gsl build to support ARMv6.

Should we have #if !defined(i386) && !defined(amd64) instead of whitelisting powerpc and arm? The stuff not being included is very x87 specific. Or use the gnuc99 fenv support, which looks like it's MI?

Sep 16 2014, 5:15 PM

Sep 14 2014

nwhitehorn accepted D782: Warn users who boot with uEFI that FreeBSD's uEFI loader can't do root-on-zfs yet.

Looks perfect. Thanks!

Sep 14 2014, 1:50 AM
nwhitehorn added a comment to D782: Warn users who boot with uEFI that FreeBSD's uEFI loader can't do root-on-zfs yet.

One minor thing: I think (per uefi.org), it's "UEFI" not "uEFI". Otherwise, this looks fantastic. Thanks!

Sep 14 2014, 1:44 AM

Sep 13 2014

nwhitehorn added a comment to D714: Installer Enhancement -- dpv.

That sounds like a good plan to me, Julian. I'd just like to see these things done piece by piece and well thought-through. Aside from the minor nits mentioned, I'm quite happy with the changes.

Sep 13 2014, 3:25 AM

Sep 12 2014

nwhitehorn added a comment to D714: Installer Enhancement -- dpv.

I really don't want to argue about code length here, but, for clarity, my line count removed whitespace and comments, which are about half of the original code.

Sep 12 2014, 10:05 PM
nwhitehorn added a comment to D714: Installer Enhancement -- dpv.

Julian, I agree. That's why I first asked what else this was for. If it's a general purpose tool that adds really useful features and this is the first use, that's absolutely fine. It would be nice to work with upstream to make this a part of libdialog itself, though, rather than wrapping it.

Sep 12 2014, 4:00 PM

Sep 11 2014

nwhitehorn added a comment to D714: Installer Enhancement -- dpv.

I didn't do a shell script in the beginning because it was hard to feed status information from tar into dialog in a sane way. Since the alternative 160 lines of C didn't require gymnastics, that seemed like the safer and more maintainable approach. distfetch is in C for the same reason. Any approaches that are even shorter/more robust would be good alternatives to the existing code.

Sep 11 2014, 10:19 PM
nwhitehorn added a comment to D714: Installer Enhancement -- dpv.

What else is this library for? I don't necessarily have any objections to the patch per se, but it's a huge amount of extra code to this otherwise very simple libarchive frontend to add an extract speed status bar, which for extraction (and opposed to downloading files) seems like something of pretty marginal utility.

Sep 11 2014, 9:59 PM