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

2012-08-21 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 21 23:55:29 2012 New Revision: 239548 URL: http://svn.freebsd.org/changeset/base/239548 Log: phandle_t is unsigned, and OF_finddevice() returns (phandle_t)(-1) on failure, so check for that instead of 0. While here, provide a better description for ATI

svn commit: r237480 - head/sys/dev/adb

2012-06-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 23 13:52:44 2012 New Revision: 237480 URL: http://svn.freebsd.org/changeset/base/237480 Log: Release the ADB keyboard mutex when handling the power button press/release. Found by WITNESS. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

svn commit: r239027 - in head/sys: conf powerpc/conf powerpc/powermac

2012-08-03 Thread Justin Hibbits
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/powermac/nvbl.cSat Aug 4 03:05:01 2012 (r239027) @@ -0,0 +1,197 @@ +/*- + * Copyright (c) 2012 Justin Hibbits + * All rights reserved. + * + * Redistribution and use

svn commit: r228225 - head/share/misc

2011-12-03 Thread Justin Hibbits
.\njchand jeff [label=Jeff Roberson\nj...@freebsd.org\n2002/02/21] jh [label=Jaakko Heinonen\n...@freebsd.org\n2009/10/02] jhb [label=John Baldwin\n...@freebsd.org\n1999/08/23] +jhibbits [label=Justin Hibbits\njhibb...@freebsd.org\n2011/11/30] jilles [label=Jilles Tjoelker\njil...@freebsd.org\n2009

svn commit: r228270 - in head: etc/devd sys/powerpc/powermac

2011-12-04 Thread Justin Hibbits
Author: jhibbits Date: Mon Dec 5 00:12:10 2011 New Revision: 228270 URL: http://svn.freebsd.org/changeset/base/228270 Log: Add a devd notification for closing/opening the lid on PowerBooks and iBooks. Approved by: nwhitehorn (mentor) Modified: head/etc/devd/apple.conf

svn commit: r228277 - in head: etc/devd sys/powerpc/powermac

2011-12-05 Thread Justin Hibbits
Author: jhibbits Date: Mon Dec 5 14:13:21 2011 New Revision: 228277 URL: http://svn.freebsd.org/changeset/base/228277 Log: Fix style(9) issues from r228270. Approved by: nwhitehorn (mentor) Modified: head/etc/devd/apple.conf head/sys/powerpc/powermac/pmu.c Modified:

svn commit: r228869 - in head: lib/libpmc sys/dev/hwpmc sys/powerpc/aim sys/powerpc/include sys/sys

2011-12-24 Thread Justin Hibbits
== --- head/sys/dev/hwpmc/hwpmc_powerpc.c Sat Dec 24 19:01:31 2011 (r228868) +++ head/sys/dev/hwpmc/hwpmc_powerpc.c Sat Dec 24 19:34:52 2011 (r228869) @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2011 Justin Hibbits * Copyright (c) 2005, Joseph Koshy * All rights reserved

Re: svn commit: r228874 - head/sys/dev/hwpmc

2011-12-26 Thread Justin Hibbits
On Dec 26, 2011, at 1:23 AM, Doug Barton wrote: On 12/25/2011 06:29, Bjoern A. Zeeb wrote: Author: bz Date: Sun Dec 25 14:29:36 2011 New Revision: 228874 URL: http://svn.freebsd.org/changeset/base/228874 Log: Quite the tinderbox for the holidays. Remove the assert[1]. Shouldn't Why it's

svn commit: r235678 - head/sys/dev/powermac_nvram

2012-05-19 Thread Justin Hibbits
Author: jhibbits Date: Sun May 20 02:43:54 2012 New Revision: 235678 URL: http://svn.freebsd.org/changeset/base/235678 Log: nvram,flash may not be the first in the compatible list property of the nvram ofw node, so check all strings in the list. Approved by: nwhitehorn (mentor) MFC

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

2012-01-12 Thread Justin Hibbits
Author: jhibbits Date: Thu Jan 12 22:21:20 2012 New Revision: 230035 URL: http://svn.freebsd.org/changeset/base/230035 Log: Add PWM monitoring sysctl to G4 MDD (Windtunnel) fan driver. While there, clean up some style nits. Approved by: nwhitehorn (mentor) MFC after:3 days

svn commit: r230640 - head/etc/devd

2012-01-27 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 28 02:52:22 2012 New Revision: 230640 URL: http://svn.freebsd.org/changeset/base/230640 Log: Remove the notify match from a couple devd apple events, the events don't include notify tags. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

svn commit: r230859 - head/sys/modules

2012-01-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 1 03:42:14 2012 New Revision: 230859 URL: http://svn.freebsd.org/changeset/base/230859 Log: Enable the pccard/cardbus modules for powerpc. Approved by: nwhitehorn (mentor) Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r231014 - head/sys/modules

2012-02-05 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 5 13:29:01 2012 New Revision: 231014 URL: http://svn.freebsd.org/changeset/base/231014 Log: Add exca to powerpc modules build as a dependency for cbb. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

Re: svn commit: r231014 - head/sys/modules

2012-02-05 Thread Justin Hibbits
On Feb 5, 2012, at 8:29 AM, Justin Hibbits wrote: Author: jhibbits Date: Sun Feb 5 13:29:01 2012 New Revision: 231014 URL: http://svn.freebsd.org/changeset/base/231014 Log: Add exca to powerpc modules build as a dependency for cbb. Approved by: nwhitehorn (mentor) sigh. I really should

svn commit: r232176 - head/sys/modules/scc

2012-02-26 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 26 13:27:22 2012 New Revision: 232176 URL: http://svn.freebsd.org/changeset/base/232176 Log: Fix the scc(4) module build. Without the file it's missing a required symbol. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

svn commit: r232177 - in head: etc/devd sys/conf sys/powerpc/conf sys/powerpc/powermac

2012-02-26 Thread Justin Hibbits
(empty, because file is newly added) +++ head/sys/powerpc/powermac/atibl.c Sun Feb 26 13:45:25 2012 (r232177) @@ -0,0 +1,196 @@ +/*- + * Copyright (c) 2012 Justin Hibbits + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification

svn commit: r249636 - head/sys/modules/uart

2013-04-18 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 19 05:46:16 2013 New Revision: 249636 URL: http://svnweb.freebsd.org/changeset/base/249636 Log: Fix the uart(4) module build. Without uart_dev_lpc the module cannot be loaded. Modified: head/sys/modules/uart/Makefile Modified: head/sys/modules/uart/Makefile

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

2013-04-24 Thread Justin Hibbits
Author: jhibbits Date: Thu Apr 25 00:39:43 2013 New Revision: 249864 URL: http://svnweb.freebsd.org/changeset/base/249864 Log: Introduce kernel coredumps to ppc32 AIM. Leeched from the booke code. MFC after:2 weeks Modified: head/sys/powerpc/aim/mmu_oea.c Modified:

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

2013-04-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 26 05:18:18 2013 New Revision: 249918 URL: http://svnweb.freebsd.org/changeset/base/249918 Log: Remove a comment that shouldn't have gone in. X-MFC-with: r249864 Modified: head/sys/powerpc/aim/mmu_oea.c Modified: head/sys/powerpc/aim/mmu_oea.c

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

2013-06-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Jun 4 00:40:26 2013 New Revision: 251356 URL: http://svnweb.freebsd.org/changeset/base/251356 Log: Pad the PCPU MD struct, to satisfy an assert added with the projects/counters branch import. PR: ports/179173,ports/179164 Modified:

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

2013-06-23 Thread Justin Hibbits
Author: jhibbits Date: Sun Jun 23 14:20:54 2013 New Revision: 252115 URL: http://svnweb.freebsd.org/changeset/base/252115 Log: Cache the Open Firmware CPU properties at attach time, so we don't always enter it at runtime to get static data. Modified: head/sys/powerpc/ofw/ofw_cpu.c

svn commit: r261420 - head/sys/modules/hwpmc

2014-02-02 Thread Justin Hibbits
Author: jhibbits Date: Mon Feb 3 01:16:32 2014 New Revision: 261420 URL: http://svnweb.freebsd.org/changeset/base/261420 Log: Add missing file to Makefile. MFC after:1 month X-MFC-with: 261342 Modified: head/sys/modules/hwpmc/Makefile Modified: head/sys/modules/hwpmc/Makefile

svn commit: r261421 - in head/sys: conf dev/iicbus powerpc/conf

2014-02-02 Thread Justin Hibbits
Andreas Tobler + * Copyright (c) 2014 Justin Hibbits + * 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 above

svn commit: r261422 - head/contrib/binutils/gas/config

2014-02-02 Thread Justin Hibbits
Author: jhibbits Date: Mon Feb 3 01:45:07 2014 New Revision: 261422 URL: http://svnweb.freebsd.org/changeset/base/261422 Log: Make gas accept any PowerPC instruction by default. This is a local change, and will not be submitted upstream. Discussed with: nwhitehorn,rdivacky MFC

Re: svn commit: r262466 - head/sys/cddl/dev/systrace

2014-02-26 Thread Justin Hibbits
On Tue, Feb 25, 2014 at 5:35 PM, Mark Johnston ma...@freebsd.org wrote: On Tue, Feb 25, 2014 at 03:17:56PM -0800, Justin Hibbits wrote: I think this broke powerpc building. I see the following build failure: cc1: warnings being treated as errors /home/chmeee/freebsd/head/sys/modules/dtrace

Re: svn commit: r262466 - head/sys/cddl/dev/systrace

2014-02-26 Thread Justin Hibbits
On Wed, Feb 26, 2014 at 9:52 AM, Justin Hibbits jhibb...@freebsd.org wrote: On Tue, Feb 25, 2014 at 5:35 PM, Mark Johnston ma...@freebsd.org wrote: On Tue, Feb 25, 2014 at 03:17:56PM -0800, Justin Hibbits wrote: I think this broke powerpc building. I see the following build failure: cc1

svn commit: r262547 - head/sys/dev/hwpmc

2014-02-26 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 27 04:45:29 2014 New Revision: 262547 URL: http://svnweb.freebsd.org/changeset/base/262547 Log: Fix callchain capture for hwpmc(4). While here, some style(9) fixes, too. MFC after:2 weeks Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c Modified:

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

2014-03-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 21 04:45:57 2014 New Revision: 263464 URL: http://svnweb.freebsd.org/changeset/base/263464 Log: Mask out SRR1 bits that aren't exported to the MSR. This appears to fix a strange condition with X on 32-bit PowerBooks I observed, caused by one of these bits

Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys

2014-03-23 Thread Justin Hibbits
On Mon, 24 Mar 2014 05:44:42 + Alexey Dokuchaev da...@freebsd.org wrote: On Sat, Feb 01, 2014 at 02:03:51AM +, Justin Hibbits wrote: New Revision: 261342 URL: http://svnweb.freebsd.org/changeset/base/261342 Log: Add hwpmc(4) support for the PowerPC 970 class processors

Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys

2014-03-25 Thread Justin Hibbits
On Tue, Mar 25, 2014 at 2:06 AM, Alexey Dokuchaev da...@freebsd.org wrote: On Sun, Mar 23, 2014 at 10:58:18PM -0700, Justin Hibbits wrote: On Mon, 24 Mar 2014 05:44:42 + Alexey Dokuchaev wrote: Hmm, -CURRENT does not build for me after this commit apparently; take a look at the log

Re: svn commit: r263752 - head/sys/powerpc/include

2014-03-25 Thread Justin Hibbits
On Tue, Mar 25, 2014 at 3:49 PM, Warner Losh i...@freebsd.org wrote: Author: imp Date: Tue Mar 25 22:49:33 2014 New Revision: 263752 URL: http://svnweb.freebsd.org/changeset/base/263752 Log: Define PSL_SRR1_MASK for BOOK-E too so MPC85XX compiles again. Modified:

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

2014-04-06 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 6 06:18:43 2014 New Revision: 264189 URL: http://svnweb.freebsd.org/changeset/base/264189 Log: Correct the SRR1 mask, it's 10-15 not 10-11. X-MFC-with: r263464,r263752 Modified: head/sys/powerpc/include/psl.h Modified: head/sys/powerpc/include/psl.h

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

2014-04-06 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 6 21:48:45 2014 New Revision: 264205 URL: http://svnweb.freebsd.org/changeset/base/264205 Log: Fix the ATI backlight driver off/on handling. Now this driver works correctly with the ATI Radeon 9700 in the PowerBook G4 1.67GHz. Code shamelessly taken in

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

2014-04-06 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 6 23:57:19 2014 New Revision: 264207 URL: http://svnweb.freebsd.org/changeset/base/264207 Log: Clear the backlight level when it's turned off. Also, reduce the delay times to less conservative values, also found in the radeonkms driver. MFC after:2

svn commit: r264338 - in head/sys/powerpc: include powerpc

2014-04-11 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 11 06:17:44 2014 New Revision: 264338 URL: http://svnweb.freebsd.org/changeset/base/264338 Log: Small performance optimization. Clobber only cr0, rather than the entire CR. Discussed with: rdivacky,nwhitehorn MFC after:3 weeks Modified:

svn commit: r264635 - head/sys/dev/hwpmc

2014-04-18 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 18 06:39:00 2014 New Revision: 264635 URL: http://svnweb.freebsd.org/changeset/base/264635 Log: Enable and disable the PMC unit at load/unload time, respectively. MFC after:3 weeks Modified: head/sys/dev/hwpmc/hwpmc_mpc7xxx.c

Re: svn commit: r265171 - head/release/powerpc

2014-04-30 Thread Justin Hibbits
On Apr 30, 2014, at 8:24 PM, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu May 1 03:24:41 2014 New Revision: 265171 URL: http://svnweb.freebsd.org/changeset/base/265171 Log: Use mkimg instead of md(4) and gpart. Modified: head/release/powerpc/make-memstick.sh Modified:

Re: svn commit: r265250 - head/contrib/top

2014-05-02 Thread Justin Hibbits
On Fri, May 2, 2014 at 4:32 PM, Bryan Drewery bdrew...@freebsd.org wrote: Author: bdrewery Date: Fri May 2 23:32:44 2014 New Revision: 265250 URL: http://svnweb.freebsd.org/changeset/base/265250 Log: - Add a hint for 'u' and 'J' command that '+' displays all. Thanks! I keep forgetting

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

2014-05-14 Thread Justin Hibbits
Author: jhibbits Date: Thu May 15 04:18:06 2014 New Revision: 266116 URL: http://svnweb.freebsd.org/changeset/base/266116 Log: A page mask size is 12-bits, not 11. MFC after:1 week Modified: head/sys/powerpc/aim/trap_subr32.S Modified: head/sys/powerpc/aim/trap_subr32.S

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

2014-05-15 Thread Justin Hibbits
Author: jhibbits Date: Thu May 15 15:17:44 2014 New Revision: 266136 URL: http://svnweb.freebsd.org/changeset/base/266136 Log: oea64 uses 4k pages, too. MFC after:1 week X-MFC-with: r266116 Modified: head/sys/powerpc/aim/trap_subr64.S Modified:

svn commit: r266531 - in head/sys: amd64/conf conf i386/conf modules

2014-05-21 Thread Justin Hibbits
Author: jhibbits Date: Thu May 22 05:04:40 2014 New Revision: 266531 URL: http://svnweb.freebsd.org/changeset/base/266531 Log: imagact_binmisc builds for all supported architectures, so enable it for all. Any bugs in execution will be dealt with as they crop up. MFC after:3 weeks

Re: svn commit: r267660 - head/sys/dev/firewire

2014-06-19 Thread Justin Hibbits
On Fri, 20 Jun 2014 01:45:03 + (UTC) Alexander Kabaev k...@freebsd.org wrote: Author: kan Date: Fri Jun 20 01:45:03 2014 New Revision: 267660 URL: http://svnweb.freebsd.org/changeset/base/267660 Log: Set target-sbp field to valid value when sbp device is created. The

svn commit: r267697 - head/sys/dev/adb

2014-06-20 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 21 00:53:56 2014 New Revision: 267697 URL: http://svnweb.freebsd.org/changeset/base/267697 Log: No need to check if devd is running before posting an event. Modified: head/sys/dev/adb/adb_buttons.c head/sys/dev/adb/adb_kbd.c Modified:

svn commit: r253315 - head/sys/modules

2013-07-13 Thread Justin Hibbits
Author: jhibbits Date: Sat Jul 13 07:16:45 2013 New Revision: 253315 URL: http://svnweb.freebsd.org/changeset/base/253315 Log: Clean up the modules list for PowerPC. powerpc64 has MACHINE_CPUARCH of powerpc. While here, sort the list. Modified: head/sys/modules/Makefile Modified:

svn commit: r253756 - head/sys/dev/wi

2013-07-28 Thread Justin Hibbits
Author: jhibbits Date: Mon Jul 29 05:39:20 2013 New Revision: 253756 URL: http://svnweb.freebsd.org/changeset/base/253756 Log: Use the streaming functions for reading/writing the BAP fields on wi(4). This fixes wi(4) device access on big endian architectures. PR: kern/164499

Re: svn commit: r253756 - head/sys/dev/wi

2013-07-30 Thread Justin Hibbits
On Jul 30, 2013 2:14 PM, Jeremie Le Hen j...@freebsd.org wrote: On Mon, Jul 29, 2013 at 05:39:20AM +, Justin Hibbits wrote: Author: jhibbits Date: Mon Jul 29 05:39:20 2013 New Revision: 253756 URL: http://svnweb.freebsd.org/changeset/base/253756 Log: Use the streaming

svn commit: r253825 - in head/sys: dev/wi modules modules/wi powerpc/powermac

2013-07-30 Thread Justin Hibbits
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/wi/if_wi_macio.c Wed Jul 31 01:13:29 2013 (r253825) @@ -0,0 +1,141 @@ +/*- + * Copyright (c) 2013 Justin Hibbits + * All rights reserved. + * Copyright (c) 1997, 1998, 1999 + * Bill Paul wp

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

2013-08-03 Thread Justin Hibbits
Author: jhibbits Date: Sat Aug 3 18:05:12 2013 New Revision: 253918 URL: http://svnweb.freebsd.org/changeset/base/253918 Log: Remove duplicate definition of SPR MMCR0. MFC after:3 days Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

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

2013-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 01:01:15 2013 New Revision: 253976 URL: http://svnweb.freebsd.org/changeset/base/253976 Log: Evict pages from the PTEG when it's full and trying to insert a new PTE, rather than panicking. Reviewed by: nwhitehorn MFC after:3 weeks Modified:

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

2013-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 02:58:16 2013 New Revision: 253978 URL: http://svnweb.freebsd.org/changeset/base/253978 Log: Remove an unnecessary panic. The PVO's PTE entry and the PTEG's PTE entry may not match, if the PVO's PTE is invalid. Modified: head/sys/powerpc/aim/mmu_oea.c

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

2013-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:09:44 2013 New Revision: 253979 URL: http://svnweb.freebsd.org/changeset/base/253979 Log: Micro-optimize OFW syscons 8-bit blank. MFC after:1 week Modified: head/sys/powerpc/ofw/ofw_syscons.c Modified: head/sys/powerpc/ofw/ofw_syscons.c

svn commit: r254509 - in head/sys: cddl/dev/dtrace/powerpc modules/dtrace

2013-08-18 Thread Justin Hibbits
Author: jhibbits Date: Mon Aug 19 05:10:46 2013 New Revision: 254509 URL: http://svnweb.freebsd.org/changeset/base/254509 Log: Fix some ppc64 dtrace bugs, and enable systrace_freebsd32 for ppc64. Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S

svn commit: r254634 - head/sys/cddl/dev/dtrace/powerpc

2013-08-21 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 22 02:54:20 2013 New Revision: 254634 URL: http://svnweb.freebsd.org/changeset/base/254634 Log: Make dtrace_copy() actually work on PowerPC. Although unused currently, it may be used in the future by dtrace. Modified:

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

2013-08-21 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 22 05:07:50 2013 New Revision: 254639 URL: http://svnweb.freebsd.org/changeset/base/254639 Log: Enable DTrace hooks in ppc64. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64

svn commit: r255099 - in head/sys/cddl/dev: dtrace/powerpc fbt

2013-08-31 Thread Justin Hibbits
Author: jhibbits Date: Sat Aug 31 16:30:20 2013 New Revision: 255099 URL: http://svnweb.freebsd.org/changeset/base/255099 Log: Fixes for DTrace on PowerPC: - Implement dtrace_getarg() - Sync fbt with x86, and fix a typo. - Pull in the time synchronization code from amd64. Modified:

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

2013-08-31 Thread Justin Hibbits
Author: jhibbits Date: Sat Aug 31 16:31:48 2013 New Revision: 255100 URL: http://svnweb.freebsd.org/changeset/base/255100 Log: Only add the backlight device if it actually exists in OF. MFC after:1 week Modified: head/sys/powerpc/powermac/atibl.c head/sys/powerpc/powermac/nvbl.c

svn commit: r255161 - head/sys/cddl/dev/dtrace/powerpc

2013-09-02 Thread Justin Hibbits
Author: jhibbits Date: Mon Sep 2 23:22:05 2013 New Revision: 255161 URL: http://svnweb.freebsd.org/changeset/base/255161 Log: Whitespace cleanup. Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c

svn commit: r255164 - in head/sys: dev/hwpmc modules/hwpmc powerpc/include

2013-09-02 Thread Justin Hibbits
(c) 2011 Justin Hibbits + * Copyright (c) 2005, Joseph Koshy + * 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

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

2013-09-02 Thread Justin Hibbits
Author: jhibbits Date: Tue Sep 3 00:42:15 2013 New Revision: 255165 URL: http://svnweb.freebsd.org/changeset/base/255165 Log: Enable PMC interrupt handling, and fix a DTrace trap handling bug. Modified: head/sys/powerpc/aim/trap.c Modified: head/sys/powerpc/aim/trap.c

svn commit: r255199 - head/sys/dev/hwpmc

2013-09-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 4 04:11:38 2013 New Revision: 255199 URL: http://svnweb.freebsd.org/changeset/base/255199 Log: Fix hwpmc(4) for 32-bit PowerPC. Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c head/sys/dev/hwpmc/hwpmc_powerpc.h Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c

svn commit: r255228 - head/sys/dev/hwpmc

2013-09-04 Thread Justin Hibbits
Author: jhibbits Date: Thu Sep 5 01:13:26 2013 New Revision: 255228 URL: http://svnweb.freebsd.org/changeset/base/255228 Log: Fix the build. Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c

Re: svn commit: r255247 - head/sys/conf

2013-09-05 Thread Justin Hibbits
Pointyhat to: jhibbits Sorry about that, for the third time in as many days for the same component. On Sep 5, 2013 6:53 AM, Gleb Smirnoff gleb...@freebsd.org wrote: Author: glebius Date: Thu Sep 5 13:53:25 2013 New Revision: 255247 URL: http://svnweb.freebsd.org/changeset/base/255247 Log:

svn commit: r255921 - head/sys/dev/adb

2013-09-27 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 28 02:13:59 2013 New Revision: 255921 URL: http://svnweb.freebsd.org/changeset/base/255921 Log: Fix powerpc/161045. ams_poll() needs to return that any data is available, not just a new packet. PR: powerpc/161045 Approved by: re(marius) MFC

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

2013-10-15 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 15 14:52:44 2013 New Revision: 256542 URL: http://svnweb.freebsd.org/changeset/base/256542 Log: Move the PMC handling to the first level interrupt handler where it belongs. Also add the pmc_hook use, to handle callchain tracing. MFC after:1 week

svn commit: r256543 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/contrib/opensolaris/lib/libdtrace/powerpc sys/cddl/contrib/opensolaris/uts/powerpc/dtrace sys/cddl/contrib/opensola...

2013-10-15 Thread Justin Hibbits
*/ - +/* Portions Copyright 2013 Justin Hibbits */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +#include sys/fasttrap_isa.h +#include sys/fasttrap_impl.h +#include sys/dtrace.h +#include sys/dtrace_impl.h +#include cddl/dev/dtrace

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

