svn commit: r329013 - head/usr.bin/vmstat

2018-02-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 8 05:18:30 2018 New Revision: 329013 URL: https://svnweb.freebsd.org/changeset/base/329013 Log: Temporarily widen count for interrupt rate calculations on 32-bit archs If the interrupt count is very high (greater than ~42M), notably on one-shot execution on

Re: svn commit: r329077 - head/usr.bin/tftp

2018-02-10 Thread Justin Hibbits
On Fri, Feb 9, 2018 at 7:22 PM, Ed Maste wrote: > On 9 February 2018 at 14:46, Conrad Meyer wrote: >> Author: cem >> Date: Fri Feb 9 19:46:51 2018 >> New Revision: 329077 >> URL: https://svnweb.freebsd.org/changeset/base/329077 >> >> Log: >> tftp(1): Fix libedit state corruption involving sign

svn commit: r329106 - head/usr.bin/tftp

2018-02-10 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 10 17:17:15 2018 New Revision: 329106 URL: https://svnweb.freebsd.org/changeset/base/329106 Log: Fix uninitialized warning, and work around a bug in gcc over clobbering Summary: r329077 caused gcc to emit uninitialized use warnings. Attempting to fix thos

Re: svn commit: r329077 - head/usr.bin/tftp

2018-02-10 Thread Justin Hibbits
On Sat, Feb 10, 2018 at 11:10 AM, Pedro Giffuni wrote: > > > On 02/10/18 11:13, Justin Hibbits wrote: >> >> On Fri, Feb 9, 2018 at 7:22 PM, Ed Maste wrote: >>> >>> On 9 February 2018 at 14:46, Conrad Meyer wrote: >>>> >>>> Au

svn commit: r329190 - in head/stand: . common mips/beri/loader powerpc/kboot powerpc/ofw sparc64/loader uboot/common uboot/lib

2018-02-12 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 13 03:44:50 2018 New Revision: 329190 URL: https://svnweb.freebsd.org/changeset/base/329190 Log: Unify metadata load files for arm, mips, powerpc, sparc64 Summary: All metadata.c files are very similar, with only trivial changes. Unify them into a single

svn commit: r329225 - head/sys/geom/part

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 13 17:40:09 2018 New Revision: 329225 URL: https://svnweb.freebsd.org/changeset/base/329225 Log: Narrow a race, and fix a leak, in g_part_wither A race in g_part_wither() can lead to I/O being performed with a freed GEOM when the device disappears. Close th

svn commit: r329257 - head/sys/powerpc/pseries

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 02:48:27 2018 New Revision: 329257 URL: https://svnweb.freebsd.org/changeset/base/329257 Log: powerpc64/pseries: Define new hcalls Summary: Define new hcalls as in 'Linux on Power Architecture Platform Reference' version 1.1 (24 March 2016) downloaded f

svn commit: r329258 - head/sys/powerpc/pseries

2018-02-13 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 02:51:28 2018 New Revision: 329258 URL: https://svnweb.freebsd.org/changeset/base/329258 Log: PPC64: Get the timestap from the proper OF field Summary: After revision rS328534('PPC64: use hwref instead of cpuid'), FreeBSD on powerpc64 virtual machine pa

svn commit: r329262 - head/sys/geom/part

2018-02-14 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 14 15:12:09 2018 New Revision: 329262 URL: https://svnweb.freebsd.org/changeset/base/329262 Log: Fix a panic introduced in r329225 Some GEOM partition tables may be destroyed with incomplete partition entries. Guard against this with NULL checks. Repor

svn commit: r329469 - in head/sys/powerpc: aim booke include powerpc ps3 pseries

2018-02-17 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 17 20:59:12 2018 New Revision: 329469 URL: https://svnweb.freebsd.org/changeset/base/329469 Log: Merge AIM and Book-E PCPU fields This is part of a long-term goal of merging Book-E and AIM into a single GENERIC kernel. As more work is done, the struct may

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

2018-02-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 21 03:34:33 2018 New Revision: 329695 URL: https://svnweb.freebsd.org/changeset/base/329695 Log: Split printtrap() into generic and CPU-specific components Summary: This compartmentalizes the CPU-specific trap components into its own function, rather than

svn commit: r329891 - in head/sys/powerpc: include mpc85xx powerpc

2018-02-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 01:46:56 2018 New Revision: 329891 URL: https://svnweb.freebsd.org/changeset/base/329891 Log: Remove platform_cpu_idle() and platform_cpu_idle_wakeup() interfaces These interfaces were put in place to let QorIQ SoCs dictate CPU idling semantics, in order

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

2018-02-24 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 17:29:29 2018 New Revision: 329915 URL: https://svnweb.freebsd.org/changeset/base/329915 Log: Unbreak the build after r329891 I was apparently a little too excited with deleting code, and apparently didn't do a final test build before commit. Restore cpu

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

