svn commit: r259513 - in head/sys: dev/ofw powerpc/ofw

2013-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Dec 17 14:50:35 2013 New Revision: 259513 URL: http://svnweb.freebsd.org/changeset/base/259513 Log: Configure interrupt sense based on device tree information. This extends the OF interrupt map API to return sense information to the caller and the PowerPC Open Fi

svn commit: r259514 - head/sys/dev/fdt

2013-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Dec 17 14:51:47 2013 New Revision: 259514 URL: http://svnweb.freebsd.org/changeset/base/259514 Log: Remove dead code. Most of this was in an #if 0 block; the rest is not used and duplicates functionality in dev/ofw. Modified: head/sys/dev/fdt/fdt_common.h head

svn commit: r259515 - releng/10.0/sys/kern

2013-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Dec 17 14:55:23 2013 New Revision: 259515 URL: http://svnweb.freebsd.org/changeset/base/259515 Log: MF10 259465: Add new sysctl, kern.supported_archs, containing the list of FreeBSD MACHINE_ARCH values whose binaries this kernel can run. This patch provides a f

svn commit: r259516 - in head/sys: arm/mv dev/ofw powerpc/ofw sparc64/ebus sparc64/isa sparc64/pci

2013-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Dec 17 15:11:24 2013 New Revision: 259516 URL: http://svnweb.freebsd.org/changeset/base/259516 Log: Simplify the ofw_bus_lookup_imap() API slightly: make it allocate maskbuf internally instead of requiring the caller to allocate it. Modified: head/sys/arm/mv/mv_

Re: svn commit: r259468 - head/usr.sbin/bsdinstall/scripts

2013-12-21 Thread Nathan Whitehorn
Could you please revert this and move the fix to the correct place? -Nathan On 12/16/13 10:06, Nathan Whitehorn wrote: > Please add this to release/rc.local instead under the console setup. > There is no guarantee that "auto" is running from an environment where > this is def

Re: svn commit: r259468 - head/usr.sbin/bsdinstall/scripts

2013-12-21 Thread Nathan Whitehorn
hat being said... I'm still happy to move it. Can you have a look at the > attached patch to see if matches what you envision? > > > -- > Devin > > > On Dec 21, 2013, at 6:49 AM, Nathan Whitehorn wrote: > > > Could you please revert this and move the fix to th

Re: svn commit: r259468 - head/usr.sbin/bsdinstall/scripts

2013-12-21 Thread Nathan Whitehorn
On 12/21/13 10:25, Teske, Devin wrote: > On Dec 21, 2013, at 8:12 AM, Nathan Whitehorn wrote: > >> Looks great, thanks -- although you don't need the f_quietly, which >> isn't defined there. >> >> The issue is that this patch very specific to running the in

Re: svn commit: r255724 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke powerpc/powerpc sparc64/sparc64 vm

2013-09-20 Thread Nathan Whitehorn
On 09/19/13 23:30, Alan Cox wrote: > Author: alc > Date: Fri Sep 20 04:30:18 2013 > New Revision: 255724 > URL: http://svnweb.freebsd.org/changeset/base/255724 > > Log: > The pmap function pmap_clear_reference() is no longer used. Remove it. > > pmap_clear_reference() has had exactly one ca

Re: svn commit: r255783 - head/sys/kern

2013-09-21 Thread Nathan Whitehorn
On 09/21/13 21:46, Justin T. Gibbs wrote: Author: gibbs Date: Sun Sep 22 02:46:13 2013 New Revision: 255783 URL: http://svnweb.freebsd.org/changeset/base/255783 Log: Fix ia64 and mips kernel builds due to XENHVM=>GENERIC integration in revision 255744. sys/kern/subr_smp.c:

svn commit: r255817 - head/usr.sbin/bsdinstall/partedit

2013-09-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Sep 23 14:18:34 2013 New Revision: 255817 URL: http://svnweb.freebsd.org/changeset/base/255817 Log: Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSD formatting, like x86, but with an additional MBR slice containing a raw boot partition. A

svn commit: r255895 - head/sys/powerpc/pseries

2013-09-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 26 18:01:32 2013 New Revision: 255895 URL: http://svnweb.freebsd.org/changeset/base/255895 Log: Fix bug where UART unit number was not set properly, which prevented operation on systems with multiple serial ports. Also turn on interrupts for the UART device,

svn commit: r255897 - in stable/9/sys/powerpc: aim include

2013-09-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 26 18:18:51 2013 New Revision: 255897 URL: http://svnweb.freebsd.org/changeset/base/255897 Log: MFC r255273,255282: Align stacks of kernel threads correctly at 16-byte boundaries rather than making sure they are all misaligned at +8 bytes. This fixes clang