2013-10-15 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 16 04:11:42 2013 New Revision: 256581 URL: http://svnweb.freebsd.org/changeset/base/256581 Log: Fix the Wii build, and remove an extraneous critical_enter(). Modified: head/sys/powerpc/aim/interrupt.c Modified: head/sys/powerpc/aim/interrupt.c

svn commit: r257081 - head/sys/cddl/dev/dtrace/powerpc

2013-10-24 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 25 00:17:12 2013 New Revision: 257081 URL: http://svnweb.freebsd.org/changeset/base/257081 Log: ELF PowerPC64 ABI puts the LR save word at 16 byte offset, not 8. Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_isa.c Modified:

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

2013-11-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 6 15:56:03 2013 New Revision: 257750 URL: http://svnweb.freebsd.org/changeset/base/257750 Log: Make the powerpc dumpsys() more consistent with the other architectures. MFC after:10.0-RELEASE Modified: head/sys/powerpc/powerpc/dump_machdep.c Modified:

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

2013-11-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 7 21:02:57 2013 New Revision: 257813 URL: http://svnweb.freebsd.org/changeset/base/257813 Log: Clamp the dump block size to the dump device max I/O size. Modified: head/sys/powerpc/powerpc/dump_machdep.c Modified: head/sys/powerpc/powerpc/dump_machdep.c

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