2018-02-24 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 17:53:22 2018 New Revision: 329916 URL: https://svnweb.freebsd.org/changeset/base/329916 Log: Change ident for QORIQ64 kernel conf Make it match the conf file name. Modified: head/sys/powerpc/conf/QORIQ64 Modified: head/sys/powerpc/conf/QORIQ64

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

2018-02-24 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 17:54:12 2018 New Revision: 329917 URL: https://svnweb.freebsd.org/changeset/base/329917 Log: Make MPC85XXSPE kernel conf ident match the file name Modified: head/sys/powerpc/conf/MPC85XXSPE Modified: head/sys/powerpc/conf/MPC85XXSPE

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

2018-02-24 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 24 18:12:38 2018 New Revision: 329918 URL: https://svnweb.freebsd.org/changeset/base/329918 Log: Unbreak 64-bit Book-E builds post r329712 can_wakeup is defined only in AIM's locore64.S, so conditionalize use of it on AIM in addition to powerpc64. Modified:

svn commit: r330003 - head/sys/powerpc/booke

2018-02-25 Thread Justin Hibbits
Author: jhibbits Date: Mon Feb 26 03:05:36 2018 New Revision: 330003 URL: https://svnweb.freebsd.org/changeset/base/330003 Log: Correct a copy&paste-o -- altivec assist interrupt, not watchdog Modified: head/sys/powerpc/booke/trap_subr.S Modified: head/sys/powerpc/booke/trap_subr.S =

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

2018-02-26 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 27 04:23:03 2018 New Revision: 330051 URL: https://svnweb.freebsd.org/changeset/base/330051 Log: Fix a minor typo. Modified: head/sys/powerpc/powerpc/cpu.c Modified: head/sys/powerpc/powerpc/cpu.c

svn commit: r330052 - head/sys/powerpc/booke

2018-02-26 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 27 04:38:27 2018 New Revision: 330052 URL: https://svnweb.freebsd.org/changeset/base/330052 Log: Increase the size of a reservation granule for TLB locks A reservation granule on PowerPC is a cache line. On e500mc and derivatives a cacheline size is 64 by

svn commit: r330147 - head/sys/powerpc/booke

2018-02-28 Thread Justin Hibbits
Author: jhibbits Date: Thu Mar 1 04:44:17 2018 New Revision: 330147 URL: https://svnweb.freebsd.org/changeset/base/330147 Log: Fix the psl_userset32 definition. It should be based on psl_userset, not psl_kernset. As kernset, it would inherit kernel config, including privilege level. Mo

Re: svn commit: r330845 - in head/sys/powerpc: aim ofw powerpc

2018-03-13 Thread Justin Hibbits
This broke the powerpc (32-bit) build. On Tue, Mar 13, 2018 at 10:03 AM, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Tue Mar 13 15:03:58 2018 > New Revision: 330845 > URL: https://svnweb.freebsd.org/changeset/base/330845 > > Log: > Execute PowerPC64/AIM kernel from direct map region wh

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

2018-03-14 Thread Justin Hibbits
On Wed, Mar 14, 2018 at 11:16 AM, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Wed Mar 14 16:16:25 2018 > New Revision: 330930 > URL: https://svnweb.freebsd.org/changeset/base/330930 > > Log: > The expression (aim | fdt) is always true on PowerPC. The last PowerPC > platform that can r

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

2018-03-14 Thread Justin Hibbits
On Wed, Mar 14, 2018 at 12:53 PM, Nathan Whitehorn wrote: > > > On 03/14/18 09:19, Justin Hibbits wrote: >> >> On Wed, Mar 14, 2018 at 11:16 AM, Nathan Whitehorn >> wrote: >>> >>> Author: nwhitehorn >>> Date: Wed Mar 14 16:16:25 2018 >&g

svn commit: r331231 - head/sys/powerpc/booke

2018-03-19 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 20 01:07:22 2018 New Revision: 331231 URL: https://svnweb.freebsd.org/changeset/base/331231 Log: Fix powerpc Book-E build post-331018/331048. pagedaemon_wakeup() was moved from vm_pageout.h to vm_pagequeue.h. Modified: head/sys/powerpc/booke/pmap.c Modifie

svn commit: r331233 - head/sys/kern

2018-03-19 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 20 02:01:30 2018 New Revision: 331233 URL: https://svnweb.freebsd.org/changeset/base/331233 Log: Cast through uintptr_t to narrow the buf domain pointer on 32-bit archs arg2 is an intmax_t, which on 32-bit architectures is 64 bits, wider than a pointer. Whe

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

