svn commit: r350571 - head/sys/dev/pci

2019-08-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 4 19:47:02 2019 New Revision: 350571 URL: https://svnweb.freebsd.org/changeset/base/350571 Log: Fix the build after r350570. Signed char cannot compare to values above 0x7f. Use unsigned instead. Modified: head/sys/dev/pci/vga_pci.c Modified: head/sys/de

svn commit: r350572 - head/sys/compat/linuxkpi/common/src

2019-08-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 4 19:55:43 2019 New Revision: 350572 URL: https://svnweb.freebsd.org/changeset/base/350572 Log: Fix 32-bit build post-r350570 The error message prints a rman_res_t, which is an uintmax_t. Explicitly cast, just for future-proofing, and use the correct forma

svn commit: r350573 - head/sys/compat/linuxkpi/common/src

2019-08-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 4 20:00:39 2019 New Revision: 350573 URL: https://svnweb.freebsd.org/changeset/base/350573 Log: Fix 32-bit build again, post r350570. Missed this part with my testing as well. Pass the right type to BUS_TRANSLATE_RESOURCE(). Modified: head/sys/compat/li

svn commit: r350578 - in head/sys/powerpc: ofw powerpc

2019-08-04 Thread Justin Hibbits
Author: jhibbits Date: Mon Aug 5 01:37:18 2019 New Revision: 350578 URL: https://svnweb.freebsd.org/changeset/base/350578 Log: powerpc: Get 32-bit AIM building with secure-PLT The last few changes needed before 32-bit AIM builds with secure-PLT with base GCC. Because ofwcall32.S and sw

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

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:16:06 2019 New Revision: 350622 URL: https://svnweb.freebsd.org/changeset/base/350622 Log: powerpc/pmap: Simplify Book-E 64-bit page table management There is no need for the 64-bit pmap to have a fixed number of page table buffers. Since the 64-bit p

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

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:49:40 2019 New Revision: 350623 URL: https://svnweb.freebsd.org/changeset/base/350623 Log: Fix build from r350622 It helps if my local kernel build has INVARIANTS. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ==

svn commit: r350737 - head/usr.sbin/autofs

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:16:32 2019 New Revision: 350737 URL: https://svnweb.freebsd.org/changeset/base/350737 Log: Change autounmountd(8) to use time_t for duration instead of double Summary: autounmountd(8) uses doubles to handle mount time durations. However, it must con

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

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:18:35 2019 New Revision: 350738 URL: https://svnweb.freebsd.org/changeset/base/350738 Log: powerpc/pmap: Minor optimizations to 64-bit booke pmap Don't recalculate the VM page of the page table pages, just pass them down to free. Also, use the pmap's

Re: svn commit: r350737 - head/usr.sbin/autofs

2019-08-08 Thread Justin Hibbits
On Thu, 08 Aug 2019 08:00:16 -0600 Ian Lepore wrote: > On Thu, 2019-08-08 at 03:16 +0000, Justin Hibbits wrote: > > Author: jhibbits > > Date: Thu Aug 8 03:16:32 2019 > > New Revision: 350737 > > URL: https://svnweb.freebsd.org/changeset/base/350737 > > > &g

svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 16:37:32 2019 New Revision: 350756 URL: https://svnweb.freebsd.org/changeset/base/350756 Log: mips: Fix register target for SP setting in libproc Copy-paste-o from r233042 Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D2118

Re: svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
On Thu, 8 Aug 2019 16:37:32 + (UTC) Justin Hibbits wrote: > Author: jhibbits > Date: Thu Aug 8 16:37:32 2019 > New Revision: 350756 > URL: https://svnweb.freebsd.org/changeset/base/350756 > > Log: > mips: Fix register target for SP setting in libproc > >

svn commit: r350814 - head/usr.sbin/autofs

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 9 02:20:26 2019 New Revision: 350814 URL: https://svnweb.freebsd.org/changeset/base/350814 Log: autofs: Fix autounmountd's printing of mount time. time_t should be printed as intmax_t. Even though duration should be short, the correct way to print is intm

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

2019-08-11 Thread Justin Hibbits
Author: jhibbits Date: Mon Aug 12 03:03:56 2019 New Revision: 350883 URL: https://svnweb.freebsd.org/changeset/base/350883 Log: powerpc: Unify pmap definitions between AIM and Book-E This is part 2 of r347078, pulling the page directory out of the Book-E pmap. This breaks KBI for anythin

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

2019-08-14 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 15 03:42:15 2019 New Revision: 351065 URL: https://svnweb.freebsd.org/changeset/base/351065 Log: powerpc/pmap: Enable UMA_MD_SMALL_ALLOC for 64-bit booke The only thing blocking UMA_MD_SMALL_ALLOC from working on 64-bit booke powerpc was a missing check in p