2013-11-10 Thread Justin Hibbits
Author: jhibbits Date: Mon Nov 11 03:17:38 2013 New Revision: 257941 URL: http://svnweb.freebsd.org/changeset/base/257941 Log: Add the necessary bits for dumps on ppc64. MFC after:2 weeks Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c

svn commit: r268207 - head/sys/dev/hwpmc

2014-07-03 Thread Justin Hibbits
Author: jhibbits Date: Thu Jul 3 06:52:26 2014 New Revision: 268207 URL: http://svnweb.freebsd.org/changeset/base/268207 Log: Fix a bug in hwpmc(4) callchain retrieval, for both user and kernel. The array index for the callchain is getting double-incremented -- both in the loop and the

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

2014-08-08 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 8 06:22:32 2014 New Revision: 269701 URL: http://svnweb.freebsd.org/changeset/base/269701 Log: Set the si_code appropriately for exception-caused signals. LLDB checks the si_code, and aborts if a code isn't known. MFC after:2 weeks Relnotes:

svn commit: r246275 - head/sys/cddl/dev/dtrace/powerpc

2013-02-02 Thread Justin Hibbits
/dtrace_asm.S Sun Feb 3 00:02:59 2013(r246274) +++ head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S Sun Feb 3 00:19:34 2013(r246275) @@ -19,6 +19,8 @@ * * CDDL HEADER END * + * Portions Copyright 2012,2013 Justin Hibbits jhibb...@freebsd.org + * * $FreeBSD

