| Age | Commit message (Collapse) | Author |
|
also guard against NULL in ad_{capture,playback}
observed during shutdown on Lenovo W510
|
|
|
|
|
|
|
|
VIRTIO_F_RING_EVENT_IDX mode.
This fixes stalls in the vioif(4) transmit path that would happen sooner
or later, depending on interface transmit utilization, and were
particularly noticable with a NetBSD guest transmitting to its x86 KVM
host at multi-gigabit speeds.
|
|
|
|
sc->sc_nvqs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
len is unsigned 16 bit so testing for less than zero is not valid.
|
|
Remove unintentional stray debug printfs.
Fix DSE_DEBUG build.
|
|
Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.
Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.
Reviewed on tech-net by Izumi Tsutsui.
|
|
the bit of onverflow status register must be cleared to prevent an interrupt storm.
|
|
This fixes a panic on RTL8125.
Patch from OpenBSD if_rge.c r1.20, if_rgereg.h r1.8.
Tested by msaitoh@n.o.
|
|
|
|
|
|
- Changed sampling buffer switching frequency (which is the frequency of tprof_worker()
calls and also the maximum block time of read(2) of /dev/tprof) from 1sec to 125ms.
This improve tprof top responsiveness.
- The maximum number of sampling buffers is now adjusted according to the number of CPUs.
Previously it was fixed at 100 and was insufficient if ncpu was greater than this.
The maximum number of samples per second per CPU is calculated by
"TPROF_MAX_SAMPLES_PER_BUF * (HZ of tprof_worker)".
Therefore, currently, 10000 * (1000/125) = 80000 maximum samplings per CPU.
The actual value will vary slightly from this due to tprof_worker and read(2) timing.
This value may need to be adjusted more in the future.
|
|
|
|
on a controller simply does not change depending on the privileges of
the caller.
|
|
|
|
in ehci_device_fs_isoc_init() to match ehci_device_isoc_init()
|
|
|
|
|
|
|
|
and martin@n.o.
|
|
Some BMC seems to require these syncronous operations. If not,
it does not send transmit completion interrupts for some reason.
|
|
The environments cannot stop e1000 interrupt immediately.
|
|
|
|
like other interfaces.
Remove cargo-culted check for manual roaming.
|
|
|
|
Defer power save setting to interface start.
More verbose on errors.
Allow build without FDT.
|
|
|
|
SPI attachments.
|
|
|
|
|
|
- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
It is calculated by default from the CPU clock (speed of cycle counter) and
TPROF_HZ, but for some events the value may be too large to be sufficient for
profiling. The event counter can be specified as a ratio to the default or as
an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
TPROF_BACKEND_VERSION were updated.
|
|
|
|
PMCR.E controls not only performance event counters but also the cycle
counter operation, and the cycle counter may be used for cpu_counter.
Similarly, the 31st bit in PMINTENCLR and PMCNTENCLR controls the cycle
counter, not performance event counters, and should not be modified.
|
|
Fixed a problem in which the system would freeze if a high load (e.g., build.sh -j20)
was applied while running `tprof monitor -e LsNotHaltedCyc ...' on x86.
This almost eliminates the problem, but still is not enough. tprof_x86 uses NMI
interrupts, which are interrupted even in splhigh(), leaving the possibility of
being interrupted in the splhigh section of percpu_cpu_swap().
|
|
"dmidecode -d /dev/smbios" now works on x86. also tested on arm64 (lx2k.)
|
|
|
|
derive the proper wait delay for the measurement based upon the over
sampling setting and allow the wait factor multiplier to be adjusted.
|
|
just return junk if the wait is not long enough to allow a measurement
to start.
|
|
|
|
|