#
18250ec6 |
| 06-Dec-2024 |
John Baldwin <jhb@FreeBSD.org> |
Replace calls to bus_generic_attach with bus_attach_children
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
|
Revision tags: release/14.2.0, release/13.4.0 |
|
#
5b56413d |
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY
Sponsored by: Netflix
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
5edf159f |
| 10-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
powerpc powernv: Remove unused devclass arguments to DRIVER_MODULE.
|
#
c90ea831 |
| 07-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
Remove unused uart_devclass.
|
Revision tags: release/12.3.0 |
|
#
b8bc6b79 |
| 17-Apr-2021 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
opal_console: fix serial console output corruption on powerpc64
Adds OPAL_CONSOLE_WRITE error handling and implements a call to OPAL_CONSOLE_WRITE_BUFFER_SPACE to verify if there's enough space befo
opal_console: fix serial console output corruption on powerpc64
Adds OPAL_CONSOLE_WRITE error handling and implements a call to OPAL_CONSOLE_WRITE_BUFFER_SPACE to verify if there's enough space before writing to console.
This fixes serial port output getting corrupted on fast writes, like on "dmesg" output.
Tested on Raptor Blackbird running powerpc64 BE kernel
Reviewed by: luporl Sponsored by: Eldorado Reserach Institute (eldorado.org.br) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29063
show more ...
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
15be37cb |
| 23-Sep-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
[PowerPC64LE] Fix endianness issues in phyp and opal consoles.
This applies to both pseries and powernv, which were tested at different points during the patchset development.
Sponsored by: Tag1 Co
[PowerPC64LE] Fix endianness issues in phyp and opal consoles.
This applies to both pseries and powernv, which were tested at different points during the patchset development.
Sponsored by: Tag1 Consulting, Inc.
show more ...
|
#
b64b3133 |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
powerpc: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
0269ae4c |
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
#
e2e050c8 |
| 20-May-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces hea
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no longer contain needed definitions. The remainder of the patch addresses adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by sys/mutex.h since r326106 (but silently protected by header pollution prior to this change).
No functional change (intended). Of course, any out of tree modules that relied on header pollution for sys/eventhandler.h, sys/lock.h, or sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
show more ...
|
Revision tags: release/12.0.0 |
|
#
341679e1 |
| 29-Jun-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Support multiple OPAL consoles, and don't crash if uart is not stdout
Summary: If the chosen console is not the OPAL uart, but OPAL uart devices exist, the console device doesn't attach properly, an
Support multiple OPAL consoles, and don't crash if uart is not stdout
Summary: If the chosen console is not the OPAL uart, but OPAL uart devices exist, the console device doesn't attach properly, and faults in the interrupt handler, with a NULL pointer dereference. To fix this, and as a byproduct, also support multiple OPAL consoles, refactor to have the console getc callback use the appropriate softc instead of the global console_sc, which may be NULL in the case of a different device being the console.
Reviewed by: nwhitehorn Differential Revision: https://reviews.freebsd.org/D16071
show more ...
|
Revision tags: release/11.2.0 |
|
#
0b1f36b6 |
| 28-May-2018 |
Justin Hibbits <jhibbits@FreeBSD.org> |
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 check for console break.
|
#
6005affb |
| 17-Jan-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: workaround console on OPAL 5.4
FreeBSD prints text char-by-char, which is not what OPAL is designed to. Poll events more frequently to avoid buffer overflow and loosing data.
Created by:
PowerNV: workaround console on OPAL 5.4
FreeBSD prints text char-by-char, which is not what OPAL is designed to. Poll events more frequently to avoid buffer overflow and loosing data.
Created by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies
show more ...
|
#
c79126f2 |
| 12-Jan-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327624 through r327885.
|
#
504d9b60 |
| 12-Jan-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: update OPAL driver
Update OPAL driver with: - better console support - proper AP configuration - enhanced IRQ/OFW mapping - RTC support
Created by: Nathan Whitehorn <nwhitehorn@
PowerNV: update OPAL driver
Update OPAL driver with: - better console support - proper AP configuration - enhanced IRQ/OFW mapping - RTC support
Created by: Nathan Whitehorn <nwhitehorn@freebsd.org> Submitted by: Wojciech Macek <wma@semihalf.com> Sponsored by: FreeBSD Foundation
show more ...
|
#
fc168902 |
| 11-Jan-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: add buffer for OPAL console
Avoid the lock in vtophys() by providing a static direct-mapped spinlock- protected output buffer to use when the console driver cannot acquire locks for some re
PowerNV: add buffer for OPAL console
Avoid the lock in vtophys() by providing a static direct-mapped spinlock- protected output buffer to use when the console driver cannot acquire locks for some reason. This allows the idle thread to use printf() (e.g. the SMP startup messages) without crashing the kernel.
Created by: Nathan Whitehorn <nwhitehorn@freebsd.org> Submitted by: Wojciech Macek <wma@freebsd.org> Sponsored by: FreeBSD Foundation
show more ...
|
#
32d1354a |
| 11-Jan-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: add reset, poweroff, OPAL console
Add basic power control (reset, power off) and bind ttyuX to opal console so that init will start login there.
Created by: Nathan Whitehorn <nw
PowerNV: add reset, poweroff, OPAL console
Add basic power control (reset, power off) and bind ttyuX to opal console so that init will start login there.
Created by: Nathan Whitehorn <nw@freebsd.org> Submitted by: Wojciech Macek <wma@freebsd.org> Sponsored by: FreeBSD Foundation
show more ...
|
#
fb3855e0 |
| 11-Jan-2018 |
Wojciech Macek <wma@FreeBSD.org> |
PowerNV: initial support for OPAL
OPAL is a dedicated firmware acting as a hypervisor. Add generic functions to provide all access.
Created by: Nathan Whitehorn <nw@freebsd.org> Submitte
PowerNV: initial support for OPAL
OPAL is a dedicated firmware acting as a hypervisor. Add generic functions to provide all access.
Created by: Nathan Whitehorn <nw@freebsd.org> Submitted by: Wojciech Macek <wma@freebsd.org>
show more ...
|