| Age | Commit message (Collapse) | Author |
|
|
|
|
|
revision 1.103
date: 2019-01-11 15:43:51 +0000; author: skrll; state: Exp; lines: +12 -2; commitid: RYSytjLNOZrFCn7B;
Add a bs_barrier to make ThunderX xhci work. Not sure why this is
needed, but I'll work it out later.
Turns out bus_dma.c needed fixing which I did with
revision 1.115
date: 2019-06-14 10:09:12 +0100; author: skrll; state: Exp; lines: +39 -34; commitid: GKW2p7ijoslyu8rB;
Simplify the _ARM32_NEED_BUS_DMA_BOUNCE #ifdefs and rely on compiler
optimisation of the bouncing = false case.
Drain the write buf (aka DSB) in more cases
Catch all CPUs that support speculation. (thunderx isn't CPU_CORTEX)
|
|
|
|
|
|
|
|
|
|
This is only a diagnostic measure, not part of semantics.
Can probably safely eliminate the diagnostic measure at this point
now.
|
|
- Qualify efi_isopen with volatile.
- Ensure open has acquire ordering and close has release ordering.
- Use atomic_swap, not atomic_cas -- simpler and may be cheaper.
- Use atomic_store, not atomic_swap -- simpler and usually cheaper.
(Could maybe just use __cpu_simple_lock to avoid having to write out
these details.)
|
|
No functional change intended.
|
|
No functional change intended -- this only affects x86, which
currently doesn't support EFI runtime services.
|
|
|
|
This will let us rescan tcoichbus later too on devices where the TCO
(Intel platform controller hub watchdog timer) hangs off ichsmb(4)
instead of ichlpcib(4).
|
|
|
|
The child could be detached, e.g. with drvctl, and then the bus
rescanned, at which point it would reinitialize a mutex without
destroying it.
|
|
This just uses a subregion with PMC_TCO_BASE automatically applied.
No functional change intended.
|
|
This is an intermediate step that will let us decouple it from access
via PMBASE.
|
|
For PMC-specific ones, change `lpcib_' to `pmc_'. These are in a
separate PCI device in newer chipsets.
For TCO-specific ones, which may live in different places, whether at
their own base address or as an offset from PMBASE, just leave it as
`tco_' or `tcotimer'.
No functional change intended.
|
|
This should reduce the timeout for a failed sd@umass transfer from
n*(1min + 5sec) to 1min + n*5sec where n is the number of reset and
clear-stall steps.
|
|
This time for real!
|
|
the disable flag set so that interrupts and the callout are halted.
|
|
Make sure to take the lock around access to sc_detect_linkstat too.
|
|
|
|
|
|
- implement pcie_get_speed_cap(), pcie_bandwidth_available(), and
pci_is_root_bus().
- expand "enum pci_bus_speed" to add PCIe 5.x and 6.x speeds.
- add "enum pcie_link_width".
- add defines for PCIE_LCSR_LINKSPEED (PCIe generation) and PCIE_LCSR_NLW
(negotiated lane width) to pcireg.h
- enable amdgpu_device_get_pcie_info() code now it works.
ok riastradh@
|
|
fixes an assert reported by msaitoh@. also fix another missing miilock
assert in usbnet_stop() that triggered for me.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
free descriptors, not "are there packets in the queue"; the latter is
redundant with the IFQ_POLL() that happens within the loop after the
number of available descriptors is checked. Eliminate use of IFF_OACTIVE.
|
|
is checked as soon as we enter the loop.
|
|
is checked as soon as we enter the loop 2 statements later.
|
|
- button boundary is now computed consistently.
- multi finger operation now works for MULTI_FINGER and MULTI_FINGER_REPORT.
Fixes PR kern/56476 and probably kern/56998.
|
|
|
|
old statistics code.
The code is commented out by if_vmx.c:r1.57.
|