CVS commit: src/sys/arch/powerpc/oea

2021-07-19 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Mon Jul 19 14:49:45 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
there is no need to keep pvos for unmanaged mappings on a hidden p/v list,
since "unmanaged" means that we don't want to find such pvos on any p/v list.
instead, just don't put such pvos on any p/v list at all and remove
the two hidden p/v lists for unmanaged mappings.  code mostly from martin,
to implement rin's suggestion of unifying the two hidden lists.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-06-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jun 27 12:26:33 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
PR 55325: unify both pvo pools (for managed and unmanaged pages).
Analyzis by rin, fix suggested by chs.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-04-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Apr  2 16:59:59 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
clarify comment in previous
( this is a hack, should go away when the root cause is fixed etc. )
no functional change


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-04-01 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  1 22:02:20 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
avoid mapping 0xf000 - my beige G3 DSIs on it
with this my the machine boots again
tested on a variety of G4 and G5 models with no problems


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-21 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Mar 21 23:41:52 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Fix copy-paste.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-12 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Mar 12 18:10:00 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Fix paste-o in last.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-10 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Mar 11 04:43:47 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Tidy up initialization of the kernel SRs just a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-10 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Mar 10 18:29:07 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
- In pmap_bootstrap1(), make sure to initialize pmap_kernel()->pm_vsid
  with the kernel's base VSID.
- In va_to_vsid(), always compute the VSID from the base VSID in the
  pmap and the effective segment ID (ESID), rather than extracting it
  from the pmap's segment register value for that ESID.  Not only does
  this make the code the same between OEA and OEA64, but is also lets
  us compute the correct VSID for that pmap/ESID even if the cached SR
  for that ESID currently contains something else, such as an I/O segment
  mapping (as might be the case on a 601).

With this change, we can temporarily toggle between an I/O segment and
and HTAB-mapped segment if needed (e.g. when calling OpenFirmware on
a 601-based system).


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-04 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Mar  5 02:58:13 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Split set_timebase() into get_timebase_frequency() and init_decrementer().
Call get_timebase_frequency() much earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-03-01 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Mar  2 00:28:55 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Apply PMAPNAME() to pmap_bootstrap[12](); fix build for ofppc, which has
both pmap32 and pmap64bridge in a single kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Feb 28 19:01:11 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S

Log Message:
Minor re-ordering of a few things, and issue an isync barrier at all
critical MMU on/off transitions.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/oea/ofw_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Feb 27 01:22:18 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
In ofwoea_initppc(), call oea_init() after getting the bootpath, etc.
Also, add a comment explaining why it's actually necessary to clear
PSL_IP after installing the kernel's exception vectors.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Feb 24 17:35:40 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S

Log Message:
- Fix a comment.
- rename ofwsrsave to clsrsave; we're saving / restoring the client's
  (i.e. kernel's) SRs there, not the firmware's.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/powerpc/oea/ofw_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Feb 24 16:53:00 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S ofwoea_machdep.c

Log Message:
Don't save the firmware's copy of SPRG[0-3], and don't fiddle with
SPRG[0-3] in the firmware trampoline.  Section 7.1 of the OpenFirmware
PowerPC CPU bindings says that firmware "client interface shall not modify"
when in virtual-mode, and "client interface shall preserve" in real-mode.

This is important because in vritual-mode, DSI exceptions will land in
the kernel's DSI exception handler, and that handler depends on the
kernel's SPRG0 value (it contains the pointer to the cpu_info for that
CPU).

Additionally, in the firmware trampoline, point curcpu at an empty
ofw_battable.  This ensures that the DSI exception handler won't
load a BAT register with a kernel block translation that clobbers
a segment translation owned by the firmware.  Eventually, this ofw_battable
might contain some of the larger translations owned by the firmware.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/powerpc/oea/ofw_subr.S
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 18:10:51 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Update some #ifdef PMAC_G5 for previous change that I missed before.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 18:05:42 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_consinit.c

Log Message:
Fix the previously differently.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/oea/ofw_consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 18:03:21 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S

Log Message:
ofwreal_incharge does not need to be global.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/oea/ofw_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 18:02:45 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S

Log Message:
Put back accidental removal of "ofwreal_incharge".


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 17:58:43 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_consinit.c

Log Message:
Avoid an unused variable warning for the not-building-macppc case.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/oea/ofw_consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-18 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 19 05:23:53 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_consinit.c

Log Message:
Revert unintended change.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/oea/ofw_consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-18 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Feb 18 16:29:12 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S

Log Message:
- Tidy up some comments.
- Use correct stack frame linkage everywhere so that if something goes
  wrong, we can get a meaningful back trace.