svn commit: r248457 - in head/sys: cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace/powerpc cddl/dev/fbt modules/dtrace modules/dtrace/dtraceall modules/dtrace/fbt powerpc/aim

2013-03-17 Thread Justin Hibbits
, with the + * fields enclosed by brackets [] replaced with your own identifying + * information: Portions Copyright [] [name of copyright owner] + * + * CDDL HEADER END + * + * Portions Copyright 2006-2008 John Birrell j...@freebsd.org + * Portions Copyright 2013 Justin Hibbits jhibb...@freebsd.org

svn commit: r248486 - head/sys/modules/dtrace/fbt

2013-03-18 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 19 00:39:02 2013 New Revision: 248486 URL: http://svnweb.freebsd.org/changeset/base/248486 Log: Fix the powerpc64 build. MACHINE_CPUARCH is common for powerpc/powerpc64, not MACHINE_ARCH. Modified: head/sys/modules/dtrace/fbt/Makefile Modified:

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

2013-04-04 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 5 04:53:43 2013 New Revision: 249129 URL: http://svnweb.freebsd.org/changeset/base/249129 Log: Print out DSISR in a fatal DSI trap. Sponsored by: Modified: head/sys/powerpc/aim/trap.c Modified: head/sys/powerpc/aim/trap.c