Re: svn commit: r362466 - in head: contrib/file/magic/Magdir contrib/tcpdump lib/geom/part stand/efi/include stand/i386/boot0 sys/dev/hptmv sys/geom/part usr.bin/fortune/datfiles usr.bin/mkimg usr.sbi

2020-06-21 Thread Justin Hibbits
On Sun, Jun 21, 2020, 09:38 Hans Petter Selasky wrote: > On 2020-06-21 15:47, Emmanuel Vadot wrote: > > What's more clear about calling something that is called Master Boot > > Record something else ? > > What's next ? Will you contact the BBC so they redub all Doctor Who > > episode where "T

svn commit: r367355 - head/sys/mips/mips

2020-11-04 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 4 23:29:27 2020 New Revision: 367355 URL: https://svnweb.freebsd.org/changeset/base/367355 Log: Fix UMA alignment for COP2 context structure. UMA alignment needs specified as (power-of-2) - 1, not power-of-2. Discussed with: gonzo MFC after:3

svn commit: r367807 - head/sys/mips/cavium

2020-11-18 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 18 17:37:01 2020 New Revision: 367807 URL: https://svnweb.freebsd.org/changeset/base/367807 Log: Fix octeon_pmc post-r334827 MFC after:3 days Sponsored by: Juniper Networks, Inc Modified: head/sys/mips/cavium/octeon_pmc.c Modified: head/sys/mips/cavi

svn commit: r368473 - head/sys/dev/mfi

2020-12-08 Thread Justin Hibbits
Author: jhibbits Date: Wed Dec 9 02:07:01 2020 New Revision: 368473 URL: https://svnweb.freebsd.org/changeset/base/368473 Log: dev/mfi: Make a seemingly bogus conditional unconditional Summary: r358689 attempted to fix a clang warning/error by inferring the intent of the condition "(cd

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

2019-12-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Dec 4 03:41:55 2019 New Revision: 355378 URL: https://svnweb.freebsd.org/changeset/base/355378 Log: powerpc/booke: Fix 32-bit Book-E SMP AP bringup r354266 changed the type of bp_kernload to vm_paddr_t in platform_mpc85xx.c, but not the variable itself in locor

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

2019-12-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Dec 4 03:51:30 2019 New Revision: 355380 URL: https://svnweb.freebsd.org/changeset/base/355380 Log: powerpc/booke: Fix some formatting errors in debug printfs Use the right formats for the types given (vm_offset_t and vm_size_t are both uint32_t on 32-bit platf

svn commit: r355481 - in head/sys: powerpc/aim powerpc/booke powerpc/include powerpc/powerpc vm

2019-12-06 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 7 03:34:03 2019 New Revision: 355481 URL: https://svnweb.freebsd.org/changeset/base/355481 Log: powerpc/pmap: NUMA-ize vm_page_array on powerpc Summary: This matches r351198 from amd64. This only applies to AIM64 and Book-E. On AIM64 it short-circuits wi

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

2019-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 8 04:17:04 2019 New Revision: 355519 URL: https://svnweb.freebsd.org/changeset/base/355519 Log: powerpc64/pmap: micro-optimize some PVO-PTE logic Summary: moea64_pte_sync_native() and moea64_pte_unset_native() don't need the full PTE created, they only ne

svn commit: r355521 - in head: stand/powerpc/kboot sys/conf sys/powerpc/include

2019-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 8 04:36:42 2019 New Revision: 355521 URL: https://svnweb.freebsd.org/changeset/base/355521 Log: powerpc: Use builtins for fls/flsl Summary: There's no need to use the fallback fls() and flsl() libkern functions when the PowerISA includes instructions that

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

2019-12-15 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 15 21:08:40 2019 New Revision: 355778 URL: https://svnweb.freebsd.org/changeset/base/355778 Log: powerpc/mpc85xx: Clean up Freescale SATA driver a little * Remove unused ATA_IN/OUT macros, they just clutter up the file. * Fix some RID management bits for the

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

2019-12-15 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 15 21:20:18 2019 New Revision: 355783 URL: https://svnweb.freebsd.org/changeset/base/355783 Log: powerpc/powernv: Set the PTCR for the Nest MMU The Nest MMU manages address translation for accelerators on the POWER9. To do so, it needs a page table, so expo

svn commit: r355977 - head/sys/conf

2019-12-20 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 21 04:44:17 2019 New Revision: 355977 URL: https://svnweb.freebsd.org/changeset/base/355977 Log: powerpc: Only build mpc85xx i2c driver for mpc85xx No need to build it for every other platform. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/