- Use an additional layer of indirection so that, when we're very
  early in bootstrap, we can just call OpenFirmware directly, rather
  than using our trampoline that saves/restores kernel state.
- Carve out a space for ofwinit() to call into C code to do additional
  initialization.  (This is not done yet.)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/powerpc/oea/ofw_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2021-02-12 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 12 23:40:02 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Add some comments to help visually track the nested #ifdef blocks in
ofwoea_batinit().


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-07-07 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  7 13:57:20 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
rascons_init_rasops(): Initialize color palette only for macppc.
Fix build failure for ofppc.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/oea/ofw_rascons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-07-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  7 02:10:21 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
Fix boot failure for PowerMac11,2 when ``auto-boot?'' is true.

For some machines like PowerMac11,2, Open Firmware does not correctly
initialize console-related variables, like font-adr and line#, when
``auto-boot?'' is true; -1 is returned instead of correct values.

Fall back to wsfont embedded in kernel in this case. Also, do not use
line# if it is negative.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/powerpc/oea/ofw_rascons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-07-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Jul  6 10:59:37 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
- Drop unused opt_compat_netbsd.h.
- Include missing opt_multiprocessor.h.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-07-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Jul  6 10:58:06 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: cpu_speedctl.c

Log Message:
Drop unused opt_ppcparam.h.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/oea/cpu_speedctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-07-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Jul  2 10:28:11 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Fix typo; PMAP_OEA64_BRIDGE not PMAP_OEA_BRIDGE.
Tested on Power Mac G5.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-05-31 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun May 31 10:49:39 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Stop returning while PMAP_LOCK() (= KERNEL_LOCK(1, NULL)) is held.

Kernel freeze with heavy load is significantly mitigated (fixed?),
in which I could not even enter DDB from console.

XXX
There is still inconsistency in usage of two PVO pools.
I will send-pr later.

XXX
pullup to netbsd-[987]


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-03-16 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Mon Mar 16 22:02:38 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c ofw_rasconsvar.h

Log Message:
make the ROM font usable on G5s:
- copy the font data into a buffer instead of just pointing at the ROM
- don't blindly assume the font's width
- don't try to center output ourselves - rasops_init() will do it for us
- provide a hook to add the ROM font to wsfont when we're ready


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/powerpc/oea/ofw_rascons.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/oea/ofw_rasconsvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-02-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Feb 28 22:14:10 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
do what FreeBSD does and OF_quiesce() only on PowerMac11,2 and 12,1


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2020-02-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Feb 28 22:09:35 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
switch PowerMac7,* CPUs to full speed via OF
if we do this later we hang


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 07:32:50 UTC 2019

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c oea_machdep.c

Log Message:
- add or adjust fallthru comments


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/powerpc/oea/cpu_subr.c
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2019-01-06 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan  6 11:20:53 UTC 2019

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Only execute dssall when the CPU has the Altivec instruction set extension.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-11-21 Thread Sean Cole
Module Name:src
Committed By:   scole
Date:   Wed Nov 21 17:54:43 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
don't bother reading ofw properties for platinumfb


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-08-17 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Aug 17 15:54:35 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
parse G5 device paths


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-06-15 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri Jun 15 23:11:39 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Fix fmttab value for L2CR_L2PE (parity enabled) so that we don't print
self-contradictory "no parity parity enabled".


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-06-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jun  8 23:40:44 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
when switching CPU speed using DFS, only use xcalls on MULTIPROCESSOR kernels


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-03-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Mar  4 21:51:44 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
avoid 32 bit only code in 64 bit mode.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-03-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun Mar  4 00:21:20 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
detect if we netboot and set booted_device accordingly


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-03-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Mar  3 22:50:17 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
get bootpath from OF if we don't get it as an argument


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-03-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Mar  2 14:45:23 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
add a comment to explain why we defer wsdisplay_preattach() in bridge mode


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/oea/ofw_rascons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-03-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Mar  2 14:37:18 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c ofw_rasconsvar.h
ofwoea_machdep.c

Log Message:
defer scribbling into video memory until after re-enabling the MMU if
we're in bridge mode.
With this NetBSD boots on PCI-X G5s


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/powerpc/oea/ofw_rascons.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/powerpc/oea/ofw_rasconsvar.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-02-16 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Feb 16 18:02:10 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
use mtspr64() in bridge mode


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-02-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 11 00:01:12 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
introduce a inline function to set a value to zero while
hiding this fact from GCC.  this allows the PPC code that
writes to address zero to actually work rather than cause
GCC to emit an explicit "trap" instruction, which in early
boot means hang on my pegasosII.  use this in oae_init()
for both rfid->rfi and also setting the jump-to-zero trap.

