Author: jhibbits
Date: Sat May 19 03:23:46 2018
New Revision: 333824
URL: https://svnweb.freebsd.org/changeset/base/333824
Log:
Add some Hypervisor interrupt definitions
This mostly completes the interrupt definitions. There are still some left
out,
less likely to be used in the near te
Author: jhibbits
Date: Sat May 19 03:45:38 2018
New Revision: 333825
URL: https://svnweb.freebsd.org/changeset/base/333825
Log:
Add yet another option for gathering available memory
On some POWER9 systems, 'reg' denotes the full memory in the system, while
'linux,usable-memory' denotes th
On Fri, May 18, 2018 at 10:45 PM, Justin Hibbits wrote:
> Author: jhibbits
> Date: Sat May 19 03:45:38 2018
> New Revision: 333825
> URL: https://svnweb.freebsd.org/changeset/base/333825
>
> Log:
> Add yet another option for gathering available memory
>
> On some PO
Author: jhibbits
Date: Sat May 19 03:47:28 2018
New Revision: 333826
URL: https://svnweb.freebsd.org/changeset/base/333826
Log:
Fix a manual copy from the original diff for r333825
The 'else' was in the original diff.
Submitted by: Breno Leitao
Modified:
head/sys/powerpc/ofw/ofw_mac
Author: jhibbits
Date: Sat May 19 04:01:15 2018
New Revision: 333836
URL: https://svnweb.freebsd.org/changeset/base/333836
Log:
powerpc64: Add OPAL definitions
Summary:
Add additional OPAL PCI definitions and expand the code to use them in order
to
ease the OPAL interface process for n
Author: jhibbits
Date: Sat May 19 04:21:50 2018
New Revision: 333846
URL: https://svnweb.freebsd.org/changeset/base/333846
Log:
Add hypervisor trap handling, using HSRR0/HSRR1
Summary:
Some hypervisor exceptions on POWER architecture only save state to
HSRR0/HSRR1.
Until we have bhyve
Author: jhibbits
Date: Sat May 19 04:56:10 2018
New Revision: 333851
URL: https://svnweb.freebsd.org/changeset/base/333851
Log:
Add SPR_HSRR0/SPR_HSRR1 definitions
Reported by: Mark Millard
Pointy-hat to:jhibbits
Modified:
head/sys/powerpc/include/spr.h
Modified: head/sys/pow
Author: jhibbits
Date: Sun May 20 03:23:17 2018
New Revision: 333912
URL: https://svnweb.freebsd.org/changeset/base/333912
Log:
Add support for the XIVE XICS emulation mode for POWER9 systems
Summary:
POWER9 systems use a new interrupt controller, XIVE, managed through OPAL
firmware cal
l_sensor.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/powerpc/powernv/opal_sensor.c Tue May 22 02:42:53 2018
(r334011)
@@ -0,0 +1,336 @@
+/*-
+ * Copyright (C) 2018 Justin Hibbits
+ *
+ * Redistribution and use in source and binary forms, with
Author: jhibbits
Date: Tue May 22 03:24:16 2018
New Revision: 334014
URL: https://svnweb.freebsd.org/changeset/base/334014
Log:
Add a comment explaining the need of a global temporary variable
cpu_xirr is used only as a temporary location for the OPAL call in
PIC_DISPATCH().
Requeste
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/powerpc/powernv/opal_ipmi.cTue May 22 03:57:32 2018
(r334015)
@@ -0,0 +1,241 @@
+/*-
+ * Copyright (C) 2018 Justin Hibbits
Author: jhibbits
Date: Sat May 26 00:41:50 2018
New Revision: 334230
URL: https://svnweb.freebsd.org/changeset/base/334230
Log:
Only crop the VPN on POWER4 and derivatives for TLBIE operations
Summary:
PowerISA 2.03 and later require bits 14:65 in the RB register argument,
which is the
Author: jhibbits
Date: Sat May 26 02:45:41 2018
New Revision: 334232
URL: https://svnweb.freebsd.org/changeset/base/334232
Log:
Correct a typo for opal temperature sensor type constant
Modified:
head/sys/powerpc/powernv/opal_sensor.c
Modified: head/sys/powerpc/powernv/opal_sensor.c
=
Author: jhibbits
Date: Sat May 26 04:24:25 2018
New Revision: 334234
URL: https://svnweb.freebsd.org/changeset/base/334234
Log:
Fix a typo missed in r334232
Modified:
head/sys/powerpc/powernv/opal_sensor.c
Modified: head/sys/powerpc/powernv/opal_sensor.c
=
Author: jhibbits
Date: Sat May 26 04:33:19 2018
New Revision: 334235
URL: https://svnweb.freebsd.org/changeset/base/334235
Log:
On POWER9 clear the HID0_RADIX before enabling the page tables
POWER9 supports Radix page tables in addition to Hashed page tables. When
Radix page tables are i
Author: jhibbits
Date: Sun May 27 20:24:24 2018
New Revision: 334259
URL: https://svnweb.freebsd.org/changeset/base/334259
Log:
Stop idle threads on power9 in the idle task until an interrupt.
This reduces the CPU cycle wastage on power9, which is SMT4. Any idle
thread that's spinning is
Author: jhibbits
Date: Sun May 27 20:36:43 2018
New Revision: 334260
URL: https://svnweb.freebsd.org/changeset/base/334260
Log:
Match style of the other prototypes, and don't name the argument.
Modified:
head/sys/powerpc/powerpc/cpu.c
Modified: head/sys/powerpc/powerpc/cpu.c
Author: jhibbits
Date: Mon May 28 00:19:08 2018
New Revision: 334264
URL: https://svnweb.freebsd.org/changeset/base/334264
Log:
Print the full-width pointer values in hex.
PRI0ptrX is used to print a zero-padded hex value of the architecture's
bitness,
so on 64-bit architectures it'll pr
Author: jhibbits
Date: Mon May 28 01:59:48 2018
New Revision: 334266
URL: https://svnweb.freebsd.org/changeset/base/334266
Log:
Make ALT_BREAK_TO_DEBUGGER work with OPAL console
Match other consoles by using the higher level cngetc() in the interrupt
handler, so that kdb_alt_break() can c
Author: jhibbits
Date: Wed May 30 02:41:47 2018
New Revision: 334365
URL: https://svnweb.freebsd.org/changeset/base/334365
Log:
Restrict PCIe maxslots to 0, instead of PCI_SLOTMAX
Summary:
PCIe only permits 1 device on an endpoint, so some devices ignore the device
part of B:D:F probing
Author: jhibbits
Date: Wed May 30 02:47:23 2018
New Revision: 334366
URL: https://svnweb.freebsd.org/changeset/base/334366
Log:
Cache the phandle of the PCI node in opal_pci_attach
Simple cleanup, no functional change. This is related to the fixups needed
for POWER9 support.
Modified:
Author: jhibbits
Date: Wed May 30 03:00:57 2018
New Revision: 334367
URL: https://svnweb.freebsd.org/changeset/base/334367
Log:
Make opal_pci driver work with POWER9
Summary:
Coupled with r334365, this makes PCI work on POWER9. There is still more to
do to fully exploit the hardware ca
Author: jhibbits
Date: Wed May 30 03:48:27 2018
New Revision: 334370
URL: https://svnweb.freebsd.org/changeset/base/334370
Log:
Protect dtrace_getpcstack() from a NULL stack pointer in a trap frame
Found when trying to use lockstat on a POWER9, the stack pointer (r1) could
be NULL, and re
On Tue, May 29, 2018 at 10:00 PM, Justin Hibbits wrote:
> Author: jhibbits
> Date: Wed May 30 03:00:57 2018
> New Revision: 334367
> URL: https://svnweb.freebsd.org/changeset/base/334367
>
> Log:
> Make opal_pci driver work with POWER9
>
> Summary:
> Couple
On Wed, May 30, 2018 at 4:42 AM, Peter Grehan wrote:
>>PCIe only permits 1 device on an endpoint, so some devices ignore the
>> device
>>part of B:D:F probing. Although ARI likely fixes this, not all
>> platforms
>>support ARI completely or correctly, so some devices end up showing up
Hi Peter,
On Wed, May 30, 2018, 15:44 Peter Grehan wrote:
> Hi Nathan,
>
> > There are a ton of ARM boards that need this too. You can find one-off
> > hacks all through the tree and one of the nice things about this change
> > is that all of those can be consolidated/removed now. If we are goin
On Wed, May 30, 2018, 15:55 Peter Grehan wrote:
> >> If bhyve has its own attachment id, it is trivial
> >> to add a special case on it quickly, too.
> >
> > vendor_id -- 0x1275
>
> Actually, this can also be AMD. A better check would be if the system
> is running virtualized.
>
I'm thinkin
Author: jhibbits
Date: Wed May 30 22:39:41 2018
New Revision: 334407
URL: https://svnweb.freebsd.org/changeset/base/334407
Log:
Only conform to PCIe spec of 1 device per bus on !x86
bhyve's root PCI complex shows up as PCIe, but behaves as traditional PCI.
Until that is special cased in a
Author: jhibbits
Date: Thu May 31 04:11:40 2018
New Revision: 334417
URL: https://svnweb.freebsd.org/changeset/base/334417
Log:
Remove a debug printf from opal_pci driver
Modified:
head/sys/powerpc/powernv/opal_pci.c
Modified: head/sys/powerpc/powernv/opal_pci.c
=
Author: jhibbits
Date: Fri Jun 1 16:31:05 2018
New Revision: 334488
URL: https://svnweb.freebsd.org/changeset/base/334488
Log:
Unbreak 32-bit binaries on powerpc64
Recently a change was made which broke loading 32-bit binaries on powerpc64,
with an assertion in ld-elf32.so.1:
ld-elf
Author: jhibbits
Date: Fri Jun 1 21:37:20 2018
New Revision: 334498
URL: https://svnweb.freebsd.org/changeset/base/334498
Log:
Increase powerpc64 KVA from ~7.25GB to 32GB
This will let us use much more KVA for ZFS ARC where needed. This may be
incresed in the future if memory requiremen
Author: jhibbits
Date: Sat Jun 2 19:17:11 2018
New Revision: 334535
URL: https://svnweb.freebsd.org/changeset/base/334535
Log:
Added ptrace support for reading/writing powerpc VSX registers
Summary:
Added ptrace support for getting/setting the remaining part of the VSX
registers
(the
Author: jhibbits
Date: Sat Jun 2 20:28:58 2018
New Revision: 334538
URL: https://svnweb.freebsd.org/changeset/base/334538
Log:
Included VSX registers in powerpc core dumps
Summary: Included VSX registers in powerpc core dumps (both kernel and gcore)
Submitted by: Luis Pires
Differen
Author: jhibbits
Date: Sun Jun 3 03:53:11 2018
New Revision: 334550
URL: https://svnweb.freebsd.org/changeset/base/334550
Log:
Revert r326083, it doesn't behave as expected.
Even though there do appear to be more artificial frames, with 12, stack
traces no longer list at all. Revert unt
Author: jhibbits
Date: Mon Jun 4 14:42:13 2018
New Revision: 334615
URL: https://svnweb.freebsd.org/changeset/base/334615
Log:
Set kernelname in bootconfig to the kernel file
Summary:
The kernel reads 'kernelname' to set the kern.bootfile sysctl. By setting
this,
'make installkernel'
Author: jhibbits
Date: Mon Jun 4 15:44:17 2018
New Revision: 334618
URL: https://svnweb.freebsd.org/changeset/base/334618
Log:
Align UMA data to 128 byte cacheline size
Suggested by: mjg
Modified:
head/sys/vm/uma_int.h
Modified: head/sys/vm/uma_int.h
===
Author: jhibbits
Date: Wed Jun 6 12:57:11 2018
New Revision: 334708
URL: https://svnweb.freebsd.org/changeset/base/334708
Log:
Add a memory barrier after taking a reference on the vnode holdcnt in _vhold
This is needed to avoid a race between the VNASSERT() below, and another
thread upda
On Wed, Jun 6, 2018 at 9:02 AM, Warner Losh wrote:
>
>
> On Wed, Jun 6, 2018 at 8:57 AM, Justin Hibbits wrote:
>>
>> Author: jhibbits
>> Date: Wed Jun 6 12:57:11 2018
>> New Revision: 334708
>> URL: https://svnweb.freebsd.org/changeset/base/334708
>
Author: jhibbits
Date: Wed Jun 6 15:12:19 2018
New Revision: 334716
URL: https://svnweb.freebsd.org/changeset/base/334716
Log:
Revert r334708
This is the wrong place to put the barrier.
Requested by: kib,mjg
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
==
Author: jhibbits
Date: Thu Jun 7 00:24:10 2018
New Revision: 334745
URL: https://svnweb.freebsd.org/changeset/base/334745
Log:
Add partition scheme for mpc85xx devices
Some mpc85xx devices with u-boot need MBR partitioning with a FAT boot
partition. Since the infrastructure is already i
Author: jhibbits
Date: Thu Jun 7 04:02:09 2018
New Revision: 334754
URL: https://svnweb.freebsd.org/changeset/base/334754
Log:
Print Maximum Data Transfer Size as a long rather than int
PowerPC has PAGE_SIZE as a long, not an int. This causes the compiler to
throw
a format mismatch war
Author: jhibbits
Date: Thu Jun 7 04:03:19 2018
New Revision: 334755
URL: https://svnweb.freebsd.org/changeset/base/334755
Log:
Build nvmecontrol on powerpc64
The nvme driver is compiled for powerpc64 already, and the one fix required
to build nvmecontrol on powerpc64 was fixed in r334754
Author: jhibbits
Date: Thu Jun 7 11:25:36 2018
New Revision: 334773
URL: https://svnweb.freebsd.org/changeset/base/334773
Log:
Build nvme modules for powerpc, and install man pages
NVMe builds for powerpc now, so just build modules for all powerpc targets,
and install NVMe man pages for
On Fri, Jun 8, 2018 at 10:08 AM, Ed Maste wrote:
> On 7 June 2018 at 16:49, Kirk McKusick wrote:
>> Author: mckusick
>> Date: Thu Jun 7 20:49:01 2018
>> New Revision: 334814
>> URL: https://svnweb.freebsd.org/changeset/base/334814
>>
>> Log:
>> Ensure proper initialization of superblock.
>>
>
Author: jhibbits
Date: Thu Jun 14 16:01:11 2018
New Revision: 335146
URL: https://svnweb.freebsd.org/changeset/base/335146
Log:
Fix CTR formatting for moea64_native bootstrap
On very large memory systems 'size' can become 2GB or larger, resulting in a
negative value being formatted. Also
Author: jhibbits
Date: Thu Jun 14 17:23:51 2018
New Revision: 335160
URL: https://svnweb.freebsd.org/changeset/base/335160
Log:
Split the PowerISA 3.0 HPT implementation from historic
PowerISA 3.0 makes several changes to not only the format of the HPT but
also the behavior surrounding it
Author: jhibbits
Date: Fri Jun 15 03:28:05 2018
New Revision: 335187
URL: https://svnweb.freebsd.org/changeset/base/335187
Log:
ofw_reg_to_paddr(): Fix minor typo in KASSERT message
Modified:
head/sys/dev/ofw/ofw_subr.c
Modified: head/sys/dev/ofw/ofw_subr.c
==
Author: jhibbits
Date: Fri Jun 15 18:55:02 2018
New Revision: 335226
URL: https://svnweb.freebsd.org/changeset/base/335226
Log:
Check for a 'pci' prefix rather than a full match in get_addr_props
Summary:
Newer OPAL device trees, such as those on POWER9 systems, use 'pciex' for
device_t
On Fri, Jun 15, 2018, 13:55 Justin Hibbits wrote:
> Author: jhibbits
> Date: Fri Jun 15 18:55:02 2018
> New Revision: 335226
> URL: https://svnweb.freebsd.org/changeset/base/335226
>
> Log:
> Check for a 'pci' prefix rather than a full match in get_addr_prop
Author: jhibbits
Date: Wed Jun 20 13:30:35 2018
New Revision: 335442
URL: https://svnweb.freebsd.org/changeset/base/335442
Log:
Attach dev.cpu nodes on powerpc SMT cores, using only the first found thread
Summary: In order to use cpufreq(4), a dev.cpu attachment must be created. If
the I
added)
+++ head/sys/powerpc/cpufreq/pmcr.c Thu Jun 21 14:26:43 2018
(r335481)
@@ -0,0 +1,248 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2018 Justin Hibbits
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: jhibbits
Date: Thu Jun 21 14:30:14 2018
New Revision: 335483
URL: https://svnweb.freebsd.org/changeset/base/335483
Log:
Add the rest of the files for r335481
Missed hooking PMCR cpufreq(4) to the build, and adding the SPR to the header.
Modified:
head/sys/conf/files.powerpc
hea
Author: jhibbits
Date: Thu Jun 21 15:59:05 2018
New Revision: 335491
URL: https://svnweb.freebsd.org/changeset/base/335491
Log:
Fix the build post-PMCR addition.
Submitted by: lwhsu
Modified:
head/sys/powerpc/cpufreq/pmcr.c
Modified: head/sys/powerpc/cpufreq/pmcr.c
=
Author: jhibbits
Date: Sat Jun 23 01:42:34 2018
New Revision: 335574
URL: https://svnweb.freebsd.org/changeset/base/335574
Log:
powerpc64: Fix stack setup in dbtrap
r330610 relocated the DMAP from the base of memory to the base of the fourth
quadrant of memory. This broke synthetic traps
On Sat, Nov 25, 2017 at 3:45 PM, Nathan Whitehorn
wrote:
> Author: nwhitehorn
> Date: Sat Nov 25 21:45:51 2017
> New Revision: 326203
> URL: https://svnweb.freebsd.org/changeset/base/326203
>
> Log:
> Avoid emitting a PT_INTERP section for powerpc64 kernels and arrange for
> the first instruct
On Tue, Nov 28, 2017 at 10:13 AM, Nathan Whitehorn
wrote:
>
>
> On 11/28/17 07:27, Justin Hibbits wrote:
>>
>> On Sat, Nov 25, 2017 at 3:45 PM, Nathan Whitehorn
>> wrote:
>>>
>>> Author: nwhitehorn
>>> Date: Sat Nov 25 21:45:51 2017
>&g
On Tue, Nov 28, 2017 at 10:30 AM, Nathan Whitehorn
wrote:
>
>
> On 11/28/17 08:23, Justin Hibbits wrote:
>>
>> On Tue, Nov 28, 2017 at 10:13 AM, Nathan Whitehorn
>> wrote:
>>>
>>>
>>> On 11/28/17 07:27, Justin Hibbits wrote:
>>>>
Author: jhibbits
Date: Wed Nov 29 01:26:07 2017
New Revision: 326354
URL: https://svnweb.freebsd.org/changeset/base/326354
Log:
Only check the page tables if within the KVA.
Devices aren't mapped within the KVA, and with the way 64-bit hashes the
addresses pte_vatopa() may not return a 0
On Wed, Nov 29, 2017 at 10:13 AM, Konstantin Belousov
wrote:
> On Wed, Nov 29, 2017 at 04:33:50PM +0100, Hans Petter Selasky wrote:
>> Hi Nathan,
>>
>> The chunk below causes sched_pin() to stop working and should be removed
>> from your commit ??!!
>>
>> It probably explains the hangs seen recent
Author: jhibbits
Date: Sat Dec 2 01:42:07 2017
New Revision: 326453
URL: https://svnweb.freebsd.org/changeset/base/326453
Log:
Override memattr for mmap on the Freescale DIU driver
The Display Interface Unit (DIU) uses main memory for the framebuffer, which
is already mapped as cache coh
Author: jhibbits
Date: Wed Dec 6 02:05:21 2017
New Revision: 326611
URL: https://svnweb.freebsd.org/changeset/base/326611
Log:
Use unsigned intptr_t type for framebuffer addresses
Summary:
Some architectures (powerpc Book-E) have a vm_paddr_t larger than intptr_t.
Casting from the intp
Author: jhibbits
Date: Wed Dec 6 02:06:14 2017
New Revision: 326612
URL: https://svnweb.freebsd.org/changeset/base/326612
Log:
Allow custom overrides of mmap attribute for VT framebuffer
Summary:
As in /dev/fb, allow the framebuffer driver to override the default memattr
for
mmap(2).
Author: jhibbits
Date: Fri Dec 8 03:49:53 2017
New Revision: 326675
URL: https://svnweb.freebsd.org/changeset/base/326675
Log:
Remove PTE VA mappings for tracked pages in 64-bit mode
This was done in 32-bit mode, but not duplicated when 64-bit mode was
brought in. Without this, stale ma
Author: jhibbits
Date: Sun Dec 10 04:43:27 2017
New Revision: 326739
URL: https://svnweb.freebsd.org/changeset/base/326739
Log:
Retrieve the page outside of holding locks
pmap_track_page() only works with physical memory pages, which have a
constant vm_page_t address. Microoptimize pmap_
Author: jhibbits
Date: Tue Dec 12 03:16:10 2017
New Revision: 326789
URL: https://svnweb.freebsd.org/changeset/base/326789
Log:
Decode some PowerPC trap registers
Decode on Book-E:
* ESR (Exception Syndrome Register)
* MCSR (Machine Check Status Register)
On AIM:
* MSSSR (Memory
Author: jhibbits
Date: Thu Dec 14 04:41:07 2017
New Revision: 326840
URL: https://svnweb.freebsd.org/changeset/base/326840
Log:
Allow bman-portals and qman-portals to attach to simple-bus
Official Linux dts's put the individual portals under a simple-bus, rather
than under a '*-portals' g
Author: jhibbits
Date: Thu Dec 14 20:01:04 2017
New Revision: 326859
URL: https://svnweb.freebsd.org/changeset/base/326859
Log:
Add identifier for POWER9 CPU to CPU list
Without the identifier in the list booting FreeBSD results in printing the
following (from a PowerKVM boot):
cpu0:
Author: jhibbits
Date: Fri Dec 15 04:11:20 2017
New Revision: 326870
URL: https://svnweb.freebsd.org/changeset/base/326870
Log:
Handle the Facility Unavailable exception as a SIGILL
Currently Facility Unavailable is absent and once an application
tries to use or access a register from a f
On Thu, Dec 14, 2017 at 10:11 PM, Justin Hibbits wrote:
> Author: jhibbits
> Date: Fri Dec 15 04:11:20 2017
> New Revision: 326870
> URL: https://svnweb.freebsd.org/changeset/base/326870
>
> Log:
> Handle the Facility Unavailable exception as a SIGILL
>
> Curren
Author: jhibbits
Date: Wed Dec 20 16:49:45 2017
New Revision: 327028
URL: https://svnweb.freebsd.org/changeset/base/327028
Log:
Increase default MAXDSIZ to 32G on powerpc64
Linking LLVM now seems to require more than 1GB data size, so increase the
default to 32G, which matches amd64.
Author: jhibbits
Date: Sun Jan 7 20:28:17 2018
New Revision: 327681
URL: https://svnweb.freebsd.org/changeset/base/327681
Log:
Add missing file to gpiobus module
ofw_gpiobus.c is needed when FDT is used.
MFC after:2 weeks
Modified:
head/sys/modules/gpio/gpiobus/Makefile
Modifi
/powerpc/mpc85xx/mpc85xx_cache.cSat Jan 13 01:36:37 2018
(r327906)
@@ -0,0 +1,129 @@
+/*-
+ * Copyright (c) 2018 Justin Hibbits
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following
Author: jhibbits
Date: Sat Jan 13 02:56:09 2018
New Revision: 327907
URL: https://svnweb.freebsd.org/changeset/base/327907
Log:
Remove fdt fixups for powerpc, they are no longer needed.
If a fixup really is needed, it should be fixed in u-boot, not in FreeBSD.
Suggested by: nwhitehorn
Author: jhibbits
Date: Sat Jan 13 04:53:04 2018
New Revision: 327911
URL: https://svnweb.freebsd.org/changeset/base/327911
Log:
Replace the PMC class struct copy with an explicit memcpy()
This should be effectively a nop for all archs, but for some reason the
codegen
difference on the Po
On Jan 13, 2018 09:04, "Pedro Giffuni" wrote:
On 12/01/2018 20:36, Justin Hibbits wrote:
> Author: jhibbits
> Date: Sat Jan 13 01:36:37 2018
> New Revision: 327906
> URL: https://svnweb.freebsd.org/changeset/base/327906
> ...
>
>
> Added: head/s
-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2018 Justin Hibbits
* All rights reserved.
*
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-uns
Author: jhibbits
Date: Sat Jan 13 21:10:42 2018
New Revision: 327943
URL: https://svnweb.freebsd.org/changeset/base/327943
Log:
Include only the headers needed
The extra headers came through evolution of the file.
Modified:
head/sys/powerpc/mpc85xx/mpc85xx_cache.c
Modified: head/sys/pow
Author: jhibbits
Date: Tue Jan 16 04:50:23 2018
New Revision: 328040
URL: https://svnweb.freebsd.org/changeset/base/328040
Log:
Make fsl_sata driver work on P1022
P1022 SATA controller may set the wrong CCR bit for a command completion.
This would previously cause an interrupt storm. Sol
Author: jhibbits
Date: Tue Jan 23 02:52:12 2018
New Revision: 328269
URL: https://svnweb.freebsd.org/changeset/base/328269
Log:
Fix 64-bit booke kernel builds after the ldscript changes
Commits r326203 and r326978 broke 64-bit booke kernels by introducing a 1MB
zero-pad between the ELF he
Author: jhibbits
Date: Fri Jan 26 00:56:09 2018
New Revision: 328424
URL: https://svnweb.freebsd.org/changeset/base/328424
Log:
Minimal change to build linuxkpi on architectures with physical addresses
larger
than virtual
Summary:
Some architectures have physical/bus addresses that are
Author: jhibbits
Date: Fri Jan 26 00:58:02 2018
New Revision: 328425
URL: https://svnweb.freebsd.org/changeset/base/328425
Log:
Minimum changes for ctl to build on architectures with non-matching physical
and
virtual address sizes
Summary:
Some architectures use physical addresses larg
Author: jhibbits
Date: Sun Jan 28 19:18:40 2018
New Revision: 328516
URL: https://svnweb.freebsd.org/changeset/base/328516
Log:
Consolidate trap instruction checks to a single function
Summary:
Rather than duplicating the checks for programmatic traps all over the code,
put
it all in o
Author: jhibbits
Date: Sun Jan 28 20:35:48 2018
New Revision: 328518
URL: https://svnweb.freebsd.org/changeset/base/328518
Log:
Start building modules for QORIQ64
There's no reason not to build modules for 64-bit QorIQ devices. This
config has evolved to be analogous to the AIM GENERIC64
On Thu, Mar 22, 2018 at 3:44 PM, Andriy Gapon wrote:
> On 22/03/2018 17:39, Jonathan Looney wrote:
>> A tinderbox build didn't complain about atomic_fetchadd_64, so I assume it
>> is OK.
>>
>> Yes, this can be made optional, if there is a need for that.
>>
>
> FWWI, TARGET=powerpc TARGET_ARCH=pow
This broke gcc builds.
On Thu, Mar 22, 2018 at 2:21 PM, Jeff Roberson wrote:
> Author: jeff
> Date: Thu Mar 22 19:21:11 2018
> New Revision: 331369
> URL: https://svnweb.freebsd.org/changeset/base/331369
>
> Log:
> Lock reservations with a dedicated lock in each reservation. Protect the
> vm
Author: jhibbits
Date: Fri Mar 23 00:40:08 2018
New Revision: 331401
URL: https://svnweb.freebsd.org/changeset/base/331401
Log:
Debug interrupts aren't instruction traps
The EXC_DEBUG type is akin to the MPC74xx "Instruction Breakpoint" trap.
Don't treat it as a trap instruction.
Modifie
Author: jhibbits
Date: Wed Mar 28 03:11:50 2018
New Revision: 331658
URL: https://svnweb.freebsd.org/changeset/base/331658
Log:
Fix another optional standard. Build openpic_ofw again.
Modified:
head/sys/conf/files.powerpc
Modified: head/sys/conf/files.powerpc
===
Author: jhibbits
Date: Tue Apr 3 00:45:38 2018
New Revision: 331900
URL: https://svnweb.freebsd.org/changeset/base/331900
Log:
Add support for a pmap direct map for 64-bit Book-E
As with AIM64, map the DMAP at the beginning of the fourth "quadrant" of
memory, and move the KERNBASE to the
Author: jhibbits
Date: Wed Apr 4 02:13:27 2018
New Revision: 331970
URL: https://svnweb.freebsd.org/changeset/base/331970
Log:
Correct the ilog2() for calculating memory sizes.
TLB1 can handle ranges up to 4GB (through e5500, larger in e6500), but
ilog2() took a unsigned int, which maxes
Author: jhibbits
Date: Sun Apr 8 16:43:56 2018
New Revision: 332286
URL: https://svnweb.freebsd.org/changeset/base/332286
Log:
powerpc/ofw: Fix malloc inside lock
Summary:
Currently ofw_real_bounce_alloc() is requesting memory, using WAITOK, holding
a
non-sleepable locks, called 'OF B
Author: jhibbits
Date: Sun Apr 8 16:46:24 2018
New Revision: 332287
URL: https://svnweb.freebsd.org/changeset/base/332287
Log:
powerpc64: Avoid calling isync twice
Summary:
It is not necessary to call isync() after calling mtmsr() function, mainly
because the mtmsr() calls 'isync' inte
Author: jhibbits
Date: Sun Apr 8 16:55:28 2018
New Revision: 332289
URL: https://svnweb.freebsd.org/changeset/base/332289
Log:
powerpc64: Print current MSR on printtrap()
Summary:
Print current MSR on printtrap(). Currently, printtrap just prints srr1, which
contains part of the MSR pr
Author: jhibbits
Date: Sun Apr 8 19:11:25 2018
New Revision: 332296
URL: https://svnweb.freebsd.org/changeset/base/332296
Log:
Powerpc64: Add the facility unavailable trap subsystem
Summary:
This code adds the basic infrastructure for the facility subsystem. A facility
trap is raised w
Author: jhibbits
Date: Sun Apr 8 19:33:05 2018
New Revision: 332299
URL: https://svnweb.freebsd.org/changeset/base/332299
Log:
Fix typo
Reserved cause is 6, not 5.
Reported by: cem
Modified:
head/sys/powerpc/include/spr.h
Modified: head/sys/powerpc/include/spr.h
=
Author: jhibbits
Date: Tue Apr 10 17:32:27 2018
New Revision: 332383
URL: https://svnweb.freebsd.org/changeset/base/332383
Log:
Call through powerpc_interrupt for all Book-E interrupts
Make int_external_input, int_decrementer, and int_performance_counter all
now use trap_common, just like
Author: jhibbits
Date: Tue Apr 10 21:14:54 2018
New Revision: 332393
URL: https://svnweb.freebsd.org/changeset/base/332393
Log:
Reenter KDB on fault on powerpc, instead of panicking
Most other architectures already re-enter KDB on faults, powerpc and mips
are the only outliers. Correct t
On Thu, Apr 12, 2018 at 2:20 AM, Vincenzo Maffione
wrote:
> Author: vmaffione
> Date: Thu Apr 12 07:20:50 2018
> New Revision: 332423
> URL: https://svnweb.freebsd.org/changeset/base/332423
>
> Log:
> netmap: align codebase to the current upstream (commit id 3fb001303718146)
>
> Changelist:
>
Author: jhibbits
Date: Mon Apr 16 04:02:53 2018
New Revision: 332546
URL: https://svnweb.freebsd.org/changeset/base/332546
Log:
Use a resource hint instead of environment variable for DIU mode
This makes it more consistent with FreeBSD norms, rather than using Linux's
norms. Now, instead
Author: jhibbits
Date: Fri Apr 20 03:19:44 2018
New Revision: 332807
URL: https://svnweb.freebsd.org/changeset/base/332807
Log:
powerpc64: Add DSCR support
Summary:
Powerpc64 has support for a register called Data Stream Control Register
(DSCR), which basically controls how the hardware
Author: jhibbits
Date: Fri Apr 20 03:23:19 2018
New Revision: 332808
URL: https://svnweb.freebsd.org/changeset/base/332808
Log:
powerpc64: Set n_slbs = 32 for POWER9
Summary:
POWER9 also contains 32 slbs entries as explained by the POWER9 User Manual:
"For HPT translation, the POWER
1 - 100 of 1144 matches
Mail list logo