Re: svn commit: r249129 - head/sys/powerpc/aim

2013-04-04 Thread Justin Hibbits
Interesting, I never touched the Sponsored by: line. On Apr 4, 2013 9:53 PM, Justin Hibbits jhibb...@freebsd.org wrote: Author: jhibbits Date: Fri Apr 5 04:53:43 2013 New Revision: 249129 URL: http://svnweb.freebsd.org/changeset/base/249129 Log: Print out DSISR in a fatal DSI trap

Re: svn commit: r249129 - head/sys/powerpc/aim

2013-04-04 Thread Justin Hibbits
On Apr 4, 2013 10:06 PM, Eitan Adler ead...@freebsd.org wrote: On 5 April 2013 01:01, Justin Hibbits jr...@alumni.cwru.edu wrote: Interesting, I never touched the Sponsored by: line. Did you recently rebuild Subversion (after r314983 in ports?) Rui added a patch that may have affected

svn commit: r242723 - in head: cddl/contrib/opensolaris/lib/libdtrace/powerpc cddl/lib cddl/lib/libdtrace cddl/usr.sbin lib lib/libproc sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contr...

2012-11-07 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 7 23:45:09 2012 New Revision: 242723 URL: http://svnweb.freebsd.org/changeset/base/242723 Log: Implement DTrace for PowerPC. This includes both 32-bit and 64-bit. There is one known issue: Some probes will display an error message along the lines of:

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

