Age | Commit message (Collapse) | Author |
|
from Nick Briggs
|
|
Instead, maintain firmware state in accordance to the current net80211
state by adding/updating/removing MAC config, PHY->MAC binding, and the
station in the firmare station table (we only add the AP to this table).
By eliminating the iwm_stop() call from iwm_newstate_task(), this change
prepares future work on fixing races between ioctls and tasks scheduled
by this driver.
There's a known new occasional fatal firmware error which results in
the message "iwm0: could not remove MAC context (error 35)"
I expect to fix this soon.
tested by tb@ on 7265, by jcs@ on 8265, and by myself on 7260/7265/8260
ok mpi@ tb@
|
|
capabilities yet so discrepancies are not entirely unexpected.
|
|
|
|
|
|
Now that the source of the delay with releasing grant table entries has
been identified and fixed the number of attempts to CAS entry flags can
be substantially reduced and while it's decreased by a factor of 100000,
it should go down at least a 100 more in the future.
|
|
This small change significantly improves performance under load and halves
the number of received interrupts.
|
|
Apparently, just like the disk interface, the network backend may
post TX completions out-of-order, i.e. the ring position doesn't
determine which descriptor is being completed and the code must
look at the response id inside the completion message. It might
seem obvious, but since networking hardware doesn't usually work
this way, it was something that has been overlooked.
Based on instability reports from Kirill Miazine <km at krot ! org>,
thanks!
|
|
introduces a forward decl for socket. turns out the affected file doesn't
need ip_var.h, so remove it. then move the decl to the bottom to prevent
the problem from recurring.
bug report by Nick Briggs
ok mpi
|
|
the si_code is SEGV_ACCERR after memory access with wrong permissions
has triggert a SIGSEGV. Adapt the behavior of i386 and amd64 kernel.
Remove the useless code that changed error from EACCES to EFAULT
in amd64. Also convert variable name rv to errno in i386 to make
it look like amd64.
OK kettenis@
|
|
|
|
this lets GENERIC work as well as GENERIC.MP. it should also fix
bsd.rd. tested by me on an es45.
from a grumpy alpha user
|
|
|
|
extension in hash calculation. Reported & diagnosed by Nick Briggs.
ok mpi@
|
|
longer tracks prefixes or default routers from router advertisements.
Pointed out by jmc.
ports tree grepping sthen, who only found nsh
OK mpi, sthen
|
|
been acquired in sosend(). Fixes a kernel lock assertion panic.
OK visa@ mpi@
|
|
Fix floor splassert reported by mlarkin@ and Marko CupaÄ.
ok dlg@, visa@, yasuoka@
|
|
controllers need it on CN70xx/CN71xx.
|
|
Requested by kettenis@.
|
|
needed by upcoming work.
|
|
|
|
controller for the inteldrm(4) driver. If wscons(4) provides backlight
control, prefer ir over raw hardware control and attach it to LVDS, eDP
and DSI connectors which are the connector types typically connected to
laptop screens.
|
|
With this we can also get rid of in6_prefix and in6_defrouter. They
are meaningless, the kernel no longer tracks this information.
Pointed out by & OK mpi
|
|
Setup the transmit ring the way FreeBSD driver does giving each
descriptor a 16 fragment chain and revamp the start routine to
use m_defrag for long chains and avoid the dequeue begin/commit/
rollback dance.
OK dlg
|
|
Tested on ESXi 5.5.0, OK reyk
|
|
an unused nat port. Prevents a possible endless loop if high port
is 65535 or low port is 0.
report and analysis Jingmin Zhou; OK sashan@ visa@
|
|
|
|
Hyper-V and Xen have varying support for detaching emulated IDE
devices ranging from none on Hyper-V to only IDE disks but not
CDROM (Xen). The quirk mechanism provides a way of enforcing the
desired behavior.
With suggestions and OK kettenis, tedu, mlarkin
|
|
to compact the data indexing. This additionally improves the cache
locality of the data.
|
|
Buffercache performs read-ahead for cluster reads by extending
the length of an original read operation to the MAXPHYS (64k).
Upon I/O completion, the length is trimmed and the buffer is
returned to the filesystem and the remaining data is cached.
However, under certain circumstances, the underlying hardware
may fail to do a complete I/O operation and return with a non-
zero value of the residual length (i.e. data that wasn't read).
The residual length may exceed the size of an original request
and must be re-adjusted to uphold the contract with the caller,
e.g. the filesystem. At the same time, read-ahead buffers that
cover chunks of memory corresponding to the residual length
must be invalidated and not cached.
Discussed at length during d2k17, ok tedu
|
|
sbsleep().
|
|
lock.
Prevents a future lock recursion since soo_ioctl() will need to grab
the lock.
ok bluhm@, visa@
|
|
Suggested by and OK dlg@
|
|
of items that a cache list is allowed to hold. This lets the cache
release resources back to the common pool after pressure on the cache
has decreased.
OK dlg@
|
|
"fire away!" tedu
|
|
VM setup.
ok pd
|
|
shall all be cleansed.
Remove sending of router solicitations and processing of router
advertisements from the kernel. It's handled by slaacd(8) these days.
Input & OK bluhm@, mpi@
|
|
this is almost a straightforward change of spl ops with mutex ops,
except the accounting has been shuffled around. memory is counted
as used before an attempt to allocate it from uvm is made to prevent
overcommitting memory. this is modelled on how pools limit allocations.
the uvm bits have been eyeballed by kettenis@ who says they should be safe.
visa@ found some nits which have been fixed.
tested by chris@ and amit kulkarni
ok kettenis@ visa@ mpi@
|
|
with SDIO because it does not handle card interrupts.
|
|
ok sf@ mlarkin@
suggested by deraadt@
|
|
|
|
advertisement processing and solicitation sending like we already did
for the non-install kernels.
Next step will be to tedu all that code from the kernel.
OK rpe@ for the installer bits
move forward deraadt@
|
|
for firmware to get ready. It fixes "urtwn0: could not load firmware page"
while running stsp@'s script: dhclient urtwn0; ifconfig urtwn0 down;
ifconfig urtwn0 scan in a loop.
- Minor cleanup for rtwn_read_rom()/rtwn_get_txpower(); no need to use
callbacks.
Tested by stsp@ and me.
ok stsp@
|
|
It is unsafe to sleep while iterating the list of pending events in
kqueue_scan().
Reported by abieber@ and juanfra@
|
|
triggers different warnings now.
ok naddy@
|
|
of MMC/SD memory.
|
|
|
|
tobiasu@ for pointing that out), but the manual pages are still
installed. I have no idea how to properly tedu an architecture, so
deleting the dead .Xr to boot_socppc(8) is all i'm doing in this respect.
|
|
According to tobiasu@, landisk is moribund and writing new manual
pages for it would be a waste of time.
|
|
|