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

2010-09-13 Thread Nathan Whitehorn
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

Re: svn commit: r212572 - in head/sys: dev/cxgb kern sys vm

2010-09-13 Thread Nathan Whitehorn
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

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

2010-09-13 Thread Nathan Whitehorn
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

svn commit: r212658 - stable/8/sys/powerpc/aim

2010-09-15 Thread Nathan Whitehorn
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

svn commit: r212659 - stable/8/sys/powerpc/aim

2010-09-15 Thread Nathan Whitehorn
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

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

2010-09-15 Thread Nathan Whitehorn
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

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

2010-09-15 Thread Nathan Whitehorn
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

Re: svn commit: r213098 - in head/sys: amd64/conf i386/conf pc98/conf powerpc/conf sparc64/conf

2010-09-25 Thread Nathan Whitehorn
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

svn commit: r213185 - head/contrib/gcc/config/rs6000

2010-09-26 Thread Nathan Whitehorn
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

svn commit: r213291 - in stable/8/sys/dev/ata: . chipsets

2010-09-29 Thread Nathan Whitehorn
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

svn commit: r213292 - stable/8/sys/boot/ofw/libofw

2010-09-29 Thread Nathan Whitehorn
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

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

2010-09-30 Thread Nathan Whitehorn
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

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

2010-10-01 Thread Nathan Whitehorn
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

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

2010-10-01 Thread Nathan Whitehorn
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

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

2010-10-02 Thread Nathan Whitehorn
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/

svn commit: r213383 - in head/sys: conf modules/mem powerpc/include powerpc/powerpc

2010-10-03 Thread Nathan Whitehorn
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/

svn commit: r213386 - head/usr.sbin/sysinstall

2010-10-03 Thread Nathan Whitehorn
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

Re: svn commit: r213388 - head/sys/modules/mem

2010-10-03 Thread Nathan Whitehorn
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 _

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

2010-10-04 Thread Nathan Whitehorn
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.

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

2010-10-04 Thread Nathan Whitehorn
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

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

2010-10-05 Thread Nathan Whitehorn
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

svn commit: r213833 - stable/8/libexec/rtld-elf/powerpc

2010-10-14 Thread Nathan Whitehorn
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

svn commit: r213892 - head

2010-10-15 Thread Nathan Whitehorn
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

svn commit: r213979 - in stable/8/sys/powerpc: aim include powerpc

2010-10-17 Thread Nathan Whitehorn
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

svn commit: r213982 - stable/8/sys/powerpc/powerpc

2010-10-17 Thread Nathan Whitehorn
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/

svn commit: r213986 - head/sys/kern

2010-10-17 Thread Nathan Whitehorn
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-

svn commit: r214348 - head/sys/powerpc/mambo

2010-10-25 Thread Nathan Whitehorn
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

svn commit: r214349 - in head/sys/dev: pci usb/controller

2010-10-25 Thread Nathan Whitehorn
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

svn commit: r214376 - in stable/8/sys/powerpc: aim include

2010-10-26 Thread Nathan Whitehorn
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

svn commit: r214377 - stable/8/sys/vm

2010-10-26 Thread Nathan Whitehorn
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()

svn commit: r214493 - in head/sys/boot/ofw: common libofw

2010-10-28 Thread Nathan Whitehorn
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

svn commit: r214494 - head/sys/boot/ofw/libofw

2010-10-28 Thread Nathan Whitehorn
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

svn commit: r214495 - head/sys/boot/ofw/common

2010-10-28 Thread Nathan Whitehorn
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/

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

2010-10-30 Thread Nathan Whitehorn
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

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

2010-10-30 Thread Nathan Whitehorn
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

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

2010-10-31 Thread Nathan Whitehorn
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

svn commit: r214603 - in head/sys: conf dev/agp modules modules/agp powerpc/conf

2010-10-31 Thread Nathan Whitehorn
--- /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

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

2010-10-31 Thread Nathan Whitehorn
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

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

2010-10-31 Thread Nathan Whitehorn
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

svn commit: r227775 - in head: lib/clang share/mk

2011-11-20 Thread Nathan Whitehorn
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.

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

2011-11-20 Thread Nathan Whitehorn
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"

svn commit: r228154 - svnadmin/conf

2011-11-30 Thread Nathan Whitehorn
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.

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: r228240 - stable/9/usr.sbin/bsdinstall/scripts

2011-12-03 Thread Nathan Whitehorn
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