svn commit: r356054 - in head: share/mk stand

2019-12-24 Thread Justin Hibbits
Author: jhibbits Date: Tue Dec 24 16:03:33 2019 New Revision: 356054 URL: https://svnweb.freebsd.org/changeset/base/356054 Log: [PowerPC64] Use ld.bfd to build LIB32 and STAND - when using llvm Summary: This patch is to support ongoing work for replacing "GCC/BFD" by "CLANG/LLD" on ta

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

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 26 22:47:24 2019 New Revision: 356102 URL: https://svnweb.freebsd.org/changeset/base/356102 Log: powerpc: Move ppc32_runtime_resolve() declaration to the right place The function is only used in 32-bit kernels, so move the declaration to !powerpc64. Modifie

svn commit: r356104 - in head: contrib/llvm-project/clang/lib/AST contrib/llvm-project/compiler-rt/lib/builtins lib/libcompiler_rt

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 26 23:06:28 2019 New Revision: 356104 URL: https://svnweb.freebsd.org/changeset/base/356104 Log: [PowerPC] enable atomic.c in compiler_rt and do not check and forces lock/lock_free decisions in compiled time Summary: Enables atomic.c in compiler_rt and for

svn commit: r356111 - in head/share: man/man7 mk

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 03:54:27 2019 New Revision: 356111 URL: https://svnweb.freebsd.org/changeset/base/356111 Log: Use LLVM as default toolchain for all PowerPC targets This enables LLVM as the default compiler for powerpc, powerpc64, and powerpcspe, as well as LLD as the def

svn commit: r356112 - in head/contrib/llvm-project: clang/lib/Basic/Targets llvm/lib/Target/PowerPC

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 04:00:04 2019 New Revision: 356112 URL: https://svnweb.freebsd.org/changeset/base/356112 Log: [PowerPC64] Starting from FreeBSD 13.0, default to ELFv2 ABI This changes the LLVM default powerpc64 ABI to ELFv2, if target OS is FreeBSD >= 13.0 This will

svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 04:07:03 2019 New Revision: 356113 URL: https://svnweb.freebsd.org/changeset/base/356113 Log: Eliminate the last MI difference in AT_* definitions (for powerpc). Summary: As a transition aide, implement an alternative elfN_freebsd_fixup which is called

svn commit: r356116 - head

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 04:42:03 2019 New Revision: 356116 URL: https://svnweb.freebsd.org/changeset/base/356116 Log: Add a note to UPDATING on the move to clang for powerpc* Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r356117 - head/sys/kern

2019-12-26 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 04:52:17 2019 New Revision: 356117 URL: https://svnweb.freebsd.org/changeset/base/356117 Log: Fix the build from r356113. Types had changed from when the patch was first created, and a final build was not done pre-commit. Modified: head/sys/kern/imgact

svn commit: r356129 - in head/sys: kern powerpc/include powerpc/powerpc

2019-12-27 Thread Justin Hibbits
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/powerpc/elf_common.c Fri Dec 27 17:38:25 2019 (r356129) @@ -0,0 +1,89 @@ +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyri

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread Justin Hibbits
On Fri, 27 Dec 2019 10:43:16 -0800 John Baldwin wrote: > On 12/26/19 8:07 PM, Justin Hibbits wrote: > > Author: jhibbits > > Date: Fri Dec 27 04:07:03 2019 > > New Revision: 356113 > > URL: https://svnweb.freebsd.org/changeset/base/356113 > > > > Log: &g

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

2020-01-03 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 4 01:13:00 2020 New Revision: 356346 URL: https://svnweb.freebsd.org/changeset/base/356346 Log: powerpc: Remove 'sec' device from QORIQ64 config The SEC crypto engine, as implemented in this driver, does not exist on any 64-bit SoC, so don't bother compilin

Re: svn commit: r356379 - head/share/mk

2020-01-05 Thread Justin Hibbits
On Sun, 5 Jan 2020 12:21:53 -0500 Ed Maste wrote: > On Sun, 5 Jan 2020 at 11:59, Ed Maste wrote: > > > > Author: emaste > > Date: Sun Jan 5 16:59:24 2020 > > New Revision: 356379 > > URL: https://svnweb.freebsd.org/changeset/base/356379 > > > > Log: > > src.opts.mk: disable BINUTILS_BOOTSTRAP

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

