svn commit: r209871 - head/usr.sbin/fifolog/lib

2010-07-10 Thread Giorgos Keramidas
Author: keramida (doc committer) Date: Sat Jul 10 11:40:31 2010 New Revision: 209871 URL: http://svn.freebsd.org/changeset/base/209871 Log: Fix reading of empty fifolog files. When we don't have anything to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about

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

2010-07-10 Thread Bruce Evans
On Fri, 9 Jul 2010, Jung-uk Kim wrote: Log: Fix build by defining MAX() macro here. Modified: head/lib/libstand/printf.c Arrgh. The unsafe macros MAX() and MIN() were deprecated in the kernel, but this has been broken (in 2001 for NetBSD and 2003 for FreeBSD). Use of MAX() in kern/subr_prf

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

2010-07-10 Thread Alexander Motin
Author: mav Date: Sat Jul 10 13:46:14 2010 New Revision: 209872 URL: http://svn.freebsd.org/changeset/base/209872 Log: Make hw.ata.ata_dma_check_80pin tunable affect not only device side, but also controller side cable checks. Make respective sysctl writable. PR: kern/143462 Mo

svn commit: r209873 - head/lib/libc/sys

2010-07-10 Thread Konstantin Belousov
Author: kib Date: Sat Jul 10 14:31:44 2010 New Revision: 209873 URL: http://svn.freebsd.org/changeset/base/209873 Log: Document pl_siginfo and PT_FLAG_SI for PT_LWPINFO. MFC after:1 month Modified: head/lib/libc/sys/ptrace.2 Modified: head/lib/libc/sys/ptrace.2 =

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

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

2010-07-10 Thread Robert N. M. Watson
On 9 Jul 2010, at 19:58, Gabor PALI wrote: >> I assume there are reasonable alternatives that work around the >> potential race with a small probability of a missed or extra update, >> or similar, which would be fine. > > In a few words: As far as I know, 64-bit atomic counters could be > imple

svn commit: r209883 - head/sys/dev/ata

2010-07-10 Thread Alexander Motin
Author: mav Date: Sat Jul 10 15:27:27 2010 New Revision: 209883 URL: http://svn.freebsd.org/changeset/base/209883 Log: On attach, grab channel lock before setting up interrupt. This fixes crash in ATA_CAM mode if phy connect event arrive before CAM bus initialization completed. Modified:

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

2010-07-10 Thread Alexander Motin
Author: mav Date: Sat Jul 10 15:36:27 2010 New Revision: 209884 URL: http://svn.freebsd.org/changeset/base/209884 Log: If ata_sata_phy_reset() failed and ata_generic_reset() is not called, mark channel as having no devices connected. This improves hot-unplug operation on legacy-emulating SAT

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

Re: svn commit: r209634 - head/sys/x86/isa

2010-07-10 Thread Doug Barton
Alexander, Did you see this message from me? Any hope of getting this fixed? Doug On 07/04/10 18:10, Doug Barton wrote: > This commit results in a panic at boot time for me very early on. > Screenshots at: > http://people.freebsd.org/~dougb/panic-01.jpg > http://people.freebsd.org/~dougb/panic

Re: svn commit: r209634 - head/sys/x86/isa

2010-07-10 Thread Alexander Motin
Hi. Doug Barton wrote: > Did you see this message from me? Any hope of getting this fixed? Yes, sorry. I am just not sure how to properly do it. Two previous attempts appeared to be wrong: one for ISA PNP, another for ACPI. :( I'll look on it again tomorrow. > On 07/04/10 18:10, Doug Barton wrot

svn commit: r209887 - in head/sys: amd64/amd64 i386/i386

2010-07-10 Thread Alan Cox
Author: alc Date: Sat Jul 10 18:22:44 2010 New Revision: 209887 URL: http://svn.freebsd.org/changeset/base/209887 Log: Reduce the number of global TLB shootdowns generated by pmap_qenter(). Specifically, teach pmap_qenter() to recognize the case when it is being asked to replace a mapping wi

Re: svn commit: r209634 - head/sys/x86/isa

2010-07-10 Thread Doug Barton
On 07/10/10 11:15, Alexander Motin wrote: > Hi. > > Doug Barton wrote: >> Did you see this message from me? Any hope of getting this fixed? > > Yes, sorry. I am just not sure how to properly do it. Two previous > attempts appeared to be wrong: one for ISA PNP, another for ACPI. :( > I'll look on

svn commit: r209888 - head/sys/dev/bwn

2010-07-10 Thread Weongyo Jeong
Author: weongyo Date: Sat Jul 10 21:39:03 2010 New Revision: 209888 URL: http://svn.freebsd.org/changeset/base/209888 Log: Fixes a bug for LP PHY that some frames have 2 padding bytes at the start so we should adjust the mbuf if the driver is running in PIO mode. Now it should work well with

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: r209892 - head/sys/dev/bwi

2010-07-10 Thread Weongyo Jeong
Author: weongyo Date: Sat Jul 10 22:37:23 2010 New Revision: 209892 URL: http://svn.freebsd.org/changeset/base/209892 Log: Fixes a page fault in bwi_pci_probe() because the array isn't terminated with NULL. PR: kern/148473 Submitted by: Grzegorz Dabrowski MFC after:1 we

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

2010-07-10 Thread Gabor PALI
On Sat, Jul 10, 2010 at 5:24 PM, Robert N. M. Watson wrote: > If we can do it in one atomic in the common case, and two atomics in an edge > case, that sounds fine. I think any use of locking(9) would be sufficiently > costly as to not be worth the improvements in consistency, given the > frequ

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/