2012-11-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 01:51:23 2012 New Revision: 242737 URL: http://svnweb.freebsd.org/changeset/base/242737 Log: Add DTrace to 32-bit PowerPC GENERIC now. MFC after:1 month Modified: head/sys/powerpc/conf/GENERIC Modified: head/sys/powerpc/conf/GENERIC

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

2013-11-12 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 13 01:37:52 2013 New Revision: 258078 URL: http://svnweb.freebsd.org/changeset/base/258078 Log: Increase the stack size for ppc64 from 4 pages to 8. I found a stack overflow when a coredump was taken onto a ZFS volume with heavy network activity. 2 DSI

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

2013-11-12 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 13 01:51:40 2013 New Revision: 258079 URL: http://svnweb.freebsd.org/changeset/base/258079 Log: Fix typo. Submitted by: loos Modified: head/sys/powerpc/include/param.h Modified: head/sys/powerpc/include/param.h

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

2013-11-13 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 14 07:41:52 2013 New Revision: 258119 URL: http://svnweb.freebsd.org/changeset/base/258119 Log: Fix copy+paste-o, OEA64 uses LPTE, not PTE. X-MFC with: r257941 Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c

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

2013-11-17 Thread Justin Hibbits
Author: jhibbits Date: Sun Nov 17 20:29:33 2013 New Revision: 258275 URL: http://svnweb.freebsd.org/changeset/base/258275 Log: Add a sysctl to allow disabling resetting the OF syscons. On some machines (G5 with lots of RAM), entering OF sometimes causes the machine to hang. Once the

