Author: nwhitehorn
Date: Fri Oct 15 14:34:34 2010
New Revision: 213892
URL: http://svn.freebsd.org/changeset/base/213892
Log:
Prevent the ofwdump manpage from being deleted by make delete-old on
PowerPC.
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
Author: nwhitehorn
Date: Sun Oct 17 17:31:49 2010
New Revision: 213986
URL: http://svn.freebsd.org/changeset/base/213986
Log:
Fix an XXX comment by answering 'no'. OS X does not set the day-of-week
counter on SMU-based systems, which causes FreeBSD to reject the RTC time
when used in a
Author: nwhitehorn
Date: Thu Oct 28 23:46:05 2010
New Revision: 214493
URL: http://svn.freebsd.org/changeset/base/214493
Log:
Fix some memory management issues discovered when trying to boot the PPC
OF loader on systems where address cells and size cells are both 2 (the
Mambo simulator) and
Author: nwhitehorn
Date: Fri Oct 29 00:36:44 2010
New Revision: 214494
URL: http://svn.freebsd.org/changeset/base/214494
Log:
Fix netboot on some Apple machines on which calling dma-free on the
network device can hang the machine. This causes the loss of 64 KB of
accessible memory on
Author: nwhitehorn
Date: Fri Oct 29 00:37:35 2010
New Revision: 214495
URL: http://svn.freebsd.org/changeset/base/214495
Log:
Fix the printf() in init_heap so that it can run before the console is up.
Pointed out by: marius
Modified:
head/sys/boot/ofw/common/main.c
Modified:
Author: nwhitehorn
Date: Sat Oct 30 23:07:30 2010
New Revision: 214574
URL: http://svn.freebsd.org/changeset/base/214574
Log:
Restructure the way the copyin/copyout segment is stored to prevent a
concurrency bug. Since all SLB/SR entries were invalidated during an
exception, a decrementer
Author: nwhitehorn
Date: Sat Oct 30 23:09:56 2010
New Revision: 214575
URL: http://svn.freebsd.org/changeset/base/214575
Log:
Allow access to the HT I/O port space on the IBM CPC9X5 northbridge chips.
MFC after:2 weeks
Modified:
head/sys/powerpc/powermac/cpcht.c
Modified:
Author: nwhitehorn
Date: Sun Oct 31 15:07:09 2010
New Revision: 214601
URL: http://svn.freebsd.org/changeset/base/214601
Log:
Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc
MFC after:3 days
Modified:
head/sys/powerpc/aim/mmu_oea.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/agp/agp_apple.cSun Oct 31 18:27:05 2010
(r214603)
@@ -0,0 +1,302 @@
+/*-
+ * Copyright (c) 2010 Nathan Whitehorn
+ * All
Author: nwhitehorn
Date: Sun Oct 31 22:55:51 2010
New Revision: 214607
URL: http://svn.freebsd.org/changeset/base/214607
Log:
Next-to-leading-order perturbation of synchronization operations for
switching the user segment register. All races should now be closed and
a minimum of pipelines
Author: nwhitehorn
Date: Sun Oct 31 23:04:15 2010
New Revision: 214610
URL: http://svn.freebsd.org/changeset/base/214610
Log:
Add a security nit to recent copyin/out changes: map the user segment
no-execute in case of exploitable kernel bugs.
MFC after:1 week
Modified:
Author: nwhitehorn
Date: Wed Nov 3 15:15:48 2010
New Revision: 214739
URL: http://svn.freebsd.org/changeset/base/214739
Log:
Clean up the user segment handling code a little more. Now that
set_user_sr() itself caches the user segment VSID, there is no need for
cpu_switch() to do it again.
Author: nwhitehorn
Date: Wed Nov 3 16:21:47 2010
New Revision: 214749
URL: http://svn.freebsd.org/changeset/base/214749
Log:
Fix two mistakes on 32-bit systems. The slbmte code in syscall() is 64-bit
only, and should be protected with an ifdef, and the no-execute bit in
32-bit
Author: nwhitehorn
Date: Mon Nov 8 19:53:16 2010
New Revision: 214999
URL: http://svn.freebsd.org/changeset/base/214999
Log:
Provide support for IIC_M_NOSTOP/IIC_M_NOSTART for bit-banging and
otherwise low-level controllers.
Reviewed by: thompsa
Modified:
Author: nwhitehorn
Date: Tue Nov 9 19:45:29 2010
New Revision: 215049
URL: http://svn.freebsd.org/changeset/base/215049
Log:
Make all OF client interface calls return the maximum kind of
does-not-exist error when no client interface module is installed instead
of dereferencing NULL
Author: nwhitehorn
Date: Tue Nov 9 23:53:47 2010
New Revision: 215067
URL: http://svn.freebsd.org/changeset/base/215067
Log:
Make AIM early-boot code function correctly without Open Firmware.
Modified:
head/sys/powerpc/aim/mmu_oea64.c
head/sys/powerpc/aim/nexus.c
Author: nwhitehorn
Date: Wed Nov 10 20:09:05 2010
New Revision: 215100
URL: http://svn.freebsd.org/changeset/base/215100
Log:
Disabling CPU NAP modes during SMU commands is a hack needed only on U3
systems. Don't use it on non-U3 systems to allow cpu_idle() to work
correctly.
Modified:
Author: nwhitehorn
Date: Wed Nov 10 20:28:10 2010
New Revision: 215101
URL: http://svn.freebsd.org/changeset/base/215101
Log:
Entering deep nap mode on the 970MP requires that both MSR[NAP] and
MSR[DEEPNAP] be set, not just MSR[DEEPNAP]. Fixing this reduces the idle
temperature of my CPUs
Author: nwhitehorn
Date: Thu Nov 11 02:40:00 2010
New Revision: 215107
URL: http://svn.freebsd.org/changeset/base/215107
Log:
Add support for the IMISS, DLMISS, and DSMISS traps required to run
FreeBSD on a G2 core.
PR: powerpc/111296
Submitted by: Andrew Turner
Modified:
Author: nwhitehorn
Date: Fri Nov 12 03:43:22 2010
New Revision: 215157
URL: http://svn.freebsd.org/changeset/base/215157
Log:
Centralize CPU idle routines into powerpc/cpu.c and use the same
cpu_idle_hook mechanism that x86 uses for overriding the idle routine.
This is required for
Author: nwhitehorn
Date: Fri Nov 12 04:13:48 2010
New Revision: 215158
URL: http://svn.freebsd.org/changeset/base/215158
Log:
Fix an error in r215067. An existing /chosen/mmu but missing translations
property just means we shouldn't add any translations, not that we should
panic.
Modified:
Author: nwhitehorn
Date: Fri Nov 12 04:18:19 2010
New Revision: 215159
URL: http://svn.freebsd.org/changeset/base/215159
Log:
Add some platform KOBJ extensions and continue integrating PowerPC
hypervisor infrastructure support:
- Fix coexistence of multiple platform modules in the same
Author: nwhitehorn
Date: Fri Nov 12 04:22:00 2010
New Revision: 215160
URL: http://svn.freebsd.org/changeset/base/215160
Log:
Remove or conditionalize some hypervisor-unfriendly instruction sequences.
Modified:
head/sys/powerpc/aim/mmu_oea64.c
head/sys/powerpc/powerpc/mp_machdep.c
Author: nwhitehorn
Date: Fri Nov 12 05:12:38 2010
New Revision: 215163
URL: http://svn.freebsd.org/changeset/base/215163
Log:
Remove use of a separate ofw_pmap on 32-bit CPUs. Many Open Firmware
mappings need to end up in the kernel anyway since the kernel begins
executing in OF context.
Author: nwhitehorn
Date: Fri Nov 12 15:20:10 2010
New Revision: 215182
URL: http://svn.freebsd.org/changeset/base/215182
Log:
Add CPU support code for the IBM Cell Broadband Engine.
Modified:
head/sys/powerpc/aim/mp_cpudep.c
head/sys/powerpc/include/cpufunc.h
Author: nwhitehorn
Date: Fri Nov 12 20:26:34 2010
New Revision: 215197
URL: http://svn.freebsd.org/changeset/base/215197
Log:
Partially revert r215182. There appears to be a silicon bug on the 970
that causes AP bringup to fail if some of the Cell HID-register code
is anywhere in the
Author: nwhitehorn
Date: Mon Nov 15 22:11:18 2010
New Revision: 215351
URL: http://svn.freebsd.org/changeset/base/215351
Log:
Try including Makefile.${TARGET_ARCH} before Makefile.${TARGET_CPUARCH} if
it exists in order to allow arch-specific overrides. This fixes the
binutils (and world)
Author: nwhitehorn
Date: Mon Nov 15 22:12:13 2010
New Revision: 215352
URL: http://svn.freebsd.org/changeset/base/215352
Log:
Garbage-collect some code made obsolete by the TBEMD import.
Deleted:
head/gnu/usr.bin/binutils/as/powerpc64-freebsd/
Author: nwhitehorn
Date: Tue Nov 16 03:43:06 2010
New Revision: 215367
URL: http://svn.freebsd.org/changeset/base/215367
Log:
Make drm(4) build, if not work reliably, on PowerPC.
Modified:
head/sys/dev/drm/drmP.h
head/sys/dev/drm/drm_agpsupport.c
head/sys/dev/drm/drm_drv.c
Author: nwhitehorn
Date: Tue Nov 23 15:08:56 2010
New Revision: 215752
URL: http://svn.freebsd.org/changeset/base/215752
Log:
Properly use SCHAR_MAX instead of CHAR_MAX for 0x7f. This fixes operation
of locate(1) on systems on which char is unsigned by default (ARM and
PowerPC).
Author: nwhitehorn
Date: Thu Dec 2 04:58:07 2010
New Revision: 216113
URL: http://svn.freebsd.org/changeset/base/216113
Log:
The driver-XXX.c files used for host CPU detection with -march=native
should not be compiled in the cross-tools case (where -march=native makes
no sense). This fixes
Author: nwhitehorn
Date: Thu Dec 2 17:36:47 2010
New Revision: 216127
URL: http://svn.freebsd.org/changeset/base/216127
Log:
Unbreak amd64-i386 cross builds.
Modified:
head/gnu/usr.bin/cc/Makefile.fe
Modified: head/gnu/usr.bin/cc/Makefile.fe
/powerpc/iommu_if.m Fri Dec 3 16:37:37 2010
(r216154)
@@ -0,0 +1,54 @@
+#-
+# Copyright (c) 2010 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
Author: nwhitehorn
Date: Sat Dec 4 02:42:52 2010
New Revision: 216174
URL: http://svn.freebsd.org/changeset/base/216174
Log:
Add an abstraction layer to the 64-bit AIM MMU's page table manipulation
logic to support modifying the page table through a hypervisor. This
uses KOBJ inheritance
Author: nwhitehorn
Date: Sat Dec 11 17:57:42 2010
New Revision: 216381
URL: http://svn.freebsd.org/changeset/base/216381
Log:
Fix stack alignment (required to be to 16 bytes) instead of ptrace and
cerror on powerpc64.
Modified:
head/lib/libc/powerpc64/sys/cerror.S
Author: nwhitehorn
Date: Sat Dec 11 20:29:52 2010
New Revision: 216383
URL: http://svn.freebsd.org/changeset/base/216383
Log:
Add some isync()s related to the 64-bit MMU scratch page to avoid race
conditions on its invalidation.
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Author: nwhitehorn
Date: Wed Dec 15 23:43:25 2010
New Revision: 216469
URL: http://svn.freebsd.org/changeset/base/216469
Log:
Fix the overflowing livefs ISO by removing man pages from the HFS part of
the hybrid disk. This is a stopgap until a better solution can be found,
but lets the
On 12/16/10 13:04, Robert Watson wrote:
On Thu, 16 Dec 2010, David O'Brien wrote:
Log:
Bump WARNS to 6.
Modified:
head/sbin/geom/class/eli/Makefile
FYI, this broke the tinderbox on arm, ia64, mips, and sparc64.
Errr. Reverted. I built it on the architectures I had access to...
For
Author: nwhitehorn
Date: Sat Dec 18 14:34:05 2010
New Revision: 216520
URL: http://svn.freebsd.org/changeset/base/216520
Log:
Reconnect arm to the universe build, and connect big-endian MIPS and ARM
and powerpc64 to universe for the first time. In general, provide
(slightly hacky) knowledge
Author: nwhitehorn
Date: Sun Dec 19 16:07:53 2010
New Revision: 216563
URL: http://svn.freebsd.org/changeset/base/216563
Log:
Garbage-collect unused variable.
Modified:
head/sys/powerpc/aim/mmu_oea.c
head/sys/powerpc/aim/mmu_oea64.c
Modified: head/sys/powerpc/aim/mmu_oea.c
Author: nwhitehorn
Date: Mon Dec 20 14:25:01 2010
New Revision: 216589
URL: http://svn.freebsd.org/changeset/base/216589
Log:
Memory can be laid out with large gaps on 64-bit PowerPC, so switch to
VM_PHYSSEG_SPARSE.
Modified:
head/sys/powerpc/include/vmparam.h
Modified:
Author: nwhitehorn
Date: Wed Dec 22 14:59:22 2010
New Revision: 216662
URL: http://svn.freebsd.org/changeset/base/216662
Log:
Enable build of FDT components by default. dtc is a required build tool
for all FDT-enabled kernels, and having it off by default means that
building these kernels
On 12/22/10 10:18, Bjoern A. Zeeb wrote:
On Wed, 22 Dec 2010, Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Wed Dec 22 14:59:22 2010
New Revision: 216662
URL: http://svn.freebsd.org/changeset/base/216662
Log:
Enable build of FDT components by default. dtc is a required build tool
for all
Author: nwhitehorn
Date: Wed Dec 22 19:01:48 2010
New Revision: 216671
URL: http://svn.freebsd.org/changeset/base/216671
Log:
Include std.sentry5 from the SENTRY5 kernel configuration. This was
apparently missed in r215270.
Modified:
head/sys/mips/conf/SENTRY5
Modified:
Author: nwhitehorn
Date: Tue Dec 28 17:02:15 2010
New Revision: 216765
URL: http://svn.freebsd.org/changeset/base/216765
Log:
Only keep track of PTE validity statistics for pages not locked in the
table. The 'locked' attribute is used to circumvent the regular page table
locking for some
Author: nwhitehorn
Date: Tue Dec 28 22:31:59 2010
New Revision: 216780
URL: http://svn.freebsd.org/changeset/base/216780
Log:
Fix an error in the ABI in rtld_bind_start(). When passing arguments to a
C function, the caller's stack frame must have room to store all of the
arguments to that
Author: nwhitehorn
Date: Mon Jan 3 23:11:52 2011
New Revision: 216939
URL: http://svn.freebsd.org/changeset/base/216939
Log:
Add support for R_PPC64_UADDR64 relocations.
Modified:
head/libexec/rtld-elf/powerpc64/reloc.c
Modified: head/libexec/rtld-elf/powerpc64/reloc.c
On 01/05/11 08:28, John Baldwin wrote:
On Wednesday, January 05, 2011 8:36:06 am Dimitry Andric wrote:
On 2011-01-05 13:59, John Baldwin wrote:
Why not to add NO_HWFLOAT knob (or similar) into makefile
infrastructure. And set CFLAGS accordingly, depending on CC, arch, etc.
These flags are
Author: nwhitehorn
Date: Thu Jan 6 03:36:04 2011
New Revision: 217040
URL: http://svn.freebsd.org/changeset/base/217040
Log:
Add an entry to the gpart XML to determine if the geom has pending changes
that need to be committed (or undone).
MFC after:2 weeks
Modified:
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/powerpc/ps3/lv1call.S Thu Jan 6 04:12:29 2011
(r217044)
@@ -0,0 +1,256 @@
+/*-
+ * Copyright (C) 2010 Nathan Whitehorn
+ * All rights
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Log:
Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.
Modified:
On 01/06/11 09:07, John Baldwin wrote:
On Thursday, January 06, 2011 9:12:24 am Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Thu Jan 6 14:12:24 2011
New Revision: 217054
URL: http://svn.freebsd.org/changeset/base/217054
Log:
Unbreak the LINT build. PS3 kernels can only be built 64-bit
Author: nwhitehorn
Date: Sat Jan 8 19:50:13 2011
New Revision: 217163
URL: http://svn.freebsd.org/changeset/base/217163
Log:
Make RB_CDROM work. This should probably check for a disc in cd1 and acd1
as well.
Modified:
head/sys/kern/vfs_mountroot.c
Modified: head/sys/kern/vfs_mountroot.c
Author: nwhitehorn
Date: Sun Sep 23 17:33:16 2012
New Revision: 240860
URL: http://svn.freebsd.org/changeset/base/240860
Log:
Move the prototype for savectx from cpu.h to pcb.h, as it is on other
platforms, as well as putting it in an #ifdef KERNEL block.
MFC after:2 weeks
Modified:
Author: nwhitehorn
Date: Sat Oct 27 16:07:38 2012
New Revision: 242179
URL: http://svn.freebsd.org/changeset/base/242179
Log:
drm(4) works just fine on PowerPC, so connect it to the build.
MFC after:2 weeks
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
Author: nwhitehorn
Date: Sat Oct 27 23:14:37 2012
New Revision: 242197
URL: http://svn.freebsd.org/changeset/base/242197
Log:
Don't try to build Linux compatibility stuff on platforms without
COMPAT_LINUX.
Modified:
head/sys/modules/drm/via/Makefile
Modified:
Author: nwhitehorn
Date: Sun Oct 28 02:15:35 2012
New Revision: 242203
URL: http://svn.freebsd.org/changeset/base/242203
Log:
Extend dim's hack from r228978: not only clang but gcc on non-x86 platforms
warns about unused variables in this code, so always add -Wno-unused to
the warning
Author: nwhitehorn
Date: Mon Oct 29 14:27:28 2012
New Revision: 242315
URL: http://svn.freebsd.org/changeset/base/242315
Log:
Work around broken device tree on last-generation PowerPC iMacs
(PowerMac12,1), which have a mac-io MPIC cell that indifies itself
as the root PIC despite the actual
(r208149)
@@ -1,5 +1,5 @@
/*-
- * Copyright (C) 2008 Nathan Whitehorn
+ * Copyright (C) 2008-2010 Nathan Whitehorn
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,9 @@
#include dev/pci/pcireg.h
#include machine/bus.h
Author: nwhitehorn
Date: Sun May 16 15:21:13 2010
New Revision: 208150
URL: http://svn.freebsd.org/changeset/base/208150
Log:
On SMP G5 systems, sometimes the power-mode-data property is only found
on CPU 0, so look there if it is not otherwise available.
Modified:
Author: nwhitehorn
Date: Sun May 16 19:57:38 2010
New Revision: 208167
URL: http://svn.freebsd.org/changeset/base/208167
Log:
Enable smu(4) to report fan speeds on late-model Powermac G5s.
Modified:
head/sys/powerpc/powermac/smu.c
Modified: head/sys/powerpc/powermac/smu.c
Author: nwhitehorn
Date: Sun May 16 20:31:31 2010
New Revision: 208168
URL: http://svn.freebsd.org/changeset/base/208168
Log:
It is not necessary (and in some cases harmful) to hardcode ata_kauai's
IRQ to 39 on K2 devices, as well as Shasta ones.
Reported by: Andreas Tobler
Modified:
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 and (presumably) PowerMac12,1, we need
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:
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
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
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
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
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:
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
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
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:
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:
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
==
--- /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
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
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
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:
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:
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
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:
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
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
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
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
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
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:
On Thu, 24 Jun 2010 17:53:25 + (UTC)
Warner Losh i...@freebsd.org 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
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.
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
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
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
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
Author: nwhitehorn
Date: Thu Jul 8 14:19:52 2010
New Revision: 209800
URL: http://svn.freebsd.org/changeset/base/209800
Log:
Fix iicbus_get_addr() on 64-bit big-endian systems. The bus accessor
passes a uintptr_t, not a uint32_t.
Modified:
head/sys/dev/iicbus/iicbus.c
Modified:
Author: nwhitehorn
Date: Thu Jul 8 14:29:23 2010
New Revision: 209801
URL: http://svn.freebsd.org/changeset/base/209801
Log:
Change the argument type to OF_call_method to take an array of cell_t
instead of unsigned longs to prepare for platforms where they are not
the same.
Modified:
Author: nwhitehorn
Date: Thu Jul 8 14:35:35 2010
New Revision: 209803
URL: http://svn.freebsd.org/changeset/base/209803
Log:
Fix several bugs in the real-mode Open Firmware implementation and provide
a virtual-mode version for use on 64-bit systems, which have 32-bit
firmware
Author: nwhitehorn
Date: Thu Jul 8 14:40:46 2010
New Revision: 209804
URL: http://svn.freebsd.org/changeset/base/209804
Log:
Make ofw_syscons work on 64-bit systems.
Modified:
head/sys/powerpc/ofw/ofw_syscons.c
Modified: head/sys/powerpc/ofw/ofw_syscons.c
Author: nwhitehorn
Date: Thu Jul 8 15:38:55 2010
New Revision: 209812
URL: http://svn.freebsd.org/changeset/base/209812
Log:
Replace the existing PowerPC busdma implementation with the one from
amd64 (with slight modifications). This provides support for bounce
buffers, which are required
Author: nwhitehorn
Date: Thu Jul 8 18:15:06 2010
New Revision: 209817
URL: http://svn.freebsd.org/changeset/base/209817
Log:
Missed a file in r209803: this header contains a definition of
OFW_STD_32BIT.
Pointy hat to:me
Modified:
head/sys/dev/ofw/openfirm.h
Modified:
Author: nwhitehorn
Date: Fri Jul 9 14:00:22 2010
New Revision: 209849
URL: http://svn.freebsd.org/changeset/base/209849
Log:
MFppc64:
Check if devices are direct-mapped individually instead of just checking
the value of hw_direct_map.
Modified:
head/sys/powerpc/powerpc/bus_machdep.c
1 - 100 of 1212 matches
Mail list logo