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

2011-06-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jun 3 00:11:13 2011 New Revision: 222632 URL: http://svn.freebsd.org/changeset/base/222632 Log: Quantities stored on the stack on ppc64 tend to be twice as large as on ppc32, so make the early stack correspondingly twice as big. Modified: head/sys/powerpc/aim/l

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

2011-06-03 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 4 03:22:16 2011 New Revision: 222666 URL: http://svn.freebsd.org/changeset/base/222666 Log: Fix a typo derived from a mismerge from mmu_oea that would cause pmap_sync_icache() to sync random (possibly uncached or nonexisting!) memory, causing kernel page fau

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

2011-06-03 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 4 04:00:40 2011 New Revision: 222667 URL: http://svn.freebsd.org/changeset/base/222667 Log: Retry the memory map-related portions of r222613, written by andreast, after some minor tweaks and an increase in the early-boot stack space in r222632. Modified:

Re: svn commit: r222726 - head/release/ia64

2011-06-05 Thread Nathan Whitehorn
On 06/05/11 20:52, Marcel Moolenaar wrote: Author: marcel Date: Mon Jun 6 01:52:15 2011 New Revision: 222726 URL: http://svn.freebsd.org/changeset/base/222726 Log: Fix ia64 ISO creation: o boot/mfsroot.gz is no more. Copy it only when it exists so as still to be compatible with M

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

2011-06-08 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 8 13:23:35 2011 New Revision: 222859 URL: http://svn.freebsd.org/changeset/base/222859 Log: Compile RTLD with global dot symbols on 64-bit PowerPC, as a crutch for GDB's ability to locate r_debug_state (which is actually the only function that need be compil

svn commit: r222898 - head/sys/conf

2011-06-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 9 19:47:30 2011 New Revision: 222898 URL: http://svn.freebsd.org/changeset/base/222898 Log: Add -Wa,-many to CFLAGS on PowerPC. This aids in building a kernel using clang, which would otherwise complain about some 64-bit bridge mode instructions. Modified:

svn commit: r222982 - head/sys/powerpc/conf

2011-06-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jun 11 12:34:08 2011 New Revision: 222982 URL: http://svn.freebsd.org/changeset/base/222982 Log: Follow up r222980 on PowerPC: add sound(4) and common device drivers to PowerPC GENERIC (along with a small rearrangement). Modified: head/sys/powerpc/conf/GENERIC

svn commit: r222998 - head/usr.sbin/bsdinstall

2011-06-11 Thread Nathan Whitehorn
) +++ head/usr.sbin/bsdinstall/bsdinstall.8 Sat Jun 11 21:44:07 2011 (r222998) @@ -0,0 +1,187 @@ +.\"- +.\" Copyright (c) 2011 Nathan Whitehorn +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modificatio

svn commit: r223001 - head/release/powerpc

2011-06-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 12 00:14:57 2011 New Revision: 223001 URL: http://svn.freebsd.org/changeset/base/223001 Log: Add an MBR to our release media to aid booting some IBM systems. Modified: head/release/powerpc/mkisoimages.sh Modified: head/release/powerpc/mkisoimages.sh =

svn commit: r223012 - head/usr.sbin/bsdinstall

2011-06-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 12 15:19:38 2011 New Revision: 223012 URL: http://svn.freebsd.org/changeset/base/223012 Log: I forgot what year it is, apparently. Submitted by: brucec Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8 ==

svn commit: r223109 - head/sys/boot/forth

2011-06-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 15 14:07:16 2011 New Revision: 223109 URL: http://svn.freebsd.org/changeset/base/223109 Log: Revert changes to this file in r222417. This unconditionally enabled the boot menu on all platforms, which breaks loader completely on at least powerpc for reasons th

svn commit: r223129 - head/release

2011-06-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 15 23:38:15 2011 New Revision: 223129 URL: http://svn.freebsd.org/changeset/base/223129 Log: Do not install the rescue tools onto the install CD. Since it is read only, they are very unlikely to be needed and take up a great deal of space. Modified: head/r

svn commit: r223133 - head/release