svn commit: r258361 - head/sys/cddl/dev/fbt

2013-11-19 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 20 01:33:13 2013 New Revision: 258361 URL: http://svnweb.freebsd.org/changeset/base/258361 Log: Fix the function search space. Submitted by: Howard Su Modified: head/sys/cddl/dev/fbt/fbt_powerpc.c Modified: head/sys/cddl/dev/fbt/fbt_powerpc.c

svn commit: r258362 - in head/cddl/contrib/opensolaris/cmd: plockstat zfs

2013-11-19 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 20 01:42:29 2013 New Revision: 258362 URL: http://svnweb.freebsd.org/changeset/base/258362 Log: Use 'int' to store the return value of getopt(), rather than char. On some architectures (powerpc), char is unsigned by default, which means comparisons against

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

2013-11-20 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 21 06:54:28 2013 New Revision: 258424 URL: http://svnweb.freebsd.org/changeset/base/258424 Log: Remove stale comment. The PID provider is handled elsewhere already. Modified: head/sys/powerpc/aim/trap.c Modified: head/sys/powerpc/aim/trap.c

svn commit: r259080 - in head/sys: dev/iicbus geom/cache geom/journal

2013-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 7 19:55:34 2013 New Revision: 259080 URL: http://svnweb.freebsd.org/changeset/base/259080 Log: Fix some integer signs. These unsigned integers should all be signed. Found by: clang (powerpc64) Modified: head/sys/dev/iicbus/max6690.c