2016-08-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 26 03:36:37 2016 New Revision: 304829 URL: https://svnweb.freebsd.org/changeset/base/304829 Log: Prevent BSS from being cleared twice on BookE Summary: First time BSS is cleared in booke_init(), Second time it's cleared in powerpc_init(). Any variable ini

svn commit: r304940 - head/sys/dev/uart

2016-08-27 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 28 04:40:27 2016 New Revision: 304940 URL: https://svnweb.freebsd.org/changeset/base/304940 Log: Fix UART PPS capture mode printing * Add breaks to prevent fallthrough and printing of multiple modes. * Only check the mode, mask out all other bits. Modified:

svn commit: r304970 - in head/sys/dev: ofw uart

2016-08-28 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 28 21:31:21 2016 New Revision: 304970 URL: https://svnweb.freebsd.org/changeset/base/304970 Log: Check all compatible strings on uart devices in powerpc Summary: Some device trees put "fsl,ns16650" first in the compatible list. This causes the probe code

svn commit: r305040 - head/sys/dev/tsec

2016-08-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 30 01:58:49 2016 New Revision: 305040 URL: https://svnweb.freebsd.org/changeset/base/305040 Log: Add support for NXP/Freescale etsec2 ethernet controller Adding the compatible property check isn't enough. Device trees for eTSEC2 devices are missing a 'reg'

svn commit: r305043 - head/sys/powerpc/mpc85xx

2016-08-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 30 02:09:40 2016 New Revision: 305043 URL: https://svnweb.freebsd.org/changeset/base/305043 Log: Attach and LAW problems to fix Summary: 1) Attach problem - mpc85xx_probe() relies on fact that 0xfff0 mask matches all QorIQ CPUs what is not true since e650

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

2016-09-02 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 3 04:09:03 2016 New Revision: 305320 URL: https://svnweb.freebsd.org/changeset/base/305320 Log: Use the right ifdef macro. "E500" is not defined, but "BOOKE_E500" is. Without this the idle hook cannot be called. MFC after:1 week Modified: head/

svn commit: r305321 - head/sys/powerpc/mpc85xx

2016-09-02 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 3 04:21:40 2016 New Revision: 305321 URL: https://svnweb.freebsd.org/changeset/base/305321 Log: Return a NULL pointer (0 vm_offset) on error in map_dcsr(). mpc85xx_map_dcsr() returns a vm_offset_t, not an error code. Follow-up to r304069. Modified: head

svn commit: r305517 - head/sys/powerpc/booke

2016-09-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 7 03:26:55 2016 New Revision: 305517 URL: https://svnweb.freebsd.org/changeset/base/305517 Log: Allow pmap_early_io_unmap() to reclaim memory pmap_early_io_map()/pmap_early_io_unmap(), if used in pairs, should be used in the form: pmap_early_io_map()

svn commit: r305520 - head/sys/powerpc/mpc85xx

2016-09-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 7 04:13:28 2016 New Revision: 305520 URL: https://svnweb.freebsd.org/changeset/base/305520 Log: Disable the qoriq errata fix for now It hangs more often than it actually works it seems. Further debugging is needed to determine why, but for now the system n

svn commit: r305636 - head/sys/ddb

2016-09-08 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 9 04:16:53 2016 New Revision: 305636 URL: https://svnweb.freebsd.org/changeset/base/305636 Log: Correct the type of db_cmd_loop_done. On big endian hardware that uses 1 byte bool a type mismatch of bool vs int will cause the least signifcant byte of db_cmd

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

2016-09-09 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 10 01:09:58 2016 New Revision: 305677 URL: https://svnweb.freebsd.org/changeset/base/305677 Log: Add ehci to the MPC85XX build Many QorIQ and MPC85xx SoCs have USB support, so add it to the kernel. MFC after:1 week Modified: head/sys/powerpc/conf/M

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

2016-09-14 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 14 23:24:23 2016 New Revision: 305820 URL: https://svnweb.freebsd.org/changeset/base/305820 Log: Only define db_show_spr if DDB is enabled. PR: 212667 Reported by: Kenneth Salerno Modified: head/sys/powerpc/powerpc/machdep.c Modified: head/sy

svn commit: r305894 - head/sys/boot/powerpc/boot1.chrp

2016-09-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 16 22:51:37 2016 New Revision: 305894 URL: https://svnweb.freebsd.org/changeset/base/305894 Log: Increase the boot1 file size on the HFS boot image. The boot1.elf is too fat for 30k, it's not 32k on powerpc64, and 34k on powerpc. Without this, boot1 will fa

Re: svn commit: r305894 - head/sys/boot/powerpc/boot1.chrp