2020-01-09 Thread Justin Hibbits
Author: jhibbits Date: Fri Jan 10 01:24:49 2020 New Revision: 356590 URL: https://svnweb.freebsd.org/changeset/base/356590 Log: powerpc/powernv: Un-Giant-ify opal_nvram driver It may be possible to make this completely lock free, but for now it's using a statically allocated bounce buffer

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

2020-01-09 Thread Justin Hibbits
Author: jhibbits Date: Fri Jan 10 03:16:40 2020 New Revision: 356591 URL: https://svnweb.freebsd.org/changeset/base/356591 Log: powerpc: Mark cpu_feature-based sysctls as MP_SAFE hw.floatingpoint and hw.altivec are effectively runtime constants (bits from the cpu_feature bitfield), so don

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

2020-01-09 Thread Justin Hibbits
Author: jhibbits Date: Fri Jan 10 04:13:16 2020 New Revision: 356595 URL: https://svnweb.freebsd.org/changeset/base/356595 Log: powerpc: Prevent infinite loop in moea_sync_icache() This applies r344049 to the 32-bit pmap. Reported by: Mark Millard Modified: head/sys/powerpc/aim/mm

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

2020-01-11 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 11 22:29:44 2020 New Revision: 356640 URL: https://svnweb.freebsd.org/changeset/base/356640 Log: powerpc/mpc85xx: Fix localbus child reg property decoding r302340, as an attempt to fix the localbus child handling post-rman change, actually broke child resour

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

2020-01-13 Thread Justin Hibbits
Author: jhibbits Date: Mon Jan 13 23:09:00 2020 New Revision: 356710 URL: https://svnweb.freebsd.org/changeset/base/356710 Log: powerpc/mpc85xx: Partially revert r356640 The count block was correct before. r356640 caused a read past the end of the tuple. Modified: head/sys/powerpc/mpc

svn commit: r356858 - in head/sys/powerpc: include ofw powernv powerpc

2020-01-17 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 18 01:26:54 2020 New Revision: 356858 URL: https://svnweb.freebsd.org/changeset/base/356858 Log: powerpc: Fix the NUMA domain list on powernv Summary: Consolidate the NUMA associativity handling into a platform function. Non-NUMA platforms will just fall b

svn commit: r356860 - in head/sys: powerpc/aim powerpc/powerpc tools

2020-01-17 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 18 02:39:38 2020 New Revision: 356860 URL: https://svnweb.freebsd.org/changeset/base/356860 Log: Add a 'SINGLETON' directive to kobj interface definition Summary: This makes the interface described in the definition file act like a pseudo-IFUNC service, by

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

2020-01-19 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 19 21:17:57 2020 New Revision: 356896 URL: https://svnweb.freebsd.org/changeset/base/356896 Log: [PowerPC64] fix crash when using machdep.moea64_bpvo_pool_size tunable Summary: This fixes kernel crashing when tunable "machdep.moea64_bpvo_pool_size" is set

svn commit: r356899 - in head/sys: conf powerpc/amigaone