2011-06-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 15 23:56:40 2011 New Revision: 223133 URL: http://svn.freebsd.org/changeset/base/223133 Log: Make the bootonly CD smaller by discarding static libraries that are not useful without a toolchain. Modified: head/release/Makefile Modified: head/release/Makefile

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Nathan Whitehorn
On 06/16/11 10:23, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 8:12 AM, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 7:06 AM, Bruce Evans wrote: On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Garrett Cooper wrote: And you need t

Re: svn commit: r223129 - head/release

2011-06-18 Thread Nathan Whitehorn
On 06/17/11 18:17, Peter Jeremy wrote: On 2011-Jun-15 23:38:15 +, Nathan Whitehorn wrote: Log: Do not install the rescue tools onto the install CD. Since it is read only, they are very unlikely to be needed and take up a great deal of space. If I've correctly understood this c

Re: svn commit: r223129 - head/release

2011-06-19 Thread Nathan Whitehorn
On 06/18/11 19:07, Adrian Chadd wrote: On 19 June 2011 04:34, Nathan Whitehorn wrote: Since all of our install CDs for 9.0 (even the boot-only ones!) will be live CDs, the full versions of everything in /rescue are on the CD in their usual locations in /bin, /sbin, etc. and these can be used

svn commit: r223313 - in head/sys: conf powerpc/ps3