2016-09-16 Thread Justin Hibbits
On Sep 16, 2016 17:51, "Justin Hibbits" wrote: > > Author: jhibbits > Date: Fri Sep 16 22:51:37 2016 > New Revision: 305894 > URL: https://svnweb.freebsd.org/changeset/base/305894 > > Log: > Increase the boot1 file size on the HFS boot image. > > The bo

svn commit: r306064 - head/sys/powerpc/mpc85xx

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:27:23 2016 New Revision: 306064 URL: https://svnweb.freebsd.org/changeset/base/306064 Log: Add yet another QorIQ GPIO compat string. P1022 boards use the string "fsl,pq3-gpio", which seems to be common in Linux dts files. Modified: head/sys/powerpc/

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

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:28:39 2016 New Revision: 306065 URL: https://svnweb.freebsd.org/changeset/base/306065 Log: Add a ofw_parse_bootargs function, and use it for powerpc Summary: If the environment variable is set, U-boot adds a 'bootargs' property to /chosen. This is a

svn commit: r306066 - head/sys/conf

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:56:57 2016 New Revision: 306066 URL: https://svnweb.freebsd.org/changeset/base/306066 Log: Move ofw_cpu file to the main files conf file. There is nothing CPU specific here, and it's usable by both fdt and Open Firmware based systems. Rather than keep

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

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 03:10:41 2016 New Revision: 306067 URL: https://svnweb.freebsd.org/changeset/base/306067 Log: Move ofw_parse_bootargs to the correct place. Also, create a static initial environment, so bootargs can be set from uboot. Modified: head/sys/powerpc/powerpc/m

Re: svn commit: r306065 - in head/sys vs. PowerMacs: Nathan's trail patch included but inappropriate?

2016-09-21 Thread Justin Hibbits
On Sep 21, 2016, at 1:46 AM, Mark Millard wrote: The following from https://lists.freebsd.org/pipermail/svn-src-head/2016-September/091934.html seems in include a patch that Nathan made for testing on PowerMac/ iMac/Xserve G5's that failed the PowerMac7,3 test that was tried by Jukka A. Ukk

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

2016-09-21 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 22:09:17 2016 New Revision: 306147 URL: https://svnweb.freebsd.org/changeset/base/306147 Log: Revert part of r306065 This is a separate change I was testing. Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_machdep.c =

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

2016-09-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 24 05:27:12 2016 New Revision: 306288 URL: https://svnweb.freebsd.org/changeset/base/306288 Log: Fix ds1307 probing 'compat' can never be NULL, because the compatible check loop ends when compat->ocd_str is NULL. This causes ds1307 to attach to any unclaime

svn commit: r306358 - in head/sys: conf powerpc/conf powerpc/mpc85xx