svn commit: r228241 - releng/9.0/usr.sbin/bsdinstall/scripts

2011-12-03 Thread Nathan Whitehorn
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

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: r229113 - in stable/9/libexec/rtld-elf: powerpc powerpc64

2011-12-31 Thread Nathan Whitehorn
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

svn commit: r229114 - stable/9/sys/powerpc/ps3

2011-12-31 Thread Nathan Whitehorn
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

svn commit: r229131 - in stable/9: lib/clang share/mk

2011-12-31 Thread Nathan Whitehorn
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

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

svn commit: r229170 - stable/9/sys/powerpc/include

2012-01-01 Thread Nathan Whitehorn
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

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

2012-01-01 Thread Nathan Whitehorn
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

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: r214739 - head/sys/powerpc/aim

2010-11-03 Thread Nathan Whitehorn
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

svn commit: r214741 - stable/8/sys/powerpc/aim

2010-11-03 Thread Nathan Whitehorn
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

svn commit: r214745 - in stable/8/sys/dev: pci usb/controller

2010-11-03 Thread Nathan Whitehorn
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

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

2010-11-03 Thread Nathan Whitehorn
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()

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

2010-11-08 Thread Nathan Whitehorn
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

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

2010-11-09 Thread Nathan Whitehorn
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

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

2010-11-09 Thread Nathan Whitehorn
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

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

2010-11-10 Thread Nathan Whitehorn
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

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

2010-11-10 Thread Nathan Whitehorn
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

Re: svn commit: r215101 - head/sys/powerpc/powerpc

2010-11-10 Thread Nathan Whitehorn
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

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

2010-11-10 Thread Nathan Whitehorn
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

svn commit: r215123 - stable/8/sys/powerpc/aim

2010-11-11 Thread Nathan Whitehorn
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

svn commit: r215157 - in head/sys/powerpc: aim booke powerpc

2010-11-11 Thread Nathan Whitehorn
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

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

2010-11-11 Thread Nathan Whitehorn
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:

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

2010-11-11 Thread Nathan Whitehorn
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

svn commit: r215160 - in head/sys/powerpc: aim powerpc

2010-11-11 Thread Nathan Whitehorn
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

svn commit: r215163 - in head/sys: conf powerpc/aim powerpc/ofw

2010-11-11 Thread Nathan Whitehorn
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

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

2010-11-12 Thread Nathan Whitehorn
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.

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

2010-11-12 Thread Nathan Whitehorn
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

svn commit: r215351 - head/gnu/usr.bin/binutils

2010-11-15 Thread Nathan Whitehorn
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

svn commit: r215352 - in head/gnu/usr.bin/binutils: as as/powerpc64-freebsd libbfd libopcodes

2010-11-15 Thread Nathan Whitehorn
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

svn commit: r215367 - head/sys/dev/drm

2010-11-15 Thread Nathan Whitehorn
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/

svn commit: r215688 - stable/8/sys/kern

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215689 - stable/8/sys/powerpc/aim

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215690 - stable/8/sys/powerpc/powermac

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215691 - stable/8/sys/powerpc/powerpc

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215692 - stable/8/sys/powerpc/powermac

2010-11-22 Thread Nathan Whitehorn
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.

svn commit: r215693 - in stable/8/sys/powerpc: aim powermac

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215694 - stable/8/sys/powerpc/powermac

2010-11-22 Thread Nathan Whitehorn
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

svn commit: r215695 - in stable/8/sys: conf powerpc/powermac

2010-11-22 Thread Nathan Whitehorn
: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

svn commit: r215696 - in stable/8/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/mpc85xx powerpc/powermac powerpc/powerpc

2010-11-22 Thread Nathan Whitehorn
--- /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

svn commit: r215749 - stable/8/sys/dev/iicbus

2010-11-23 Thread Nathan Whitehorn
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

svn commit: r215752 - head/usr.bin/locate/locate

2010-11-23 Thread Nathan Whitehorn
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

svn commit: r215919 - in stable/8/sys/boot/ofw: common libofw

2010-11-26 Thread Nathan Whitehorn
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

svn commit: r215920 - stable/8/sys/boot/ofw/libofw

2010-11-26 Thread Nathan Whitehorn
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

svn commit: r215921 - stable/8/usr.bin/locate/locate

2010-11-26 Thread Nathan Whitehorn
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

svn commit: r216113 - head/gnu/usr.bin/cc

2010-12-01 Thread Nathan Whitehorn
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   2   3   4   5   6   7   8   9   10   >