g\n2008/10/06"]
+luporl [label="Leandro Lupori\nlup...@freebsd.org\n2018/05/21"]
manu [label="Emmanuel Vadot\nm...@freebsd.org\n2016/04/24"]
marcel [label="Marcel Moolenaar\nmar...@freebsd.org\n1999/07/03"]
marius [label="Marius Strobl\nmar...@freebsd.or
=
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/powerpc/powerpc/minidump_machdep.c Mon Oct 14 13:04:04 2019
(r353489)
@@ -0,0 +1,442 @@
+/*-
+ * Copyright (c) 2019 Leandro Lupori
+ * All rights re
Author: luporl
Date: Mon Oct 14 19:06:17 2019
New Revision: 353500
URL: https://svnweb.freebsd.org/changeset/base/353500
Log:
Fix powerpc/powerpcspe builds
Revision 353489 introduced some new function calls in common powerpc code,
but these must be called only on powerpc64.
Modified:
h
Author: luporl
Date: Mon Oct 21 11:56:57 2019
New Revision: 353795
URL: https://svnweb.freebsd.org/changeset/base/353795
Log:
[PPC64] Add minidump support to PowerNV
Implementation of PowerNV specific minidump code.
Reviewed by: jhibbits
Differential Revision:https://reviews
Author: luporl
Date: Tue Oct 22 18:28:58 2019
New Revision: 353897
URL: https://svnweb.freebsd.org/changeset/base/353897
Log:
[PPC] Avoid underflows in NUMA domains
On POWER8 systems with only one memory domain, the "ibm,associativity"
number that corresponds to it is 0, unlike POWER9 sys
Author: luporl
Date: Thu Oct 31 11:59:00 2019
New Revision: 354213
URL: https://svnweb.freebsd.org/changeset/base/354213
Log:
[PPC64] Fix trapstk overflow
In some scenarios, the 4K trapstk may overflow, corrupting tmpstk.
This was observed during remote debugging, with the following st
Author: luporl
Date: Thu Oct 31 12:03:47 2019
New Revision: 354214
URL: https://svnweb.freebsd.org/changeset/base/354214
Log:
Fix GDB machdep code for PPC/PPC64
There was a couple issues with GDB machdep code for PPC/PPC64, the main ones
being:
- wrong register sizes being returned
- p
Author: luporl
Date: Fri Nov 1 11:28:43 2019
New Revision: 354239
URL: https://svnweb.freebsd.org/changeset/base/354239
Log:
[PPC64] Fix GDB sigtramp detection
Current implementation of ppcfbsd_pc_in_sigtramp() seems to take only 32-bit
PowerPC in account, as on 64-bit PowerPC most kerne
+ *
+ * Copyright (C) 2019 Leandro Lupori
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions
Author: luporl
Date: Fri Nov 29 11:34:11 2019
New Revision: 355209
URL: https://svnweb.freebsd.org/changeset/base/355209
Log:
[PPC] Remove extra \0 char inserted on vty by QEMU
Since version 2.11.0, QEMU became bug-compatible with
PowerVM's vty implementation, by inserting a \0 after
ev
Author: luporl
Date: Tue Apr 23 17:11:45 2019
New Revision: 346600
URL: https://svnweb.freebsd.org/changeset/base/346600
Log:
[PPC64] Fix wrong KASSERT in mphyp_pte_insert()
As mphyp_pte_unset() can also remove PTE entries, and as this can
happen in parallel with PTEs evicted by mphyp_pte
Author: luporl
Date: Tue Sep 10 16:16:05 2019
New Revision: 352140
URL: https://svnweb.freebsd.org/changeset/base/352140
Log:
Add R_PPC_IRELATIVE relocation
Pre-requisite for most ifunc related changes.
Reviewed by: jhibbits
Differential Revision:https://reviews.freebsd.org/
Author: luporl
Date: Tue Sep 10 18:46:32 2019
New Revision: 352175
URL: https://svnweb.freebsd.org/changeset/base/352175
Log:
Add powerpc support to libkvm probe function
PowerPC kernels are of DYN type, instead of EXEC.
Reviewed by: jhibbits
Differential Revision:https://re
atexit(_mcleanup);
Added: head/lib/csu/powerpc64/reloc.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/csu/powerpc64/reloc.c Thu Sep 12 16:45:07 2019
(r352255)
@@
Author: luporl
Date: Fri Jun 7 17:58:59 2019
New Revision: 348783
URL: https://svnweb.freebsd.org/changeset/base/348783
Log:
[PPC64] Support QEMU/KVM pseries without hugepages
This set of changes make it possible to run FreeBSD for PowerPC64/pseries,
under QEMU/KVM, without requiring the
Author: luporl
Date: Tue Jun 11 11:16:41 2019
New Revision: 348899
URL: https://svnweb.freebsd.org/changeset/base/348899
Log:
[PPC64] Fix ofw_initrd
Before this change, OFW initrd (as md) handling code was simulating an ofwbus
device. But as there isn't really a Device Tree (DT) node repr
Author: luporl
Date: Tue Jun 11 11:23:15 2019
New Revision: 348900
URL: https://svnweb.freebsd.org/changeset/base/348900
Log:
[PPC] Fix build error when POWERNV is disabled
When building a kernel supporting PSERIES but not POWERNV,
the compiler would complain about an error variable being
Author: luporl
Date: Wed Jun 19 11:37:43 2019
New Revision: 349188
URL: https://svnweb.freebsd.org/changeset/base/349188
Log:
[PPC] Fix loader input with newer QEMU versions
At least since version 4.0.0, QEMU became bug-compatible with PowerVM's
vty, by inserting a \0 after every \r. As t
Author: luporl
Date: Tue Jun 25 17:15:44 2019
New Revision: 349377
URL: https://svnweb.freebsd.org/changeset/base/349377
Log:
[PowerPC64] Don't mark module data as static
Fixes panic when loading ipfw.ko and if_epair.ko built with modern compiler.
Similar to arm64 and riscv, when using
Author: luporl
Date: Fri Jun 28 15:49:14 2019
New Revision: 349508
URL: https://svnweb.freebsd.org/changeset/base/349508
Log:
Fix missing powerpc64 in _LLVM_TARGET_FILT
This change was originally in D20378. Making it in a new diff since it's a
bugfix.
Submitted by: alfredo.junior_eld
Author: luporl
Date: Fri Jun 28 15:52:40 2019
New Revision: 349509
URL: https://svnweb.freebsd.org/changeset/base/349509
Log:
[PowerPC64] Add ABI flags to 'file' magic
The distinction between ELF header version and OpenPOWER ELF ABI version is
confusing for most of people, so this adds te
Author: luporl
Date: Fri Jun 28 16:00:55 2019
New Revision: 349510
URL: https://svnweb.freebsd.org/changeset/base/349510
Log:
[PowerPC64] readelf: print description for 'e_flags' in ELF header (ABI type)
This prints out description text with the meaning of 'Flags' value in
PowerPC64.
Author: luporl
Date: Thu Jul 4 12:31:24 2019
New Revision: 349723
URL: https://svnweb.freebsd.org/changeset/base/349723
Log:
[PPC64] pseries llan: fix MAC address
There was an issue in pseries llan driver, that resulted in the first 2 bytes
of the MAC address getting stripped, and the la
Author: luporl
Date: Mon Jul 8 13:01:54 2019
New Revision: 349833
URL: https://svnweb.freebsd.org/changeset/base/349833
Log:
[PPC] Add missing SLB allocation KASSERT
Although PPC SLB code doesn't handle allocation failures,
which are rare, in most places it asserts that the pointer
ret
Author: luporl
Date: Wed Jul 10 13:36:17 2019
New Revision: 349885
URL: https://svnweb.freebsd.org/changeset/base/349885
Log:
[PPC64] pseries: fix realmaxaddr calculation
On POWER9/pseries, QEMU passes several regions of memory,
instead of a single region containing all memory, as the
c
Author: luporl
Date: Thu Jul 25 15:27:05 2019
New Revision: 350323
URL: https://svnweb.freebsd.org/changeset/base/350323
Log:
powerpc: Improve pvo allocation code
Added allocation retry loop in alloc_pvo_entry(), to wait for
memory to become available if the caller specifies the M_WAITOK
Author: luporl
Date: Wed Jul 31 16:22:05 2019
New Revision: 350467
URL: https://svnweb.freebsd.org/changeset/base/350467
Log:
[PPC64] Backport fix for missing IRELATIVE relocations
This is a backport of LLVM commit 8331f61a51a7a0a1efbf5ed398e181593023d151,
llvm-svn: 353981:
ELF: Allo
0:00:00 1970 (empty, because file is newly added)
+++ head/stand/powerpc/ofw/cas.cWed Jul 31 20:31:36 2019
(r350485)
@@ -0,0 +1,225 @@
+/*-
+ * Copyright (c) 2019 Leandro Lupori
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are pe
Author: luporl
Date: Mon Aug 5 13:22:02 2019
New Revision: 350587
URL: https://svnweb.freebsd.org/changeset/base/350587
Log:
[PPC64] Fix rtld direct exec mode
Instead of restoring the saved values of argc, argv and envp,
these must be loaded from the stack that _rtld() modifies.
Thi
Author: luporl
Date: Mon Aug 5 13:28:21 2019
New Revision: 350589
URL: https://svnweb.freebsd.org/changeset/base/350589
Log:
[PPC64] Don't mark ld.bfd as obsolete
PowerPC64 still needs ld.bfd for 32-bit binaries/libraries.
This will be needed when ELFv2 becomes default, but there is n
Author: luporl
Date: Mon Aug 12 12:51:47 2019
New Revision: 350899
URL: https://svnweb.freebsd.org/changeset/base/350899
Log:
[PPC64] Save FPU registers before enabling VSX
Fixed trap handler logic, in order to make it save FPU registers,
if FPU is enabled, before enabling VSX. Without th
Author: luporl
Date: Mon Aug 12 17:18:20 2019
New Revision: 350902
URL: https://svnweb.freebsd.org/changeset/base/350902
Log:
[ppc] avoid empty mdproc struct
Avoid empty structs, that have undefined behavior in C99 and
make compilers complain about it
(empty struct has size 0 in C, size
Author: luporl
Date: Mon Aug 12 19:44:57 2019
New Revision: 350953
URL: https://svnweb.freebsd.org/changeset/base/350953
Log:
Fix style and clarify comment
Fix code style in proc.h and clarify comment about empty structs.
Modified:
head/sys/powerpc/include/proc.h
Modified: head/sys/powe
Author: luporl
Date: Mon Jul 6 11:57:59 2020
New Revision: 362958
URL: https://svnweb.freebsd.org/changeset/base/362958
Log:
Handle non-PLT GNU IFUNC relocations in rtld
In the last IFUNC related changes to rtld, the code that handled non-PLT
GNU IFUNC relocations ended up getting lost.
Author: luporl
Date: Wed Jul 15 13:43:48 2020
New Revision: 363222
URL: https://svnweb.freebsd.org/changeset/base/363222
Log:
[PowerPC] Use PVO_PADDR to get the PA from PVO
Use PVO_PADDR macro to get the physical address from a PVO, instead of
explicitly ANDing pvo_pte.pa with LPTE_RPGN w
Author: luporl
Date: Mon Aug 24 13:40:35 2020
New Revision: 364675
URL: https://svnweb.freebsd.org/changeset/base/364675
Log:
[PowerPC] Make new auxv format default
Assume ELF images without OSREL use the new auxv format.
This is specially important for rtld, that is not tagged. Using
Author: luporl
Date: Thu Nov 5 14:15:50 2020
New Revision: 367383
URL: https://svnweb.freebsd.org/changeset/base/367383
Log:
[PowerPC] Make PPC 970 PMC SPRs the standard ones
And add a _74XX suffix to 74XX SPRs.
This is a preparation for adding support to POWER8/9 PMCs, which have mos
Author: luporl
Date: Thu Nov 5 16:36:39 2020
New Revision: 367390
URL: https://svnweb.freebsd.org/changeset/base/367390
Log:
[PowerPC] hwpmc: add support for POWER8/9 PMCs
This change adds support for POWER8 and POWER9 PMCs (bare metal and
pseries).
All PowerISA 2.07B non-random events
Author: luporl
Date: Thu Nov 5 16:41:28 2020
New Revision: 367391
URL: https://svnweb.freebsd.org/changeset/base/367391
Log:
libpmc: add support for POWER8/9 PMCs
This change adds support for POWER8/9 performance counters.
Reviewed by: jhibbits
Sponsored by: Eldorado Research Insti
Author: luporl
Date: Thu Nov 5 16:47:23 2020
New Revision: 367392
URL: https://svnweb.freebsd.org/changeset/base/367392
Log:
pmcstat: fix PPC kernel symbol resolution
PowerPC kernel is of DYN type and it has a base address where it is
initially loaded, before being relocated. As the star
Author: luporl
Date: Thu Nov 5 20:18:00 2020
New Revision: 367397
URL: https://svnweb.freebsd.org/changeset/base/367397
Log:
Fix powerpc and powerpcspe builds
This change fixes 32-bit PowerPC builds, that r367390 broke
(shift count >= width of type).
Modified:
head/sys/powerpc/include
Author: luporl
Date: Fri Nov 6 14:12:45 2020
New Revision: 367417
URL: https://svnweb.freebsd.org/changeset/base/367417
Log:
Implement superpages for PowerPC64 (HPT)
This change adds support for transparent superpages for PowerPC64
systems using Hashed Page Tables (HPT). All pmap operati
Author: luporl
Date: Fri Nov 6 18:50:00 2020
New Revision: 367427
URL: https://svnweb.freebsd.org/changeset/base/367427
Log:
Fix powerpc and LINT builds
Fix build errors introduced by r367417 and r367390:
- Guard label reached only by powerpc64
- Guard vm_reserv_level_iffullpop call
Author: luporl
Date: Tue Nov 17 11:36:31 2020
New Revision: 367758
URL: https://svnweb.freebsd.org/changeset/base/367758
Log:
[PowerPC] Don't overwrite vm.pmap sysctl node
After r367417, both mmu_oea64 and mmu_radix were defining the vm.pmap
sysctl node, resulting in the later definition
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/powerpc/powernv/opal_dbg.c Mon Dec 9 13:09:32 2019
(r35)
@@ -0,0 +1,151 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (C) 2019 Leandro
Author: luporl
Date: Mon Dec 9 13:40:23 2019
New Revision: 36
URL: https://svnweb.freebsd.org/changeset/base/36
Log:
Enable use of ofwcons for early debug
This change enables the use of OpenFirmware Console (ofwcons), even when VGA
is
available, allowing early kernel messages to
(r37)
@@ -0,0 +1,202 @@
+/*-
+ * Copyright (c) 2006 Peter Wemm
+ * Copyright (c) 2019 Leandro Lupori
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source
Author: luporl
Date: Mon Dec 16 13:17:39 2019
New Revision: 355801
URL: https://svnweb.freebsd.org/changeset/base/355801
Log:
[PPC] Handle qOffsets packet
On PowerPC, this is needed in order for the debugger to find out
the memory offset where the kernel image was loaded on the remote
t
)
@@ -0,0 +1,33 @@
+/*-
+ * Copyright (c) 2019 Leandro Lupori
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice
/string/strncpy.cWed Jan 15 19:53:03 2020
(r356766)
@@ -0,0 +1,33 @@
+/*-
+ * Copyright (c) 2019 Leandro Lupori
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
Author: luporl
Date: Wed Jan 15 20:25:52 2020
New Revision: 356767
URL: https://svnweb.freebsd.org/changeset/base/356767
Log:
[PPC64] memcpy/memmove/bcopy optimization
For copies shorter than 512 bytes, the data is copied using plain
ld/std instructions.
For 512 bytes or more, the copy
Author: luporl
Date: Thu Jan 16 11:33:15 2020
New Revision: 356788
URL: https://svnweb.freebsd.org/changeset/base/356788
Log:
[PowerPC64] Enable virtio drivers
This enables virtio modules on PowerPC* target.
On PowerPC64, drivers are also kernel builtin.
QEMU currently needs to be pa
Author: luporl
Date: Fri Jan 17 14:43:58 2020
New Revision: 356831
URL: https://svnweb.freebsd.org/changeset/base/356831
Log:
[PPC] Fix wrong comment
pcb_context[20] holds r12-r31 and not r14-r31, as the comment said.
Modified:
head/sys/powerpc/include/pcb.h
Modified: head/sys/powerpc/i
Author: luporl
Date: Wed Jan 29 18:13:44 2020
New Revision: 357262
URL: https://svnweb.freebsd.org/changeset/base/357262
Log:
[PPC64] Fix NUMA on POWER8
On some POWER8 machines, 'ibm,associativity' property may have 6
cells, which would overflow the 5 cells buffer being used.
There was
Author: luporl
Date: Wed Feb 5 11:34:10 2020
New Revision: 357570
URL: https://svnweb.freebsd.org/changeset/base/357570
Log:
Add SYSCTL to get KERNBASE and relocated KERNBASE
This change adds 2 new SYSCTLs, to retrieve the original and relocated
KERNBASE
values. This provides an easy, a
, void *);
int kvm_walk_pages(kvm_t *, kvm_walk_pages_cb_t *, void *);
Added: head/lib/libkvm/kvm_kerndisp.3
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libkvm/kvm_kerndisp.3 Thu Feb 6 13:21:59 2020
(r357615)
@@ -0,0 +1,57 @@
+.\
Author: luporl
Date: Mon Mar 2 16:11:25 2020
New Revision: 358550
URL: https://svnweb.freebsd.org/changeset/base/358550
Log:
[aacraid] Prevent sense data from causing a buffer overflow
This issue was observed on a PowerPC64 machine with an Adaptec RAID
Controller with PCI device ID 0x028
Author: luporl
Date: Wed Mar 4 12:21:38 2020
New Revision: 358613
URL: https://svnweb.freebsd.org/changeset/base/358613
Log:
[aacraid] Add missing unmap call for SYNC mode
This issue was observed on a PowerPC64 machine with an Adaptec RAID Controller
with PCI device ID 0x028d. After seve
status = le32toh(((u_int32_t *)cm->cm_fib->data)[0]);
if (cm->cm_flags & AAC_CMD_RESET) {
ccb->ccb_h.status = CAM_SCSI_BUS_RESET;
@@ -1146,6 +1155,7 @@ aac_cam_complete(struct aac_command *cm)
fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
Author: luporl
Date: Fri Mar 6 12:37:04 2020
New Revision: 358698
URL: https://svnweb.freebsd.org/changeset/base/358698
Log:
ixl: Add missing conversions from/to LE16
This fixes some errors on PPC64, during attach and when trying to assign an IP
to an interface. With this change, basic
Author: luporl
Date: Mon Mar 9 19:01:17 2020
New Revision: 358814
URL: https://svnweb.freebsd.org/changeset/base/358814
Log:
[aacraid] Handle both AIF and SYNC interrupts
Without this change, if an AIF interrupt comes at the same time a SYNC
command is finished, the SYNC interrupt will b
Author: luporl
Date: Thu Mar 12 12:47:10 2020
New Revision: 358908
URL: https://svnweb.freebsd.org/changeset/base/358908
Log:
Enable ixl device on PowerPC64
The ixl driver now works on PowerPC64 and may be compiled in-kernel and
as a module.
Reviewed by: alfredo, erj
Sponsored by:
Author: luporl
Date: Wed Mar 18 13:09:47 2020
New Revision: 359069
URL: https://svnweb.freebsd.org/changeset/base/359069
Log:
Add fsck_flags config option
On UFS with SU+J, sometimes fsck's default recovery from journal marks the
filesystem as clean but some errors remain.
With SU on
Author: luporl
Date: Thu Mar 26 12:17:49 2020
New Revision: 359329
URL: https://svnweb.freebsd.org/changeset/base/359329
Log:
[PowerPC64] Fix OPAL IPMI driver
This change fixes a couple of issues with OPAL IPMI driver and
implements a mechanism to detect timeouts and discard old messages
Author: luporl
Date: Tue Apr 7 12:46:26 2020
New Revision: 359687
URL: https://svnweb.freebsd.org/changeset/base/359687
Log:
[PPC] Fix loader call to instantiate-rtas
OpenFirmware (OF) method instantiate-rtas was being called with a wrong
rtas-base-address argument. It must use the memor
Author: luporl
Date: Tue Apr 7 19:46:00 2020
New Revision: 359716
URL: https://svnweb.freebsd.org/changeset/base/359716
Log:
Add support to MSDOS FS in PPC loader
Although PPC OFW loader already had a LOADER_MSDOS_SUPPORT option, a few lines
were missing in conf.c, in order to support FA
Author: luporl
Date: Fri Jul 27 13:11:05 2018
New Revision: 336760
URL: https://svnweb.freebsd.org/changeset/base/336760
Log:
Fixed endianess issue in AHCI driver
There were some bits that were being set in cmd_flags (a field of AHCI's
command list structure) after cmd_flags was converted
Author: luporl
Date: Thu Aug 9 14:04:51 2018
New Revision: 337537
URL: https://svnweb.freebsd.org/changeset/base/337537
Log:
[ppc] Fix kernel panic when using BOOTP_NFSROOT
On PowerPC (and possibly other architectures), that doesn't use
EARLY_AP_STARTUP, the config task queue may be used
Author: luporl
Date: Tue Apr 23 17:11:45 2019
New Revision: 346600
URL: https://svnweb.freebsd.org/changeset/base/346600
Log:
[PPC64] Fix wrong KASSERT in mphyp_pte_insert()
As mphyp_pte_unset() can also remove PTE entries, and as this can
happen in parallel with PTEs evicted by mphyp_pte
Author: luporl
Date: Mon Apr 29 16:50:33 2019
New Revision: 346897
URL: https://svnweb.freebsd.org/changeset/base/346897
Log:
[PPC64] Turn opal_flash.c into a device
This change makes it easier to enable/disable the inclusion of
OPAL flash in the kernel.
Reviewed by: jhibbits
Diff
Author: luporl
Date: Fri May 10 17:05:40 2019
New Revision: 347445
URL: https://svnweb.freebsd.org/changeset/base/347445
Log:
Fix build issue with clang 8.0.1
The algorithm header is needed to use std::remove_if
Modified:
head/usr.bin/dtc/fdt.hh
Modified: head/usr.bin/dtc/fdt.hh
===
Author: luporl
Date: Mon May 20 16:00:32 2019
New Revision: 347992
URL: https://svnweb.freebsd.org/changeset/base/347992
Log:
[PPC] Enable build/install of ld.bfd on base
When using LLVM+clang+lld on PowerPC64, ld.bfd is also needed,
to link 32-bit binaries correctly, as lld support for 3
Author: luporl
Date: Mon May 20 19:21:35 2019
New Revision: 348005
URL: https://svnweb.freebsd.org/changeset/base/348005
Log:
[PowerPC64] stand: fix build using clang 8 as compiler
This change fixes "stand" build issues when using clang 8
as compiler.
Submitted by: alfredo.junior_e
Author: luporl
Date: Wed May 22 15:56:41 2019
New Revision: 348112
URL: https://svnweb.freebsd.org/changeset/base/348112
Log:
Fix PPC64 kernel build with clang8 + lld8
This patch fixes the following lld link errors:
- unsupported dynamic relocations on read-only sections
- out-of-ran
Author: luporl
Date: Fri May 24 18:41:31 2019
New Revision: 348248
URL: https://svnweb.freebsd.org/changeset/base/348248
Log:
Make options MD_ROOT_MEM default on PPC64
Having this option enabled by default on PowerPC64 kernels makes
booting ISO images much easier when on PowerNV.
Wit
Author: luporl
Date: Mon Oct 15 16:43:07 2018
New Revision: 339360
URL: https://svnweb.freebsd.org/changeset/base/339360
Log:
Initialize SPRG0 before its first possible use
At early boot, PCPU_GET(), that obtains a pointer from SPRG0, was being
used with SPRG0 not yet initialized. If it p
Author: luporl
Date: Mon Oct 22 13:40:50 2018
New Revision: 339589
URL: https://svnweb.freebsd.org/changeset/base/339589
Log:
ppc64: limited 32-bit DMA address range
Further investigation of issues with 32-bit DMA on PowerNV revealed that
its window is hardcoded by OPAL (at least in skibo
Author: luporl
Date: Mon Dec 10 14:54:28 2018
New Revision: 341797
URL: https://svnweb.freebsd.org/changeset/base/341797
Log:
ppc64: handle exception 0x1500 (soft patch)
This change adds a hypervisor trap handler for exception 0x1500 (soft patch),
normalizing all VSX registers and returni
Author: luporl
Date: Mon Feb 4 16:02:03 2019
New Revision: 343744
URL: https://svnweb.freebsd.org/changeset/base/343744
Log:
powerpc64: Add a trap stack area
Currently, the trap code switches to the the temporary stack in the dbtrap
section. It works in most cases, but in the beginning o
Author: luporl
Date: Tue Feb 5 18:16:14 2019
New Revision: 343791
URL: https://svnweb.freebsd.org/changeset/base/343791
Log:
[ppc64] llan: fix fatal kernel trap when system is low on memory
When running several builders in parallel, on QEMU, with 8GB of
memory, a fatal kernel trap (0x300
Author: luporl
Date: Thu Feb 7 17:30:44 2019
New Revision: 343872
URL: https://svnweb.freebsd.org/changeset/base/343872
Log:
[ppc64] fix /dev/kmem
For direct mapped kernel addresses, ppc64 function was not
performing the dmap to physical conversion, before jumping
to the code that fetc
Author: luporl
Date: Tue Feb 12 11:29:03 2019
New Revision: 344049
URL: https://svnweb.freebsd.org/changeset/base/344049
Log:
[ppc64] prevent infinite loop on icache sync
At moea64_sync_icache(), when the 'va' argument has page size
alignment, round_page() will return the same value as 'v
Author: luporl
Date: Wed Feb 13 18:28:53 2019
New Revision: 344109
URL: https://svnweb.freebsd.org/changeset/base/344109
Log:
silence cast-align warnings from clang on powerpc64
silence the following warning when compiling libthr with clang 8
for powerpc64 architecture:
usr/src/lib/l
Author: luporl
Date: Thu Feb 14 15:15:32 2019
New Revision: 344123
URL: https://svnweb.freebsd.org/changeset/base/344123
Log:
[PPC64] Fix mismatch between thread flags and MSR
When sigreturn() restored a thread's context, SRR1 was being restored
to its previous value, but pcb_flags was no
Author: luporl
Date: Mon Feb 25 18:52:47 2019
New Revision: 344534
URL: https://svnweb.freebsd.org/changeset/base/344534
Log:
Increase ctfconvert buffer size
Reviewed by: markj
Differential Revision:https://reviews.freebsd.org/D19353
Modified:
head/cddl/contrib/opensolaris/too
Author: luporl
Date: Wed Feb 27 13:24:42 2019
New Revision: 344620
URL: https://svnweb.freebsd.org/changeset/base/344620
Log:
Fix kldxref on PowerPC64
When using kldxref on kernel modules built with clang8 + lld8,
kldxref would be unable to find the modules metadata information,
because
Author: luporl
Date: Tue Sep 1 11:30:39 2020
New Revision: 365032
URL: https://svnweb.freebsd.org/changeset/base/365032
Log:
[PowerPC] Move pmc_hook out of critical section
Calling pmc_hook inside a critical section may result in a panic.
This happens when the user callchain is fetche
Author: luporl
Date: Tue Sep 1 11:34:05 2020
New Revision: 365033
URL: https://svnweb.freebsd.org/changeset/base/365033
Log:
[PowerPC] Fix PMCLOG address width
PMCLOG macros were always using 32-bit addresses, even on PPC64.
This resulted in truncated addresses in logs, when running on 6
88 matches
Mail list logo