2011-06-19 Thread Nathan Whitehorn
head/sys/powerpc/ps3/ps3bus.c Mon Jun 20 00:17:44 2011 (r223313) @@ -1,5 +1,6 @@ /*- * Copyright (C) 2010 Nathan Whitehorn + * Copyright (C) 2011 glevand (geoffrey.lev...@mail.ru) * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@

svn commit: r223314 - in head/sys: conf powerpc/ps3

2011-06-19 Thread Nathan Whitehorn
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/ps3/ohci_ps3.c Mon Jun 20 00:46:07 2011 (r223314) @@ -0,0 +1,170 @@ +/*- + * Copyright (C) 2010 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in

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

2011-06-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jun 20 01:43:18 2011 New Revision: 223316 URL: http://svn.freebsd.org/changeset/base/223316 Log: Make this slightly less yelly about regions that the hypervisor protects from us by not registering them as disks. Modified: head/sys/powerpc/ps3/ps3disk.c Modified

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

2011-06-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jun 20 02:17:34 2011 New Revision: 223324 URL: http://svn.freebsd.org/changeset/base/223324 Log: Work/hack around some race conditions present in the hardware/HV interface. Partially inspired by a patch from glevand (geoffrey.lev...@mail.ru). Modified: head/sys/

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

2011-06-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 22 02:11:42 2011 New Revision: 223404 URL: http://svn.freebsd.org/changeset/base/223404 Log: The IOMMU is not involved for the storage bus. Modified: head/sys/powerpc/ps3/ps3bus.c Modified: head/sys/powerpc/ps3/ps3bus.c ===

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

2011-06-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 22 02:23:18 2011 New Revision: 223406 URL: http://svn.freebsd.org/changeset/base/223406 Log: This is more complicated than I expected. Storage devices need the IOMMU set up, but must not use it. Modified: head/sys/powerpc/ps3/ps3bus.c Modified: head/sys/pow

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

2011-06-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 03:20:11 2011 New Revision: 223460 URL: http://svn.freebsd.org/changeset/base/223460 Log: Add hypervisor call error codes. Modified: head/sys/powerpc/ps3/ps3-hvcall.h head/sys/powerpc/ps3/ps3-hvcall.master Modified: head/sys/powerpc/ps3/ps3-hvcall.h

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

2011-06-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 03:37:25 2011 New Revision: 223461 URL: http://svn.freebsd.org/changeset/base/223461 Log: Rework the PS3 disk driver to support NCQ and do its DMA a little differently. Modified: head/sys/powerpc/ps3/ps3disk.c Modified: head/sys/powerpc/ps3/ps3disk.c ===

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

2011-06-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 04:06:33 2011 New Revision: 223462 URL: http://svn.freebsd.org/changeset/base/223462 Log: Use 4 KB pages for storage bus devices, which seems to be what the HV uses internally. Modified: head/sys/powerpc/ps3/ps3bus.c Modified: head/sys/powerpc/ps3/ps3bus

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

2011-06-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 04:35:45 2011 New Revision: 223463 URL: http://svn.freebsd.org/changeset/base/223463 Log: Use atomic operations to mask and unmask IRQs. This prevents a problem (obvious in retrospect) in which interrupts on one CPU that are temporarily masked can end up p

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

2011-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 16:34:41 2011 New Revision: 223479 URL: http://svn.freebsd.org/changeset/base/223479 Log: Clear any outstanding atomic reservations when traps are taken. This fixes some interesting bugs (mostly on SMP systems) with atomic operations silently failing in in

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

2011-06-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 23 22:21:28 2011 New Revision: 223485 URL: http://svn.freebsd.org/changeset/base/223485 Log: Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) instead of a PCPU field for curthread. This averts a race on SMP systems with a high interr

Re: svn commit: r223485 - in head/sys/powerpc: aim booke include ofw powerpc

2011-06-24 Thread Nathan Whitehorn
On 06/24/11 11:11, Marcel Moolenaar wrote: On Jun 23, 2011, at 3:21 PM, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Jun 23 22:21:28 2011 New Revision: 223485 URL: http://svn.freebsd.org/changeset/base/223485 Log: Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for

Re: svn commit: r223485 - in head/sys/powerpc: aim booke include ofw powerpc

2011-06-24 Thread Nathan Whitehorn
On 06/24/11 11:33, Marcel Moolenaar wrote: On Jun 24, 2011, at 9:18 AM, Nathan Whitehorn wrote: On 06/24/11 11:11, Marcel Moolenaar wrote: On Jun 23, 2011, at 3:21 PM, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Jun 23 22:21:28 2011 New Revision: 223485 URL: http

svn commit: r223554 - head/sys/dev/sound/macio

2011-06-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 00:35:11 2011 New Revision: 223554 URL: http://svn.freebsd.org/changeset/base/223554 Log: Do not attach to the sound device on G5 Xserves, which is actually an LED controller used to run the load graph on the server's front panel. Reported by: Paul Mat

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

2011-06-25 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 00:49:17 2011 New Revision: 223555 URL: http://svn.freebsd.org/changeset/base/223555 Log: Turn the minimum PWM fan speed down to 30 from 40. It turns out the burning smell that caused me to turn this up was due to a failed fan burning, not a CPU (plus a he

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

2011-06-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 15:08:14 2011 New Revision: 223570 URL: http://svn.freebsd.org/changeset/base/223570 Log: Revert r223479. It is unnecessary and served only to slightly ameliorate some manifestations of the bug actually fixed in r223485. Modified: head/sys/powerpc/aim/tra

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

2011-06-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 26 16:11:36 2011 New Revision: 223571 URL: http://svn.freebsd.org/changeset/base/223571 Log: Add better error handling for RTAS calls. These can potentially cause machine checks (e.g. invalid PCI configuration cycles), but these can be caught and recovered fr

svn commit: r223599 - head/lib/csu/powerpc64

2011-06-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jun 27 16:24:36 2011 New Revision: 223599 URL: http://svn.freebsd.org/changeset/base/223599 Log: Build Scrt.o on powerpc64. Its introduction on other platforms got lost during the period of time the powerpc64 port was on a project branch. Modified: head/lib/csu/

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

2011-07-05 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 5 15:00:55 2011 New Revision: 223792 URL: http://svn.freebsd.org/changeset/base/223792 Log: Follow Linux by unconditionally stripping the RX vlan tag from incoming packets. It turns out that all firmware versions insert it, whether or not they support VLAN t

Re: svn commit: r223648 - head/sys/dev/gem

2011-07-07 Thread Nathan Whitehorn
This breaks one of my gem devices (chip=0x0021106b) when the controller is initialized from FreeBSD (netbooting works fine, and the controller stays working after that), with "cannot disable RX MAC" or "cannot disable RX MAC or hash filter" messages. -Nathan On 06/28/11 11:16, Marius Strobl wr

Re: svn commit: r223648 - head/sys/dev/gem

2011-07-07 Thread Nathan Whitehorn
On 07/07/11 11:07, Marius Strobl wrote: On Thu, Jul 07, 2011 at 09:34:39AM -0500, Nathan Whitehorn wrote: This breaks one of my gem devices (chip=0x0021106b) when the controller is initialized from FreeBSD (netbooting works fine, and the controller stays working after that), with "c

Re: svn commit: r223648 - head/sys/dev/gem

2011-07-08 Thread Nathan Whitehorn
On 07/07/11 11:36, YongHyeon PYUN wrote: On Thu, Jul 07, 2011 at 11:26:08AM -0500, Nathan Whitehorn wrote: On 07/07/11 11:07, Marius Strobl wrote: On Thu, Jul 07, 2011 at 09:34:39AM -0500, Nathan Whitehorn wrote: This breaks one of my gem devices (chip=0x0021106b) when the controller is

svn commit: r223897 - in head: release usr.sbin/bsdinstall/scripts

2011-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 9 23:01:54 2011 New Revision: 223897 URL: http://svn.freebsd.org/changeset/base/223897 Log: Per request of the docs team, install docs as packages, instead of via the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and for putting up with

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

2011-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 13 13:25:12 2011 New Revision: 223980 URL: http://svn.freebsd.org/changeset/base/223980 Log: Run newaliases at the end of the install process. Submitted by: kevlo Modified: head/usr.sbin/bsdinstall/scripts/config Modified: head/usr.sbin/bsdinstall/script

svn commit: r224014 - in head: contrib/dialog contrib/dialog/package contrib/dialog/package/debian contrib/dialog/po contrib/dialog/samples gnu/lib/libdialog

2011-07-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jul 14 14:01:36 2011 New Revision: 224014 URL: http://svn.freebsd.org/changeset/base/224014 Log: Update dialog to 1.1-20110707. Added: head/contrib/dialog/help.c - copied unchanged from r224013, vendor/dialog/dist/help.c head/contrib/dialog/po/sk.po -

svn commit: r224019 - head/sys/powerpc/conf

2011-07-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jul 14 15:35:43 2011 New Revision: 224019 URL: http://svn.freebsd.org/changeset/base/224019 Log: Enable PREEMPTION for PowerPC/AIM generic kernels. The last known PREEMPTION bug on PowerPC was resolved by r223485, and it appears to run stably at this point. Modi

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

2011-07-16 Thread Nathan Whitehorn
head/sys/boot/powerpc/ps3/lv1call.S Sat Jul 16 17:22:01 2011 (r224105) +++ head/sys/boot/powerpc/ps3/lv1call.S Sat Jul 16 19:01:09 2011 (r224106) @@ -1,5 +1,6 @@ /*- * Copyright (C) 2010 Nathan Whitehorn + * Copyright (C) 2011 glevand (geoffrey.lev...@mail.ru) * All rights reserved. *

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

2011-07-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 16 19:25:47 2011 New Revision: 224108 URL: http://svn.freebsd.org/changeset/base/224108 Log: Add PS3 partitioning (and framework for future pseries support) to the installer. Modified: head/usr.sbin/bsdinstall/partedit/partedit_powerpc.c Modified: head/usr.

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

2010-07-08 Thread Nathan Whitehorn
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: head/sys/d

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

2010-07-08 Thread Nathan Whitehorn
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: hea

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

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

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

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

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

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

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

2010-07-08 Thread Nathan Whitehorn
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: head/sys

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

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

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

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:01:18 2010 New Revision: 209850 URL: http://svn.freebsd.org/changeset/base/209850 Log: MFppc64: Use longs instead of ints as the native word type in bcopy(). This will expand nicely on 64-bit systems. Modified: head/sys/powerpc/powerpc/bcopy.c Mo

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

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:02:24 2010 New Revision: 209851 URL: http://svn.freebsd.org/changeset/base/209851 Log: MFppc64: Minor 64-bit-cleanliness upgrades and support for platform detection on subtly-broken OF implementations like in the Mambo simulator. Modified: head/sy

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

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:02:57 2010 New Revision: 209852 URL: http://svn.freebsd.org/changeset/base/209852 Log: Remove an unnecessary include of opt_psim.h, which is not present on powerpc64. Modified: head/sys/powerpc/aim/nexus.c Modified: head/sys/powerpc/aim/nexus.c ==

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

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Jul 9 14:04:16 2010 New Revision: 209853 URL: http://svn.freebsd.org/changeset/base/209853 Log: The number after 2 is 3, not 4. MFC after:3 days Modified: head/sys/powerpc/aim/platform_chrp.c Modified: head/sys/powerpc/aim/platform_chrp.c ==

svn commit: r209867 - in head: contrib/binutils/bfd contrib/binutils/ld contrib/gcc/config/rs6000 contrib/gdb/gdb gnu/lib/csu gnu/lib/libgcc gnu/usr.bin/binutils/as gnu/usr.bin/binutils/as/powerpc6...

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 02:29:22 2010 New Revision: 209867 URL: http://svn.freebsd.org/changeset/base/209867 Log: Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configurat

svn commit: r209868 - head/share/mk

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 02:32:50 2010 New Revision: 209868 URL: http://svn.freebsd.org/changeset/base/209868 Log: Minor modifications to know what to do with powerpc64. Modified: head/share/mk/bsd.cpu.mk head/share/mk/bsd.endian.mk head/share/mk/sys.mk Modified: head/share/mk

svn commit: r209869 - head/lib/csu/powerpc64

2010-07-09 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 03:45:55 2010 New Revision: 209869 URL: http://svn.freebsd.org/changeset/base/209869 Log: C startup support for 64-bit PowerPC. Obtained from:projects/ppc64 Added: head/lib/csu/powerpc64/ - copied from r209845, head/lib/csu/powerpc/ Modifi

svn commit: r209874 - head/sys/sys

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 14:33:57 2010 New Revision: 209874 URL: http://svn.freebsd.org/changeset/base/209874 Log: Add definitions for powerpc64 ELF relocation types. Some 64-bit relocations are identical to 32-bit relocations in meaning, name, and number, and I have chosen not to

svn commit: r209875 - head/sys/sys

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 14:34:37 2010 New Revision: 209875 URL: http://svn.freebsd.org/changeset/base/209875 Log: 32-bit sysctl emulation is also interesting on powerpc64. Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h

svn commit: r209876 - in head: lib/libc/gen sys/sys

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 14:39:08 2010 New Revision: 209876 URL: http://svn.freebsd.org/changeset/base/209876 Log: The 64-bit PowerPC ABI implemented in binutils 2.15 requires some special quirks for weak-symbol handling. Text symbols require also marking weak the special dot-symb

svn commit: r209877 - head/lib/msun

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 14:40:57 2010 New Revision: 209877 URL: http://svn.freebsd.org/changeset/base/209877 Log: powerpc64 floating-point is identical to powerpc, so use the same code on both architectures. Modified: head/lib/msun/Makefile Modified: head/lib/msun/Makefile

svn commit: r209878 - in head/lib/libc: . gmon powerpc64 powerpc64/gen powerpc64/softfloat powerpc64/sys stdlib

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 14:45:03 2010 New Revision: 209878 URL: http://svn.freebsd.org/changeset/base/209878 Log: Provide 64-bit PowerPC support in libc. Obtained from:projects/ppc64 Added: head/lib/libc/powerpc64/ head/lib/libc/powerpc64/Makefile.inc (contents, p

svn commit: r209880 - in head/lib: libthr/arch/powerpc64 libthread_db/arch/powerpc64

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 15:13:49 2010 New Revision: 209880 URL: http://svn.freebsd.org/changeset/base/209880 Log: Powerpc64 thread libraries support. Added: head/lib/libthr/arch/powerpc64/ - copied from r209845, head/lib/libthr/arch/powerpc/ head/lib/libthread_db/arch/power

svn commit: r209881 - head/lib/libkvm

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 15:15:00 2010 New Revision: 209881 URL: http://svn.freebsd.org/changeset/base/209881 Log: 64-bit PowerPC KVM support. Added: head/lib/libkvm/kvm_powerpc64.c (contents, props changed) Added: head/lib/libkvm/kvm_powerpc64.c

svn commit: r209882 - head/lib/libstand

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 15:16:35 2010 New Revision: 209882 URL: http://svn.freebsd.org/changeset/base/209882 Log: Teach libstand what to do for powerpc64: the same thing as powerpc. Like amd64, libstand apps for powerpc64 systems are 32-bit, due to 32-bit Open Firmware implementa

svn commit: r209885 - in head/libexec/rtld-elf: . powerpc64

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 17:43:24 2010 New Revision: 209885 URL: http://svn.freebsd.org/changeset/base/209885 Log: RTLD support for powerpc64. A few small modifications to the Makefile and symbol map are required to support various consequences of the dot symbol scheme: - Sym

svn commit: r209886 - head/lib/bind

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 17:46:53 2010 New Revision: 209886 URL: http://svn.freebsd.org/changeset/base/209886 Log: Since powerpc and powerpc64 share an instruction set, bind can and should use the 32-bit atomic operations unmodified. Accomplish this by switching some MACHINE_ARCH

svn commit: r209889 - head/usr.sbin/crunch/crunchide

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 22:06:51 2010 New Revision: 209889 URL: http://svn.freebsd.org/changeset/base/209889 Log: Teach crunchide(1) about PPC ELF64. Modified: head/usr.sbin/crunch/crunchide/Makefile head/usr.sbin/crunch/crunchide/exec_elf32.c Modified: head/usr.sbin/crunch/cru

svn commit: r209890 - head/secure/lib/libcrypto

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 10 22:07:48 2010 New Revision: 209890 URL: http://svn.freebsd.org/changeset/base/209890 Log: OpenSSL configuration for powerpc64 Obtained from:projects/ppc64 Added: head/secure/lib/libcrypto/opensslconf-powerpc64.h - copied, changed from r209

svn commit: r209893 - in head/lib/libthr/arch/powerpc64: include powerpc powerpc64

2010-07-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jul 11 05:13:38 2010 New Revision: 209893 URL: http://svn.freebsd.org/changeset/base/209893 Log: Fix SVN mismerge. We somehow ended up with the 32-bit powerpc version in arch/powerpc64 instead of the 64-bit one. Added: head/lib/libthr/arch/powerpc64/powerpc64/

svn commit: r209920 - in head/sys/boot: . common fdt ficl ofw ofw/libofw powerpc powerpc/boot1.chrp powerpc/ofw powerpc/uboot uboot

2010-07-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 00:49:22 2010 New Revision: 209920 URL: http://svn.freebsd.org/changeset/base/209920 Log: Provide support in loader for booting 64-bit PowerPC kernels. Like amd64, 64-bit PowerPC kernels are loaded by a 32-bit loader, since nearly all powerpc64 firmwares e

svn commit: r209921 - in head/usr.bin: truss xlint/arch/powerpc64

2010-07-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 00:54:41 2010 New Revision: 209921 URL: http://svn.freebsd.org/changeset/base/209921 Log: Teach truss and xlint how to operate on 64-bit PowerPC systems. Added: head/usr.bin/truss/powerpc64-fbsd.c - copied, changed from r209845, head/usr.bin/truss/powe

svn commit: r209922 - head/lib

2010-07-11 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 00:56:35 2010 New Revision: 209922 URL: http://svn.freebsd.org/changeset/base/209922 Log: Build libsmb should be on powerpc64 as well. Modified: head/lib/Makefile Modified: head/lib/Makefile =

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

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 13:38:26 2010 New Revision: 209945 URL: http://svn.freebsd.org/changeset/base/209945 Log: MFppc64: Provide ELF definitions for 64-bit PowerPC. This unbreaks the powerpc loader build. Modified: head/sys/powerpc/include/elf.h Modified: head/sys/powerp

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

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jul 12 16:08:07 2010 New Revision: 209950 URL: http://svn.freebsd.org/changeset/base/209950 Log: Unify ABI-related bits of the Book-E and AIM machdep routines (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension

svn commit: r209963 - head/sys/sun4v/conf

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 01:24:02 2010 New Revision: 209963 URL: http://svn.freebsd.org/changeset/base/209963 Log: Add a missing architecture declaration to the machine specification for sun4v. Modified: head/sys/sun4v/conf/DEFAULTS Modified: head/sys/sun4v/conf/DEFAULTS ===

svn commit: r209969 - head/usr.sbin/config

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 04:08:08 2010 New Revision: 209969 URL: http://svn.freebsd.org/changeset/base/209969 Log: Enhance config to handle MACHINEs with multiple architectures: - Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel conf

svn commit: r209975 - in head: . sys/conf sys/powerpc/aim sys/powerpc/booke sys/powerpc/conf sys/powerpc/cpufreq sys/powerpc/include sys/powerpc/powerpc

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 05:32:19 2010 New Revision: 209975 URL: http://svn.freebsd.org/changeset/base/209975 Log: MFppc64: Kernel sources for 64-bit PowerPC, along with build-system changes to keep 32-bit kernels compiling (build system changes for 64-bit kernels are coming

svn commit: r209976 - head/sys/conf

2010-07-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 05:43:43 2010 New Revision: 209976 URL: http://svn.freebsd.org/changeset/base/209976 Log: Add powerpc64 kernel ldscript. Added: head/sys/conf/ldscript.powerpc64 - copied, changed from r209910, head/sys/conf/ldscript.powerpc Copied and modified: head/s

svn commit: r209991 - in head/sys/modules: . cas hwpmc sound/driver

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 12:47:31 2010 New Revision: 209991 URL: http://svn.freebsd.org/changeset/base/209991 Log: Make kernel modules build correctly on 64-bit PowerPC. Modified: head/sys/modules/Makefile head/sys/modules/cas/Makefile head/sys/modules/hwpmc/Makefile head/sys

svn commit: r209992 - head/share/man/man4

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 12:51:02 2010 New Revision: 209992 URL: http://svn.freebsd.org/changeset/base/209992 Log: Install arch-specific manpages by MACHINE_CPUARCH, not MACHINE_ARCH. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile ===

svn commit: r209993 - head/sys/conf

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 13:11:18 2010 New Revision: 209993 URL: http://svn.freebsd.org/changeset/base/209993 Log: Convert several instances of MACHINE_ARCH to MACHINE_CPUARCH and use the correct compiler flags on 64-bit PowerPC. Modified: head/sys/conf/kern.mk head/sys/conf/ke

svn commit: r210010 - head/sys/dev/bktr

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 19:27:20 2010 New Revision: 210010 URL: http://svn.freebsd.org/changeset/base/210010 Log: Fix build on architectures where PAGE_SIZE is a long (sparc64, powerpc). Modified: head/sys/dev/bktr/bktr_core.c Modified: head/sys/dev/bktr/bktr_core.c =

svn commit: r210024 - in head: . include release

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 21:19:59 2010 New Revision: 210024 URL: http://svn.freebsd.org/changeset/base/210024 Log: Connect powerpc64 to the build. It is not presently part of make universe, which will be added soon. Reviewed by: imp Modified: head/Makefile.inc1 head/inclu

svn commit: r210025 - head/sys/powerpc/conf

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 21:24:08 2010 New Revision: 210025 URL: http://svn.freebsd.org/changeset/base/210025 Log: Add GENERIC kernel config for powerpc64. Added: head/sys/powerpc/conf/GENERIC64 - copied, changed from r209910, head/sys/powerpc/conf/GENERIC Copied and modified

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

2010-07-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 13 23:10:55 2010 New Revision: 210033 URL: http://svn.freebsd.org/changeset/base/210033 Log: Remove obsolete code that sets SHMMAXPGS to a tiny value by default on PowerPC. Modified: head/sys/powerpc/include/vmparam.h Modified: head/sys/powerpc/include/vmpa

svn commit: r210097 - head/release

2010-07-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jul 15 01:48:30 2010 New Revision: 210097 URL: http://svn.freebsd.org/changeset/base/210097 Log: Get powerpc64 install CDs a little closer: some powerpc things should be used on powerpc64 as well (build scripts, for instance), and the MFS root must be adjusted up

svn commit: r210192 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-07-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 17 13:31:27 2010 New Revision: 210192 URL: http://svn.freebsd.org/changeset/base/210192 Log: Increase stack size for ZFS sync thread. This is required to make ZFS function on 64-bit PowerPC. Reviewed by: pjd Obtained from:OpenSolaris changeset 1

svn commit: r210193 - in head/sys: cddl/contrib/opensolaris/common/atomic/powerpc64 modules modules/opensolaris modules/zfs

2010-07-17 Thread Nathan Whitehorn
) @@ -0,0 +1,75 @@ +/*- + * 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: + * 1. Redistributions of source code must retain the

svn commit: r210287 - head/usr.sbin

2010-07-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jul 20 07:27:36 2010 New Revision: 210287 URL: http://svn.freebsd.org/changeset/base/210287 Log: Build some powerpc-specific utilities on powerpc64 as well. Submitted by: Andreas Tobler Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile ==

Re: svn commit: r210451 - head/sys/sys

2010-07-25 Thread Nathan Whitehorn
On 07/25/10 20:12, Kostik Belousov wrote: On Mon, Jul 26, 2010 at 01:36:07AM +1000, Bruce Evans wrote: On Sat, 24 Jul 2010, Stefan Farfeleder wrote: declaring enums like this is not standard C code (seems to be a GCC extension). I don't think we should use this feature in our headers

Re: svn commit: r210564 - in head/sys: amd64/conf conf i386/conf ia64/conf kern pc98/conf powerpc/conf sparc64/conf sun4v/conf sys

2010-07-29 Thread Nathan Whitehorn
On 07/28/10 17:36, Matthew D Fleming wrote: Author: mdf Date: Wed Jul 28 15:36:12 2010 New Revision: 210564 URL: http://svn.freebsd.org/changeset/base/210564 Log: Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma zones for each malloc bucket size. The purpose is to isol

svn commit: r210677 - in head/sys: conf powerpc/conf powerpc/mambo

2010-07-31 Thread Nathan Whitehorn
(r210677) @@ -0,0 +1,101 @@ +/*- + * Copyright 2008 by Nathan Whitehorn. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code

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

2010-07-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jul 31 21:35:15 2010 New Revision: 210704 URL: http://svn.freebsd.org/changeset/base/210704 Log: Improve hash coverage for kernel page table entries by modifying the kernel ESID -> VSID map function. This makes ZFS run stably on PowerPC under heavy loads (repeate

svn commit: r211483 - in head/sys: conf powerpc/conf

2010-08-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Aug 19 03:19:26 2010 New Revision: 211483 URL: http://svn.freebsd.org/changeset/base/211483 Log: Unbreak the LINT kernel on powerpc64. Note that the LINT kernel configuration is TARGET_ARCH specific and must be generated with TARGET_ARCH set. Reviewed by: i

svn commit: r211521 - head/sys/conf

2010-08-19 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Aug 20 01:23:17 2010 New Revision: 211521 URL: http://svn.freebsd.org/changeset/base/211521 Log: FPU EMU is 32-bit only for now, so mark it as a powerpc-only feature. This fixes powerpc64 LINT. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files

svn commit: r211707 - head/cddl/lib/libzpool

2010-08-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Aug 23 16:47:29 2010 New Revision: 211707 URL: http://svn.freebsd.org/changeset/base/211707 Log: Add powerpc64 to the list of architectures with real atomic operations. Submitted by: imp Modified: head/cddl/lib/libzpool/Makefile Modified: head/cddl/lib/libzp

svn commit: r211773 - in head/lib/libthr: . arch/powerpc arch/powerpc/include arch/powerpc64

2010-08-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Aug 24 20:50:08 2010 New Revision: 211773 URL: http://svn.freebsd.org/changeset/base/211773 Log: Unify 32-bit and 64-bit PowerPC libthr support. This reduces code duplication, and simplifies the TBEMD import. Requested by: imp Deleted: head/lib/libthr/arch/

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