| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
so only get it once
ok guenther
|
| |
|
|
|
| |
Nothing uses this field since Linux compat was removed.
ok mpi@ deraadt@ guenther@
|
| |
|
|
| |
ok bluhm@
|
| |
|
|
| |
ok bluhm@
|
| |
|
|
| |
ok bluhm@
|
| | |
|
| | |
|
| |
|
|
| |
ok patrick@
|
| | |
|
| |
|
|
| |
Intel machines.
|
| |
|
|
| |
Intel machines.
|
| |
|
|
| |
we chose instead of any AP the firmware chooses based on the SSID.
|
| |
|
|
| |
variable.
|
| |
|
|
| |
OK tom@, deraadt@
|
| | |
|
| |
|
|
|
|
| |
AXP152 and AXP209 here as well. The AXP209 is extended to support
regulators and sensors. The ACIN and VBUS indicators are now exported as
sensors. Retire the old AXP152/AXP209 support code.
|
| |
|
|
|
|
|
|
|
| |
map the framebuffer as device memory in the kernel. Using mismatched
memory attributes like this is discouraged (and we should probably fix this
at some point) but this particular case is well-defined and the potential
side-effects should not matter for thus use-case.
ok patrick@
|
| |
|
|
|
|
| |
It is not clear if this change is responsible for the lockups experienced
by dhill@ and jcs@ but since we're no longer grabbing the socket lock in
kqueue(2) filters there's no need for this change.
|
| |
|
|
|
|
|
|
|
|
| |
This change exposed or created a situation where a CPU started to be
irresponsive while holding the KERNEL_LOCK(). These led to lockups and
even with MP_LOCKDEBUG it was not clear what happened to this CPU.
These situations have been experience by dhill@ with dcrwallet and jcs@
with syncthing. Both applications are written in Go and do kevent(2)
& networking across multiple threads.
|
| |
|
|
|
|
|
| |
Prevents a deadlock in if_downall() when rw_enter() succeed without
really grabbing the lock.
Reported by and ok phessler@
|
| |
|
|
| |
From <kshe59 at zoho.eu>
|
| |
|
|
|
|
| |
regulators with a "regulator-always-on" property alone.
ok patrick@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and put it to use in userspace in lieu of the kern.boottime
sysctl.
Its absolute value is the time that has elapsed since the
system booted, i.e., the system uptime.
Use in top(1), w(1), and snmpd(8) eliminates a race with
settimeofday(2), adjtime(2), etc. inherent to deriving the
system uptime via the kern.boottime sysctl.
Product of a great deal of discussion/revision with jca@, tb@,
and guenther@.
ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@
|
| |
|
|
| |
fix up the code for the Cortex-R4 which works the same.
|
| |
|
|
|
|
| |
option which had been broken due to recent commits on AMD (SVM/RVI)
ok pd@
|
| |
|
|
| |
and AXP809 PMICs. Disabled for now.
|
| | |
|
| | |
|
| |
|
|
| |
ok patrick@
|
| | |
|
| | |
|
| |
|
|
| |
the PCIe-based BCM43602's firmware in the PCI attachment driver.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
happens when regulators are registered. As a consequence they will be
properly initialized even when the firmware doesn't do that.
ok patrick@
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Add a driver for the RTC part of the AC100 chip.
Together this turns my Cubieboard4 into a real computer by giving it
a proper clock.
ok patrick@
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
if (when) tx mitigation goes in again, all nics will have deferred
work that will need a barrier to ensure isn't running anymore.
found by bluhm@ when tx mit was in.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
currently there is a single mbuf_queue per interface, which all
rings on a nic shove packets onto. while the list inside this queue
is protected by a mutex, the counters around it (ie, ipackets,
ibytes, idrops) are not. this means updates can be lost, and reading
the statistics is also inconsistent. having a single queue means
that busy rx rings can dominate and then starve the others.
ifiqueue structs are like ifqueue structs. they provide per ring
queues, and independent counters for each ring. when ifdata is read
for userland, these counters are aggregated. having a queue per
ring now allows for per ring backpressure to be applied. MCLGETI
will have it's day again.
right now we assume every interface wants an input queue and
unconditionally provide one. individual interfaces can opt into
more.
im not completely happy about the shape of this atm, but shuffling
it around more makes the diff bigger.
ok visa@
|
| |
|
|
|
|
|
|
|
|
|
| |
previously the code was using a percpu flag to manage the sleeps/wakeups,
which means multiple threads waiting for a barrier on a cpu could
race. moving to a cond struct on the stack fixes this.
while here, get rid of the sbar taskq and just use systqmp instead.
the barrier tasks are short, so there's no real downside.
ok mpi@
|
| |
|
|
|
| |
time; the aggressive mountpoint destruction seems to hit insane
use-after-frees when we are already far on the way down.
|
| |
|
|
|
| |
Change mountpoint to RDONLY a little later. Seems to improve the
rw->ro transition a bit.
|
| |
|
|
|
|
|
|
|
|
| |
over iwn(4), in the same way as this was done for iwm(4).
I forgot about making iwn(4) heed the IEEE80211_F_TX_MGMT_ONLY flag which
is used to disable queueing of new data frames during an AP switch.
Found due to a problem report by naddy@
ok phessler@ tb@
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
other pending inode attribute changes. We appear to be missing UFS_UPDATE()
calls in some paths with the result that bsd.rd remounting the newly
created /mnt to RO would lose the GID changes on device inodes there.
This only affected devices, as they're the only inodes where timestamp
writes are delayed.
ok deraadt@
|
| |
|
|
| |
we aren't running in hostap or ibss mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
state as diverted. This is necessary for IP input to accept the
packet as ours. But it must not be used to match the ICMP packet
to a raw socket. Clear the PF_TAG_DIVERTED mbuf pf flag for the
special ICMP and ICMP6 packets in icmp_input_if() and icmp6_input().
The m_tag_delete_chain() caused an inconsistent PF_TAG_DIVERTED
mbuf pf flag and PACKET_TAG_PF_DIVERT mbuf tag which triggered an
assert in rip_input(). Deleting all mbuf tags can have undesired
side effects and is not necessary anymore since icmp_reflect() calls
m_resethdr(). Do not touch the mbuf tags and adjust the mbuf pf
flags for the correct behavior of rip_input() and rip6_input().
reported by Chris Eidem, James Turner, vicviq, Scott Vanderbilt
OK mpi@
|