found with a lot of debugging, but GCC 6's new warning
-Wnull-dereference found it when i was informed of its
existence.  unfortunately, there are dozens of other
violations in our kernel today so simply enabling that
option for everything is not a good idea, but is a goal.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2018-01-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jan  6 09:46:22 UTC 2018

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
fix a few typos in comments


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-09-29 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Sep 30 03:34:04 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
use 7450 HID0 bitmask on 7447A and 7448 as well


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:45:56 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
add quick path for timebase-frequency detection
deal with differences in /u4 reg property encoding vs. /uni-n, so this works
on my G5 now


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-09-15 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 15 21:27:46 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
flesh out RANGE_TYPE_MACIO


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-07-10 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Jul 11 03:07:22 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
inline HAVE_64BIT_HID0 and remove macro definition.

Fixes llvm INSTALL kernel build, which failed with:
error: macro expansion producing 'defined' has undefined behavior


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-07-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jul  7 23:45:53 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
remove accidential debug printf()


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2017-07-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jul  7 22:30:28 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
deal with ppc970's HID0


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2016-05-30 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Mon May 30 13:04:24 UTC 2016

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
allocate cpuset structures needed by MP DDB.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2016-02-14 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Feb 14 18:12:31 UTC 2016

Modified Files:
src/sys/arch/powerpc/oea: ofw_consinit.c

Log Message:
Add missing va_end, from David Binderman in PR 50798.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/oea/ofw_consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2016-02-14 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Feb 14 18:07:49 UTC 2016

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Add missing va_end; PR 50795 from David Binderman.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2015-07-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jul  6 05:20:50 UTC 2015

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
Don't preserve PSL_FP/PSL_VEC in cpu_setmcontext.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2015-07-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jul  6 02:43:26 UTC 2015

Modified Files:
src/sys/arch/powerpc/oea: altivec.c

Log Message:
Don't reload if just re-enabling


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/oea/altivec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2014-08-10 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Aug 10 17:49:04 UTC 2014

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Update conditions on mfsrin definition to match use.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2014-03-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar 25 16:41:37 UTC 2014

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
sprintf -> snprintf


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2014-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb 28 05:35:49 UTC 2014

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Use uintptr_t instead of int.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2014-02-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb 28 05:34:39 UTC 2014

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
Use more appropriate type.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2014-02-18 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Feb 18 12:27:15 UTC 2014

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
when looking for SCSI disks in canonicalize_bootpath() also match 'disk@'
since that's what at least some Adaptec firmware uses


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-11-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Nov  3 22:27:27 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c oea_machdep.c ofwoea_machdep.c

Log Message:
- remove set but unused variables
- move some variables inside their relevant use #ifdef


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/powerpc/oea/cpu_subr.c
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-11-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Nov  3 22:15:58 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
gcc 4.8.1 wants:
- remove some set but unused variables
- move some variables inside their usage #ifdef's
- cast to (void) instead of using a dummy return variable

(there are more to come, but this one is now tested with gcc 4.5)


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-09-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Sep 22 18:56:11 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Fix c&p bug.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-09-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Sep 22 18:49:10 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Disable XBSEN for the 7450.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-09-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Sep 22 18:05:16 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Make sure ABE/SYNCBE are enabled in HID1 for the 7450 CPUs
Enable XBSEN for the 7450.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-08-31 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 31 15:01:08 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
convert rfid to rfi in exception handlers.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-08-31 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug 31 07:33:15 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c ofwoea_machdep.c

Log Message:
Move the pmap_setup to the start oea_init (no non-OFW ports can use it).
If PPC_OEA64_BRIDGE is defined, add code so that when OEACPU_64_BRIDGE is not
present, it replaces the rfid with rfi and mfmsr/rldicl/mtmsrd sequence
with NOPs.  This allows plain OEA kernels to work.  (tested on PMPPC with
PPC_OEA64_BRIDGE option added).


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-08-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug 23 06:21:33 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: altivec.c

Log Message:
Get rid of MDLWP_USED{FPU,VEC}


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/oea/altivec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-07-04 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jul  4 22:59:28 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
When trying to write into page 0, use volatile to force the compiler to
actually create this access.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-05-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Mon May 13 00:12:01 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
more G5 stuff:
- call OF_quiesce()
- properly map the message buffer


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-05-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun May 12 13:23:08 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c ofw_consinit.c