svn commit: r255903 - head/sys/powerpc/pseries

2013-09-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 26 21:18:46 2013 New Revision: 255903 URL: http://svnweb.freebsd.org/changeset/base/255903 Log: As idling the CPU no longer causes hangs on QEMU, reenable the pSeries cpu_idle() routine. Approved by: re (delphij) Modified: head/sys/powerpc/pseries/plat

svn commit: r255904 - head/sys/powerpc/ofw

2013-09-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 26 22:47:02 2013 New Revision: 255904 URL: http://svnweb.freebsd.org/changeset/base/255904 Log: Allow Open Firmware syscons to attach to devices without an "address" property such as those found on some real and emulated IBM systems. The approach, which is ta

svn commit: r255909 - head/sys/powerpc/pseries

2013-09-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Sep 27 13:11:20 2013 New Revision: 255909 URL: http://svnweb.freebsd.org/changeset/base/255909 Log: Make sure that ref and changed bits propagate back to the VM layer whenever pages are unmapped. The old code had several races that could allow these to become sta

svn commit: r255910 - in head/sys/powerpc: include ofw powermac pseries

2013-09-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Sep 27 13:12:47 2013 New Revision: 255910 URL: http://svnweb.freebsd.org/changeset/base/255910 Log: Rework handling of ofw_quiesce(), making it the responsibility of the platform modules. Whether to call this function or not is highly machine dependent: on some s

svn commit: r255915 - head/sys/cam

2013-09-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Sep 27 16:02:40 2013 New Revision: 255915 URL: http://svnweb.freebsd.org/changeset/base/255915 Log: Make sure the CCB xflags field is initialized to zero so that CAM_EXTLUN_VALID is not erroneously set. Also add an XPORT_SRP identifier to the known SCSI transport

svn commit: r255927 - in head/sys: conf powerpc/pseries

