| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
on machines with ACPI ia->ia_cookie will be an ACPI node instead of an
OF node. We'll still get into trouble with APCI devices that provide
a string that matches, but we'll worry when that happens.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
| |
Gives rwlocks defined this way a non-NULL rwl_name.
Move ttm_pool_shrink_scan() DEFINE_MUTEX use out of function scope to fix
build with WITNESS after this change and expand macro to have a better
name than "lock".
Found by and ok semarie@
|
|
|
|
| |
Problem confirmed and fix tested by Matej Nanut.
|
| |
|
| |
|
|
|
|
|
|
|
| |
when bringing the interface down. Disable optical output when the driver
attaches to be sure.
ok claudio@, patrick@
|
|
|
|
| |
ok claudio@, patrick@
|
|
|
|
|
|
|
|
|
|
| |
Problem first reported against dhclient(8) by Artem Mazurov on bugs@
Bug was traced down into urtwn(4) by krw@ with a TP-Link TP-WA850RE AP.
Regardless, please configure your access points to use WPA2/AES only!
WPA1/TKIP is insecure and should die.
ok krw@
|
| |
|
|
|
|
| |
ok patrick@
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we would initialise a variable specific mutex in
ATOMIC64_INIT() or atomic64_set() but the drm code in multiple places
zeroes memory and later accesses it without calling these resulting
in a mutex with IPL_NONE instead of IPL_HIGH.
Fixes a 'locking against myself' panic reported by Anthony Richardby
on macppc with PowerBook5,6 and RV350.
ok kettenis@
|
|
|
|
|
|
| |
on re-initialization. Make sure interrupts are masked while we are doing
those bits dirty. This fixes issues with network stopping after the first
down/up cycle.
|
| |
|
|
|
|
| |
buffer manager pool.
|
|
|
|
|
|
|
|
|
| |
link state changes and an interrupt is fired for that, the MSI-X
interrupt mask bits of the queues are cleared. During init while
the queues are enabled by the driver, the hardware disabled them
in the background. Then receiving packets did not work.
In MSI-X mode, use the FreeBSD logic to read the cause from EICS register.
from Christiano Haesbaert; tested with 82599 and X540T and OK jmatthew@
|
| |
|
| |
|
| |
|
|
|
|
| |
ok patrick@
|
|
|
|
| |
ok patrick@
|
|
|
|
|
|
|
|
|
| |
before we fill it, otherwise our packets are written to wherever U-Boot
allocated memory. Cleaning it up ourselves is worrying as well, since
the BM's pages are probably in our own memory. Best we can do is stop
the BM, set new memory and drain the pool. Tests show that this still
returns U-Boot's entries. Now, where have those been stored... in HW
or in memory?
|
| |
|
|
|
|
| |
there remove a memset that's already been done by the allocator.
|
|
|
|
|
|
| |
same layout as the i.MX8MM, which means that all supported clocks
so far have the same selection of parents and allows reusing the
i.MX8MM code.
|
|
|
|
|
|
|
|
|
| |
Linux rwlocks are read/write spin locks which don't sleep.
Fixes a panic claudio@ reported with a WITNESS kernel on inteldrm(4)
'panic: acquiring blockable sleep lock with spinlock or critical section
held (rwlock) drmvma'
Patch from kettenis@ with a small tweak from me. ok kettenis@
|
|
|
|
|
|
| |
instead of the core clock, so add this one to mvclock(4) as well.
ok kettenis@
|
|
|
|
|
|
|
|
|
| |
It won't be used when amap and anon locking will be introduced.
This "fixes" passing a unrelated/uninitialized pointer in an error path
in case of memory shortage.
ok kettenis@
|
|
|
|
|
|
|
|
|
| |
It won't be used when amap and anon locking will be introduced.
This "fixes" passing a unrelated/uninitialized pointer in an error path
in case of memory shortage.
ok kettenis@
|
| |
|
|
|
|
| |
tested by Nilson Lopes
|
|
|
|
|
|
|
| |
on in the attach process with a useless error message.
tested on a ConnectX-6 card in infiniband mode by Nilson Lopes
ok dlg@
|
|
|
|
|
|
| |
the device tee. This allows my ClearFog GT 8K to get the 1G link up.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
| |
to Media. The mode can be configured in the General Control Register 1.
On the 88E1512 and 88E1514 this mode defaults to 111 (invalid). Thus we
need to change the mode if we want SGMII-to-Copper. For this, allow the
interface to pass an SGMII flag, indicating that the interface between
MAC and PHY is SGMII.
ok kettenis@
|
| |
|
| |
|
|
|
|
| |
ok kn@
|
|
|
|
|
|
|
|
| |
this gets rid of some annoying errors when bringing such an interface
up, but more importantly is allows RSS to work on these boards with
older firmware.
ok jmatthew@
|
|
|
|
| |
apply backpressure to rxrs.
|
|
|
|
| |
ok tobhe@
|
|
|
|
|
|
| |
POWER9 machines.
ok jsg@
|
|
|
|
| |
ok tohe@, deraadt@
|
| |
|
|
|
|
| |
ok tobhe@, deraadt@
|
| |
|
| |
|
|
|
|
|
|
| |
pci "memory space" io. Further reduces the diff to linux.
ok kettenis@
|
|
|
|
|
|
|
| |
the diffs to Linux and makes sure we use memory barriers in the same way
as Linux does.
ok jsg@ (who added the doorbell changes)
|
|
|
|
|
|
|
|
|
|
| |
operations during attach fail on some amd64 systems using the TSC delay
function, seemingly as there aren't enough memory operations happening to
get the doorbell write out to the device otherwise. The lapic delay
function didn't expose this problem.
suggested by kettenis@
ok dlg@
|
|
|
|
| |
OK jmatthew@
|
|
|
|
|
|
|
| |
This creates separate domains for each PCI device and can provide protection
against invalid memory access. Needed for Passthrough PCI from vmd.
ok deraadt@, kettenis@
: ----------------------------------------------------------------------
|