Log Message:
move console_node and console_instance to ofw_consinit.c where they're
actually used


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/powerpc/oea/ofw_autoconf.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_consinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-04-27 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun Apr 28 00:44:27 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
some macppc boxes have onboard devices where parts or the whole PCI interrupt
register is hardwired to zero - fix this up here


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-04-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr 11 18:04:20 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
for some reason we can't use the ROM font on G5, so disable it with
options OFWOEA_WSCONS_NO_ROM_FONT
from Phileas Fogg


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/oea/ofw_rascons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2013-03-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 28 00:22:22 UTC 2013

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Fix loop bug (Phileas Fogg)


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-10-20 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat Oct 20 13:18:45 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Fix broken cpu_hatch_stack.
And define macro HATCH_STACK_SIZE.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-10-20 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat Oct 20 13:10:44 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Remove white-spaces.  And remove unused 'extern void tlbia()'.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-07-16 Thread Julio Merino
Module Name:src
Committed By:   jmmv
Date:   Tue Jul 17 03:13:31 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
OF_finddevice returns -1 on error, not an arbitrary negative number.  Make
conditional explicit so that model_name gets a chance to be initialized when
the handle for the device is actually negative (which appears to be the case
in my Mac Mini G4).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-05-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu May 24 00:40:12 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
copy properties for valkyriefb as well


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-05-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue May  8 05:15:45 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
provide a BAT mapping for the PCI IO range on Grackle/Heathrow based macs
now drivers that need PCI IO access work again


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-02-15 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb 16 07:59:46 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c ofwoea_machdep.c

Log Message:
Allow use of large (>256MB) bats for iobats.  If XBSEN isn't present, they
will be "downsized" into multiple 256MB bats.  Tested by riz.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-02-14 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Feb 15 01:56:58 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c ofwoea_machdep.c

Log Message:
fix crash during early startup - we can't call OpenFirmware between zapping
the BATs and complete setting them up again
ok releng


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-02-11 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sat Feb 11 13:53:59 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: prep_machdep.c

Log Message:
Fix panic() on KASSERT(len >= BAT_BL_8M) in oea_iobat_add().  Thanks phx@.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/oea/prep_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2012-02-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb  3 19:29:59 UTC 2012

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
Use CPP __VA_ARGS__ for DPRINTF*


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-08-07 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Sun Aug  7 14:47:05 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: prep_machdep.c

Log Message:
Set BeBox Mainboard Registers space to BAT register.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/oea/prep_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-08-04 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Aug  4 20:02:48 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Drop into ddb, when requested by ofwboot (-d option).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-07-27 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jul 27 22:04:23 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S ofwoea_machdep.c

Log Message:
move clearing PSL_IP in ofwmsr back where it was - if we do it too early my
PowerBook 3400c hangs on startup.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/oea/ofw_subr.S
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-07-01 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jul  2 00:22:06 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Select pmap style before calling oea_init.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-20 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun 20 16:31:28 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Initialize sensor state before registering.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Jun 18 20:34:39 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c

Log Message:
Call cpu_fixup_stubs at the end of oea_machdep


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/powerpc/oea/oea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jun 17 23:15:09 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: genassym.cf

Log Message:
Add IPL_HIGH and IPL_SCHED so locore.S can use them.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/oea/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-15 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jun 16 04:38:21 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: genassym.cf

Log Message:
ifdef / define / endif can't be the first thing.  So move that block down.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/oea/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-15 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jun 16 04:25:13 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Make sure to set curlwp (aka r13) in cpu_hatch


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jun 12 16:35:10 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: ofw_subr.S ofwoea_machdep.c

Log Message:
Save/restore all sprgs when calling OFW.
Move all-zero variables from .data to .bss
Use .lcomm for local variables.
Cleanup a bit of assembly.
Clear PSL_IP in the saved ofmsr (was previously done in ofwoea_machdep.c)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/oea/ofw_subr.S
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jun 12 16:27:52 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c

Log Message:
Use mtsprg0 instead of mtsprg 0,r


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/powerpc/oea/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-05-24 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed May 25 05:42:37 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: altivec.c

Log Message:
Set PSL_VEC in the right place.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/powerpc/oea/altivec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-05-01 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May  2 01:49:23 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
A little PMAP_OEA64 pmap support.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-02-27 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sun Feb 27 09:01:57 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: pmap_kernel.c

Log Message:
Missing semicolon.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/oea/pmap_kernel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-02-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Feb 26 22:33:46 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: pmap_kernel.c

Log Message:
Can't pass a void.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/oea/pmap_kernel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2011-02-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb 18 16:40:51 UTC 2011

Modified Files:
src/sys/arch/powerpc/oea: pmap.c pmap_kernel.c

Log Message:
Move powerpc_mmap_flags since pmap.c can get compiled multiple time resulting
in multiple defintions of powerpc_mmap_flags.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/powerpc/oea/pmap.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/oea/pmap_kernel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   >