#
a8fe8db4 |
| 25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
#
61ebc359 |
| 21-Feb-2019 |
Bruce Evans <bde@FreeBSD.org> |
Move scterm_teken.c from 6 MD files lists to the MI files list so that it is easier to configure. It is MI, unlike some of the other syscons files already in the MI list.
Move scvtb.c similarly. I
Move scterm_teken.c from 6 MD files lists to the MI files list so that it is easier to configure. It is MI, unlike some of the other syscons files already in the MI list.
Move scvtb.c similarly. It is needed whenever sc is configured, and is more MI than most of the files already in the MI list.
This only changes the combined list for arm64 and mips. These arches already cannot build sc or even NOTES.
show more ...
|
#
c2c227a5 |
| 03-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343571 through r343711.
|
#
d49fc192 |
| 02-Feb-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpc/powernv: Add a driver for the POWER9 XIVE interrupt controller
The XIVE (External Interrupt Virtualization Engine) is a new interrupt controller present in IBM's POWER9 processor. It's a ve
powerpc/powernv: Add a driver for the POWER9 XIVE interrupt controller
The XIVE (External Interrupt Virtualization Engine) is a new interrupt controller present in IBM's POWER9 processor. It's a very powerful, very complex device using queues and shared memory to improve interrupt dispatch performance in a virtualized environment.
This yields a ~10% performance improvment over the XICS emulation mode, measured in both buildworld, and 'dd' from nvme to /dev/null.
Currently, this only supports native access.
MFC after: 1 month
show more ...
|
#
8763f217 |
| 15-Dec-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpcspe: Don't require FPU_EMU for powerpcspe IEEE emulation
Build only the necessary fpu_emu files for supporting the SPE IEEE-754 emulation exception handler.
MFC after: 1 week
|
Revision tags: release/12.0.0 |
|
#
01d4e214 |
| 05-Oct-2018 |
Glen Barber <gjb@FreeBSD.org> |
MFH r338661 through r339200.
Sponsored by: The FreeBSD Foundation
|
#
ce44d808 |
| 27-Sep-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338731 through r338987.
|
#
a8e3f99e |
| 27-Sep-2018 |
Mateusz Guzik <mjg@FreeBSD.org> |
amd64: implement memcmp in assembly
Both the in-kernel C variant and libc asm variant have very poor performance. The former compiles to a single byte comparison loop, which breaks down even for sma
amd64: implement memcmp in assembly
Both the in-kernel C variant and libc asm variant have very poor performance. The former compiles to a single byte comparison loop, which breaks down even for small sizes. The latter uses rep cmpsq/b which turn out to have very poor throughput and are slower than a hand-coded 32-byte comparison loop.
Depending on size this is about 3-4 times faster than the current routines.
Reviewed by: kib Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D17328
show more ...
|
#
3611ec60 |
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
#
b14959da |
| 17-Aug-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
random: Add PowerPC 'darn' instruction entropy source
Summary: PowerISA 3.0 adds a 'darn' instruction to "deliver a random number". This driver was modeled after (rather, copied and gutted of) the
random: Add PowerPC 'darn' instruction entropy source
Summary: PowerISA 3.0 adds a 'darn' instruction to "deliver a random number". This driver was modeled after (rather, copied and gutted of) the Ivy Bridge rdrand driver.
This uses the "Conditional Random Number" behavior to remove input bias.
From the ISA reference the 'darn' instruction, and the random number generator backing it, conforms to the NIST SP800-90B and SP800-90C standards, compliant to the extent possible at the time the hardware was designed, and guarantees a minimum 0.5 bits of entropy per bit returned.
Reviewed By: markm, secteam (delphij) Approved by: secteam (delphij) Differential Revision: https://reviews.freebsd.org/D16552
show more ...
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
0bf0bb83 |
| 25-Jul-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Support building IPMI as a module on powerpc64
This still only supports IPMI via OPAL on powerpc64, but now it can be tested with a GENERIC kernel.
|
#
3ddc2cde |
| 24-Jul-2018 |
Breno Leitao <leitao@FreeBSD.org> |
ofw: Load initrd file
This is an OFW initrd module that would load the initrd from device tree parameters and give the to the md driver.
With this patch, it is possible to pass a rootfs image throu
ofw: Load initrd file
This is an OFW initrd module that would load the initrd from device tree parameters and give the to the md driver.
With this patch, it is possible to pass a rootfs image through kexec in PowerNV mode (powerpc64). In order to user it, you should set the MD_ROOT_MEM option in your kernel configuration.
Reviewed by: jhibbits Approved by: jhibbits (mentor) Differential Revision: https://reviews.freebsd.org/D15705
show more ...
|
Revision tags: release/11.2.0 |
|
#
b99540b6 |
| 21-Jun-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Add the rest of the files for r335481
Missed hooking PMCR cpufreq(4) to the build, and adding the SPR to the header.
|
#
ebf95d96 |
| 14-Jun-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
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. For instance, TLBIE no longer requ
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. For instance, TLBIE no longer requires serialization. Removing this lock cuts buildworld time in half on a 18-core/72-thread POWER9 system, demonstrating that this lock is highly contended on such a system.
There was odd behavior observed trying to make this change in a backwards-compatible manner in moea64_native.c, so the best option was to fully split it, and largely revert the original changes adding POWER9 support to the original file.
Suggested by: nwhitehorn
show more ...
|
#
1a3eaf6c |
| 22-May-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Add an IPMI attachment for PowerNV systems
IPMI access on PowerNV systems is done through the OPAL firmware. This adds a simple attachment for communicating with the FSP/BMC on these machines. Thi
Add an IPMI attachment for PowerNV systems
IPMI access on PowerNV systems is done through the OPAL firmware. This adds a simple attachment for communicating with the FSP/BMC on these machines. This has been tested on a Talos POWER9 workstation, only in the bootup phase, noting the successful attachment messages:
... ipmi0: IPMI device rev. 0, firmware rev. 2.00, version 2.0, device support mask 0 ipmi0: Number of channels 2 ...
The ipmi device has not been added to GENERIC64, but may be after further testing. It may also eventually be added to the ipmi module at that point.
show more ...
|
#
9c6ba29d |
| 22-May-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Basic OPAL sensor support for POWER9 platforms
Summary: PowerNV architectures (in the test case POWER9) export sensors via the device tree, which are accessed via OPAL calls. This adds sysctl nodes
Basic OPAL sensor support for POWER9 platforms
Summary: PowerNV architectures (in the test case POWER9) export sensors via the device tree, which are accessed via OPAL calls. This adds sysctl nodes for each device in a generic fashion. New sysctl nodes are:
dev.opal_sensor.N.sensor dev.opal_sensor.N.sensor_min dev.opal_sensor.N.sensor_max dev.opal_sensor.N.type dev.opal_sensor.N.label
These are rooted at a parent attachment under opal, called opalsens. This does not add support for the "sensor groups" defined in the device tree.
Reviewed by: breno.leitao_gmail.com Differential Revision: https://reviews.freebsd.org/D15362
show more ...
|
#
baaa3c4d |
| 10-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Simplify things a little
Rather than include a copy for memmove to call bcopy to call memcpy (which handles overlapping copies), make memmove a strong reference to memcpy to save the two calls.
Dif
Simplify things a little
Rather than include a copy for memmove to call bcopy to call memcpy (which handles overlapping copies), make memmove a strong reference to memcpy to save the two calls.
Differential Revision: https://reviews.freebsd.org/D15374
show more ...
|
#
5aa07b05 |
| 10-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Move MI-ish bcopy routine to libkern
riscv and powerpc have nearly identical bcopy.c that's supposed to be mostly MI. Move it to the MI libkern.
Differential Revision: https://reviews.freebsd.org/D
Move MI-ish bcopy routine to libkern
riscv and powerpc have nearly identical bcopy.c that's supposed to be mostly MI. Move it to the MI libkern.
Differential Revision: https://reviews.freebsd.org/D15374
show more ...
|
#
9c11d8d4 |
| 17-Apr-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove the unused fuwintr() and suiwintr() functions.
Half of implementations always failed (returned (-1)) and they were previously used in only one place.
Reviewed by: kib, andrew Obtained from:
Remove the unused fuwintr() and suiwintr() functions.
Half of implementations always failed (returned (-1)) and they were previously used in only one place.
Reviewed by: kib, andrew Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15102
show more ...
|
#
98b158d4 |
| 28-Mar-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Fix another optional standard. Build openpic_ofw again.
|
#
d9093074 |
| 15-Mar-2018 |
Wojciech Macek <wma@FreeBSD.org> |
Reverting r330925 for now
|
#
7c95bf1e |
| 14-Mar-2018 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Fix fat-fingering ("optional standard") and move all the OF code to being marked "standard", which is less confusing than having it conditional on AIM CPUs here, and then picked up through options FD
Fix fat-fingering ("optional standard") and move all the OF code to being marked "standard", which is less confusing than having it conditional on AIM CPUs here, and then picked up through options FDT from conf/files on Book-E.
Request by: jhibbits
show more ...
|
#
94f513c8 |
| 14-Mar-2018 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
The expression (aim | fdt) is always true on PowerPC. The last PowerPC platform that can run without a device tree (PS3) still uses the OF_*() functions to check if one exists and OF_* is used uncond
The expression (aim | fdt) is always true on PowerPC. The last PowerPC platform that can run without a device tree (PS3) still uses the OF_*() functions to check if one exists and OF_* is used unconditionally in core parts of the system like powerpc/machdep.c. Reflect this reality in files.powerpc, for example by changing occurrences of aim | fdt to standard.
show more ...
|
#
22eedd96 |
| 14-Mar-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: Fix I2C to compile if FDT is disabled
Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies
|