Author: jhibbits
Date: Thu May 31 23:05:07 2012
New Revision: 236368
URL: http://svn.freebsd.org/changeset/base/236368
Log:
MFC r235678:
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
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:
Author: jhibbits
Date: Fri Jun 29 10:39:42 2012
New Revision: 237773
URL: http://svn.freebsd.org/changeset/base/237773
Log:
MFC r237480
Release the ADB keyboard mutex when handling the power button
press/release. Found by WITNESS.
Approved by: nwhitehorn (mentor)
Modified:
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
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:
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
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:
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
, 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
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:
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
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
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
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
Sorry! I should've read the tinderbox failures.
Pointy hat to: jhibbits
On Apr 22, 2013 6:02 AM, Takahashi Yoshihiro n...@freebsd.org wrote:
Author: nyan
Date: Mon Apr 22 13:02:41 2013
New Revision: 249765
URL: http://svnweb.freebsd.org/changeset/base/249765
Log:
Build uart_dev_lpc.c
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:
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
Author: jhibbits
Date: Wed May 15 19:58:12 2013
New Revision: 250675
URL: http://svnweb.freebsd.org/changeset/base/250675
Log:
MFC r249864,249918
Introduce kernel coredumps to ppc32 AIM. Leeched from the booke code.
Modified:
stable/9/sys/powerpc/aim/mmu_oea.c
Directory Properties:
==
--- /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
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
/sys/powerpc/powermac/nvbl.cThu Aug 30 23:50:11 2012
(r239928, copy of r239027, head/sys/powerpc/powermac/nvbl.c)
@@ -0,0 +1,197 @@
+/*-
+ * Copyright (c) 2012 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
Author: jhibbits
Date: Thu Aug 30 23:54:49 2012
New Revision: 239929
URL: http://svn.freebsd.org/changeset/base/239929
Log:
MFC r239548:
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
/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
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
Author: jhibbits
Date: Tue Jan 17 22:42:54 2012
New Revision: 230290
URL: http://svn.freebsd.org/changeset/base/230290
Log:
MFC r230035:
Add PWM monitoring sysctl to G4 MDD (Windtunnel) fan driver. While there,
clean
up some style nits.
Modified:
On Jan 17, 2012, at 5:42 PM, Justin Hibbits wrote:
Author: jhibbits
Date: Tue Jan 17 22:42:54 2012
New Revision: 230290
URL: http://svn.freebsd.org/changeset/base/230290
Log:
MFC r230035:
Add PWM monitoring sysctl to G4 MDD (Windtunnel) fan driver. While
there, clean
up some style nits
)
+++ stable/9/sys/dev/hwpmc/hwpmc_powerpc.c Wed Jan 18 11:48:07 2012
(r230305)
@@ -1,4 +1,5 @@
/*-
+ * Copyright (c) 2011 Justin Hibbits
* Copyright (c) 2005, Joseph Koshy
* All rights reserved.
*
@@ -30,20 +31,297 @@ __FBSDID($FreeBSD$);
#include sys/param.h
#include sys/pmc.h
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:
@@
+.\-
+.\ Copyright (c) 2011 Justin Hibbits
+.\ Copyright (c) 2009 Nathan Whitehorn nwhiteh...@freebsd.org
+.\ 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
Author: jhibbits
Date: Mon Jan 30 22:32:54 2012
New Revision: 230788
URL: http://svn.freebsd.org/changeset/base/230788
Log:
MFC r228270,228277:
Add a devd notification for closing/opening the lid on PowerBooks and iBooks.
Approved by: nwhitehorn (mentor)
Modified:
Author: jhibbits
Date: Tue Jan 31 02:30:47 2012
New Revision: 230802
URL: http://svn.freebsd.org/changeset/base/230802
Log:
MFC r230640:
Remove the notify match from a couple devd apple events, the events don't
include notify tags.
Approved by: nwhitehorn (mentor)
Modified:
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
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
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
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
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:
==
--- 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
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
.\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
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:
(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
Author: jhibbits
Date: Thu Mar 1 00:22:52 2012
New Revision: 232324
URL: http://svn.freebsd.org/changeset/base/232324
Log:
MFC r232176:
Fix the scc(4) module build. Without the file it's missing a required
symbol.
Approved by: nwhitehorn (mentor)
Modified:
)
+++ stable/9/sys/powerpc/powermac/atibl.c Thu Mar 8 01:10:23 2012
(r232677, copy of r232177, head/sys/powerpc/powermac/atibl.c)
@@ -0,0 +1,196 @@
+/*-
+ * Copyright (c) 2012 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
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:
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:
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
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
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:
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
Author: jhibbits
Date: Thu May 22 05:20:21 2014
New Revision: 266532
URL: http://svnweb.freebsd.org/changeset/base/266532
Log:
MFC r266116,r266136
A page mask size is 12-bits, not 11.
Modified:
stable/10/sys/powerpc/aim/trap_subr32.S
stable/10/sys/powerpc/aim/trap_subr64.S
Directory
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:
Author: jhibbits
Date: Wed Jul 24 02:01:01 2013
New Revision: 253588
URL: http://svnweb.freebsd.org/changeset/base/253588
Log:
Increase the size of the OFW bounce buffer to 4 pages. With this I can now
run
'ofwdump -ap' on my quad G5.
MFC after:9.2 branch
Modified:
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
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
==
--- /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
Author: jhibbits
Date: Wed Jul 31 01:42:59 2013
New Revision: 253826
URL: http://svnweb.freebsd.org/changeset/base/253826
Log:
Remove duplicate SRCS include block. Spotted by jmallett.
Modified:
head/sys/modules/wi/Makefile
Modified: head/sys/modules/wi/Makefile
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
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:
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
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
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
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:
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
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
On Fri, 20 Jun 2014 20:34:00 -0400
Glen Barber g...@freebsd.org wrote:
On Fri, Jun 20, 2014 at 06:07:05PM +, Devin Teske wrote:
Author: dteske
Date: Fri Jun 20 18:07:04 2014
New Revision: 267684
URL: http://svnweb.freebsd.org/changeset/base/267684
Log:
Add missing mergeinfo
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:
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
)
+++ stable/10/sys/dev/hwpmc/hwpmc_ppc970.c Fri Mar 14 00:12:53 2014
(r263122, copy of r261342, head/sys/dev/hwpmc/hwpmc_ppc970.c)
@@ -0,0 +1,689 @@
+/*-
+ * Copyright (c) 2013 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
Author: jhibbits
Date: Fri Mar 14 02:37:07 2014
New Revision: 263132
URL: http://svnweb.freebsd.org/changeset/base/263132
Log:
MFC r262530
Add missing file to Makefile
Modified:
stable/10/sys/modules/hwpmc/Makefile
Directory Properties:
stable/10/ (props changed)
Modified:
Author: jhibbits
Date: Fri Mar 14 04:35:18 2014
New Revision: 263151
URL: http://svnweb.freebsd.org/changeset/base/263151
Log:
MFC r262547
Fix callchain capture for hwpmc(4). While here, some style(9) fixes, too.
Modified:
stable/10/sys/dev/hwpmc/hwpmc_powerpc.c
Directory Properties:
Author: jhibbits
Date: Fri Mar 14 16:42:20 2014
New Revision: 263177
URL: http://svnweb.freebsd.org/changeset/base/263177
Log:
MFC r261422
Make gas accept any PowerPC instruction by default. This is a local change,
and will not be submitted upstream.
Discussed with:
1970 (empty, because file is newly added)
+++ stable/10/sys/dev/iicbus/adt746x.c Sat Mar 15 00:23:35 2014
(r263197, copy of r261421, head/sys/dev/iicbus/adt746x.c)
@@ -0,0 +1,664 @@
+/*-
+ * Copyright (c) 2012 Andreas Tobler
+ * Copyright (c) 2014 Justin Hibbits
+ * All rights reserved
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
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
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
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:
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
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
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
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:
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
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
: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
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
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:
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
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
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
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:
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
Author: jhibbits
Date: Sat Dec 21 00:37:32 2013
New Revision: 259674
URL: http://svnweb.freebsd.org/changeset/base/259674
Log:
Fix a brain-o. I had misread the limit as a size, but it's a pointer.
Submitted by: Howard Su
MFC after:2 weeks
X-MFC-with: r259668
Modified:
On Sat, 21 Dec 2013 08:31:01 +0800
Howard Su howard...@gmail.com wrote:
On Saturday, December 21, 2013, Justin Hibbits wrote:
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
Author: jhibbits
Date: Sat Dec 21 04:31:54 2013
New Revision: 259676
URL: http://svnweb.freebsd.org/changeset/base/259676
Log:
Add suspend/resume state saving for OpenPIC on PowerMac. It's likely this
can be used on the others (cpcht and psim), but that has not been tested.
Modified:
Author: jhibbits
Date: Sun Dec 22 00:04:50 2013
New Revision: 259699
URL: http://svnweb.freebsd.org/changeset/base/259699
Log:
Set the PMC trapframe macros appropriately
MFC after:2 weeks
Modified:
head/sys/powerpc/include/pmc_mdep.h
Modified: head/sys/powerpc/include/pmc_mdep.h
Author: jhibbits
Date: Sat Jan 11 06:35:29 2014
New Revision: 260533
URL: http://svnweb.freebsd.org/changeset/base/260533
Log:
Save and restore the GPIOs on the macio for suspend/resume.
Modified:
head/sys/powerpc/powermac/macgpio.c
head/sys/powerpc/powermac/macgpiovar.h
Modified:
Author: jhibbits
Date: Tue Jan 14 04:28:41 2014
New Revision: 260621
URL: http://svnweb.freebsd.org/changeset/base/260621
Log:
Add missing EM_PPC64 to e_machine header display.
MFC after:1 week
Modified:
head/usr.bin/elfdump/elfdump.c
Modified: head/usr.bin/elfdump/elfdump.c
Author: jhibbits
Date: Wed Jan 15 04:44:52 2014
New Revision: 260669
URL: http://svnweb.freebsd.org/changeset/base/260669
Log:
MFC r259394,r259395,r259699
r259394:
Rebase the PMC indices at 1, since PMC_SOFT is at 0.
r259395,r259699:
Add userland PMC backtracing, and use the PMC
Author: jhibbits
Date: Wed Jan 15 04:16:45 2014
New Revision: 260667
URL: http://svnweb.freebsd.org/changeset/base/260667
Log:
MFC r256542,r256581
Move the PMC handling to the first level interrupt handler where it belongs.
Also add the pmc_hook use, to handle callchain tracing.
(r260670)
@@ -18,13 +18,560 @@
*
* CDDL HEADER END
*/
-
+/* 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
Author: jhibbits
Date: Wed Jan 15 05:30:05 2014
New Revision: 260671
URL: http://svnweb.freebsd.org/changeset/base/260671
Log:
MFC r258362
Use 'int' to store the return value of getopt(), rather than char.
On some architectures (powerpc), char is unsigned by default, which means
1 - 100 of 1249 matches
Mail list logo