svn commit: r208172 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 22:01:43 2010 New Revision: 208172 URL: http://svn.freebsd.org/changeset/base/208172 Log: Pull OF_quiesce() out of the MI Open Firmware layer and entirely into PPC ofw_machdep.c, in recognition of its state as a machine specific hack. Requested by: mari

Re: svn commit: r208152 - in head/sys: dev/ofw powerpc/aim powerpc/ofw

2010-05-16 Thread Nathan Whitehorn
On 05/16/10 16:47, Nathan Whitehorn wrote: On 05/16/10 16:38, Marius Strobl wrote: On Sun, May 16, 2010 at 03:57:00PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun May 16 15:56:59 2010 New Revision: 208152 URL: http://svn.freebsd.org/changeset/base/208152 Log: On PowerMac11,2

svn commit: r208173 - in head: sbin/geom/class/part sys/geom/part

2010-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 16 22:21:33 2010 New Revision: 208173 URL: http://svn.freebsd.org/changeset/base/208173 Log: Teach gpart about bootcode on APM. Modified: head/sbin/geom/class/part/geom_part.c head/sys/geom/part/g_part_apm.c Modified: head/sbin/geom/class/part/geom_part.c =

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

2010-05-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed May 19 01:37:47 2010 New Revision: 208285 URL: http://svn.freebsd.org/changeset/base/208285 Log: Correct a typo. Pointy hat to:me Modified: head/sys/powerpc/powermac/cpcht.c Modified: head/sys/powerpc/powermac/cpcht.c

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

2010-05-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 20 21:07:58 2010 New Revision: 208364 URL: http://svn.freebsd.org/changeset/base/208364 Log: Fix a long-standing bug in the PowerPC OFW call function on SMP machines where running ofwdump could cause hangs by forcing all secondary CPUs into a busy wait with i

Re: svn commit: r208364 - head/sys/powerpc/aim

2010-05-20 Thread Nathan Whitehorn
On 05/20/10 16:07, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu May 20 21:07:58 2010 New Revision: 208364 URL: http://svn.freebsd.org/changeset/base/208364 Log: Fix a long-standing bug in the PowerPC OFW call function on SMP machines where running ofwdump could cause hangs by

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

2010-05-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri May 21 20:46:01 2010 New Revision: 208405 URL: http://svn.freebsd.org/changeset/base/208405 Log: Now that single-threaded access to firmware is enforced by IPI_RENDEZVOUS, the ofw mutex is irrelevant. Modified: head/sys/powerpc/aim/ofw_machdep.c Modified: head/

svn commit: r208461 - head/release/doc/en_US.ISO8859-1/hardware

2010-05-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 23 20:00:12 2010 New Revision: 208461 URL: http://svn.freebsd.org/changeset/base/208461 Log: Revise PowerPC hardware notes to reflect status for 8.1. Modified: head/release/doc/en_US.ISO8859-1/hardware/article.sgml Modified: head/release/doc/en_US.ISO8859-1/h

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

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 16:21:55 2010 New Revision: 208835 URL: http://svn.freebsd.org/changeset/base/208835 Log: Make sure that interrupt sense settings set after interrupts are enabled are respected. This fixes loading the Apple onboard audio driver (snd_ai2s) as a module after

svn commit: r208836 - head/sys/dev/ata/chipsets

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 16:25:25 2010 New Revision: 208836 URL: http://svn.freebsd.org/changeset/base/208836 Log: Partially revert r208162 while waiting for review on a more comprehensive fix. On Apple OpenPICs, the low/high bit of the interrupt sense is only respected for interr

svn commit: r208837 - head/sys/dev/ata/chipsets

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 16:27:15 2010 New Revision: 208837 URL: http://svn.freebsd.org/changeset/base/208837 Log: Correct the comment. We now use level low instead of edge high for this interrupt. Modified: head/sys/dev/ata/chipsets/ata-serverworks.c Modified: head/sys/dev/ata/

