Age | Commit message (Collapse) | Author |
|
* Favor ENOTTY for unknown ioctl commands
* Return the actual error from copyinstr and copyoutstr, removes the need to
initialize the local error variable
* Do not use parens around return expressions consistently
ok visa@
|
|
update the values if they are non-zero and smaller than the current
hardcoded depths. Fixes dwiic(4) on Ampere eMAG.
ok patrick@, jcs@
|
|
caused by calling vn_open() with write permissions must be reverted.
Otherwise, the vfs subsystem could panic while releasing the last vnode
reference if the writecount is still positive.
ok visa@
Reported-by: syzbot+4724df09d9ab0fdca28a@syzkaller.appspotmail.com
Reported-by: syzbot+a430606fd528645559db@syzkaller.appspotmail.com
|
|
serializing both read/write operations using the existing file mutex.
The vnode lock still grants exclusive write access to the offset; the
mutex is only used to make the actual write atomic and prevent any
concurrent reader from observing intermediate values.
ok mpi@ visa@
|
|
from grunk@
|
|
|
|
ok deraadt@, jsg@
|
|
|
|
|
|
|
|
Avoid printing a confusing "irq 0" message in this case.
|
|
The interrupt problem had nothing to do with changes in the Intel
100 Series and was due to most of these machines using the same DSDT
template where we were walking _INI nodes in the wrong order.
This lead to the touchpad device's _INI method being called before
\_SB_.PCI0._INI (where \OSYS is initialized), making the touchpad
device's interrupts setup for an OSYS of 0, but when its _CRS method
was called later during ihidev attachment (after \_SB_.PCI0._INI was
executed, modifying OSYS), it returned information for interrupts as
if were initially setup for the proper OSYS.
|
|
recursing into child devices looking for matches.
This ensures that when walking nodes with acpi_inidev, a method like
\_SB_.PCI0._INI will be executed before \_SB_.PCI0.I2C1.TPL1._INI.
This matches how ACPICA walks nodes and a commonly-used DSDT
template assumes that \OSYS has been initialized in \_SB_.PCI0._INI
before being used by other device _INI methods.
This should also help to execute \_INI and \_SB_._INI first, if
present, which ACPICA does explicitly.
Tested in snaps, ok deraadt
|
|
operators can take a data argument of Integer, String, or Buffer
types, not just Integer.
ok kettenis, deraadt
|
|
From Hariprasad Kelam
6a7047471073c2cf8e375b2fe5a71bacf9799973 in linux 4.19.y/4.19.63
88099f53cc3717437f5fc9cf84205c5b65118377 in mainline linux
|
|
From Nicholas Kazlauskas
11b4e9f3695c155f71cb2bc56d761284bf5e65b1 in linux 4.19.y/4.19.63
f04bee34d6e35df26cbb2d65e801adfd0d8fe20d in mainline linux
|
|
From Oak Zeng
210dfe6309112dd028bf06561b828a749b6e1169 in linux 4.19.y/4.19.63
065e4bdfa1f3ab2884c110394d8b7e7ebe3b988c in mainline linux
|
|
From Oak Zeng
db64bc13944013357d231cbf9d1aee798d7b9892 in linux 4.19.y/4.19.63
e73390d181103a19e1111ec2f25559a0570e9fe0 in mainline linux
|
|
From Paul Hsieh
6b1d2871fe369cb65f087cd300bad6af50764ac7 in linux 4.19.y/4.19.63
1090d58d4815b1fcd95a80987391006c86398b4c in mainline linux
|
|
From Tiecheng Zhou
c242a531bb068c91bea7454353206330423ec1a6 in linux 4.19.y/4.19.63
fe2b5323d2c3cedaa3bf943dc7a0d233c853c914 in mainline linux
|
|
From Nicholas Kazlauskas
147137f86b5b72aea3af4edb2e66f10c0baa841e in linux 4.19.y/4.19.63
1352c779cb74d427f4150cbe779a2f7886f70cae in mainline linux
|
|
|
|
any information about the actual media type (there might not even be one),
just pick an arbitrary type of the right speed.
|
|
pushing to the stack on every packet completion interacts badly
with the backpressure mechanism in ifiq_input when you rx more than
8 or so packets per interrupt.
while here move to ifiq_input and apply backpressure before we start
dropping in software.
the problem was found by olivier taibi and reported on bugs@
i tested this on an overdrive 1000 which uses msk for its onboard nic
|
|
leave out CORE as it is quite noisy
|
|
|
|
From Chris Wilson
554f4253700e09d2b9ef7a133c68e32389a48c81 in linux 4.19.y/4.19.50
d90c06d57027203f73021bb7ddb30b800d65c636 in mainline linux
|
|
In particular, add Tx block ack session management to net80211, with
enough funcionality to support Tx aggregation on devices which perform
A-MPDU subframe scheduling in firmware.
Make use of the iwn(4) firmware Tx scheduler to build A-MPDUs.
net80211's QoS support code is now enabled and used by Tx aggregation.
A-MSDU frames inside A-MPDUs have been tested and work in principle.
For now, this feature is disabled because unfair TCP connection sharing
was observed during testing, where bursts of TCP Ack frames for a single
tcpbench(1) connection arriving in A-MSDUs made other TCP connections stall.
Switch off support for A-MSDUs inside A-MPDUs on the Rx side as well.
Tested on iwn chipsets 1000, 4965, 5100, 5300, 2200, 6200, 6205, 6300
(committed version of tested diff has all debug printfs removed)
tests/ok benno kmos mlarkin kevlo
|
|
|
|
From Chris Wilson
c947cf3e95839e9f449d8194fd15979e5ebc5f16 in linux 4.19.y/4.19.62
f5b07b04e5f090a85d1e96938520f2b2b58e4a8e in mainline linux
|
|
ok dlg@
|
|
This should work with SR-IOV virtual functions of Intel 700 series and
newer ethernet controllers. Written based on ixl(4) and the AVF
Hardware Architecture Specification released by Intel.
ok dlg@ deraadt@
|
|
|
|
|
|
from nvme(4) on sparc64 as the OBP device paths contain namespace identifiers
that we end up matching to targets when trying to find the device we booted
from. Also results in (slightly) cleaner code and less confusion as the
numbers now match instead of being off-by-one.
ok dlg@
|
|
From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux
|
|
I915_MMAP_WC flag is set.
ok kettenis@
|
|
|
|
|
|
drm_print) a var instead of a define in a header.
Makes it easier to change without rebuilding everything and allows the
value to be changed at runtime via ddb.
|
|
DRM_MEMORYBARRIER() definitions and directly define rmb() wmb() and mb().
|
|
|
|
|
|
tested by myself, jmc@, and Tracey Emery
|
|
Linux ath9k does the same.
tested by myself, jmc@, and Tracey Emery
|
|
If an interrupt is received, turn off polling and rely on
interrupts. This may happen after S3 resume.
Also properly shut down polling during suspend and start it up again
on resume only after dwiic is back in action.
|
|
reported and tested by Peter Kane
|
|
|
|
From Christian Ludwig <christian_ludwig at genua dot de>
ok visa@
|
|
All callers sleep indefinitely.
With help from visa@.
ok visa@, ratchov@, kn@
|