Author: nwhitehorn
Date: Mon Sep 13 15:36:42 2010
New Revision: 212559
URL: http://svn.freebsd.org/changeset/base/212559
Log:
Fix a subtle bug uncovered by the recent one-shot timer import in which
any spin locks acquired between the enabling of interrupts in
machdep_ap_bootstrap() and the i
On Mon, 13 Sep 2010 15:18:38 -0400
John Baldwin wrote:
> On Monday, September 13, 2010 2:48:23 pm Matthew D Fleming wrote:
> > Author: mdf
> > Date: Mon Sep 13 18:48:23 2010
> > New Revision: 212572
> > URL: http://svn.freebsd.org/changeset/base/212572
> >
> > Log:
> > Revert r212370, as it ca
Author: nwhitehorn
Date: Mon Sep 13 22:50:05 2010
New Revision: 212586
URL: http://svn.freebsd.org/changeset/base/212586
Log:
Fix a missing set of parantheses that could cause recent versions of libthr
to crash deferencing a NULL pointer to the user context on powerpc64
systems with COMPAT_F
Author: nwhitehorn
Date: Wed Sep 15 13:43:43 2010
New Revision: 212658
URL: http://svn.freebsd.org/changeset/base/212658
Log:
MFC r211967,212044,212278,212322,212331:
Fix a variety of race conditions and errors in VSID allocation in both
the 32 and 64-bit PMAP modules, some dating back to
Author: nwhitehorn
Date: Wed Sep 15 13:45:06 2010
New Revision: 212659
URL: http://svn.freebsd.org/changeset/base/212659
Log:
MFC r212363:
Reorder statistics tracking and table lock acquisitions already in place
to avoid race conditions updating the PVO statistics.
Modified:
stable/8/s
Author: nwhitehorn
Date: Thu Sep 16 00:22:25 2010
New Revision: 212715
URL: http://svn.freebsd.org/changeset/base/212715
Log:
Replace the SLB backing store splay tree used on 64-bit PowerPC AIM
hardware with a lockless sparse tree design. This marginally improves
the performance of PMAP and
Author: nwhitehorn
Date: Thu Sep 16 03:46:17 2010
New Revision: 212722
URL: http://svn.freebsd.org/changeset/base/212722
Log:
Split the SLB mirror cache into two kinds of object, one for kernel maps
which are similar to the previous ones, and one for user maps, which
are arrays of pointers i
On 09/24/10 11:04, David Xu wrote:
> Author: davidxu
> Date: Fri Sep 24 09:04:16 2010
> New Revision: 213098
> URL: http://svn.freebsd.org/changeset/base/213098
>
> Log:
> Now userland POSIX semaphore is based on umtx. The kernel module
> is only used to support binary compatible, if want to r
Author: nwhitehorn
Date: Sun Sep 26 14:20:09 2010
New Revision: 213185
URL: http://svn.freebsd.org/changeset/base/213185
Log:
Check for NULL link registers as found in initial stack frames when doing
stack unwinding, instead of naively trying to check the instruction at
that location. This f
Author: nwhitehorn
Date: Thu Sep 30 04:03:14 2010
New Revision: 213291
URL: http://svn.freebsd.org/changeset/base/213291
Log:
MFC r212359:
Fix a problem where device detection would work unreliably on Serverworks
K2 SATA controllers. The chip's status register must be read first, and
as
Author: nwhitehorn
Date: Thu Sep 30 04:06:16 2010
New Revision: 213292
URL: http://svn.freebsd.org/changeset/base/213292
Log:
MFC r212165:
In the case of non-sequential mappings, ofw_mapmem() could ask Open
Firmware to map a memory region with negative length, causing crashes
and Undefi
Author: nwhitehorn
Date: Thu Sep 30 18:14:12 2010
New Revision: 213307
URL: http://svn.freebsd.org/changeset/base/213307
Log:
Add support for memory attributes (pmap_mapdev_attr() and friends) on
PowerPC/AIM. This is currently stubbed out on Book-E, since I have no
idea how to implement it t
Author: nwhitehorn
Date: Fri Oct 1 18:59:30 2010
New Revision: 213335
URL: http://svn.freebsd.org/changeset/base/213335
Log:
Fix pmap_page_set_memattr() behavior in the presence of fictitious pages
by just caching the mode for later use by pmap_enter(), following amd64.
While here, correct
Author: nwhitehorn
Date: Fri Oct 1 19:02:31 2010
New Revision: 213336
URL: http://svn.freebsd.org/changeset/base/213336
Log:
Map the Open Firmware framebuffer console with write combining turned on,
and set memory attributes appropriately for mmap() calls on /dev/console.
Xorg no longer use
Author: nwhitehorn
Date: Sat Oct 2 17:19:38 2010
New Revision: 213360
URL: http://svn.freebsd.org/changeset/base/213360
Log:
Fix some KTR arguments that were breaking the LINT build.
Pointy hat to:me
Modified:
head/sys/powerpc/powerpc/pmap_dispatch.c
Modified: head/sys/powerpc/
Author: nwhitehorn
Date: Sun Oct 3 16:02:53 2010
New Revision: 213383
URL: http://svn.freebsd.org/changeset/base/213383
Log:
Add a memory-range interface to /dev/mem on PowerPC using PAT attributes.
Unlike actual MTRR, this only controls the mapping attributes for
subsequent mmap() of /dev/
Author: nwhitehorn
Date: Sun Oct 3 17:50:43 2010
New Revision: 213386
URL: http://svn.freebsd.org/changeset/base/213386
Log:
Extend sysinstall to handle powerpc64 by teaching it that powerpc64 has
a lib32 distribution, and that the GENERIC kernel is named GENERIC64.
More modifications will
On 10/03/10 15:04, Antoine Brodin wrote:
Author: antoine
Date: Sun Oct 3 20:04:11 2010
New Revision: 213388
URL: http://svn.freebsd.org/changeset/base/213388
Log:
Unbreak build.
Ack! Thanks for fixing it, and sorry for the breakage.
-Nathan
_
Author: nwhitehorn
Date: Mon Oct 4 16:02:11 2010
New Revision: 213406
URL: http://svn.freebsd.org/changeset/base/213406
Log:
Fix two subtle problems in PPC32 RTLD. The first is a concurrency issue
where long PLT calls in multi-threaded environments could end up with
incorrect jmptab values.
Author: nwhitehorn
Date: Mon Oct 4 16:07:48 2010
New Revision: 213407
URL: http://svn.freebsd.org/changeset/base/213407
Log:
Follow exactly the steps in architecture manual for correctly invalidating
TLB entries instead of trying to cut corners.
Modified:
head/sys/powerpc/aim/mmu_oea.c
h
Author: nwhitehorn
Date: Tue Oct 5 18:08:07 2010
New Revision: 213456
URL: http://svn.freebsd.org/changeset/base/213456
Log:
Handle vector assist traps without a kernel panic, by setting denormalized
values to zero. A correct solution would involve emulating vector
operations on denormalize
Author: nwhitehorn
Date: Thu Oct 14 13:56:26 2010
New Revision: 213833
URL: http://svn.freebsd.org/changeset/base/213833
Log:
MFC r213406:
Fix two subtle problems in PPC32 RTLD. The first is a concurrency issue
where long PLT calls in multi-threaded environments could end up with
incorr
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 15:22:59 2010
New Revision: 213979
URL: http://svn.freebsd.org/changeset/base/213979
Log:
MFC r213307,213335:
Add support for memory attributes (pmap_mapdev_attr() and friends) on
PowerPC/AIM. This is currently stubbed out on Book-E, since I have no
i
Author: nwhitehorn
Date: Sun Oct 17 15:55:46 2010
New Revision: 213982
URL: http://svn.freebsd.org/changeset/base/213982
Log:
MFC r213360:
Missed some changes in the last commit required to build LINT.
Modified:
stable/8/sys/powerpc/powerpc/pmap_dispatch.c
Directory Properties:
stable/
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 dual-
Author: nwhitehorn
Date: Mon Oct 25 15:41:12 2010
New Revision: 214348
URL: http://svn.freebsd.org/changeset/base/214348
Log:
Don't create spurious /dev entries.
Submitted by: andreast
Modified:
head/sys/powerpc/mambo/mambo_console.c
Modified: head/sys/powerpc/mambo/mambo_console.c
Author: nwhitehorn
Date: Mon Oct 25 15:51:43 2010
New Revision: 214349
URL: http://svn.freebsd.org/changeset/base/214349
Log:
The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers
within the first 4 bytes of the EHCI memory space. For controllers that
use big-endian MMI
Author: nwhitehorn
Date: Tue Oct 26 14:56:46 2010
New Revision: 214376
URL: http://svn.freebsd.org/changeset/base/214376
Log:
MFC r213456:
Handle vector assist traps without a kernel panic, by setting denormalized
values to zero. A correct solution would involve emulating vector
operations
Author: nwhitehorn
Date: Tue Oct 26 14:59:35 2010
New Revision: 214377
URL: http://svn.freebsd.org/changeset/base/214377
Log:
MFC r212360:
On architectures with non-tree-based page tables like PowerPC, every page
in a range must be checked when calling pmap_remove(). Calling
pmap_remove()
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 netboot
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: head/
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 ex
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: head/sys/p
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
Modified
--- /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 rights reserved.
+ *
+ * Redistribution and use in sourc
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 fl
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:
head/sys/pow
Author: nwhitehorn
Date: Mon Nov 21 00:49:46 2011
New Revision: 227775
URL: http://svn.freebsd.org/changeset/base/227775
Log:
Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50
import, it works without issue.
Modified:
head/lib/clang/clang.build.mk
head/share/mk/bsd.
Author: nwhitehorn
Date: Mon Nov 21 04:35:23 2011
New Revision: 227779
URL: http://svn.freebsd.org/changeset/base/227779
Log:
The PPC IRQ layer assumes that the IPI IRQ is the last IRQ on the PIC.
This assumption is invalid and the code should be fixed, but humor it for
now and set the "IPI"
Author: nwhitehorn
Date: Wed Nov 30 14:17:20 2011
New Revision: 228154
URL: http://svn.freebsd.org/changeset/base/228154
Log:
Welcome Justin Hibbits (jhibbits) as a new src committer! I'll be mentoring
him and his initial work will be related to better support of Apple
PowerPC hardware.
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
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
Author: nwhitehorn
Date: Sat Dec 3 17:15:16 2011
New Revision: 228240
URL: http://svn.freebsd.org/changeset/base/228240
Log:
MFC r228194:
Prevent user astonishment by providing the shell option at the end, after
any installer-provided configuration files have been copied. This allows
u
Author: nwhitehorn
Date: Sat Dec 3 17:17:32 2011
New Revision: 228241
URL: http://svn.freebsd.org/changeset/base/228241
Log:
MFC r228194, MF9 r228240:
Prevent user astonishment by providing the shell option at the end, after
any installer-provided configuration files have been copied. Th
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
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
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:
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
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
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
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
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
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
===
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/
Author: nwhitehorn
Date: Sat Dec 31 15:08:33 2011
New Revision: 229113
URL: http://svn.freebsd.org/changeset/base/229113
Log:
MFC r228646:
Additional icache paranoia: non-PLT relocations can modify the text segment.
It is then important to make sure the icache is synchronized again to
prev
Author: nwhitehorn
Date: Sat Dec 31 15:11:47 2011
New Revision: 229114
URL: http://svn.freebsd.org/changeset/base/229114
Log:
MFC r228688,228689:
Support infrastructure for X11 on PS3.
Submitted by: geoffrey dot levand at mail dot ru
Modified:
stable/9/sys/powerpc/ps3/ps3-hv-asm.awk
Author: nwhitehorn
Date: Sat Dec 31 18:09:31 2011
New Revision: 229131
URL: http://svn.freebsd.org/changeset/base/229131
Log:
MFC r227775:
Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50
import, it works without issue.
Modified:
stable/9/lib/clang/clang.build.mk
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
Author: nwhitehorn
Date: Sun Jan 1 16:04:02 2012
New Revision: 229170
URL: http://svn.freebsd.org/changeset/base/229170
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
Author: nwhitehorn
Date: Sun Jan 1 16:05:36 2012
New Revision: 229171
URL: http://svn.freebsd.org/changeset/base/229171
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
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
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. T
Author: nwhitehorn
Date: Wed Nov 3 15:24:25 2010
New Revision: 214741
URL: http://svn.freebsd.org/changeset/base/214741
Log:
MFC r214601:
Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc
Modified:
stable/8/sys/powerpc/aim/mmu_oea.c
Directory Pro
Author: nwhitehorn
Date: Wed Nov 3 15:31:37 2010
New Revision: 214745
URL: http://svn.freebsd.org/changeset/base/214745
Log:
MFC r214349:
The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers
within the first 4 bytes of the EHCI memory space. For controllers that
use
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 set_user_sr()
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:
head/sys/dev/iicbus/iiconf.c
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 pointers
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
head/sys/powerpc/aim/ofw
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:
he
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 fr
On Wed, 10 Nov 2010 20:28:10 + (UTC)
Nathan Whitehorn wrote:
> 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] an
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:
h
Author: nwhitehorn
Date: Thu Nov 11 14:13:56 2010
New Revision: 215123
URL: http://svn.freebsd.org/changeset/base/215123
Log:
MFC r198588:
Turn off Altivec data-stream prefetching before going into power-save
mode on those CPUs that need it.
Modified:
stable/8/sys/powerpc/aim/machdep.c
Di
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 supportin
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 kerne
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
Modified
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. Sep
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
head/sys/powerpc/include/spr.
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 instruc
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) bu
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/
head/gnu/usr.bin/binutils/libopcodes/Makefile.p
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
head/sys/dev/
Author: nwhitehorn
Date: Mon Nov 22 16:58:07 2010
New Revision: 215688
URL: http://svn.freebsd.org/changeset/base/215688
Log:
MFC r213986:
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
Author: nwhitehorn
Date: Mon Nov 22 17:01:40 2010
New Revision: 215689
URL: http://svn.freebsd.org/changeset/base/215689
Log:
MFC r214610:
Map userland copyin/copyout segment no-execute while it is mapped into the
kernel.
Modified:
stable/8/sys/powerpc/aim/copyinout.c
Directory Properties
Author: nwhitehorn
Date: Mon Nov 22 17:03:09 2010
New Revision: 215690
URL: http://svn.freebsd.org/changeset/base/215690
Log:
MFC r214575:
Allow access to the HT I/O port space on the IBM CPC9X5 northbridge chips.
Modified:
stable/8/sys/powerpc/powermac/cpcht.c
Directory Properties:
stabl
Author: nwhitehorn
Date: Mon Nov 22 17:06:24 2010
New Revision: 215691
URL: http://svn.freebsd.org/changeset/base/215691
Log:
MFC r204127,215101:
Provide support for the DEEPNAP power-saving mode found on the 970MP.
Modified:
stable/8/sys/powerpc/powerpc/cpu.c
Directory Properties:
stable
Author: nwhitehorn
Date: Mon Nov 22 17:09:42 2010
New Revision: 215692
URL: http://svn.freebsd.org/changeset/base/215692
Log:
MFC r215100:
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.
Author: nwhitehorn
Date: Mon Nov 22 17:13:04 2010
New Revision: 215693
URL: http://svn.freebsd.org/changeset/base/215693
Log:
MFC r205506:
Get nexus(4) out of the RTC business. The interface used by nexus(4)
in Open Firmware was Apple-specific, and we have complete coverage of Apple
system
Author: nwhitehorn
Date: Mon Nov 22 17:14:29 2010
New Revision: 215694
URL: http://svn.freebsd.org/changeset/base/215694
Log:
MFC r208841:
Add support for the I2C busses hanging off Apple system management chips.
Modified:
stable/8/sys/powerpc/powermac/smu.c
Directory Properties:
stable/8
:41 2010
(r215695, copy of r208842, head/sys/powerpc/powermac/smusat.c)
@@ -0,0 +1,262 @@
+/*-
+ * 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
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/8/sys/powerpc/powermac/platform_powermac.c Mon Nov 22 17:39:18
2010(r215696, copy of r212054,
head/sys/powerpc/powermac/platform_powermac.c)
@@ -0,0 +1,288 @@
+/*-
+ * Copyright
Author: nwhitehorn
Date: Tue Nov 23 14:13:12 2010
New Revision: 215749
URL: http://svn.freebsd.org/changeset/base/215749
Log:
MFC r208839,214999:
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
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).
Reporte
Author: nwhitehorn
Date: Sat Nov 27 00:36:11 2010
New Revision: 215919
URL: http://svn.freebsd.org/changeset/base/215919
Log:
MFC r214493,214495:
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
Author: nwhitehorn
Date: Sat Nov 27 00:37:13 2010
New Revision: 215920
URL: http://svn.freebsd.org/changeset/base/215920
Log:
MFC r214494:
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 me
Author: nwhitehorn
Date: Sat Nov 27 00:46:57 2010
New Revision: 215921
URL: http://svn.freebsd.org/changeset/base/215921
Log:
MFC r215752:
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
1 - 100 of 1654 matches
Mail list logo