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
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
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
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.
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
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:
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
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
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
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
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
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
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
Author: jhibbits
Date: Mon Dec 2 15:07:06 2019
New Revision: 355289
URL: https://svnweb.freebsd.org/changeset/base/355289
Log:
revert r354714 "Boot arm64 kernel using booti command from U-boot."
After discussing with mmel@, it was clear this is insufficient to address
all the needs.
Author: jhibbits
Date: Sun Dec 1 21:29:34 2019
New Revision: 355275
URL: https://svnweb.freebsd.org/changeset/base/355275
Log:
powerpc: Add 'show frame ' to show an arbitrary trap frame
This lets us print, for example, the user's trap frame when a panic occurs.
The frame address is
On Sun, 24 Nov 2019 18:47:14 +0200
Konstantin Belousov wrote:
> On Sun, Nov 24, 2019 at 10:32:23AM -0600, Brandon Bergren wrote:
> > On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote:
> > > On Sun, Nov 24, 2019 at 04:35:29AM +0000, Justin Hibbits wrote:
> &
On Sun, Nov 24, 2019, 00:43 Brandon Bergren wrote:
> Author: bdragon
> Date: Sun Nov 24 06:43:03 2019
> New Revision: 355047
> URL: https://svnweb.freebsd.org/changeset/base/355047
>
> Log:
> [PowerPC] Fix stack padding issue on ppc32.
>
> Four bytes of padding are needed in the regular
Author: jhibbits
Date: Sun Nov 24 04:35:29 2019
New Revision: 355045
URL: https://svnweb.freebsd.org/changeset/base/355045
Log:
rtld/powerpc: Fix _rtld_bind_start for powerpcspe
Summary:
We need to save off the full 64-bit register, not just the low 32 bits,
of all registers getting
Author: jhibbits
Date: Sat Nov 23 17:25:09 2019
New Revision: 355033
URL: https://svnweb.freebsd.org/changeset/base/355033
Log:
Let bdragon run free. He knows the drill.
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
Author: jhibbits
Date: Fri Nov 22 04:34:46 2019
New Revision: 354990
URL: https://svnweb.freebsd.org/changeset/base/354990
Log:
powerpc/ptrace: Give ptrace(2) access to SPE registers when available
SPE registers are already exported in core dumps with the VMX note, so use
the same
Author: jhibbits
Date: Tue Nov 19 02:11:00 2019
New Revision: 354842
URL: https://svnweb.freebsd.org/changeset/base/354842
Log:
ELF toolchain: Add PowerPC VMX and VSX note decode to readelf
Summary: A follow-on to r276634, which added the VMX note to userland cores,
and r334538 for VSX
Author: jhibbits
Date: Tue Nov 19 02:00:13 2019
New Revision: 354839
URL: https://svnweb.freebsd.org/changeset/base/354839
Log:
powerpc/pmap: Remove an unused error from moea64_pvo_enter()
ENOENT is leftover from mmu_oea.c's moea_pvo_enter(), where it's used to
syncicache() on the first
Author: jhibbits
Date: Tue Nov 19 01:28:06 2019
New Revision: 354838
URL: https://svnweb.freebsd.org/changeset/base/354838
Log:
powerpc/booke pmap: Use the right 'tlbilx' form to invalidate TIDs
'tlbilxpid' is 'tlbilx 1, 0', while the existing form is 'tlbilx 0, 0',
which translates to
Author: jhibbits
Date: Mon Nov 18 23:23:38 2019
New Revision: 354834
URL: https://svnweb.freebsd.org/changeset/base/354834
Log:
bsnmp: Fix operator precedence in error check in table_check_response
Summary:
The ?: operator has a lower precedence than == and &&, so the result will
always
Author: jhibbits
Date: Sun Nov 17 20:49:24 2019
New Revision: 354797
URL: https://svnweb.freebsd.org/changeset/base/354797
Log:
powerpc: Re-add -Wno-redundant-decls to DPAA build flags
Since the DPAA code is from a third party, with minimal edits, there is no
intent to fix these specific
Author: jhibbits
Date: Sun Nov 17 01:01:02 2019
New Revision: 354783
URL: https://svnweb.freebsd.org/changeset/base/354783
Log:
powerpc: Return SIGILL if DSCR does not exist in m{f,t}spr emulation
Guard against programs written for one powerpc target running on another,
and panicking the
Author: jhibbits
Date: Sat Nov 16 18:24:28 2019
New Revision: 354778
URL: https://svnweb.freebsd.org/changeset/base/354778
Log:
gcore: Don't add VSX notes on powerpcspe
powerpcspe does not support VSX at all, but gets the 'VMX' notes for free,
providing the SPE registers.
Modified:
Author: jhibbits
Date: Sat Nov 16 16:36:20 2019
New Revision: 354776
URL: https://svnweb.freebsd.org/changeset/base/354776
Log:
powerpcspe: Don't leak kernel registers in SPE dumps
save_vec_int() for SPE saves off only the high word of the register, leaving
the low word as "garbage", but
Author: jhibbits
Date: Sat Nov 16 16:27:31 2019
New Revision: 354775
URL: https://svnweb.freebsd.org/changeset/base/354775
Log:
powerpcspe: Mark asm statement in spe_save_reg_high as clobbering memory
Modern gcc errors that "'vec[0]' is used uninitialized in this function"
without us
Author: jhibbits
Date: Fri Nov 15 04:33:07 2019
New Revision: 354723
URL: https://svnweb.freebsd.org/changeset/base/354723
Log:
atomic: Add atomic_cmpset_masked to powerpc and use it
Summary:
This is a more optimal way of doing atomic_compset_masked() than the
fallback in
Author: jhibbits
Date: Thu Nov 14 21:58:40 2019
New Revision: 354714
URL: https://svnweb.freebsd.org/changeset/base/354714
Log:
Boot arm64 kernel using booti command from U-boot.
Summary:
Boot arm64 kernel using booti command from U-boot. booti can relocate initrd
image into higher ram
Author: jhibbits
Date: Wed Nov 13 02:22:00 2019
New Revision: 354671
URL: https://svnweb.freebsd.org/changeset/base/354671
Log:
powerpc64: Don't guard ISA 3.0 partition table setup with hw_direct_map
PowerISA 3.0 eliminated the 64-bit bridge mode which allowed 32-bit kernels
to run on
Author: jhibbits
Date: Wed Nov 13 02:16:24 2019
New Revision: 354670
URL: https://svnweb.freebsd.org/changeset/base/354670
Log:
powerpc: Don't savectx() twice in IPI_STOP handler
We already save context in stoppcbs[] array, so there's no need to also save
it
in the PCB, it won't be
Author: jhibbits
Date: Sun Nov 10 22:08:07 2019
New Revision: 354601
URL: https://svnweb.freebsd.org/changeset/base/354601
Log:
Consolidate powerpcspe CFLAGS
Don't depend on CPUTYPE to define powerpcspe CFLAGS, they should be set
unconditionally. This reduces duplication. Also, set
Author: jhibbits
Date: Sun Nov 10 20:36:38 2019
New Revision: 354600
URL: https://svnweb.freebsd.org/changeset/base/354600
Log:
powerpcspe: use -mspe instead of -mspe=yes to enable SPE
-mspe=yes/no was deprecated even before GCC 4.2.1 in favor of
-mspe/-mno-spe. Clang only supports
Author: jhibbits
Date: Sun Nov 10 04:24:36 2019
New Revision: 354584
URL: https://svnweb.freebsd.org/changeset/base/354584
Log:
powerpc64/powernv: Use OPAL call for non-POWER8 PCI TCE reset
According to the OPAL documentation, only the POWER8 (PHB3) should use
the register write TCE
Author: jhibbits
Date: Fri Nov 8 04:26:19 2019
New Revision: 354527
URL: https://svnweb.freebsd.org/changeset/base/354527
Log:
powerpc/booke: Only handle kernel page faults in KVA range
The memory range between VM_MAXUSER_ADDRESS and VM_MIN_KERNEL_ADDRESS is
reserved for devices
Author: jhibbits
Date: Fri Nov 8 03:45:13 2019
New Revision: 354526
URL: https://svnweb.freebsd.org/changeset/base/354526
Log:
powerpc/booke: Make the TLB save area and mask match
Since TLB_MAXNEST is 3, the insert mask should only be 2 bits. Given that 2
bits counts to 4, and that we
Author: jhibbits
Date: Fri Nov 8 03:36:19 2019
New Revision: 354525
URL: https://svnweb.freebsd.org/changeset/base/354525
Log:
powerpc/mpc85xx: Add MSI support for Freescale PowerPC SoCs
Freescale SoCs use a set of IRQs at the high end of the OpenPIC IRQ
list, not counted in the NIRQs
Author: jhibbits
Date: Wed Nov 6 04:40:12 2019
New Revision: 354369
URL: https://svnweb.freebsd.org/changeset/base/354369
Log:
powerpc/booke: Fix pmap_mapdev_attr() for multi-TLB1 entry mappings
Also, fix pmap_change_attr() to ignore non-kernel mappings.
* Fix a masking bug in
Author: jhibbits
Date: Mon Nov 4 00:35:40 2019
New Revision: 354326
URL: https://svnweb.freebsd.org/changeset/base/354326
Log:
powerpc/pmap: Make use of tlb1_mapin_region in pmap_mapdev_attr()
tlb1_mapin_region() and pmap_mapdev_attr() do roughly the same thing -- map
a chunk of
Author: jhibbits
Date: Sat Nov 2 02:24:53 2019
New Revision: 354243
URL: https://svnweb.freebsd.org/changeset/base/354243
Log:
powerpc/mpc85xx: Set description for the MPC85xx RC bridge
Modified:
head/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c
Modified:
Author: jhibbits
Date: Fri Nov 1 02:55:58 2019
New Revision: 354235
URL: https://svnweb.freebsd.org/changeset/base/354235
Log:
powerpc/booke: Fix TLB1 entry accounting
It's possible, with per-CPU mappings, for TLB1 indices to get out of sync.
This presents a problem when trying to
Author: jhibbits
Date: Wed Oct 30 15:30:40 2019
New Revision: 354182
URL: https://svnweb.freebsd.org/changeset/base/354182
Log:
ARM64: Treat alignment faults as bus errors
Summary:
ARM64 currently treats all data abort exceptions as page faults. This
can cause infinite loops on
Author: jhibbits
Date: Thu Oct 24 03:51:33 2019
New Revision: 354005
URL: https://svnweb.freebsd.org/changeset/base/354005
Log:
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary:
Due to bugs in the enumeration code, fsl_pcib_init() was not configuring
sub-bridges
Author: jhibbits
Date: Wed Oct 23 00:31:19 2019
New Revision: 353908
URL: https://svnweb.freebsd.org/changeset/base/353908
Log:
powerpc/booke: Fix Book-E boot post-minidump
r353489 added minidump support for powerpc64, but it added a dependency on
the dump_avail array. Leaving it
Author: jhibbits
Date: Sun Oct 20 15:50:33 2019
New Revision: 353777
URL: https://svnweb.freebsd.org/changeset/base/353777
Log:
powerpc/booke: Don't zero MAS8, it's unnecessary
MAS8 is hypervisor privileged, defining the logical partition (VM) to
operate on for TLB accesses. It's
Author: jhibbits
Date: Sat Oct 19 16:09:06 2019
New Revision: 353766
URL: https://svnweb.freebsd.org/changeset/base/353766
Log:
powerpc/booke pmap: Fix printf format type warnings
Modified:
head/sys/powerpc/booke/pmap.c
Modified: head/sys/powerpc/booke/pmap.c
Author: jhibbits
Date: Sat Oct 19 02:47:32 2019
New Revision: 353746
URL: https://svnweb.freebsd.org/changeset/base/353746
Log:
powerpc/aim: Fix comment typo
Modified:
head/sys/powerpc/aim/trap_subr64.S
Modified: head/sys/powerpc/aim/trap_subr64.S
Author: jhibbits
Date: Sat Oct 19 01:07:35 2019
New Revision: 353745
URL: https://svnweb.freebsd.org/changeset/base/353745
Log:
powerpc/mpc85xx: Replace global PCI config mutex with per-controller mutex
PCI controllers need to enforce exclusive config register access on their
own bus,
Author: jhibbits
Date: Wed Oct 16 03:03:59 2019
New Revision: 353604
URL: https://svnweb.freebsd.org/changeset/base/353604
Log:
powerpc/mpc85xx: Fix function type for fsl_pcib_error_intr()
Since it's only called as an interrupt handler, fsl_pcib_eror_intr() should
just
match the
/platform_amigaone.c Wed Oct 16 00:38:50
2019(r353603)
@@ -0,0 +1,123 @@
+/*-
+ * Copyright (c) 2019 Justin Hibbits
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions
Author: jhibbits
Date: Tue Oct 15 03:37:21 2019
New Revision: 353536
URL: https://svnweb.freebsd.org/changeset/base/353536
Log:
powerpc/atomic: Fix atomic_cmpset_rel()
Need a release barrier, not an acquire barrier, else bad things happen.
Modified:
head/sys/powerpc/include/atomic.h
Author: jhibbits
Date: Sun Oct 13 19:33:00 2019
New Revision: 353481
URL: https://svnweb.freebsd.org/changeset/base/353481
Log:
powerpc/pmap: Tighten condition for removing tracked pages in Book-E pmap
There are cases where there's no vm_page_t structure for a given physical
address,
Author: jhibbits
Date: Sat Oct 12 20:53:40 2019
New Revision: 353455
URL: https://svnweb.freebsd.org/changeset/base/353455
Log:
[PowerPC] force applications linked with lib CSU to have .got
Summary:
This forces applications linked with lib CSU to have a .got, fixing binaries
linked
Author: jhibbits
Date: Fri Oct 11 14:17:31 2019
New Revision: 353437
URL: https://svnweb.freebsd.org/changeset/base/353437
Log:
gcore: Add powerpc64 32-bit gcore support
Summary: Add the necessary bits for taking 32-bit gcore coredumps on
powerpc64.
Reviewed by: luporl
Author: jhibbits
Date: Fri Oct 11 14:15:50 2019
New Revision: 353436
URL: https://svnweb.freebsd.org/changeset/base/353436
Log:
gcore: Add aarch64 32-bit core support
Summary: Add trivial 32-bit arm cores on aarch64 support for gcore. This
doesn't handle fpregs.
Reviewed by: #arm,
On Tue, 8 Oct 2019 11:16:04 +0300
Konstantin Belousov wrote:
> On Tue, Oct 08, 2019 at 01:36:34AM +0000, Justin Hibbits wrote:
> > Author: jhibbits
> > Date: Tue Oct 8 01:36:34 2019
> > New Revision: 353296
> > URL: https://svnweb.freebsd.org/changeset/base/353296
Author: jhibbits
Date: Tue Oct 8 01:36:34 2019
New Revision: 353296
URL: https://svnweb.freebsd.org/changeset/base/353296
Log:
powerpc: Implement atomic_(f)cmpset_ for short and char
|
This adds two implementations for each atomic_fcmpset_ and atomic_cmpset_
short and char functions,
Author: jhibbits
Date: Tue Oct 8 02:36:53 2019
New Revision: 353297
URL: https://svnweb.freebsd.org/changeset/base/353297
Log:
loader/powerpc64: Include generic PVR values in CAS architecture list
Add generic PVR values for PowerISA 2.07 and 3.00. This allows booting
pseries
in QEMU
Author: jhibbits
Date: Mon Oct 7 03:05:32 2019
New Revision: 353160
URL: https://svnweb.freebsd.org/changeset/base/353160
Log:
loader/powerpc64: Fix HV check for CAS usage
Logic was backwards. The function returns true if it *is* running as a
hypervisor, whereas we want to only call
Author: jhibbits
Date: Mon Oct 7 02:36:42 2019
New Revision: 353158
URL: https://svnweb.freebsd.org/changeset/base/353158
Log:
powerpc64/pmap: Fix release order to match lock order in moea64_enter()
Page PV lock is always taken first, so should be released last. This also
(trivially)
Author: jhibbits
Date: Sun Oct 6 19:11:01 2019
New Revision: 353147
URL: https://svnweb.freebsd.org/changeset/base/353147
Log:
powerpc/pmap64: Properly parenthesize PV_LOCK_COUNT macros
As pointed out by mjg, without the parentheses the calculations done against
these macros are
Author: jhibbits
Date: Mon Sep 30 14:11:49 2019
New Revision: 352899
URL: https://svnweb.freebsd.org/changeset/base/352899
Log:
MF stable/12 r352685:
libm: Include float.h to get LDBL_MANT_DIG
The long double aliases of double functions are only exposed as aliases
if LDBL_MANT_DIG
Author: jhibbits
Date: Sat Sep 28 03:33:07 2019
New Revision: 352832
URL: https://svnweb.freebsd.org/changeset/base/352832
Log:
powerpc/booke64: Align initial stack setting to match that of aim64's
Clang9/LLD9 appears to get quite confused with the instruction stream used
to obtain the
Author: jhibbits
Date: Sat Sep 28 02:49:46 2019
New Revision: 352831
URL: https://svnweb.freebsd.org/changeset/base/352831
Log:
dpaa(4): Fix memcpy size for threshold copy in NCSW contrib
On 64-bit platforms uintptr_t makes the copy twice as large as it should be.
This code isn't
Author: jhibbits
Date: Wed Sep 25 14:33:08 2019
New Revision: 352685
URL: https://svnweb.freebsd.org/changeset/base/352685
Log:
MFC r342563:
libm: Include float.h to get LDBL_MANT_DIG
The long double aliases of double functions are only exposed as aliases if
LDBL_MANT_DIG is 53
Author: jhibbits
Date: Wed Sep 25 01:39:58 2019
New Revision: 352667
URL: https://svnweb.freebsd.org/changeset/base/352667
Log:
powerpc/atomic: Follow recommendations on atomic primitive comparisons
Both IBM and Freescale programming examples presume the cmpset operands will
favor equal,
Author: jhibbits
Date: Wed Sep 25 01:23:08 2019
New Revision: 352666
URL: https://svnweb.freebsd.org/changeset/base/352666
Log:
powerpc: Allocate DPCPU block from domain-local memory
This should improve NUMA scalability a little, by binding to the CPU's NUMA
domain. This matches what's
Author: jhibbits
Date: Fri Sep 20 13:35:28 2019
New Revision: 352557
URL: https://svnweb.freebsd.org/changeset/base/352557
Log:
powerpc/loader: Install ubldr without stripping
Summary:
Install's strip capability, by way of strip(1), doesn't seem to work
correctly on msdosfs, and
On Fri, Sep 13, 2019, 22:30 Justin Hibbits wrote:
> Author: jhibbits
> Date: Sat Sep 14 03:30:34 2019
> New Revision: 352313
> URL: https://svnweb.freebsd.org/changeset/base/352313
>
> Log:
> powerpc64/powernv: Add opal NVRAM driver for PowerNV systems
>
> Ad
ead/sys/powerpc/powernv/opal_nvram.c Sat Sep 14 03:30:34 2019
(r352313)
@@ -0,0 +1,276 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Justin Hibbits
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are
Author: jhibbits
Date: Fri Sep 6 03:02:12 2019
New Revision: 351923
URL: https://svnweb.freebsd.org/changeset/base/351923
Log:
powerpc64/pmap: Fix a WITNESS error in alloc_pvo_entry()
We only call alloc_pvo_entry() with M_WAITOK from one location. However,
this can be called while
Author: jhibbits
Date: Fri Sep 6 02:45:46 2019
New Revision: 351921
URL: https://svnweb.freebsd.org/changeset/base/351921
Log:
powerpc64/pmap: Simplify the code path for moea64_pte_replace_native()
Summary:
MOEA64_PTE_REPLACE() is called often with the pmap lock held, and
sometimes
Author: jhibbits
Date: Fri Sep 6 02:28:03 2019
New Revision: 351920
URL: https://svnweb.freebsd.org/changeset/base/351920
Log:
Loader: Add load offset to powerpc kernel entry point
Summary:
There is logic in ELF loadimage() to relocate kernels, but currently
only type ET_EXEC.
Author: jhibbits
Date: Fri Apr 19 02:28:04 2019
New Revision: 346363
URL: https://svnweb.freebsd.org/changeset/base/346363
Log:
powerpc/powernv: Make erasing before writes optional
If the OPAL flash driver supports writing without erase, it adds a
'no-erase' property to the flash device
Author: jhibbits
Date: Tue Apr 23 03:05:26 2019
New Revision: 346589
URL: https://svnweb.freebsd.org/changeset/base/346589
Log:
powerpc64/pseries: Fix hypervisor call with extra arguments
Some hypervisor calls, such as H_SEND_LOGICAL_LAN, take more arguments than
are traditionally passed
Author: jhibbits
Date: Tue Apr 23 03:19:03 2019
New Revision: 346590
URL: https://svnweb.freebsd.org/changeset/base/346590
Log:
[PowerPC64] pseries-llan: increment packet output counters on error and
success
Summary: when using pseries-llan driver, Opkts and Oerrs counters (netstat
-i)
On Sat, Apr 20, 2019, 08:21 Alan Somers wrote:
> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits
> wrote:
> >
> >
> >
> > On Sat, Apr 20, 2019, 07:51 Alan Somers wrote:
> >>
> >> Author: asomers
> >> Date: Sat Apr 20 12:51:05 2019
>
Author: jhibbits
Date: Tue Apr 23 02:53:53 2019
New Revision: 346588
URL: https://svnweb.freebsd.org/changeset/base/346588
Log:
powerpc64: Rewrite strcmp in asm to take advantage of word size
Summary:
Optimize strcmp for powerpc64.
Data is loaded by double words and cmpb intruction is
Author: jhibbits
Date: Wed Apr 24 02:51:58 2019
New Revision: 346619
URL: https://svnweb.freebsd.org/changeset/base/346619
Log:
powerpc: Add a couple missing isyncs
mtmsr and mtsr require context synchronizing instructions to follow. Without
a CSI, there's a chance for a machine check
On Sat, Apr 20, 2019, 07:51 Alan Somers wrote:
> Author: asomers
> Date: Sat Apr 20 12:51:05 2019
> New Revision: 346441
> URL: https://svnweb.freebsd.org/changeset/base/346441
>
> Log:
> Use symlinks for kernel modules rather than hardlinks
>
> When aliasing a kernel module to a different
On Tue, 3 Sep 2019 10:20:35 -0400
Shawn Webb wrote:
> On Tue, Sep 03, 2019 at 07:47:40AM -0400, Shawn Webb wrote:
> > On Tue, Sep 03, 2019 at 11:45:23AM +, Brooks Davis wrote:
> > > On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote:
> > > > Hey Mateusz,
> > > >
> > > > On Tue,
Author: jhibbits
Date: Sat Apr 20 02:44:38 2019
New Revision: 346426
URL: https://svnweb.freebsd.org/changeset/base/346426
Log:
powerpc64/powernv: Relax flash block write requirements
Since writes don't necessarily need to be on erase-block boundaries, we can
relax the block size and
On Mon, Apr 15, 2019, 18:34 Ed Maste wrote:
> On Mon, 15 Apr 2019 at 14:40, Conrad Meyer wrote:
> >
> > Author: cem
> > Date: Mon Apr 15 18:40:36 2019
> > New Revision: 346250
> > URL: https://svnweb.freebsd.org/changeset/base/346250
> >
> > Log:
> > random(4): Block read_random(9) on initial
Hi Conrad,
On Mon, 15 Apr 2019 17:53:17 -0700
Conrad Meyer wrote:
> Hi Justin,
>
> On Mon, Apr 15, 2019 at 5:01 PM Justin Hibbits
> wrote:
> > Given the discussion over there it would probably also fail on
> > powernv, which also does not use loader.
>
> Do
Author: jhibbits
Date: Sat Apr 13 04:03:18 2019
New Revision: 346174
URL: https://svnweb.freebsd.org/changeset/base/346174
Log:
Add NUMA support to powerpc
Summary:
Initial NUMA support:
- associate CPU with domain
- associate memory ranges with domain
- identify domain
Author: jhibbits
Date: Sat Apr 13 02:29:30 2019
New Revision: 346172
URL: https://svnweb.freebsd.org/changeset/base/346172
Log:
powerpc: Add file forgotten in r346144
Forgot to add the changes for DELAY(), which lowers priority during the
delay period. Also, mark the timebase read as
Author: jhibbits
Date: Fri Apr 12 00:44:33 2019
New Revision: 346143
URL: https://svnweb.freebsd.org/changeset/base/346143
Log:
powerpc64: Increase the nap level on power9 idling
The POWER9 documentation specifies that levels 0-3 are the 'lightest' sleep
level, meaning lowest latency and
Author: jhibbits
Date: Sat Apr 13 03:32:21 2019
New Revision: 346173
URL: https://svnweb.freebsd.org/changeset/base/346173
Log:
powerpc/dtrace: Fix dtrace powerpc asm, and simplify stack walking
Fix some execution bugs in the dtrace powerpc asm. addme pulls in the carry
flag which we
Author: jhibbits
Date: Fri Apr 12 00:53:30 2019
New Revision: 346144
URL: https://svnweb.freebsd.org/changeset/base/346144
Log:
powerpc: Adjust priority NOPs, and make them functions
PowerISA 2.07 and PowerISA 3.0 both specify special NOPs for priority
adjustments, with "medium" priority
Author: jhibbits
Date: Sat Apr 6 02:39:56 2019
New Revision: 345975
URL: https://svnweb.freebsd.org/changeset/base/345975
Log:
powerpc/powernv: Fix major bugs in opal_flash
* The BIO bio_data may not be page aligned. Only the base address of each
page worth of data is extracted to
Author: jhibbits
Date: Sat Apr 6 02:31:01 2019
New Revision: 345974
URL: https://svnweb.freebsd.org/changeset/base/345974
Log:
powerpc/powernv: Fix issues in opal_async
* Properly return the full opal_msg from an async completion.
* Don't keep bugging OPAL, wait 100us or so. With some
Author: jhibbits
Date: Wed Apr 3 04:01:08 2019
New Revision: 345831
URL: https://svnweb.freebsd.org/changeset/base/345831
Log:
powerpc: Allow emulating optional FPU instructions on CPUs with an FPU
The e5500 has an FPU, but lacks the optional fsqrt instruction. This
instruction gets
Author: jhibbits
Date: Wed Apr 3 03:54:30 2019
New Revision: 345829
URL: https://svnweb.freebsd.org/changeset/base/345829
Log:
powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt
This fix was committed less than 2 months after the code was forked into the
powerpc kernel. Though
Author: jhibbits
Date: Tue Apr 2 04:02:57 2019
New Revision: 345790
URL: https://svnweb.freebsd.org/changeset/base/345790
Log:
powernv: Port OPAL asynchronous framework to use the new message framework
Since OPAL_GET_MSG does not discriminate between message types, asynchronous
Author: jhibbits
Date: Tue Apr 2 04:12:06 2019
New Revision: 345791
URL: https://svnweb.freebsd.org/changeset/base/345791
Log:
ipmi: Fixes for ipmi_opal(powernv)
* Crank the OPAL state machine during the receive loop, to make sure the
pollers are executed
* Add a proper detach
Author: jhibbits
Date: Tue Apr 2 04:00:01 2019
New Revision: 345789
URL: https://svnweb.freebsd.org/changeset/base/345789
Log:
powerpc/powernv: Add OPAL heartbeat thread
Summary:
OPAL needs to be kicked periodically in order for the firmware to make
progress on its tasks. To do so,
Author: jhibbits
Date: Fri Mar 29 02:38:30 2019
New Revision: 345676
URL: https://svnweb.freebsd.org/changeset/base/345676
Log:
powerpc64: Use medium code model in asm files for TOC references
Summary:
With a sufficiently large TOC, it's possible to index out of range, as
the immediate
Author: jhibbits
Date: Fri Mar 29 02:11:48 2019
New Revision: 345674
URL: https://svnweb.freebsd.org/changeset/base/345674
Log:
powerpc: Remove now-obsolete P9H MMU name
Modified:
head/sys/powerpc/include/mmuvar.h
Modified: head/sys/powerpc/include/mmuvar.h
101 - 200 of 1249 matches
Mail list logo