Age | Commit message (Collapse) | Author |
|
|
|
Network protocol or not.
|
|
makes use of EFI's Simple Network protocol. This allows us to speak
raw network on U-Boot based machines so we can do TFTP boot on those as
well.
ok kettenis@
|
|
|
|
arguments for /sbin/init.
For CPU 0 identifycpu() originally got called twice, once very early
from cpu_startup(), then again from cpu_attach(). Now we call
identifycpu() only from cpu_attach() with CPUF_PRIMARY set. So
make sure, that for CPU 0 nothing is skipped. Otherwise, cpu_info
might have different features set for CPU 0 than for all other CPUs.
This is similar to what amd64 does.
from hshoexer@; reported and fix tested by Emilio Perea; OK mlarkin@
|
|
Switching from per PCB TSS to per CPU TSS broke kvm86 calls to the BIOS.
This change fixes the issues.
from hshoexer@; reported and tested by semarie@; OK deraadt@
|
|
- provide a cpu_softc for cpu_attach() etc.
- replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a
cpu_full_info. Therefore during autoconf/cpu_attach we hand down
a softc.
The second change removes the per PCB TSS. We now have one TSS per
CPU, thus in cpu_switchto() we only have to patch the ring 0 stack
pointer instead of loading a new TSS. This also allows for cleaning
up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
|
|
Add ofw_regulator.c and its dependencies to fix build.
|
|
|
|
|
|
|
|
|
|
better now with the FDT framework when we actually tackle PCIe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
code in imxgpio(4) with splhigh() and splx() which is MI and should be
good enough for the job.
Discussed with kettenis@
|
|
were not needed anymore since we switched to the FDT-based GPIO code.
|
|
thus creates an erroneous line break.
|
|
|
|
ok kettenis@
|
|
|
|
Discussed with kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
brings us very basic support for the SolidRun MACCHIATOBin.
|
|
handle open until a kernel has been loaded from the softraid volume.
This works around an apparent memory leak in the firmware on T5220
which fails to load an ldom guest kernel from softraid with a "Fast
Data Access MMU Miss" trap after many OF_open()/OF_close() calls.
This problem goes away when we call OF_open()/OF_close() just once
instead of for every block we want to read.
Crank ofwboot version to 1.10.
Make sure to keep working boot media around before upgrading!
Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1),
have been tested and are known to work. Please report issues to bugs@.
ok kettenis@
|
|
was already disabled, but reporting it as available and then failing it
caused SmartOS to crash during boot.
ok pd@
|
|
implicitly putting it in the padding to page-size. This eliminates a
couple Coverity issues from the Meltdown work.
testing daniel@
ok mlarkin@
|
|
access support. This fixes machines where the AML doesn't check whether
support for this OperationRegion type has been registered by the OS.
ok mlarkin@
|
|
rather than enable interrupts unconditionally.
Tested by and OK aoyama@; no objection deraadt@
|
|
only halfway done and the current state does not help anybody. For
OpenBSD 6.3 release go back to the original code before 2018/03/13.
This gives us a stable release and the changes will come back later.
discussed with guenther@ deraadt@ hshoexer@
|
|
used by the hypervisor interface. This allows the driver to sync
up with the firmware's Rx channel state (DOWN/UP/RESET) upon the
first interrupt, and repair inconsistent Rx channel head/tail queue
state if necessary.
Unwedges another interrupt storm observed when starting ldomd on my
T5220 after a reboot. In case the firmware's Rx queue head and tail
are initially not equal, the normal interrupt handling path will not
operate as expected due to the interrupt storm, and we never told the
firmware to shut up.
Other cbus(4) drivers might benefit from a similar fix, but we're
too close to release for experiments, so I'm just fixing vldcp(4).
ok kettenis@ deraadt@
|
|
members of the interrupt handler struct. Fixes a panic on sun4v systems
with shared interrupts.
tested by stsp@
|
|
need to source armv7 headers and can be used on arm64 as well. Also
don't hardcode com(4)'s major number.
ok kettenis@
|
|
a common bus space tag that can be used for early console attachment.
ok kettenis@
|
|
This change fixes the issues.
from hshoexer@; reported and tested by semarie@; OK deraadt@
|
|
Extend the logic already present for panic() to any DDB-related
operation such that if ddb(4) is entered because of a fault or
other trap it is still possible to call 'boot reboot'.
While here stop printing splassert() messages as well, to not fill
the buffer.
ok visa@, deraadt@
|
|
sdmmc chipset driver, currently only implemented in sdhc(4), but
mostly uses the regular path. sdhc(4) also needed the ability to
perform IO while cold.
ok deraadt@
|
|
instead of just returning 0s.
Initial diff from Adam Steen, thanks!
ok pd@
|
|
ok visa@, patrick@
|
|
the SMBIOS table. Some machines even have IPMI defined in both tables.
This attachment driver makes ipmi(4) available via ACPI. There can only
attach one ipmi(4) device, either on ACPI or SMBIOS.
Akin to the SMBIOS-attached ipmi(4) this driver is disabled by default.
Feedback from jsg@
ok deraadt@
|
|
- provide a cpu_softc for cpu_attach() etc.
- replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a
cpu_full_info. Therefore during autoconf/cpu_attach we hand down
a softc.
The second change removes the per PCB TSS. We now have one TSS per
CPU, thus in cpu_switchto() we only have to patch the ring 0 stack
pointer instead of loading a new TSS. This also allows for cleaning
up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
|
|
so inline the assignments, pushing them through the callers into
several other functions. This shows that pmap_free_ptp() was doing
a duplicate set of pmap_tlb_shootpage() calls: delete the extras.
ok deraadt@ mlarkin@
|
|
rather reset GS.base and restore FS.base to what was set via __tcb_set(),
so we can't really support the wr{fs,gs}base instructions by userspace.
Enabling CR4_FSGSBASE is therefore incorrect so stop doing so.
ok jsg@ krw@
|
|
From Artturi Alm.
|
|
ok jsg@
|