2016-09-26 Thread Justin Hibbits
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/mpc85xx/fsl_diu.c Tue Sep 27 00:53:41 2016 (r306358) @@ -0,0 +1,479 @@ +/*- + * Copyright (c) 2015 Justin Hibbits + * All rights reserved. + * + * Redistribution and use in source and binary

svn commit: r306473 - head/sys/dev/fdt

2016-09-29 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 30 02:48:40 2016 New Revision: 306473 URL: https://svnweb.freebsd.org/changeset/base/306473 Log: Use the cell-index property as the unit number if available. Summary: NXP/Freescale, among others, includes an optional cell-index property on nodes to denote

Re: svn commit: r306473 - head/sys/dev/fdt

2016-09-29 Thread Justin Hibbits
athan Whitehorn" wrote: > I'm a little dubious about this change. It's not really safe to rely on > newbus unit numbers anywhere, so making them meaningful in this context > seems like a bad idea. > -Nathan > > On 09/29/16 19:48, Justin Hibbits wrote: > >>

Re: svn commit: r306473 - head/sys/dev/fdt

2016-09-29 Thread Justin Hibbits
not sure I understand your suggested complication, but will leave the > choice to you in any case. > -Nathan > > On 09/29/16 21:16, Justin Hibbits wrote: > >> >> It's more cosmetic than anything else. I did realize a potential >> complication with it tonight, to

svn commit: r306545 - head/sys/dev/fdt

2016-09-30 Thread Justin Hibbits
Author: jhibbits Date: Sat Oct 1 01:10:51 2016 New Revision: 306545 URL: https://svnweb.freebsd.org/changeset/base/306545 Log: Revert r306473. Some objections were noted, and it was purely a cosmetic change anyway. Modified: head/sys/dev/fdt/simplebus.c Modified: head/sys/dev/fdt/simpl

svn commit: r306702 - head/sys/powerpc/mpc85xx

2016-10-04 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 5 04:40:48 2016 New Revision: 306702 URL: https://svnweb.freebsd.org/changeset/base/306702 Log: Fix e500mc/derivatives cpu idle Setting the doze registers wasn't actually working, and was being masked by a bad #ifdef. Since the #ifdef was fixed, now e500mc

svn commit: r306838 - head/sys/powerpc/mpc85xx

2016-10-07 Thread Justin Hibbits
== --- head/sys/powerpc/mpc85xx/fsl_diu.c Sat Oct 8 01:12:29 2016 (r306837) +++ head/sys/powerpc/mpc85xx/fsl_diu.c Sat Oct 8 01:18:01 2016 (r306838) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2015 Justin Hibbits

svn commit: r306839 - in head/sys/contrib/ncsw: inc user/env

2016-10-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Oct 8 05:26:45 2016 New Revision: 306839 URL: https://svnweb.freebsd.org/changeset/base/306839 Log: Minor optimizations to dTSEC glue code Don't call pmap_kextract() multiple times, it wastes CPU cycles, which in a high performance environment can be very expe

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

2016-10-15 Thread Justin Hibbits
Author: jhibbits Date: Sun Oct 16 04:22:04 2016 New Revision: 307388 URL: https://svnweb.freebsd.org/changeset/base/307388 Log: Fix booting on systems that use loader(8) (most of them). r306065/r306067 introduced ofw_parse_bootargs(), setting environment variables from Open Firmware's /ch

svn commit: r313036 - in head/sys/powerpc: booke include

2017-01-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 1 03:29:13 2017 New Revision: 313036 URL: https://svnweb.freebsd.org/changeset/base/313036 Log: Add Book-E Enhanced Debug (E.D) profile debug support Freescale added the E.D profile to e500mc and derivative cores. From Freescale's EREF reference manual thi

svn commit: r313411 - head/contrib/elftoolchain/libelftc

2017-02-07 Thread Justin Hibbits
Author: jhibbits Date: Wed Feb 8 03:21:29 2017 New Revision: 313411 URL: https://svnweb.freebsd.org/changeset/base/313411 Log: Add elf*-powerpc-freebsd targets to the elftoolchain target list FreeBSD uses the full target triple when generating embedded rootfs images (MFS_IMAGE= make opti

svn commit: r313964 - in head/sys: conf powerpc/mikrotik

2017-02-19 Thread Justin Hibbits
led.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/mikrotik/rb_led.c Sun Feb 19 19:56:12 2017 (r313964) @@ -0,0 +1,149 @@ +/*- + * Copyright (c) 2017 Justin Hibbits + * All rights res

svn commit: r314024 - head/sys/powerpc/booke

2017-02-20 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 21 05:08:07 2017 New Revision: 314024 URL: https://svnweb.freebsd.org/changeset/base/314024 Log: Correct the return value for pmap_change_attr() pmap_change_attr() returns an error code, not a paddr. This function is currently unused for powerpc. MFC a

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

2017-02-27 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 28 04:13:20 2017 New Revision: 314370 URL: https://svnweb.freebsd.org/changeset/base/314370 Log: Unbreak kernel breakpoints, broken for ~4 years now When committing DTrace in 2012/2013 era I inadvertently broke breakpoints, by setting EXC_DTRACE to the same

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

2017-02-27 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 28 04:31:28 2017 New Revision: 314371 URL: https://svnweb.freebsd.org/changeset/base/314371 Log: Make kernel breakpoints work for book-e Add the necessary bits to enable kernel breakpoints for Book-E. The entrypoint for program exception is very trivial, s

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

2017-03-06 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 7 02:17:38 2017 New Revision: 314826 URL: https://svnweb.freebsd.org/changeset/base/314826 Log: Clang in base now supports -mlongcall, so remove this hack PR: 215947 MFC after:2 weeks Modified: head/lib/csu/powerpc64/Makefile Modified: hea

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

2017-03-07 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 7 22:11:57 2017 New Revision: 314885 URL: https://svnweb.freebsd.org/changeset/base/314885 Log: Fix booting with >4GB RAM on PowerMac G5 hardware === From Nathan Whitehorn: Open Firmware runs in virtual mode on the Powermac G5. This runs inside the k

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

2017-07-17 Thread Justin Hibbits
Author: jhibbits Date: Tue Jul 18 01:08:45 2017 New Revision: 321104 URL: https://svnweb.freebsd.org/changeset/base/321104 Log: Make ZFS not crash on mount on 32-bit systems ZPL_VERSION is unsigned long long, not an int. With this change, a zpool can be created on a 32-bit system (teste

svn commit: r321318 - in head/sys: conf powerpc/cpufreq

2017-07-20 Thread Justin Hibbits
85xx_jog.c Fri Jul 21 03:40:05 2017 (r321318) @@ -0,0 +1,343 @@ +/*- + * Copyright (c) 2017 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

svn commit: r321320 - head/sys/conf

2017-07-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Jul 21 03:48:09 2017 New Revision: 321320 URL: https://svnweb.freebsd.org/changeset/base/321320 Log: Compile the atomic64 emulation for powerpcspe With this, ZFS builds for and runs (not quite stablely) on powerpcspe. Modified: head/sys/conf/files.powerpc Modi

svn commit: r321785 - head/usr.bin/calendar/calendars

2017-07-31 Thread Justin Hibbits
+69,7 @@ 02/14 Erwin Lansing born in 's-Hertogenbosch, the Netherlands, 1975 02/14 Martin Blapp born in Olten, Switzerland, 1976 02/15 Hiren Panchasara born in Ahmedabad, Gujarat, India, 1984 +02/16 Justin Hibbits born in Toledo, Ohio, United States, 1983 02/19 Murray Stokely bo

Re: svn commit: r322969 - in head: sbin/mdconfig sys/dev/md sys/sys

2017-08-29 Thread Justin Hibbits
On Aug 29, 2017 14:18, "Maxim Sobolev" wrote: John, OK, maybe you are right and the current status quo was just an accident. I am curious what do you and other people think about expressing expected structure size and padding more explicitly instead of trying to accommodate for sometimes intricat

svn commit: r323161 - head/usr.sbin/binmiscctl

2017-09-04 Thread Justin Hibbits
Author: jhibbits Date: Mon Sep 4 20:57:38 2017 New Revision: 323161 URL: https://svnweb.freebsd.org/changeset/base/323161 Log: Correct the binmiscctl(8) man page for powerpc64 Magic for powerpc64 erroneously specified ELFCLASS32 instead of ELFCLASS64. Submitted by: luca.pizzamiglio _A

Re: svn commit: r323161 - head/usr.sbin/binmiscctl

2017-09-04 Thread Justin Hibbits
On Mon, Sep 4, 2017 at 3:57 PM, Justin Hibbits wrote: > Author: jhibbits > Date: Mon Sep 4 20:57:38 2017 > New Revision: 323161 > URL: https://svnweb.freebsd.org/changeset/base/323161 > > Log: > Correct the binmiscctl(8) man page for powerpc64 > > Magic for powe

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

2017-09-08 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 9 02:08:22 2017 New Revision: 323339 URL: https://svnweb.freebsd.org/changeset/base/323339 Log: Add some more PVR and SVR defines These processors may not be supported yet, but add them for completion. POWER9 is planned for support. e300 may work (based

svn commit: r323340 - head/sys/powerpc/mpc85xx

2017-09-08 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 9 02:19:44 2017 New Revision: 323340 URL: https://svnweb.freebsd.org/changeset/base/323340 Log: Add P5021 and P5040 conditions for LAW count check. P5040/P5021 have the same number of LAWs as P5020. There may be a better way of getting the count from the

Re: svn commit: r323290 - head/sys/vm

2017-09-16 Thread Justin Hibbits
On Sep 16, 2017 14:02, "Andreas Tobler" wrote: On 14.09.17 22:32, Mark Johnston wrote: > On Thu, Sep 14, 2017 at 09:51:17PM +0200, Andreas Tobler wrote: > >> Hi Mark, >> >> On 07.09.17 23:43, Mark Johnston wrote: >> >>> Author: markj >>> Date: Thu Sep 7 21:43:39 2017 >>> New Revision: 323290 >>

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

2017-09-17 Thread Justin Hibbits
Author: jhibbits Date: Sun Sep 17 19:40:17 2017 New Revision: 323684 URL: https://svnweb.freebsd.org/changeset/base/323684 Log: Print the correct bitmask for the running Book-E CPU All the Book-E world is no longer e500v{1,2}. e500mc the 64-bit derivatives do not use the DOZE/NAP bits w

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

2017-09-17 Thread Justin Hibbits
Author: jhibbits Date: Sun Sep 17 20:07:20 2017 New Revision: 323687 URL: https://svnweb.freebsd.org/changeset/base/323687 Log: Don't use a non-zero argument for __builtin_frame_address __builtin_frame_address with a non-zero argument is unsafe and rejected by newer gcc. Since it doesn't

Re: svn commit: r324178 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua

2017-10-01 Thread Justin Hibbits
On Oct 1, 2017 15:48, "Ian Lepore" wrote: On Sun, 2017-10-01 at 22:37 +0200, O. Hartmann wrote: > Am Sun, 1 Oct 2017 20:12:30 + (UTC) > Andriy Gapon schrieb: > > > > > Author: avg > > Date: Sun Oct 1 20:12:30 2017 > > New Revision: 324178 > > URL: https://svnweb.freebsd.org/changeset/base/3

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

2018-11-04 Thread Justin Hibbits
Author: jhibbits Date: Mon Nov 5 01:53:20 2018 New Revision: 340147 URL: https://svnweb.freebsd.org/changeset/base/340147 Log: powerpc/SMP: Don't spam the console with AP bringup messages Especially on new POWER9 systems, the console can be filled with SMP: AP CPU #XX launched

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

2018-11-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 7 01:42:00 2018 New Revision: 340209 URL: https://svnweb.freebsd.org/changeset/base/340209 Log: powerpc/atomic: Loosen the memory barrier on atomic_load_acq_*() 'sync' is pretty heavy-handed, and is unnecessary for this use case. It's a full barrier, which

svn commit: r340261 - head/sys/powerpc/powernv

2018-11-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 20:31:12 2018 New Revision: 340261 URL: https://svnweb.freebsd.org/changeset/base/340261 Log: powerpc/powernv: Restrict the busdma tag to only POWER8 It seems this tag is causing problems on POWER9 systems. Since no POWER9 user has encountered the proble

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

2018-11-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 20:48:44 2018 New Revision: 340262 URL: https://svnweb.freebsd.org/changeset/base/340262 Log: powerpc64: Fix "show spr" command on ELFv2 kernels Summary: When compiling for ELFv2, it is necessary to adjust the offset to get_spr and factor in the function

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

2018-11-09 Thread Justin Hibbits
Author: jhibbits Date: Sat Nov 10 02:37:56 2018 New Revision: 340312 URL: https://svnweb.freebsd.org/changeset/base/340312 Log: powerpc: Use MAX() macro instead of max() inline function to calculate Maxmem Maxmem is the highest address for physical memory in the system. It's measured in

Re: svn commit: r340632 - head/sys/powerpc/conf

2018-11-19 Thread Justin Hibbits
On Mon, 19 Nov 2018 15:36:58 + (UTC) Niclas Zeising wrote: > Author: zeising (doc,ports committer) > Date: Mon Nov 19 15:36:58 2018 > New Revision: 340632 > URL: https://svnweb.freebsd.org/changeset/base/340632 > > Log: > Enable evdev on ppc64 > > Enable evdev on ppc64 as well, simila

svn commit: r340653 - in head/sys/powerpc: fpu include powerpc

2018-11-19 Thread Justin Hibbits
Author: jhibbits Date: Mon Nov 19 23:54:49 2018 New Revision: 340653 URL: https://svnweb.freebsd.org/changeset/base/340653 Log: powerpc: Sync icache on SIGILL, in case of cache issues The update of jemalloc to 5.1.0 exposed a cache syncing issue on a Freescale e500 base system. There was

Re: svn commit: r340653 - in head/sys/powerpc: fpu include powerpc

2018-11-19 Thread Justin Hibbits
s. - Justin On Mon, Nov 19, 2018, 18:14 Nathan Whitehorn Is this reasonable? What if the junk in the cache happened to be a > *valid* instruction? Won't this approach result in silent corruption and > later failure? > -Nathan > > On 11/19/18 3:54 PM, Justin Hibbits wrote: > &g

svn commit: r340726 - in head/sys/cddl: contrib/opensolaris/uts/common/sys dev/fbt/powerpc

2018-11-21 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 21 16:47:11 2018 New Revision: 340726 URL: https://svnweb.freebsd.org/changeset/base/340726 Log: DTrace/powerpc: Fix FBT return probes The FBT fuction boundary prober was setting one return probe marker value, but the dtrace handler was expecting another. T

Re: svn commit: r339516 - head/sys/cddl/dev/dtrace/powerpc

2018-11-21 Thread Justin Hibbits
On Wed, Nov 21, 2018 at 10:02 PM Kyle Evans wrote: > > On Wed, Nov 21, 2018 at 9:42 PM Kyle Evans wrote: > > > > On Sat, Oct 20, 2018 at 9:09 PM Justin Hibbits wrote: > > > > > > Author: jhibbits > > > Date: Sun Oct 21 02:08:57 201

svn commit: r341101 - head/stand

2018-11-27 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 28 01:47:01 2018 New Revision: 341101 URL: https://svnweb.freebsd.org/changeset/base/341101 Log: powerpcspe: Don't crash the loader on ubldr with SPE instructions. -msoft-float seems to be insufficient for disabling the SPE on powerpcspe. Force it off with -

svn commit: r341102 - in head/sys/powerpc: booke mpc85xx

2018-11-27 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 28 02:00:27 2018 New Revision: 341102 URL: https://svnweb.freebsd.org/changeset/base/341102 Log: powerpc: Prepare Book-E kernels for KERNBASE != run base Book-E kernels really run at VM_MIN_KERNEL_ADDRESS, which currently happens to be the same as KERNBASE.

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

2018-11-27 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 28 02:48:43 2018 New Revision: 341103 URL: https://svnweb.freebsd.org/changeset/base/341103 Log: powerpc: Fix the powerpc64 build post-r341102 VM_MIN_KERNEL_ADDRESS is now used in locore.S, but the UL suffix isn't permitted in .S files. Modified: head/sys

svn commit: r341104 - head/sys/powerpc/booke

2018-11-27 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 28 04:02:26 2018 New Revision: 341104 URL: https://svnweb.freebsd.org/changeset/base/341104 Log: powerpc/booke: Fix debug printfs in pmap Add missing '%'s so printf formats are actually handled. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/po

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

2018-11-28 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 28 16:00:52 2018 New Revision: 341148 URL: https://svnweb.freebsd.org/changeset/base/341148 Log: powerpc: Don't include KERNBASE in genassym, it's unnecessary A related future change, which changes KERNBASE for Book-E for some reason causes a "KERNBASE redef

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

2018-11-28 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 29 03:39:11 2018 New Revision: 341177 URL: https://svnweb.freebsd.org/changeset/base/341177 Log: Fix thread creation in PowerPC64 ELFv2 processes. Summary: Currently, the upcall used to create threads assumes ELFv1. Instead, we should check which sysent

svn commit: r341179 - head/usr.bin/truss

2018-11-28 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 29 03:57:06 2018 New Revision: 341179 URL: https://svnweb.freebsd.org/changeset/base/341179 Log: Allow truss to operate on ELFv2 processes. Summary: Currently, truss doesn't work on ELFv2 processes due to not recognizing the ABI. Since there's no speci

Re: svn commit: r341343 - head/share/man/man7

2018-11-30 Thread Justin Hibbits
On Fri, Nov 30, 2018, 08:24 Bjoern A. Zeeb On 30 Nov 2018, at 15:56, Edward Tomasz Napierala wrote: > > > Author: trasz > > Date: Fri Nov 30 15:56:14 2018 > > New Revision: 341343 > > URL: https://svnweb.freebsd.org/changeset/base/341343 > > > > Log: > > Add an example of rebuilding a single pie

Re: svn commit: r341343 - head/share/man/man7

2018-11-30 Thread Justin Hibbits
On Fri, Nov 30, 2018, 08:36 Warner Losh > > On Fri, Nov 30, 2018 at 9:35 AM Justin Hibbits > wrote: > >> >> >> On Fri, Nov 30, 2018, 08:24 Bjoern A. Zeeb < >> bzeeb-li...@lists.zabbadoz.net wrote: >> >>> On 30 Nov 2018, at 15:56, Edward Toma

svn commit: r341387 - head/lib/libc/gen

2018-12-01 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 1 20:39:20 2018 New Revision: 341387 URL: https://svnweb.freebsd.org/changeset/base/341387 Log: Fix PowerPC64 ELFv1-specific problem in __elf_phdr_match_addr() leading to crash in threaded programs that unload libraries. Summary: The GNOME update to 3.28

svn commit: r341391 - head/stand/uboot/common

2018-12-01 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 2 02:20:35 2018 New Revision: 341391 URL: https://svnweb.freebsd.org/changeset/base/341391 Log: ubldr: Force 'usefdt' variable to 1 for powerpc The fdt is gated, on powerpc, with a 'usefdt' environment variable. Force enable it in ubldr, so that the fdt is

Re: svn commit: r340997 - head/lib/libarchive

2018-12-01 Thread Justin Hibbits
On Mon, Nov 26, 2018 at 3:45 PM Martin Matuska wrote: > > Author: mm > Date: Mon Nov 26 21:45:27 2018 > New Revision: 340997 > URL: https://svnweb.freebsd.org/changeset/base/340997 > > Log: > libarchive configuration changes > - move HAVE_BZLIB_H, HAVE_LIBLZMA and HAVE_LZMA_H to config_freebsd

svn commit: r341422 - head/sys/powerpc/booke

2018-12-02 Thread Justin Hibbits
Author: jhibbits Date: Mon Dec 3 04:47:28 2018 New Revision: 341422 URL: https://svnweb.freebsd.org/changeset/base/341422 Log: powerpc/booke: Check for the metadata address by physical address The metadata pointer will almost never be at or above 'btext', as btext is a relocated symbol,

Re: svn commit: r341422 - head/sys/powerpc/booke

2018-12-02 Thread Justin Hibbits
On Sun, Dec 2, 2018 at 10:47 PM Justin Hibbits wrote: > > Author: jhibbits > Date: Mon Dec 3 04:47:28 2018 > New Revision: 341422 > URL: https://svnweb.freebsd.org/changeset/base/341422 > > Log: > powerpc/booke: Check for the metadata address by physical address > &g

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