Age | Commit message (Collapse) | Author |
|
engine that might attempt to read beyond the end of the buffer that was
programmed. The IOMMU catches this "DMA overrun" and throws an unrecoverable
error at us, at which point we have no choice but to panic. To avoid this
implement a BUS_DMA_OVERRUN flag that maps an additional scratch page at the
end of the vdma address range. DMA requests will spill over into this page,
which just returns zeroes.
Thanks to matthieu@ for giving me access to a machine with the problem.
ok deraadt@, beck@
|
|
actually use this in em(4) and xhci(4), but I'm not committing those yet
because we almost certainly need to save and restore the MSI-X registers
during suspend/resume. However, this allows mpi@ to play with multiple-vector
support in networking hardware.
Requested by mpi@
ok mlarkin@, mikeb@
|
|
configure fan speeds.
from mglocker@, ok kettenis@
|
|
with feedback from kettenis@
fixes building a kernel with xge, which might actually work on these
machines now.
|
|
busses are little endian, so the non-raw ops are raw anyway. fixes
the kernel build after xge grew the use of the raw ops.
|
|
cpu_boot_secondary_processors() break suspend/resume.
|
|
attach if we are running in legacy mode.
ok jsg@
|
|
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.
ok jsg@ kettenis@
|
|
|
|
capability
ok kettenis@
|
|
which are more specific.
ok kettenis@
|
|
controller. Use this to switch SD cards to a 4-bit bus if they support it.
ok deraadt@, jsg@
|
|
for the disklabel. Tweak a few comments to make it more clear what
is happening. No intentional functional change.
ok yasuoka@
|
|
This prevent the scheduler from scheduling tasks to CPUs not beeing able
to execute them during the boot process.
ok visa@, kettenis@
|
|
ddb(4) can now see static functions. That doesn't mean we should start
declaring functions as ``static'', however it helps for the few existing
exceptions.
ok deraadt@, kettenis@
|
|
|
|
|
|
|
|
ok dlg@
|
|
|
|
compiled when VMM_DEBUG is enabled, and only used during VM crash.
|
|
decoding code I'm working on for vmm(4) debugging. No functional change.
|
|
|
|
|
|
|
|
|
|
exit in addition to the exit code.
|
|
|
|
|
|
|
|
ok patrick@
|
|
since ARMv6K. As we also support ARMs that are older than that,
guard the new atomic operations with an ifdef specifically for ARMv7.
ok jsg@
|
|
This check only makes sense when a frame is saved for interrupts, not
for a (simulated) breakpoint.
This allows us to put breakpoints in interrupt context and have them
work if an interrupt fires while the CPU is idle.
|
|
|
|
Matched and changed by a script, verified to cause no binary change with
armv7, armish, and zaurus kernels.
ok patrick@
|
|
arguments to instructions. Based on a file from FreeBSD.
ok patrick@
|
|
|
|
An X server built after april 3 is needed to be able to start X with
the new kernel.
ok kettenis@
|
|
the local TLB and add pmap_shootdown_page() for invalidating remote
TLBs. Where the code previously updated a remote TLB entry, the code now
issues a remote invalidation, like in architectures with a
hardware-managed TLB. This eases work in the MP land because
invalidations do not need to strictly follow the order of page table
updates.
Almost as a side effect, pmap_emulate_modify() no longer touches remote
TLBs. It is no use to force a TLB D bit on other CPUs because they might
not need it. Moreover, a shootdown IPI probably has a higher overhead
than a local TLBModified exception.
|
|
|
|
|
|
to be 8-byte aligned. To guarantee this, align the stack pointers
passed to user processes and make sure the in-kernel stacks are
properly aligned, too.
ok jsg@
|
|
this attribute is currently already defined. This define is only used
to disable the unused FDT functionality in the exynos and virtio code.
As the FDT code will be developed in a different manner than the way
those drivers are written today and the functionality has never been
enabled, simply remove the attribute and its users.
ok jsg@
|
|
a 64-bit boundary (in constrast to the System V i386 ABI). Use an alignment
attribute to force 64-bit alignment of the INT64 and UINT64 types. This
makes the definitions of the EFI data structures match the expectations of
the firmware.
Fixes the issue where the 32-bit UEFI bootloader (BOOTIA32.EFI) would not
detect a GPT leading to a failure to boot.
Cluestick from John Troy.
ok krw@, yasuoka@
|
|
making a page executable. This prevents some icache inconsistencies that
could arise when a process modifies its code pages and begins executing
them while switching between CPUs. These inconsistencies caused process
crashes on multiprocessor IP27/IP30 systems under load.
Crashes reported by deraadt@
Feedback from Miod, thanks!
|
|
so instead of halfway configuring this mode and unconditionally panicing,
just don't attach mpbios at all if this mode is detected during probe.
ok kettenis
|
|
|
|
ok kettenis@
|
|
|
|
originally intended in r1.38. (ie more or less revert r1.39)
(re-)Fixes at least net/net-snmp, sysutils/gkrellm/gkrellm,-client,
sysutils/xuvmstat and sysutils/bubblemon-dockapp on alpha.
From miod@
|