svn commit: r208839 - head/sys/dev/iicbus

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 17:48:26 2010 New Revision: 208839 URL: http://svn.freebsd.org/changeset/base/208839 Log: Add two new flags (IIC_M_NOSTOP and IIC_M_NOSTART) to struct iic_msg to allow consumers of iicbus_transfer() to send messages with repeated starts. Reviewed by: i

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

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 17:49:40 2010 New Revision: 208840 URL: http://svn.freebsd.org/changeset/base/208840 Log: Utilize the Keywest I2C combined mode for messages with repeated starts. Modified: head/sys/powerpc/powermac/kiic.c Modified: head/sys/powerpc/powermac/kiic.c ===

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

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 17:50:20 2010 New Revision: 208841 URL: http://svn.freebsd.org/changeset/base/208841 Log: Add support for the I2C busses hanging off Apple system management chips. Modified: head/sys/powerpc/powermac/smu.c Modified: head/sys/powerpc/powermac/smu.c

svn commit: r208842 - in head/sys: conf powerpc/powermac

2010-06-05 Thread Nathan Whitehorn
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/powermac/smusat.c Sat Jun 5 17:51:37 2010 (r208842) @@ -0,0 +1,262 @@ +/*- + * Copyright (c) 2010 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in source and binary

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

2010-06-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 5 18:24:41 2010 New Revision: 208847 URL: http://svn.freebsd.org/changeset/base/208847 Log: Correct a harmless typo introduced when copying code from mmu_oea64. Submitted by: alc MFC after:8.1-RELEASE Modified: head/sys/powerpc/aim/mmu_oea.c Modif

svn commit: r208870 - in head/sys/dev/ata: . chipsets

2010-06-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 6 14:09:48 2010 New Revision: 208870 URL: http://svn.freebsd.org/changeset/base/208870 Log: Some revisions of the Serverworks K2 SATA controller have a data corruption bug where if an ATA command is issued before DMA is started, data will become available to

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

2010-06-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 6 14:29:06 2010 New Revision: 208871 URL: http://svn.freebsd.org/changeset/base/208871 Log: Add Open Firmware PNP info strings to GPIOs and Uninorth cells. Submitted by: Andreas Tobler Modified: head/sys/powerpc/powermac/macgpio.c head/sys/powerpc/powe

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

2010-06-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 12 21:14:22 2010 New Revision: 209114 URL: http://svn.freebsd.org/changeset/base/209114 Log: Make SMP work on MPC7400-based Apple desktops like the PowerMac3,3. Modified: head/sys/powerpc/aim/mp_cpudep.c head/sys/powerpc/aim/platform_chrp.c Modified: head/s

Re: svn commit: r209153 - head/lib/clang

2010-06-14 Thread Nathan Whitehorn
On Mon, 14 Jun 2010 19:26:09 +0200 Ulrich Spörlein wrote: > On Mon, 14.06.2010 at 06:23:47 +, Ed Schouten wrote: > > Author: ed > > Date: Mon Jun 14 06:23:47 2010 > > New Revision: 209153 > > URL: http://svn.freebsd.org/changeset/base/209153 > > > > Log: > > Unbreak Clang on PowerPC. > >

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

2010-06-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jun 15 22:01:38 2010 New Revision: 209222 URL: http://svn.freebsd.org/changeset/base/209222 Log: Modify the console mouse pointer drawing routine to use single-byte writes instead of 4-byte ones. Because the mouse pointer can start part way through a character ce

svn commit: r209298 - in head/sys: dev/iicbus dev/ofw powerpc/aim powerpc/booke powerpc/include powerpc/mpc85xx powerpc/ofw powerpc/powermac powerpc/powerpc sparc64/ebus sparc64/isa sparc64/pci

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:06:27 2010 New Revision: 209298 URL: http://svn.freebsd.org/changeset/base/209298 Log: Provide for multiple, cascaded PICs on PowerPC systems, and extend the OFW interrupt map interface to also return the device's interrupt parent. MFC after:8.1-

svn commit: r209299 - in head/sys/powerpc: ofw powermac powerpc

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:16:24 2010 New Revision: 209299 URL: http://svn.freebsd.org/changeset/base/209299 Log: Change the default interrupt polarity on PowerPC systems from high to low. On Apple systems at least, all the level interrupts are wired active low. Before this chang

svn commit: r209300 - head/sys/dev/ata/chipsets

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:17:45 2010 New Revision: 209300 URL: http://svn.freebsd.org/changeset/base/209300 Log: Following r209299, level interrupts are low by default on PPC, so remove the hack here to reprogram the interrupt for K2 SATA devices. Modified: head/sys/dev/ata/chi

svn commit: r209301 - head/sys/dev/iicbus

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:20:54 2010 New Revision: 209301 URL: http://svn.freebsd.org/changeset/base/209301 Log: Revert changes accidentally committed as part of r209298. Modified: head/sys/dev/iicbus/iiconf.c Modified: head/sys/dev/iicbus/iiconf.c ==

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

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 14:28:57 2010 New Revision: 209302 URL: http://svn.freebsd.org/changeset/base/209302 Log: Add support for the Keywest I2C controller in Apple uninorth northbridges. Although the Keywest registers have only 1 byte of content, they are secretly 4-byte regist

svn commit: r209307 - head/sys/sun4v/sun4v

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 16:29:03 2010 New Revision: 209307 URL: http://svn.freebsd.org/changeset/base/209307 Log: Missed change to sun4v while adding iparent lookup to the OFW interrupt map interface. Modified: head/sys/sun4v/sun4v/hv_pci.c Modified: head/sys/sun4v/sun4v/hv_pci

svn commit: r209310 - in head/sys/powerpc: ofw powermac

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 17:39:56 2010 New Revision: 209310 URL: http://svn.freebsd.org/changeset/base/209310 Log: Add MSI support for PCI devices attached to the CPC925 and CPC945 bridges found in Apple and IBM G5 systems. Modified: head/sys/powerpc/ofw/ofw_pcib_pci.c head/sys

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

2010-06-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 18 21:24:17 2010 New Revision: 209316 URL: http://svn.freebsd.org/changeset/base/209316 Log: Missed commit in r209310: the IRQ number in INTR_VEC() should have parantheses around it to allow arithmetic expressions to be passed. Submitted by: Andreas Tobler

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

2010-06-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 20 16:56:48 2010 New Revision: 209369 URL: http://svn.freebsd.org/changeset/base/209369 Log: Temporarily disable instruction relocation while setting up the kernel's IBAT entry in early boot in order to prevent possible faults from races between the instructi

svn commit: r209486 - in head/sys/powerpc: aim include mpc85xx powermac powerpc

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 22:33:03 2010 New Revision: 209486 URL: http://svn.freebsd.org/changeset/base/209486 Log: Configure interrupts on SMP systems to be distributed among all online CPUs by default, and provide a functional version of BUS_BIND_INTR(). While here, fix some pote

svn commit: r209490 - head/sys/kern

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 23 23:26:14 2010 New Revision: 209490 URL: http://svn.freebsd.org/changeset/base/209490 Log: Move default HZ from 100 to 1000 on powerpc. Reviewed by: marcel MFC after:2 weeks Modified: head/sys/kern/subr_param.c Modified: head/sys/kern/subr_param

svn commit: r209492 - head/sys/kern

2010-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 24 00:27:20 2010 New Revision: 209492 URL: http://svn.freebsd.org/changeset/base/209492 Log: Reverse the logic of the if statement that sets the default value of HZ; the list of 1000 Hz platforms was getting unwieldy. Suggested by: marcel Modified: head

Re: svn commit: r209511 - head

2010-06-24 Thread Nathan Whitehorn
On Thu, 24 Jun 2010 17:53:25 + (UTC) Warner Losh wrote: > Author: imp > Date: Thu Jun 24 17:53:25 2010 > New Revision: 209511 > URL: http://svn.freebsd.org/changeset/base/209511 > > Log: > Merge from tbemd: > > use MACHINE_CPUARCH instead of MACHINE_CPU since the sources for the > C

Re: svn commit: r209511 - head

2010-06-24 Thread Nathan Whitehorn
On Thu, 24 Jun 2010 14:41:53 -0600 (MDT) "M. Warner Losh" wrote: > In message: <20100624151959.6b00b...@anacreon.physics.wisc.edu> > Nathan Whitehorn writes: > : On Thu, 24 Jun 2010 17:53:25 + (UTC) > : Warner Losh wrote: > : > : > Author

svn commit: r209544 - head/libexec/rtld-elf

2010-06-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 26 22:04:52 2010 New Revision: 209544 URL: http://svn.freebsd.org/changeset/base/209544 Log: Ignore versioned dependencies on shared objects to which we do not link. This fixes an error with files like this created by GNU ld under certain circumstances. Modi

svn commit: r209558 - head/libexec/rtld-elf

2010-06-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jun 28 01:40:56 2010 New Revision: 209558 URL: http://svn.freebsd.org/changeset/base/209558 Log: Revert r209544. It papers over a binutils bug, and is not even a reliable fix for it. The bug occurs when using the --as-needed flag to ld in the presence of syn

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

2010-07-03 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 3 20:11:04 2010 New Revision: 209670 URL: http://svn.freebsd.org/changeset/base/209670 Log: Add a missing conditional. We should not bind the PIC interrupt unless the interrupt's PIC (a) exists and (b) is the root PIC. Reported by: Andreas Tobler Modifi

svn commit: r209724 - in head/sys/powerpc: mpc85xx powermac powerpc

2010-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 6 15:27:05 2010 New Revision: 209724 URL: http://svn.freebsd.org/changeset/base/209724 Log: Move the EOI logic when starting ithreads into intr_machdep instead of relying on it as a side effect of PIC_MASK() in the PIC drivers, and add an inmplementation of

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

2010-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 6 15:31:58 2010 New Revision: 209725 URL: http://svn.freebsd.org/changeset/base/209725 Log: Fix interrupt distribution to multiple CPUs on systems with cascaded PICs. Because slave PICs send all interrupts to their CPU 0 output line (which is routed to a pin

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

2010-07-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 6 15:38:38 2010 New Revision: 209726 URL: http://svn.freebsd.org/changeset/base/209726 Log: It does not actually make sense to provide an IPI facility on non-root PICs, so replace cpuid logic with an assert. Modified: head/sys/powerpc/powerpc/openpic.c Mod

svn commit: r228194 - head/usr.sbin/bsdinstall/scripts

2011-12-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 2 02:05:26 2011 New Revision: 228194 URL: http://svn.freebsd.org/changeset/base/228194 Log: Prevent user astonishment by providing the shell option at the end, after any installer-provided configuration files have been copied. This allows users to edit their

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

2011-12-02 Thread Nathan Whitehorn
On 12/02/11 09:17, John Baldwin wrote: On 12/2/11 4:44 AM, Joel Dahl wrote: On 02-12-2011 0:38, Ken Smith wrote: Author: kensmith Date: Fri Dec 2 00:38:47 2011 New Revision: 228192 URL: http://svn.freebsd.org/changeset/base/228192 Log: Add a screen that asks if the user would like to enab

svn commit: r228412 - in head/sys/powerpc: aim include

2011-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 11 17:19:48 2011 New Revision: 228412 URL: http://svn.freebsd.org/changeset/base/228412 Log: Keep track of PVO entries in each pmap, which allows much faster pmap_remove() for large sparse requests. This can prevent pmap_remove() operations on 64-bit process

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

2011-12-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 11 17:23:03 2011 New Revision: 228413 URL: http://svn.freebsd.org/changeset/base/228413 Log: Increase the available virtual address space for user programs on PowerPC AIM systems to 4 GB on 32-bit systems and 2^64 bytes on 64-bit systems. VM_MAXUSER_ADDRESS r

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

2011-12-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 16 23:40:56 2011 New Revision: 228605 URL: http://svn.freebsd.org/changeset/base/228605 Log: Zero BSS on start, in case the ELF loader that started the kernel did not do this for us. This can happen on some embedded systems. Submitted by: rpaulo Modified:

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

2011-12-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 16 23:46:05 2011 New Revision: 228609 URL: http://svn.freebsd.org/changeset/base/228609 Log: Allow this to work on embedded systems without Open Firmware by making lack of a /chosen non-fatal, and manually removing memory in use by the kernel from the physica

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-17 Thread Nathan Whitehorn
This broke PowerPC really, really badly. Basically every dynamically-linked executable dies with an illegal instruction trap. -Nathan On 12/12/11 05:03, Konstantin Belousov wrote: Author: kib Date: Mon Dec 12 11:03:14 2011 New Revision: 228435 URL: http://svn.freebsd.org/changeset/base/228435

svn commit: r228635 - head/libexec/rtld-elf/powerpc

2011-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 17 15:31:00 2011 New Revision: 228635 URL: http://svn.freebsd.org/changeset/base/228635 Log: Fix RTLD on PowerPC after r228435. Changing the order of init_pltgot() caused the icache to be invalidated at the wrong time, resulting in an icache full of nonsense

Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

2011-12-17 Thread Nathan Whitehorn
Fixed in r228635. -Nathan On 12/17/11 09:09, Nathan Whitehorn wrote: This broke PowerPC really, really badly. Basically every dynamically-linked executable dies with an illegal instruction trap. -Nathan On 12/12/11 05:03, Konstantin Belousov wrote: Author: kib Date: Mon Dec 12 11:03:14 2011

svn commit: r228646 - in head/libexec/rtld-elf: powerpc powerpc64

2011-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Dec 17 16:20:27 2011 New Revision: 228646 URL: http://svn.freebsd.org/changeset/base/228646 Log: Additional icache paranoia: non-PLT relocations can modify the text segment. It is then important to make sure the icache is synchronized again to prevent (rare) rand

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

2011-12-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 18 16:53:03 2011 New Revision: 228688 URL: http://svn.freebsd.org/changeset/base/228688 Log: Add version header to output file. Modified: head/sys/powerpc/ps3/ps3-hv-asm.awk Modified: head/sys/powerpc/ps3/ps3-hv-asm.awk ===

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

2011-12-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Dec 18 16:53:21 2011 New Revision: 228689 URL: http://svn.freebsd.org/changeset/base/228689 Log: Support infrastructure for X11 on PS3. Submitted by: geoffrey dot levand at mail dot ru MFC after:1 week Modified: head/sys/powerpc/ps3/ps3-hvcall.S head/

svn commit: r229169 - head/lib/clang

2012-01-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 1 15:56:15 2012 New Revision: 229169 URL: http://svn.freebsd.org/changeset/base/229169 Log: Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem by adding -fno-strict-aliasing to CFLAGS. Since this is a global issue that just happened

Re: svn commit: r229169 - head/lib/clang

2012-01-01 Thread Nathan Whitehorn
On 01/01/12 10:11, Dimitry Andric wrote: On 2012-01-01 16:56, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sun Jan 1 15:56:15 2012 New Revision: 229169 URL: http://svn.freebsd.org/changeset/base/229169 Log: Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem

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

2012-01-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 11 16:53:51 2012 New Revision: 229967 URL: http://svn.freebsd.org/changeset/base/229967 Log: Add a memory barrier to bus_dmamap_sync(), as should have always been present. We need a sync instead of eieio, as eieio does not enforce storage ordering between mai

svn commit: r230123 - in head/sys/powerpc: aim include powerpc

2012-01-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 00:08:14 2012 New Revision: 230123 URL: http://svn.freebsd.org/changeset/base/230123 Log: Rework SLB trap handling so that double-faults into an SLB trap handler are possible, and double faults within an SLB trap handler are not. The result is that it poss

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

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 16:57:18 2012 New Revision: 230139 URL: http://svn.freebsd.org/changeset/base/230139 Log: Now that we can tolerate LPAR context switches on the PS3 hypervisor, going to hypervisor-idle on both threads will not hang the kernel. Modified: head/sys/powerpc/p

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

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 16:58:44 2012 New Revision: 230140 URL: http://svn.freebsd.org/changeset/base/230140 Log: Fix some unreliability problems related to MSR bits inherited from kboot by setting an absolute MSR when during on the MMU. This prevents delay(), in particular, from

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

2012-01-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 15 18:26:43 2012 New Revision: 230144 URL: http://svn.freebsd.org/changeset/base/230144 Log: Pick a constant high IRQ value for the PS3 IPI, which lets PS3 devices be usefully loaded and unloaded as modules. Submitted by: geoffrey dot levand at mail dot ru

svn commit: r230247 - head/sys/vm

2012-01-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 17 00:31:09 2012 New Revision: 230247 URL: http://svn.freebsd.org/changeset/base/230247 Log: Revert r212360 now that PowerPC can handle large sparse arguments to pmap_remove() (changed in r228412). MFC after:2 weeks Modified: head/sys/vm/vm_pageout.

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

2012-01-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 18 15:59:23 2012 New Revision: 230309 URL: http://svn.freebsd.org/changeset/base/230309 Log: Warn if trying to install over an existing partition, which usually fails anyway due to libarchive not being able to overwrite schg flags. PR: bin/164278

svn commit: r230398 - in head/sys/powerpc: ofw powermac

2012-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jan 20 22:24:39 2012 New Revision: 230398 URL: http://svn.freebsd.org/changeset/base/230398 Log: Prevent an error resulting from signed/unsigned comparison on systems that do not comply with the OF spec. Submitted by: Anders Gavare MFC after:1 week Modi

svn commit: r230482 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 15:44:52 2012 New Revision: 230482 URL: http://svn.freebsd.org/changeset/base/230482 Log: Per popular demand, if installing from a graphics terminal, run the installer on a VTY with no kernel messages (VTY 2), show the installer log in real time on VTY 3,

svn commit: r230483 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 15:50:16 2012 New Revision: 230483 URL: http://svn.freebsd.org/changeset/base/230483 Log: Do a test in a better way. Editing files after testing them is never wise. Modified: head/release/rc.local Modified: head/release/rc.local ===

svn commit: r230484 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 16:17:54 2012 New Revision: 230484 URL: http://svn.freebsd.org/changeset/base/230484 Log: Part of r230482 didn't actually work. Revert it for now. This means PR 161047 isn't actually fixed. PR: bin/161047 Modified: head/release/rc.local Mo

svn commit: r230522 - in head: sys/boot/powerpc/boot1.chrp sys/geom/part sys/sys usr.sbin/bsdinstall/partedit

2012-01-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 25 03:37:39 2012 New Revision: 230522 URL: http://svn.freebsd.org/changeset/base/230522 Log: Experimental support for booting CHRP-type PowerPC systems from hard disks. Modified: head/sys/boot/powerpc/boot1.chrp/Makefile head/sys/geom/part/g_part_mbr.c hea

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

2011-05-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 10 14:03:05 2011 New Revision: 221738 URL: http://svn.freebsd.org/changeset/base/221738 Log: Only try to set up IPIs at boot on systems that actually have more than one CPU. This fixes a panic observed on Heathrow-based systems without SMP-capable PICs when t

svn commit: r221813 - head/sys/dev/bm

2011-05-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 12 14:27:28 2011 New Revision: 221813 URL: http://svn.freebsd.org/changeset/base/221813 Log: Remove some hacks to handle strange behavior of LXT 970 PHYs now better handled in miibus after r221812. Thanks to marius@ for piecing this together! Modified: hea

svn commit: r221814 - head/release/powerpc

2011-05-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 12 15:03:17 2011 New Revision: 221814 URL: http://svn.freebsd.org/changeset/base/221814 Log: Add (somewhat speculative) bootable CD support for PAPR/pSeries-type systems. In principle, FreeBSD should run on at least some of these already, and support for the

svn commit: r221825 - head/release/powerpc

2011-05-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 12 22:31:13 2011 New Revision: 221825 URL: http://svn.freebsd.org/changeset/base/221825 Log: Fix pSeries/PAPR boot CD construction after actual testing. It seems that IBM SLOF is (a) case-sensitive and (b) accepts only booting files in certain subdirectories

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

2011-05-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon May 16 03:32:40 2011 New Revision: 221981 URL: http://svn.freebsd.org/changeset/base/221981 Log: Remove a useless check that served only to make 64-bit PPC systems unbootable after r221855. Submitted by: andreast MFC after:1 week Modified: head/sys/po

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

2011-05-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon May 16 15:20:54 2011 New Revision: 221988 URL: http://svn.freebsd.org/changeset/base/221988 Log: Fix a = pregions[i].mr_start) - && (addr + len < pregions[i].mr_start + pregions[i].mr_size)) + && (addr + len <= pregions[i].mr_start

svn commit: r222074 - head/release

2011-05-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed May 18 17:39:28 2011 New Revision: 222074 URL: http://svn.freebsd.org/changeset/base/222074 Log: As requested by many people, with final prodding from Jason Hall, fix this so that running make release causes make obj to be run before doing anything. This fixes a

svn commit: r222191 - in head/usr.sbin/makefs: . cd9660

2011-05-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 22 19:56:14 2011 New Revision: 222191 URL: http://svn.freebsd.org/changeset/base/222191 Log: Add analogs to the -chrp-boot and -prep-boot options to mkisofs. Modified: head/usr.sbin/makefs/cd9660.c head/usr.sbin/makefs/cd9660.h head/usr.sbin/makefs/cd9660/

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

2011-05-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 24 02:19:45 2011 New Revision: 39 URL: http://svn.freebsd.org/changeset/base/39 Log: Add RTC support for the LV1 clock on the PS3. The hypervisor won't let us set it, but it's better than nothing. Modified: head/sys/powerpc/ps3/ps3bus.c Modified: he

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

2011-05-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 26 14:34:22 2011 New Revision: 222309 URL: http://svn.freebsd.org/changeset/base/222309 Log: Add a missing isync. Modified: head/sys/powerpc/aim/trap_subr64.S Modified: head/sys/powerpc/aim/trap_subr64.S ===

svn commit: r222425 - head/usr.sbin/bsdinstall/scripts

2011-05-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat May 28 16:15:46 2011 New Revision: 222425 URL: http://svn.freebsd.org/changeset/base/222425 Log: Fix shell-based partitioning. Modified: head/usr.sbin/bsdinstall/scripts/auto Modified: head/usr.sbin/bsdinstall/scripts/auto

svn commit: r222429 - in head/sys: conf powerpc/powermac

2011-05-28 Thread Nathan Whitehorn
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/powermac/powermac_thermal.cSat May 28 21:13:22 2011(r222429) @@ -0,0 +1,176 @@ +/*- + * Copyright (c) 2009-2011 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in

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

2011-05-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat May 28 21:54:18 2011 New Revision: 222430 URL: http://svn.freebsd.org/changeset/base/222430 Log: Require an error instead of a timeout to decide the new-style fan commands won't work. This prevents a busy system from making smu(4) suddenly decide its fans use the

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

2011-05-28 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat May 28 22:11:22 2011 New Revision: 222431 URL: http://svn.freebsd.org/changeset/base/222431 Log: Adapt smusat(4) to use powermac_thermal. This provides automatic fan management on dual- and quad-core Powermac G5s, and the last G5 iMacs. Modified: head/sys/powerp

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

2011-05-28 Thread Nathan Whitehorn
On 05/28/11 19:40, Marcel Moolenaar wrote: Author: marcel Date: Sun May 29 00:40:59 2011 New Revision: 222434 URL: http://svn.freebsd.org/changeset/base/222434 Log: The P4080 has 8 cores. Bump MAXCPU to 8 to match. Can we just bump this straight to 32, like on other archs? We're very near

Re: svn commit: r222417 - in head/sys/boot: common forth i386/loader ia64/common pc98/loader powerpc/ofw powerpc/ps3 sparc64/loader

2011-05-29 Thread Nathan Whitehorn
On 05/28/11 03:50, Julian Elischer wrote: Author: julian Date: Sat May 28 08:50:38 2011 New Revision: 222417 URL: http://svn.freebsd.org/changeset/base/222417 Log: New boot loader menus from Devin Teske. Discussed on hackers and recommended for inclusion into 9.0 at the devsummit. All s

svn commit: r222458 - in head/sys: dev/iicbus powerpc/powermac

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 18:35:57 2011 New Revision: 222458 URL: http://svn.freebsd.org/changeset/base/222458 Log: Update the I2C-based temperature/fan drivers to connect to the Powermac thermal control module. This provides automatic fan management on all G5 PowerMacs and Xserves

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

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 19:53:11 2011 New Revision: 222460 URL: http://svn.freebsd.org/changeset/base/222460 Log: Don't put negative values into the averages. Modified: head/sys/powerpc/powermac/powermac_thermal.c Modified: head/sys/powerpc/powermac/powermac_thermal.c ===

svn commit: r222461 - head/sys/dev/iicbus

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 19:53:46 2011 New Revision: 222461 URL: http://svn.freebsd.org/changeset/base/222461 Log: Move the celsius-to-kelvin conversion to a place that powermac_thermal can see it as well. Modified: head/sys/dev/iicbus/max6690.c Modified: head/sys/dev/iicbus/max

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

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 20:04:02 2011 New Revision: 222462 URL: http://svn.freebsd.org/changeset/base/222462 Log: Add the next digit of precision to temperatures, which I missed when converting the reporting format from degrees C to 0.1 degree K. Modified: head/sys/powerpc/power

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

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 20:46:53 2011 New Revision: 222463 URL: http://svn.freebsd.org/changeset/base/222463 Log: Add some error handling here: if a sensor returns an error code (a negative Kelvin temperature, which is impossible except for some contrived magnetic spin systems),

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

2011-05-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 29 22:37:23 2011 New Revision: 222469 URL: http://svn.freebsd.org/changeset/base/222469 Log: Use kproc_exit() instead of returning from the management function on systems with no manageable thermal control devices. Modified: head/sys/powerpc/powermac/powerma

svn commit: r222523 - head/share/man/man7

2011-05-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 31 12:59:15 2011 New Revision: 222523 URL: http://svn.freebsd.org/changeset/base/222523 Log: It is generally considered useful for release media to have kernels on them. Submitted by: joel Modified: head/share/man/man7/release.7 Modified: head/share/man/

svn commit: r222531 - in head/sys: i386/pci ia64/ia64 kern mips/mips net powerpc/booke powerpc/powerpc sparc64/sparc64 sys

2011-05-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 31 15:11:43 2011 New Revision: 222531 URL: http://svn.freebsd.org/changeset/base/222531 Log: On multi-core, multi-threaded PPC systems, it is important that the threads be brought up in the order they are enumerated in the device tree (in particular, that thr

svn commit: r222607 - head/usr.sbin/bsdinstall/scripts

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 13:57:49 2011 New Revision: 222607 URL: http://svn.freebsd.org/changeset/base/222607 Log: Fix opening a shell on the new system (prevent the shell's stderr from ending up in the install log). Modified: head/usr.sbin/bsdinstall/scripts/auto Modified: head

svn commit: r222613 - in head/sys/powerpc: aim include ofw

2011-06-02 Thread Nathan Whitehorn
/dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/include/rtas.h Thu Jun 2 14:12:37 2011 (r222613) @@ -0,0 +1,61 @@ +/*- + * Copyright (c) 2011 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in source and binary forms, wi

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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:15:44 2011 New Revision: 222614 URL: http://svn.freebsd.org/changeset/base/222614 Log: Remove some dead code: unnecessary isyncs and memory sorting, which are handled in mtmsr() and mem_regions(), respectively. Modified: head/sys/powerpc/aim/interrupt.

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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:19:18 2011 New Revision: 222615 URL: http://svn.freebsd.org/changeset/base/222615 Log: Include the modules area in the mapped kernel code. This fixes the kernel's access to modules and loader metadata when started from real mode, but without a direct ma

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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:21:20 2011 New Revision: 222616 URL: http://svn.freebsd.org/changeset/base/222616 Log: Explicitly initialize the first thread's MSR to PSL_KERNSET. Modified: head/sys/powerpc/aim/machdep.c Modified: head/sys/powerpc/aim/machdep.c ===

svn commit: r222617 - head/sys/conf

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:22:00 2011 New Revision: 222617 URL: http://svn.freebsd.org/changeset/base/222617 Log: Missed file in r222613. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc ==

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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:23:36 2011 New Revision: 222618 URL: http://svn.freebsd.org/changeset/base/222618 Log: If running under a hypervisor, don't yell at the user about starting unknown CPU types, instead relying on the hypervisor to have given us a reasonable environment.

svn commit: r222620 - in head/sys/powerpc: aim include

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 14:25:52 2011 New Revision: 222620 URL: http://svn.freebsd.org/changeset/base/222620 Log: The POWER7 has only 32 SLB slots instead of 64, like other supported 64-bit PowerPC CPUs. Add infrastructure to support variable numbers of SLB slots and move the use

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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 2 17:43:17 2011 New Revision: 222622 URL: http://svn.freebsd.org/changeset/base/222622 Log: Temporarily back out those parts of r222613 related to parsing the memory map. They cause non-understood boot failures on some Apple machines with more than 2 GB of R

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