Age | Commit message (Collapse) | Author |
|
noticed by clang
|
|
|
|
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.
OK mpi@, deraadt@
|
|
activate it for efifb and inteldrm
ok kettenis
|
|
point in scheduling ic_bgscan_timeout() since this timeout will find that
it has nothing to do.
ok phessler pirofti
|
|
verified md5 sum on amd64
ok mlarkin@
|
|
Clear group keys in iee80211_newstate only if we're doing WPA.
Otherwise, ieee80211_crypto_clear_groupkeys() will clear WEP
keys configured by userland before associating.
(All WEP keys are group keys.)
ok phessler@ tb@ pirofti@
|
|
scanning if none was found.
Accidentally broken in recent ifconfig scan changes by pirofti and me.
ok pirofti
|
|
therefore all other x86 cpus must pay the performance price of the
hazard workaround until Skylake disappears from the ecosystem eventually
like 486. This returns your cpu's performance to pre-inflated performance.
ok mlarkin guenther
|
|
Use this helper to calculate the Transfer Burst Count (TBC) and Transfer
Last Burst Packet Count (TLBPC) required for isochronous support.
Note that SS companion descriptors are still not read.
While here print the ETE and IST values in debug mode.
|
|
Use this helper to calculate the Transfer Burst Count (TBC) and Transfer
Last Burst Packet Count (TLBPC) required for isochronous support.
Note that SS companion descriptors are still not read.
While here print the ETE and IST values in debug mode.
|
|
|
|
|
|
These ports are used for Edge/Level control on the legacy PIC and will be
needed for a subsequent commit.
|
|
|
|
ok visa@
|
|
While here use UE_GET_SIZE() coherently.
ok pirofti@, stsp@, visa@
|
|
and not as a uplcom.
From mpi, ok deraadt, no objection kettenis
|
|
ok mlarkin@
|
|
ok krw@
|
|
spills into the CAP register.
|
|
to the ethernet controller for different types of events. On the i.MX8M
interrupts only seem to happen on the last interrupt, while the i.MX6 that
we support very well only has a single interrupt line. Simply establish
all three lines (if available) in a non-MPSAFE fashion to make ethernet
work on the i.MX8M SoC.
ok kettenis@
|
|
|
|
ok guenther
|
|
noticed by deraadt@ and mlarkin@
|
|
OK mlarkin@
|
|
Simplify some code and reduce the number of places we are handling VINTR
exits.
ok brynet
|
|
xrstor_resume must not have profile prologue, so use NENTRY
Don't use _C_LABEL() with some pure-ASM labels
|
|
The following removes the functionality of the SIOCS80211SCAN ioctl.
After long discussions with stps@, mpi@, and deraadt@ we decided that
this was the correct way of fixing ifconfig scan from blocking the
network stack.
The kernel will continue scanning in the background and filling the
nodes array, but ifconfig scan commands will now basically do just a
SIOCG80211ALLNODES and pretty print the array. So the output stays the
same but is instant.
In fact, when the interface is freshly brought up, if you type fast
enough, you can see the array being filled by running multiple ifconfig
scans in sequence.
The SIOCS80211SCAN ioctl stays for now as wi(4), pgt(4) and malo(4)
still need it around. But not for long...
Another change that this introduces is the fact that ifconfig scan no
longer plays with UP and DOWN. If the interface is down it complains and
exits. This is needed in order to maintain the nodes list.
Works on iwm(4), iwn(4), urtwn(4), run(4) and athn(4).
Tested by mpi@, landry@, florian@, thanks!
OK mpi@.
|
|
behave like a real call frame, thus vastly simplifying the ddb back
trace logic.
based on whinging from deraadt@
ok jasper@ mpi@ phessler@
|
|
that is not needed; this code deals with delaying the relocking of the
kernel lock until after interrupts are processed during external interrupt
exiting, but this is handled differently on SVM. External interrupts are
automatically handled by the CPU as soon as stgi() is performed after
exit. (The original code came from the VMX/Intel guest loop.)
ok guenther@
|
|
We do not need the lock there.
Missed this in my former commit pushing NET_LOCK() down the stack.
Found the hard way by naddy@, sorry!
OK mpi@.
|
|
guest VM.
|
|
ok stsp@
|
|
ok stsp@
|
|
|
|
kernels.
While here sync all MP_LOCKDEBUG/while loops.
ok mlarkin@, visa@
|
|
With and ok visa@
|
|
handling purely in ASM instead of fixing up the state to call into
C...all in order to return back into a chunk of custom ASM which
was longer than the direct solution!
ok mlarkin@
|
|
no code change
|
|
Puts us in line with Free/NetBSD and Linux and will get us rid of
pointless patches in the ports tree. ok guenther@ deraadt@
|
|
count after unlocking. To improve consistency, use vput() instead of
VOP_UNLOCK() + vrele().
OK guenther@, mpi@, tedu@
|
|
sprinkle some bounded attributes while here.
ok deraadt@
|
|
ok deraadt@
|
|
This turns `filehead' into a local variable, that will make it easier
to protect it.
ok visa@
|
|
Compared to the previous Linux 3.8 based port this adds support for
KAVERI/KABINI/MULLINS APUs and OLAND/BONAIRE/HAINAN/HAWAII GPUs.
Thanks to the OpenBSD Foundation for sponsoring this work.
|
|
attaches and claims glass console but after root is mounted if firmware
is not found efifb gets reattached to have a useable glass console.
|
|
the rule created in pf_rule_copyin(). Plugs a potential kif memory
leak in pf(4) ioctl.
OK sashan@
|
|
Constipate a couple variables. Delete IDTVEC() macro and code handling
32bit-only traps (panic instead).
ok mlarkin@
|
|
The previous version of the code used "disable_intr" as a protection
around the FPU state saving routine, which left host RFLAGS.IF=0 when
entering the guest. If the guest ended up in a non-exitable condition,
the machine could hang due to missed TLB flush IPIs (and eventual
kernel lock contention and starvation).
tested by brynet@
ok guenther@
|