Re: svn commit: r259080 - in head/sys: dev/iicbus geom/cache geom/journal

2013-12-07 Thread Justin Hibbits
On Sat, 7 Dec 2013 19:55:34 + (UTC) Justin Hibbits jhibb...@freebsd.org wrote: Author: jhibbits Date: Sat Dec 7 19:55:34 2013 New Revision: 259080 URL: http://svnweb.freebsd.org/changeset/base/259080 Log: Fix some integer signs. These unsigned integers should all be signed

svn commit: r259082 - in head/sys: dev/iicbus powerpc/powermac

2013-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 7 22:25:07 2013 New Revision: 259082 URL: http://svnweb.freebsd.org/changeset/base/259082 Log: Make more unsigned ints signed. Found by: clang (powerpc64) MFC after:1 week Modified: head/sys/dev/iicbus/ds1631.c head/sys/dev/iicbus/ds1775.c

svn commit: r259096 - in head/sys/geom: cache journal

2013-12-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 8 09:34:56 2013 New Revision: 259096 URL: http://svnweb.freebsd.org/changeset/base/259096 Log: Partially revert r259080. bde@ pointed out that there are a lot more style bugs going on in here than can be fixed, and I introduced some of my own. Rather than

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

2013-12-11 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 12 04:12:19 2013 New Revision: 259245 URL: http://svnweb.freebsd.org/changeset/base/259245 Log: FBT now does work fully on PowerPC. MFC after:2 weeks Modified: head/sys/powerpc/aim/trap.c head/sys/powerpc/aim/trap_subr32.S

svn commit: r259284 - in head/sys: conf powerpc/aim powerpc/cpufreq powerpc/include powerpc/powermac powerpc/powerpc

2013-12-12 Thread Justin Hibbits
:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/cpufreq/pmufreq.c Fri Dec 13 02:37:35 2013 (r259284) @@ -0,0 +1,222 @@ +/*- + * Copyright (c) 2011 Justin Hibbits + * Copyright (c) 2009 Nathan Whitehorn + * All rights reserved. + * + * Redistribution and use in source

svn commit: r259287 - head/sys/powerpc/cpufreq

2013-12-12 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 13 05:54:25 2013 New Revision: 259287 URL: http://svnweb.freebsd.org/changeset/base/259287 Log: Some style(9) fixes MFC after:1 month X-MFC with: r259284 Modified: head/sys/powerpc/cpufreq/pmufreq.c Modified: head/sys/powerpc/cpufreq/pmufreq.c

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

2013-12-14 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 14 19:01:24 2013 New Revision: 259394 URL: http://svnweb.freebsd.org/changeset/base/259394 Log: Rebase the PMC indices at 1, since PMC_SOFT is at 0. MFC after:1 week Modified: head/sys/powerpc/include/pmc_mdep.h Modified:

svn commit: r259395 - head/sys/dev/hwpmc

2013-12-14 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 14 20:12:28 2013 New Revision: 259395 URL: http://svnweb.freebsd.org/changeset/base/259395 Log: Add userland PMC backtracing, and use the PMC trapframe macros for kernel backtraces. MFC after:1 week Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c

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

2013-12-15 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 15 18:07:25 2013 New Revision: 259421 URL: http://svnweb.freebsd.org/changeset/base/259421 Log: Save r3 before using it for the trap check, else we end up saving the new r3, containing the trap instruction encoding (0x7c810808), and restoring it back with the

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

2013-12-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 20 16:37:03 2013 New Revision: 259657 URL: http://svnweb.freebsd.org/changeset/base/259657 Log: Add suspend/resume handlers for ATI backlight ppc driver. With this, also shut shut off the display (DPMS-style) and disable the clocking when the backlight

svn commit: r259668 - head/sys/cddl/dev/fbt

2013-12-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 20 23:18:14 2013 New Revision: 259668 URL: http://svnweb.freebsd.org/changeset/base/259668 Log: Fix a couple bugs in FBT PowerPC. Clamp the size to a 'instruction size' not 'byte size', and fix a typo. MFC after:2 weeks Modified:

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

2013-12-20 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 21 00:07:56 2013 New Revision: 259671 URL: http://svnweb.freebsd.org/changeset/base/259671 Log: Add suspend/resume to DBDMA and ATA on PowerMacs. This, and several subsequent commits, are suspend/resume for various PowerMac drivers, which will include a

  1   2   3   4   5   6   7   8   >