2013-09-28 Thread Nathan Whitehorn
Sat Sep 28 15:46:03 2013 (r255927) @@ -0,0 +1,1003 @@ +/*- + * Copyright 2013 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

svn commit: r255929 - head/include

2013-09-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Sep 28 16:25:20 2013 New Revision: 255929 URL: http://svnweb.freebsd.org/changeset/base/255929 Log: Prevent the set -e from mk-osreldate.sh from propagating into newvers.sh. This would cause detection of old versions of SVN to cause fatal errors instead of being

svn commit: r255943 - head/sys/powerpc/ps3

2013-09-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Sep 29 20:10:22 2013 New Revision: 255943 URL: http://svnweb.freebsd.org/changeset/base/255943 Log: Changes to CAM or busdma have caused SIMs to be sent 0-length CCBs on occasion. This resulted in zero mapped segments, triggering an assert in the PS3 CDROM driver

svn commit: r255988 - head/sys/conf

2013-10-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 2 13:33:10 2013 New Revision: 255988 URL: http://svnweb.freebsd.org/changeset/base/255988 Log: Only build the POWER hypervisor UART driver if device uart is included in the kernel config. Approved by: re (gjb) Modified: head/sys/conf/files.powerpc Mo

svn commit: r255990 - stable/9/sys/powerpc/powerpc

2013-10-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 2 15:00:04 2013 New Revision: 255990 URL: http://svnweb.freebsd.org/changeset/base/255990 Log: MFC r255614,255639: Fix bug in busdma: if segs is a preexisting buffer, we memcpy it into the DMA map. The length of the buffer had not yet been initialized, how

svn commit: r256007 - head/sys/powerpc/include

2013-10-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 2 20:40:21 2013 New Revision: 256007 URL: http://svnweb.freebsd.org/changeset/base/256007 Log: Implement GET_STACK_USAGE() on PowerPC. This implementation is identical to that on x86 and sparc64. Approved by: re (kib) Modified: head/sys/powerpc/includ

svn commit: r256055 - in head/usr.bin: . svn svn/lib/libapr

2013-10-04 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 4 18:27:02 2013 New Revision: 256055 URL: http://svnweb.freebsd.org/changeset/base/256055 Log: Disable use of compiler atomic builtins. For APR, this is limited to architectures where they are known not to work. For SVN itself, use the least common denominat

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-12 Thread Nathan Whitehorn
On 10/11/13 22:41, Devin Teske wrote: > Author: dteske > Date: Fri Oct 11 20:41:35 2013 > New Revision: 256343 > URL: http://svnweb.freebsd.org/changeset/base/256343 > > Log: > Add zfsboot module as an option for automatic configuration. Default is > to run interactively but it can be scripted

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-13 Thread Nathan Whitehorn
On Sat, 12 Oct 2013, Teske, Devin wrote: On Oct 12, 2013, at 12:26 AM, Nathan Whitehorn wrote: On 10/11/13 22:41, Devin Teske wrote: Author: dteske Date: Fri Oct 11 20:41:35 2013 New Revision: 256343 URL: https://urldefense.proofpoint.com/v1/url?u=http://svnweb.freebsd.org/changeset/base

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-13 Thread Nathan Whitehorn
On Sat, 12 Oct 2013, Teske, Devin wrote: On Oct 12, 2013, at 8:03 AM, Dag-Erling Sm?rgrav wrote: "Teske, Devin" writes: The code to replace the use of camcontrol is a a *very* complex parsing of the geom XML configuration data stashed in sysctl. jmg@ started the ball rolling on that. Yo

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-13 Thread Nathan Whitehorn
sed for merge to stable/10 be reviewed and have a reasonable testing period in HEAD or on mailing lists before being MFC'ed for the remainder of the 10.0 release process. -Nathan On Sun, 13 Oct 2013, Teske, Devin wrote: On Oct 13, 2013, at 12:41 AM, Nathan Whitehorn wrote: On Sat, 12 Oct

svn commit: r256777 - head/sys/powerpc/pseries

2013-10-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 01:28:39 2013 New Revision: 256777 URL: http://svnweb.freebsd.org/changeset/base/256777 Log: Allow hypervisor calls with more than 7 arguments. Modified: head/sys/powerpc/pseries/phyp-hvcall.S Modified: head/sys/powerpc/pseries/phyp-hvcall.S ==

svn commit: r256778 - in head/sys: conf powerpc/conf powerpc/pseries

2013-10-19 Thread Nathan Whitehorn
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/pseries/phyp_llan.cSun Oct 20 01:31:09 2013 (r256778) @@ -0,0 +1,454 @@ +/*- + * Copyright 2013 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in

svn commit: r256779 - head/sys/powerpc/pseries

2013-10-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 01:40:59 2013 New Revision: 256779 URL: http://svnweb.freebsd.org/changeset/base/256779 Log: Clean up some debug code that snuck in. Add a block comment on future work. Modified: head/sys/powerpc/pseries/phyp_llan.c Modified: head/sys/powerpc/pseries/phyp_

svn commit: r256788 - head/sys/powerpc/pseries

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 14:01:09 2013 New Revision: 256788 URL: http://svnweb.freebsd.org/changeset/base/256788 Log: Add multicast filter control. Modified: head/sys/powerpc/pseries/phyp_llan.c Modified: head/sys/powerpc/pseries/phyp_llan.c ===

svn commit: r256792 - in head/sys: conf powerpc/aim powerpc/booke powerpc/powerpc

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 16:14:03 2013 New Revision: 256792 URL: http://svnweb.freebsd.org/changeset/base/256792 Log: Unify the AIM and Book-E vm_machdep.c implementations, which previously differed only with respect to the AIM version not following style(9) and some additional fe

svn commit: r256793 - in head/sys: conf powerpc/aim powerpc/booke powerpc/powerpc

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 16:37:03 2013 New Revision: 256793 URL: http://svnweb.freebsd.org/changeset/base/256793 Log: Replace the two almost-exactly-identical AIM and Book-E clock.c implementations with a single one after the application of a very small amount of #ifdef. Added:

svn commit: r256798 - head/sys/dev/fdt

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 18:38:19 2013 New Revision: 256798 URL: http://svnweb.freebsd.org/changeset/base/256798 Log: Some nexus devices add wildcard children. Since fdtbus_probe returned BUS_PROBE_DEFAULT, it would attach to them all, producing both many fdtbus instances and prev

svn commit: r256799 - in head/sys: conf powerpc/aim powerpc/mpc85xx powerpc/powerpc

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 18:40:55 2013 New Revision: 256799 URL: http://svnweb.freebsd.org/changeset/base/256799 Log: Since the PS3 port was committed, the AIM nexus device works perfectly fine on all PowerPC platforms, whether or not they have Open Firmware. Remove some more dupl

svn commit: r256814 - head/sys/powerpc/booke

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 20 23:02:16 2013 New Revision: 256814 URL: http://svnweb.freebsd.org/changeset/base/256814 Log: Avoid sign overflow if there are more than 2 GB of RAM. Modified: head/sys/powerpc/booke/machdep.c Modified: head/sys/powerpc/booke/machdep.c =

svn commit: r256816 - in head/sys: dev/ofw powerpc/ofw

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 21 00:04:26 2013 New Revision: 256816 URL: http://svnweb.freebsd.org/changeset/base/256816 Log: Allow the OFW interrupt mapping code to work with PCI devices not enumerated by Open Firmware, as in the case of FDT. Modified: head/sys/dev/ofw/ofw_bus_subr.c

svn commit: r256818 - head/sys/powerpc/powerpc

2013-10-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 21 00:58:35 2013 New Revision: 256818 URL: http://svnweb.freebsd.org/changeset/base/256818 Log: Fix 80-column line wrapping in a comment. Modified: head/sys/powerpc/powerpc/clock.c Modified: head/sys/powerpc/powerpc/clock.c ===

svn commit: r256846 - head/sys/powerpc/ofw

2013-10-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 21 13:57:34 2013 New Revision: 256846 URL: http://svnweb.freebsd.org/changeset/base/256846 Log: Provide an interface for PCI bus drivers that need some of ofw_pci's metadata during attach. Modified: head/sys/powerpc/ofw/ofw_pci.c head/sys/powerpc/ofw/ofw_p

svn commit: r256855 - head/sys/powerpc/powerpc

2013-10-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 21 18:47:02 2013 New Revision: 256855 URL: http://svnweb.freebsd.org/changeset/base/256855 Log: Use standard ofw_bus helpers instead of reinventing the wheel. Modified: head/sys/powerpc/powerpc/nexus.c Modified: head/sys/powerpc/powerpc/nexus.c ==

svn commit: r256864 - head/sys/powerpc/booke

2013-10-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 21 22:25:54 2013 New Revision: 256864 URL: http://svnweb.freebsd.org/changeset/base/256864 Log: Make hard-wired TLB allocations be at minimum one page. This is required by some implementations, most notably (in my case) QEMU's e500 emulation. Modified: head/

svn commit: r256870 - head/sys/dev/ofw

2013-10-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 02:39:56 2013 New Revision: 256870 URL: http://svnweb.freebsd.org/changeset/base/256870 Log: Return standards-compliant code from OF_nextprop() with FDT when no properties remain on this node. Modified: head/sys/dev/ofw/ofw_fdt.c Modified: head/sys/dev/o

svn commit: r256898 - in head/sys: conf dev/fdt powerpc/mambo powerpc/ofw powerpc/powermac powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:07:57 2013 New Revision: 256898 URL: http://svnweb.freebsd.org/changeset/base/256898 Log: Standards-conformance and code deduplication: - Use bus reference phandles in place of FDT offsets as IRQ domain keys - Unify the identical macio/fdt/mambo OpenPIC

svn commit: r256899 - head/sys/dev/fdt

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:08:57 2013 New Revision: 256899 URL: http://svnweb.freebsd.org/changeset/base/256899 Log: Allow lots of interrupts (useful on multi-domain platforms) and do not set device_quiet() on all devices attached under nexus(4). Modified: head/sys/dev/fdt/fdtbu

svn commit: r256900 - head/sys/dev/cfi

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:10:00 2013 New Revision: 256900 URL: http://svnweb.freebsd.org/changeset/base/256900 Log: Set BUS_PROBE_NOWILDCARD on this attachment as a stopgap. Unconditionally poking at registers in unknown devices is not the best probe mechanism. This should be re

svn commit: r256901 - head/sys/powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:11:16 2013 New Revision: 256901 URL: http://svnweb.freebsd.org/changeset/base/256901 Log: Catch up on 6 years of improvements in Open Firmware nexus devices by importing the sparc64 one. At least 90% of this code is MI and will be moved into /sys/dev/of

svn commit: r256914 - head/sys/powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 15:47:13 2013 New Revision: 256914 URL: http://svnweb.freebsd.org/changeset/base/256914 Log: Ignore registers on devices where the reg property is malformed. Issue a warning if this happens under bootverbose. This prevents some strange-looking entries in d

svn commit: r256932 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 20:57:24 2013 New Revision: 256932 URL: http://svnweb.freebsd.org/changeset/base/256932 Log: Add a new function (OF_getencprop()) that undoes the transformation applied by encode-int. Specifically, it takes a set of 32-bit cell values and changes them to h

svn commit: r256938 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 21:20:05 2013 New Revision: 256938 URL: http://svnweb.freebsd.org/changeset/base/256938 Log: A few other common cases for encode-int decoding: OF_getencprop_alloc() and OF_searchencprop(). I thought about using the element size parameter to OF_getprop_allo

Re: svn commit: r256953 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
On 10/22/13 22:59, Andreas Tobler wrote: Author: andreast Date: Wed Oct 23 03:59:51 2013 New Revision: 256953 URL: http://svnweb.freebsd.org/changeset/base/256953 Log: Fix build. Modified: head/sys/dev/ofw/openfirm.c Modified: head/sys/dev/ofw/openfirm.c =

svn commit: r256969 - head/sys/powerpc/powerpc

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:06:41 2013 New Revision: 256969 URL: http://svnweb.freebsd.org/changeset/base/256969 Log: Use OF_getencprop() in preference to OF_getprop() for numerical quantities. Since all supported PowerPC systems are big-endian, this is a no-op, but this is prepar

svn commit: r256973 - head/sys/powerpc/booke

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:28:59 2013 New Revision: 256973 URL: http://svnweb.freebsd.org/changeset/base/256973 Log: If the device tree directly contains the timebase frequency, use it. This property is required by ePAPR, but maintain the fallback to bus-frequency for compatibili

svn commit: r256974 - head/sys/powerpc/booke

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:34:04 2013 New Revision: 256974 URL: http://svnweb.freebsd.org/changeset/base/256974 Log: A quick addendum: the standard says that timebase-frequency can be either 32 or 64 bits, so allow either. Modified: head/sys/powerpc/booke/platform_bare.c Modifi

svn commit: r256967 - in head/sys: arm/mv dev/fdt dev/ofw

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 14:04:09 2013 New Revision: 256967 URL: http://svnweb.freebsd.org/changeset/base/256967 Log: Remove OF_instance_to_package() hack for FDT and replace with use of the generic OF_xref_phandle() API universally. Also replace some related explicit uses of fdt3

svn commit: r256966 - head/sys/dev/ofw

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 13:55:41 2013 New Revision: 256966 URL: http://svnweb.freebsd.org/changeset/base/256966 Log: Make all Open Firmware internal interfaces endian-safe by using the new OF_getencprop() API. This removes one explicit endianness conversion in ofw_iicbus.c. Modi

svn commit: r256994 - in head/sys: dev/ofw powerpc/ofw powerpc/powerpc powerpc/pseries

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 17:24:21 2013 New Revision: 256994 URL: http://svnweb.freebsd.org/changeset/base/256994 Log: Add two new interfaces to ofw_bus: - ofw_bus_map_intr() Maps an (iparent, IRQ) tuple to a system-global interrupt number in some platform dependent way. This

svn commit: r257015 - head/sys/arm/mv

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 19:56:13 2013 New Revision: 257015 URL: http://svnweb.freebsd.org/changeset/base/257015 Log: Typo while reviewing diffs. Sorry for the breakage! Modified: head/sys/arm/mv/gpio.c Modified: head/sys/arm/mv/gpio.c =

svn commit: r257016 - in head/sys: conf dev/ofw powerpc/powerpc

2013-10-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 23 20:00:14 2013 New Revision: 257016 URL: http://svnweb.freebsd.org/changeset/base/257016 Log: Factor out MI portions of the PowerPC nexus device into /sys/dev/ofw. The sparc64 driver will be modified to use this shortly. Added: head/sys/dev/ofw/ofw_nexus.c

svn commit: r257055 - head/sys/dev/ofw

2013-10-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Oct 24 14:15:05 2013 New Revision: 257055 URL: http://svnweb.freebsd.org/changeset/base/257055 Log: interrupt-parent and #interrupt-cells are written to the tree using encode-int. Modified: head/sys/dev/ofw/ofw_nexus.c Modified: head/sys/dev/ofw/ofw_nexus.c ===

svn commit: r257059 - in head/sys/powerpc: include mpc85xx ofw powerpc

2013-10-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Oct 24 15:37:32 2013 New Revision: 257059 URL: http://svnweb.freebsd.org/changeset/base/257059 Log: Allow PIC drivers to translate firmware sense codes for themselves. This is designed to replace the tables in dev/fdt/fdt_ARCH.c, but will not happen quite yet. M

svn commit: r257060 - head/sys/dev/fdt

2013-10-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Oct 24 15:44:29 2013 New Revision: 257060 URL: http://svnweb.freebsd.org/changeset/base/257060 Log: Do not map IRQs twice. This fixes PowerPC/FDT systems with multiple PICs, which would try to treat the previously-mapped interrupts from fdt_decode_intr() as inter

svn commit: r257075 - head/sys/dev/ofw

2013-10-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Oct 24 21:49:23 2013 New Revision: 257075 URL: http://svnweb.freebsd.org/changeset/base/257075 Log: Remove some of the code required for supporting ssm(4) on SPARC in favor of a more PowerPC/FDT-focused design. Whenever SPARC64 is integrated into this rework, thi

svn commit: r257093 - head/sys/powerpc/powermac

2013-10-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 03:55:52 2013 New Revision: 257093 URL: http://svnweb.freebsd.org/changeset/base/257093 Log: Be a little more suspicious of thermal sensors, which can have single crazy readings occasionally. One wild reading should not be enough to trigger a shutdown, so

svn commit: r257114 - in head/sys: conf dev/fdt

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 13:29:07 2013 New Revision: 257114 URL: http://svnweb.freebsd.org/changeset/base/257114 Log: Use common OFW root code to set up fdtbus. This is an almost purely negative diff that should improve reliability somewhat. There should be no differences in behav

svn commit: r257115 - in head/sys/powerpc: include powerpc

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 14:37:15 2013 New Revision: 257115 URL: http://svnweb.freebsd.org/changeset/base/257115 Log: Remove some #ifdef and duplication in the MSR bit definitions. This adds some security features to the Book-E kernel as well. Modified: head/sys/powerpc/include/p

svn commit: r257116 - head/sys/powerpc/powerpc

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 14:38:46 2013 New Revision: 257116 URL: http://svnweb.freebsd.org/changeset/base/257116 Log: Remove dead reference to PSL_MBO. Modified: head/sys/powerpc/powerpc/exec_machdep.c Modified: head/sys/powerpc/powerpc/exec_machdep.c =

svn commit: r257117 - in head/sys: conf powerpc/mpc85xx

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 14:43:16 2013 New Revision: 257117 URL: http://svnweb.freebsd.org/changeset/base/257117 Log: Convert e500 PCI driver to use common PPC PCI bus glue. No functional changes. Added: head/sys/powerpc/mpc85xx/pci_mpc85xx.c - copied, changed from r257116,

svn commit: r257118 - head/sys/dev/ofw

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Oct 25 15:37:58 2013 New Revision: 257118 URL: http://svnweb.freebsd.org/changeset/base/257118 Log: Make sure to get the right node when looking up #interrupt-cells. Modified: head/sys/dev/ofw/ofw_nexus.c Modified: head/sys/dev/ofw/ofw_nexus.c ===

svn commit: r257144 - head/sys/dev/uart

2013-10-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 03:22:57 2013 New Revision: 257144 URL: http://svnweb.freebsd.org/changeset/base/257144 Log: Fix build after r257111 by including headers with definition of pmap_kextract(). Modified: head/sys/dev/uart/uart_cpu_fdt.c Modified: head/sys/dev/uart/uart_cpu_f

svn commit: r257157 - head/sys/dev/uart

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 13:18:39 2013 New Revision: 257157 URL: http://svnweb.freebsd.org/changeset/base/257157 Log: machine/pmap.h is included by vm/pmap.h, so is redundant here. Thanks to Alan Cox for pointing this out. Modified: head/sys/dev/uart/uart_cpu_fdt.c Modified: hea

svn commit: r257161 - head/sys/powerpc/booke

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 14:52:55 2013 New Revision: 257161 URL: http://svnweb.freebsd.org/changeset/base/257161 Log: Add pmap_mapdev_attr() and pmap_kenter_attr() interfaces. pmap_set_memattr() is slightly more complicated and is left unimplemented for now. Also prevent pmap_mapd

svn commit: r257162 - head/sys/powerpc/include

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 14:54:43 2013 New Revision: 257162 URL: http://svnweb.freebsd.org/changeset/base/257162 Log: The old trap.h (then trap_aim.h) actually had trap ID codes for Book-E CPUs. Use it universally. Book-E traps may also need revisiting due to the introduction of f

svn commit: r257169 - head/sys/powerpc/booke

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 16:49:41 2013 New Revision: 257169 URL: http://svnweb.freebsd.org/changeset/base/257169 Log: Fix concurrency issues with TLB1 updates and make pmap_kextract() search TLB1 mappings as well, which is required for the console to work after r257111. Modified:

svn commit: r257175 - in head/sys/powerpc: aim pseries

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 17:54:31 2013 New Revision: 257175 URL: http://svnweb.freebsd.org/changeset/base/257175 Log: Clean up missed header references. Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/aim/mp_cpudep.c head/sys/powerpc/pseries/platform_chrp.c Modified:

svn commit: r257178 - in head/sys/powerpc: aim booke include mpc85xx powerpc

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 18:18:14 2013 New Revision: 257178 URL: http://svnweb.freebsd.org/changeset/base/257178 Log: Interrelated improvements to early boot mappings: - Remove explicit requirement that the SOC registers be found except as an optimization (although the MPC85XX L

svn commit: r257180 - head/sys/powerpc/aim

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 18:19:36 2013 New Revision: 257180 URL: http://svnweb.freebsd.org/changeset/base/257180 Log: Add some extra sanity checking and checks to printf format specifiers. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c ==

svn commit: r257183 - head/sys/dev/uart

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 18:25:55 2013 New Revision: 257183 URL: http://svnweb.freebsd.org/changeset/base/257183 Log: Be a bit more flexible in how we find the console from the properties on /chosen, following the list of allowed console properties in ePAPR. Also do not require th

svn commit: r257190 - head/sys/powerpc/booke

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 19:49:09 2013 New Revision: 257190 URL: http://svnweb.freebsd.org/changeset/base/257190 Log: Bump initial TLB size. The kernel is not necessarily less than 16 MB any more. Modified: head/sys/powerpc/booke/locore.S Modified: head/sys/powerpc/booke/locore.

svn commit: r257191 - head/sys/powerpc/booke

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 19:50:40 2013 New Revision: 257191 URL: http://svnweb.freebsd.org/changeset/base/257191 Log: Handle (in a slightly ugly way) ePAPR-type loaders that just place a device tree into r3. Rather than worrying about mapping that tree, reserving its space in the

svn commit: r257195 - head/sys/dev/uart

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 20:06:50 2013 New Revision: 257195 URL: http://svnweb.freebsd.org/changeset/base/257195 Log: Try even harder to find a console before giving up. Modified: head/sys/dev/uart/uart_cpu_fdt.c Modified: head/sys/dev/uart/uart_cpu_fdt.c =

svn commit: r257196 - head/sys/powerpc/booke

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 20:57:26 2013 New Revision: 257196 URL: http://svnweb.freebsd.org/changeset/base/257196 Log: Make devices with registers into the KVA region work reliably. Without this, previous KVA allocations (which the PMAP lazily invalidates) in TLB0 could shadow devi

svn commit: r257198 - head/sys/boot/powerpc/ps3

2013-10-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Oct 26 23:41:11 2013 New Revision: 257198 URL: http://svnweb.freebsd.org/changeset/base/257198 Log: Fix build after r257162. Modified: head/sys/boot/powerpc/ps3/start.S Modified: head/sys/boot/powerpc/ps3/start.S ==

Re: svn commit: r257162 - head/sys/powerpc/include

2013-10-26 Thread Nathan Whitehorn
On 10/26/13 18:37, Julio Merino wrote: > On Sat, Oct 26, 2013 at 10:54 AM, Nathan Whitehorn > wrote: >> Author: nwhitehorn >> Date: Sat Oct 26 14:54:43 2013 >> New Revision: 257162 >> URL: http://svnweb.freebsd.org/changeset/base/257162 >> >> Log: >

svn commit: r257209 - head/sys/powerpc/include

2013-10-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 27 14:03:51 2013 New Revision: 257209 URL: http://svnweb.freebsd.org/changeset/base/257209 Log: Turn on VM_KMEM_SIZE_SCALE on 32-bit as well as 64-bit PowerPC. Requested by: alc MFC after:1 month Modified: head/sys/powerpc/include/vmparam.h Modifie

svn commit: r257292 - in stable/10/sys: conf powerpc/conf powerpc/pseries

2013-10-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 28 23:47:52 2013 New Revision: 257292 URL: http://svnweb.freebsd.org/changeset/base/257292 Log: MFC r256777-256779,256788: Add driver for POWER hypervisor interpartition ethernet. Approved by: re (glebius) Added: stable/10/sys/powerpc/pseries/phyp_llan

svn commit: r257295 - head/sys/dev/adb

2013-10-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 00:53:17 2013 New Revision: 257295 URL: http://svnweb.freebsd.org/changeset/base/257295 Log: Return NOKEY instead of 0 if there are no more key presses queued. This worked by accident if and only if akbd was part of a kbdmux (which it always was in practic

svn commit: r257334 - in head/sys/dev/terasic: de4led mtl

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 13:43:09 2013 New Revision: 257334 URL: http://svnweb.freebsd.org/changeset/base/257334 Log: Hints-only devices should have BUS_PROBE_NOWILDCARD set. We probably need a better flag for this (in the driver metadata, for example). Modified: head/sys/dev/ter

svn commit: r257336 - in head/sys/dev/altera: atse avgen jtag_uart sdcard

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 13:48:41 2013 New Revision: 257336 URL: http://svnweb.freebsd.org/changeset/base/257336 Log: These nexus attachments do not execute a real probe and so need BUS_PROBE_NOWILDCARD set. Modified: head/sys/dev/altera/atse/if_atse_nexus.c head/sys/dev/altera

svn commit: r257337 - in head/sys/arm/xscale: i80321 pxa

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 13:52:05 2013 New Revision: 257337 URL: http://svnweb.freebsd.org/changeset/base/257337 Log: Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe methods. Modified: head/sys/arm/xscale/i80321/iq80321.c head/sys/arm/xscale/pxa/pxa_obio.

svn commit: r257338 - in head/sys/mips: adm5120 alchemy atheros cavium idt malta mips nlm rmi rt305x sibyte

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 14:07:31 2013 New Revision: 257338 URL: http://svnweb.freebsd.org/changeset/base/257338 Log: Devices that rely on hints or identify routines for discovery need to return BUS_PROBE_NOWILDCARD from their probe routines to avoid claiming wildcard devices on t

svn commit: r257341 - in head/sys/dev: acpica cfe gxemul/disk gxemul/ether hyperv/vmbus rt xen/console xen/pcifront xen/timer

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 14:19:42 2013 New Revision: 257341 URL: http://svnweb.freebsd.org/changeset/base/257341 Log: More BUS_PROBE_NOWILDCARD sweeping. Some devices here (if_ath_ahb and siba) resist easy conversion since they implement a great deal of their attach logic inside p

svn commit: r257342 - in head/sys/arm: econa s3c2xx0 sa11x0

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 14:32:33 2013 New Revision: 257342 URL: http://svnweb.freebsd.org/changeset/base/257342 Log: A few last BUS_PROBE_NOWILDCARDs are in order. Modified: head/sys/arm/econa/econa.c head/sys/arm/s3c2xx0/s3c24x0.c head/sys/arm/sa11x0/sa11x0.c Modified: head/

svn commit: r257343 - head/sys/arm/at91

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 14:44:36 2013 New Revision: 257343 URL: http://svnweb.freebsd.org/changeset/base/257343 Log: A last BUS_PROBE_NOWILDCARD. Move setting the postfilter function into the attach function probe shouldn't actually set anything up but just bid on the device. Mo

svn commit: r257345 - in head/sys: cam cam/scsi powerpc/pseries

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 15:36:58 2013 New Revision: 257345 URL: http://svnweb.freebsd.org/changeset/base/257345 Log: Implement extended LUN support. If PIM_EXTLUNS is set by a SIM, encode the upper 32-bits of the LUN, if possible, into the target_lun field as passed directly from

svn commit: r257365 - in head/sys/mips: mips nlm rmi

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 20:38:58 2013 New Revision: 257365 URL: http://svnweb.freebsd.org/changeset/base/257365 Log: Panics about how things can't be attached should probably happen in the attach method rather than probe. Submitted by: brooks Modified: head/sys/mips/mips/ti

svn commit: r257368 - head/sys/powerpc/pseries

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 21:08:20 2013 New Revision: 257368 URL: http://svnweb.freebsd.org/changeset/base/257368 Log: The ofw_bus() routines invoke the device's parent, not the device itself, so cease iterating when the parent is NULL, not when the device is. MFC after:5 da

svn commit: r257370 - head/sys/arm/at91

2013-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 29 23:55:17 2013 New Revision: 257370 URL: http://svnweb.freebsd.org/changeset/base/257370 Log: Fix typo. Sorry! Modified: head/sys/arm/at91/at91.c Modified: head/sys/arm/at91/at91.c

svn commit: r257381 - in head/sys/dev: arcmsr asr firewire hptiop iscsi_initiator isp mps mpt twa usb/storage wds

2013-10-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 30 14:04:47 2013 New Revision: 257381 URL: http://svnweb.freebsd.org/changeset/base/257381 Log: Adjust various SCSI drivers to handle either a 32-bit or 64-bit lun_id_t, mostly by adjustments to debugging printf() format specifiers. For high numbered LUNs, al

svn commit: r257382 - in head: lib/libcam sbin/camcontrol sys/cam

2013-10-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Oct 30 14:13:15 2013 New Revision: 257382 URL: http://svnweb.freebsd.org/changeset/base/257382 Log: printf() specifier updates to CAM to handle either 32-bit or 64-bit lun_id_t. MFC after:2 weeks Modified: head/lib/libcam/camlib.c head/sbin/camcontrol/c

<    2   3   4   5   6   7   8   9   10   11   >