2020-01-19 Thread Justin Hibbits
ll 00:00:00 1970 (empty, because file is newly added) +++ head/sys/powerpc/amigaone/cpld.hSun Jan 19 21:43:15 2020 (r356899) @@ -0,0 +1,45 @@ +/*- + * Copyright (c) 2020 Justin Hibbits + * + * Redistribution and use in source and binary forms, with or without + * modification, are

svn commit: r356904 - head/sys/powerpc/amigaone

2020-01-19 Thread Justin Hibbits
Author: jhibbits Date: Mon Jan 20 04:01:35 2020 New Revision: 356904 URL: https://svnweb.freebsd.org/changeset/base/356904 Log: powerpc/amiga: Hide CPLD date and time printing behind bootverbose There's no need to see the CPLD build date and time every boot. Modified: head/sys/powerpc/am

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

2020-01-28 Thread Justin Hibbits
Author: jhibbits Date: Wed Jan 29 04:32:06 2020 New Revision: 357242 URL: https://svnweb.freebsd.org/changeset/base/357242 Log: powerpc64/csu: Rename dummy asm file to force use of 'cc' Implicit make rules build .S asm files with the compiler, rather than the assembler. r356889 removed G

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Justin Hibbits
On Mon, 20 Apr 2020 16:17:17 + (UTC) Niclas Zeising wrote: > Author: zeising (doc,ports committer) > Date: Mon Apr 20 16:17:16 2020 > New Revision: 360126 > URL: https://svnweb.freebsd.org/changeset/base/360126 > > Log: > Change kern.evdev.rcpt_mask to 12 by default > > Change kern.ev

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-21 Thread Justin Hibbits
On Mon, 20 Apr 2020 22:13:51 +0300 Vladimir Kondratyev wrote: > On 20.04.2020 19:39, Justin Hibbits wrote: > > But I'm curious, why not attach to sysmouse(4) and kbdmux(4)? What > > breakage does that cause? I could maybe see not attaching to > > sysmouse(4) by defa

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Justin Hibbits
On Fri, 24 Apr 2020 19:07:35 +0300 Andriy Gapon wrote: > On 24/04/2020 18:11, Warner Losh wrote: > > > > > > On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon > > wrote: > > > > On 24/04/2020 17:29, Warner Losh wrote: > > > > > > > > > On Fri, Apr 24, 202

svn commit: r360881 - in head/sys/powerpc: aim booke include powerpc

2020-05-10 Thread Justin Hibbits
Author: jhibbits Date: Sun May 10 19:00:57 2020 New Revision: 360881 URL: https://svnweb.freebsd.org/changeset/base/360881 Log: powerpc: Add a CPU-custom machine check handler Summary: Some machine checks are process-recoverable, others are not. Let a CPU-specific handler decide what t

svn commit: r360887 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc vm

2020-05-10 Thread Justin Hibbits
Author: jhibbits Date: Mon May 11 02:33:37 2020 New Revision: 360887 URL: https://svnweb.freebsd.org/changeset/base/360887 Log: powerpc64: Implement Radix MMU for POWER9 CPUs Summary: POWER9 supports two MMU formats: traditional hashed page tables, and Radix page tables, similar to what

Re: svn commit: r360887 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc vm

2020-05-11 Thread Justin Hibbits
time I tested it, it fell over quite quickly, so I must've missed something. I think that's it. - Justin > > On Sun, May 10, 2020 at 7:33 PM Justin Hibbits > wrote: > > > > Author: jhibbits > > Date: Mon May 11 02:33:37 2020 > > New Revision: 360887

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-05-13 Thread Justin Hibbits
Hi Mark, On Wed, 13 May 2020 01:43:23 -0700 Mark Millard wrote: > [I'm adding a reference to an old arm64/aarch64 bug that had > pages turning to zero, in case this 32-bit powerpc issue is > somewhat analogous.] > > On 2020-May-13, at 00:29, Mark Millard wrote: > > > [stress alone is sufficie

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

2020-05-15 Thread Justin Hibbits
Author: jhibbits Date: Sat May 16 03:33:28 2020 New Revision: 361102 URL: https://svnweb.freebsd.org/changeset/base/361102 Log: powerpc/qoriq: Add more devices to config for desktop usage The most likely users of the QORIQ64 config nowadays are users of AmigaOne X5000 systems, which are d

svn commit: r361104 - head/contrib/elftoolchain/libelf

2020-05-15 Thread Justin Hibbits
Author: jhibbits Date: Sat May 16 03:52:30 2020 New Revision: 361104 URL: https://svnweb.freebsd.org/changeset/base/361104 Log: elftoolchain: Add powerpc64 definition to elftoolchain config powerpc is already in place, but powerpc64 is needed separately. Modified: head/contrib/elftoolcha

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

2020-05-18 Thread Justin Hibbits
Author: jhibbits Date: Tue May 19 01:06:31 2020 New Revision: 361232 URL: https://svnweb.freebsd.org/changeset/base/361232 Log: powerpc/mmu: Don't use the cache instructions to zero pages A page (even physmem) can be marked as cache-inhibited. Attempting to use 'dcbz' to zero a page mapp

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

2020-05-19 Thread Justin Hibbits
Author: jhibbits Date: Wed May 20 02:33:41 2020 New Revision: 361271 URL: https://svnweb.freebsd.org/changeset/base/361271 Log: powerpc/radix mmu: No need for delayed TLB invalidation x86 needs delayed TLB invalidation because invalidation requires an expensive IPI. PowerPC has had a TLB

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

2020-05-20 Thread Justin Hibbits
Author: jhibbits Date: Thu May 21 03:33:20 2020 New Revision: 361317 URL: https://svnweb.freebsd.org/changeset/base/361317 Log: powerpc: Handle machine checks caused by D-ERAT multihit Instead of crashing the user process when a D-ERAT multihit is detected, try to flush the ERAT, and cont

Re: svn commit: r361460 - in head/sys: arm64/conf arm64/qoriq conf

2020-05-25 Thread Justin Hibbits
Hi Marcin, On Mon, 25 May 2020 14:55:37 + (UTC) Marcin Wojtas wrote: > Author: mw > Date: Mon May 25 14:55:37 2020 > New Revision: 361460 > URL: https://svnweb.freebsd.org/changeset/base/361460 > > Log: > Add GPIO support for QorIQ boards. > > This patch adds a GPIO controller suppor

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

2020-05-25 Thread Justin Hibbits
Author: jhibbits Date: Tue May 26 03:58:19 2020 New Revision: 361494 URL: https://svnweb.freebsd.org/changeset/base/361494 Log: powerpc/booke pmap: Fix iteration for 64-bit kernel page table creation Kernel page tables actually start at index 4096, given kernel base address of 0xc0080

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

2020-05-26 Thread Justin Hibbits
Author: jhibbits Date: Wed May 27 01:24:12 2020 New Revision: 361544 URL: https://svnweb.freebsd.org/changeset/base/361544 Log: powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj With IFUNC support in the kernel, we can finally get rid of our poor-man's ifunc for pmap, utilizing

svn commit: r361545 - head/sys/vm

2020-05-26 Thread Justin Hibbits
Author: jhibbits Date: Wed May 27 01:35:46 2020 New Revision: 361545 URL: https://svnweb.freebsd.org/changeset/base/361545 Log: Properly sort ifdef archs in vm_fault_soft_fast superpage guards. Sort broken in r360887. Modified: head/sys/vm/vm_fault.c Modified: head/sys/vm/vm_fault.c ===

Re: svn commit: r361544 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc powerpc/ps3 powerpc/pseries

2020-05-26 Thread Justin Hibbits
On Tue, May 26, 2020, 20:24 Justin Hibbits wrote: > Author: jhibbits > Date: Wed May 27 01:24:12 2020 > New Revision: 361544 > URL: https://svnweb.freebsd.org/changeset/base/361544 > > Log: > powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj > > With

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

2020-05-27 Thread Justin Hibbits
On Thu, 28 May 2020 00:49:03 + (UTC) Brandon Bergren wrote: > Author: bdragon > Date: Thu May 28 00:49:02 2020 > New Revision: 361568 > URL: https://svnweb.freebsd.org/changeset/base/361568 > > Log: > [PowerPC] Fix radix crash when passing -1 from userspace > > Found by running libc t

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

2020-05-27 Thread Justin Hibbits
Author: jhibbits Date: Thu May 28 03:08:50 2020 New Revision: 361570 URL: https://svnweb.freebsd.org/changeset/base/361570 Log: powerpc/pmap: Remove some debug from r361544 Modified: head/sys/powerpc/powerpc/pmap_dispatch.c Modified: head/sys/powerpc/powerpc/pmap_dispatch.c =

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

2020-05-28 Thread Justin Hibbits
Author: jhibbits Date: Fri May 29 00:46:31 2020 New Revision: 361615 URL: https://svnweb.freebsd.org/changeset/base/361615 Log: powerpc: Stop advertising that POWER8 and POWER9 support HTM HTM is on the chopping block, doesn't work on FreeBSD, and has only token support in PowerISA 3.1 an

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

2020-06-05 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 6 02:40:52 2020 New Revision: 361859 URL: https://svnweb.freebsd.org/changeset/base/361859 Log: powerpc: Add a (CPU/runtime features) flags set to pcpu struct Summary: The point of this addition is to cache CPU behavior 'features', to avoid having to reco

svn commit: r361861 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc

2020-06-05 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 6 03:09:12 2020 New Revision: 361861 URL: https://svnweb.freebsd.org/changeset/base/361861 Log: powerpc: Use IFUNCs for copyin/copyout/etc Summary: Radix on AIM, and all of Book-E (currently), can do direct addressing of user space, instead of needing to

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

2020-06-06 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 6 18:56:40 2020 New Revision: 361874 URL: https://svnweb.freebsd.org/changeset/base/361874 Log: powerpc: Fix nits in copyinout comments from r361861 Also, remove useless nested #ifdefs in the IFUNC block. Reported by: bdragon@ Modified: head/sys/powe

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

2020-06-07 Thread Justin Hibbits
Author: jhibbits Date: Mon Jun 8 02:28:00 2020 New Revision: 361901 URL: https://svnweb.freebsd.org/changeset/base/361901 Log: powerpc/powernv: Don't configure disabled CPUs If the POWER firmware detects a bad CPU core, it will "GUARD" it out, marking it disabled. Any attempt to spin up

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

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Tue Jun 9 21:59:13 2020 New Revision: 361988 URL: https://svnweb.freebsd.org/changeset/base/361988 Log: powerpc/pmap: Fix wired memory leak in booke64 page directories Properly handle reference counts in the 64-bit pmap page directories. Otherwise all page table pa

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

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 04:04:59 2020 New Revision: 362002 URL: https://svnweb.freebsd.org/changeset/base/362002 Log: powerpc/mpc85xx: Don't use the quantum cache in vmem for MPIC MSIs The qcache is unnecessary for this purpose, it's only needed when there are lots of concurrent

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

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 04:08:16 2020 New Revision: 362003 URL: https://svnweb.freebsd.org/changeset/base/362003 Log: powerpc/powernv: Don't use the vmem quantum cache for OPAL PCI MSI allocations vmem quantum cache is only needed when doing a lot of concurrent allocations, whic

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

2020-06-10 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 23:03:35 2020 New Revision: 362034 URL: https://svnweb.freebsd.org/changeset/base/362034 Log: powerpc/pmap: Fix pte_find_next() iterators for booke64 pmap After r361988 fixed the reference count leak on booke64, it became possible for an iteration somewhe

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Wed, 10 Jun 2020 18:56:57 -0700 Mark Millard wrote: > On 2020-May-13, at 08:56, Justin Hibbits wrote: > > > Hi Mark, > > Hello Justin. Hi Mark, > > > On Wed, 13 May 2020 01:43:23 -0700 > > Mark Millard wrote: > > > >> [I'm ad

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Thu, 11 Jun 2020 14:36:37 -0700 Mark Millard wrote: > On 2020-Jun-11, at 13:55, Justin Hibbits > wrote: > > > On Wed, 10 Jun 2020 18:56:57 -0700 > > Mark Millard wrote: > > > >> On 2020-May-13, at 08:56, Justin Hibbits > >> wrote

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Thu, 11 Jun 2020 17:30:24 -0700 Mark Millard wrote: > On 2020-Jun-11, at 16:49, Mark Millard wrote: > > > On 2020-Jun-11, at 14:42, Justin Hibbits > > wrote: > > > > On Thu, 11 Jun 2020 14:36:37 -0700 > > Mark Millard wrote: > > >

svn commit: r324511 - head/contrib/binutils/bfd

2017-10-10 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 11 02:39:20 2017 New Revision: 324511 URL: https://svnweb.freebsd.org/changeset/base/324511 Log: Do exception offset computations in 64 bits, not 32. This fixes clang-built binaries on a gcc powerpc64 world. Gets us one step closer to a clang-built world.

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

2017-10-18 Thread Justin Hibbits
Author: jhibbits Date: Thu Oct 19 02:14:39 2017 New Revision: 324737 URL: https://svnweb.freebsd.org/changeset/base/324737 Log: Remove some unnecessary includes Modified: head/sys/powerpc/mpc85xx/fsl_diu.c Modified: head/sys/powerpc/mpc85xx/fsl_diu.c =

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

2017-10-18 Thread Justin Hibbits
Author: jhibbits Date: Thu Oct 19 03:38:53 2017 New Revision: 324742 URL: https://svnweb.freebsd.org/changeset/base/324742 Log: Add some more devices to the MPC85XX-based configs These devices bring the configs closer to a desktop-like (GENERIC) kernel config. * The Freescale DIU suppor

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

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:03:04 2017 New Revision: 324783 URL: https://svnweb.freebsd.org/changeset/base/324783 Log: Book-E debug trace fixes * Book-E can have Altivec exceptions, so move it out of the AIM-only block. * Print the right DSI trap mode (read vs write) for Book-E

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

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:13:31 2017 New Revision: 324784 URL: https://svnweb.freebsd.org/changeset/base/324784 Log: No need to check for AIM here This block is already in a #ifdef AIM block. Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_mach

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

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:31:23 2017 New Revision: 324786 URL: https://svnweb.freebsd.org/changeset/base/324786 Log: Expand the TLB nest level mask to 3 bits to match the 32-bit mask This really doesn't change anything right now, because BOOKE_TLB_MAXNEST is only 3, which fits

Re: svn commit: r324911 - head/share/mk

2017-10-23 Thread Justin Hibbits
On Oct 23, 2017 07:57, "Ngie Cooper" wrote: > On Oct 23, 2017, at 01:48, Konstantin Belousov wrote: > >> On Mon, Oct 23, 2017 at 07:56:56AM +, Ngie Cooper wrote: >> Author: ngie >> Date: Mon Oct 23 07:56:56 2017 >> New Revision: 324911 >> URL: https://svnweb.freebsd.org/changeset/base/32491

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

2017-10-29 Thread Justin Hibbits
Author: jhibbits Date: Mon Oct 30 01:55:38 2017 New Revision: 325112 URL: https://svnweb.freebsd.org/changeset/base/325112 Log: Add P5010/P5010E for completeness Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

svn commit: r325113 - head/sys/dev/flash

2017-10-29 Thread Justin Hibbits
Author: jhibbits Date: Mon Oct 30 02:31:08 2017 New Revision: 325113 URL: https://svnweb.freebsd.org/changeset/base/325113 Log: Add Microchip 1-MBit SPI flash ID Used on the AmigaOne X5000. Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c ===

svn commit: r325118 - in head/sys: contrib/ncsw/Peripherals/BM contrib/ncsw/Peripherals/FM contrib/ncsw/Peripherals/FM/HC contrib/ncsw/Peripherals/FM/MAC contrib/ncsw/Peripherals/FM/MACSEC contrib/...

2017-10-29 Thread Justin Hibbits
Author: jhibbits Date: Mon Oct 30 03:41:04 2017 New Revision: 325118 URL: https://svnweb.freebsd.org/changeset/base/325118 Log: Update DPAA SDK to SDK 2.0 This adds some support for ARM as well as 64-bit. 64-bit on PowerPC is currently not working, and ARM support has not been completed

svn commit: r325199 - head/sys/contrib/ncsw/etc

2017-10-30 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 31 02:36:11 2017 New Revision: 325199 URL: https://svnweb.freebsd.org/changeset/base/325199 Log: Add a file to unbreak the build Added: head/sys/contrib/ncsw/etc/sprint.c (contents, props changed) Added: head/sys/contrib/ncsw/etc/sprint.c

svn commit: r325204 - in head/sys: contrib/ncsw/Peripherals/FM/Port contrib/ncsw/Peripherals/QM contrib/ncsw/etc dev/dpaa powerpc/conf

2017-10-30 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 31 02:53:50 2017 New Revision: 325204 URL: https://svnweb.freebsd.org/changeset/base/325204 Log: Make DPAA work in 64-bit mode Rework the dTSEC and FMan drivers to be more like a full bus relationship, so that dtsec can use bus_alloc_resource() instead of tr

svn commit: r325255 - in head: share/man/man4/man4.powerpc sys/dev/dpaa

2017-10-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 1 00:46:48 2017 New Revision: 325255 URL: https://svnweb.freebsd.org/changeset/base/325255 Log: Remove a singleton in the DPAA driver, to allow multiple fman instances Some devices (P5040, P4080) have multiple frame managers in their DPAA subsystems. This

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

2017-10-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 1 02:40:15 2017 New Revision: 325258 URL: https://svnweb.freebsd.org/changeset/base/325258 Log: Fix debug interrupts on 64-bit Book-E Use a WORD_SIZE macro to define the correct offset to the second word needed. This corrects the offset calculation in 64-b

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

2017-10-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 1 02:54:48 2017 New Revision: 325259 URL: https://svnweb.freebsd.org/changeset/base/325259 Log: Add Guest State (GS) bit to MSR bits For completeness only. It will be used by a hypervisor if/when one is written. While here, sort the MSR bits into the prop

svn commit: r325260 - in head/sys: contrib/ncsw/Peripherals/FM contrib/ncsw/etc powerpc/conf/dpaa

2017-10-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 1 03:09:16 2017 New Revision: 325260 URL: https://svnweb.freebsd.org/changeset/base/325260 Log: Rename a couple files to not conflict with ZFS filenames Now a kernel can be built with both ZFS and DPAA compiled in. Added: head/sys/contrib/ncsw/Peripherals/

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

2017-10-31 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 1 03:54:07 2017 New Revision: 325262 URL: https://svnweb.freebsd.org/changeset/base/325262 Log: Enable a bunch more options in the QORIQ64 kernel This brings it closer to par with GENERIC64. In the future I hope to have a GENERIC64-E and GENERIC-E kernels

svn commit: r325305 - head/sys/dev/dpaa

2017-11-01 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 2 04:07:41 2017 New Revision: 325305 URL: https://svnweb.freebsd.org/changeset/base/325305 Log: Fix interrupt handling for dtsec The macId is the dTSEC unit within the FMan, so use the cell-index, not the unit number, which may not match the cell index.

svn commit: r325306 - head/share/man/man4/man4.powerpc

2017-11-01 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 2 04:17:10 2017 New Revision: 325306 URL: https://svnweb.freebsd.org/changeset/base/325306 Log: Actually add the dtsec(4) man page to the build Modified: head/share/man/man4/man4.powerpc/Makefile Modified: head/share/man/man4/man4.powerpc/Makefile

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

2017-11-02 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 3 03:13:15 2017 New Revision: 325352 URL: https://svnweb.freebsd.org/changeset/base/325352 Log: Fix integer type and format in debug print gcc complains "cast to pointer from integer of different size". phandle_t is *always* a uint32_t, so treat it as such

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