freebsd-nq/sys
Bjoern A. Zeeb 1fac2cb4d6 LinuxKPI: enhance PCI bits for DRM
In pci_domain_nr() directly return the domain which got set in
lkpifill_pci_dev() in all cases.  This was missed between D27550
and 105a37cac7 .

In order to implement pci_dev_put() harmonize further code
(which was started in the aforementioned commit) and add kobj
related bits (through the now common lkpifill_pci_dev() code)
to the DRM specific calls without adding the DRM allocated
pci devices to the pci_devices list.
Add a release for the lkpinew_pci_dev() (DRM) case so freeing
will work.
This allows the DRM created devices to use the normal kobj/refcount
logic and work with, e.g., pci_dev_put().
(For a slightly more detailed code walk see the review).

Sponsored-by:	The FreeBSD Foundation
Obtained-from:	bz_iwlwifi (partially)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D28188
2021-01-28 16:23:19 +00:00
..
amd64 Remove ndis(4) remnants from kernel configs 2021-01-26 00:04:13 +00:00
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
arm64 gic_v3: add message based interrupts support 2021-01-25 10:08:47 +00:00
bsm
cam Exclude reserved iSCSI Target Transfer Tag. 2021-01-24 13:58:29 -05:00
cddl
compat LinuxKPI: enhance PCI bits for DRM 2021-01-28 16:23:19 +00:00
conf LinuxKPI: add firmware loading support 2021-01-28 16:05:32 +00:00
contrib ipfilter: Retire pre-standard C support. 2021-01-25 14:46:45 -08:00
crypto
ddb
dev Fix missing value in uar_page field for ratelimit in mlx5en(4). 2021-01-28 14:51:58 +01:00
dts Remove DTS files for arm boards we don't support 2021-01-27 10:02:01 +00:00
fs tmpfs: drop acq fence now that vn_load_v_data_smr has consume semantics 2021-01-25 22:40:15 +00:00
gdb
geom
gnu
i386 Fix a typo. 2021-01-27 21:52:41 -08:00
isa
kern cache: add missing MNT_NOSYMFOLLOW check to symlink traversal 2021-01-27 15:08:38 +00:00
kgssapi
libkern Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
mips
modules LinuxKPI: add firmware loading support 2021-01-28 16:05:32 +00:00
net altq: Fix typo in features sysctl description 2021-01-27 16:42:14 +01:00
net80211
netgraph netgraph/ng_car: Add color marking code 2021-01-27 21:22:51 +01:00
netinet Add missing decrement of active ratelimit connections. 2021-01-26 18:00:21 +01:00
netinet6 When we are about to send down to the driver layer 2021-01-27 13:52:44 -05:00
netipsec
netpfil pf: Improve pf_rule input validation 2021-01-27 16:42:14 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv riscv: add SBI system reset extension 2021-01-27 19:19:54 -04:00
rpc
security
sys firmware(9): extend firmware_get() by a "no warn" flag. 2021-01-27 13:51:26 +00:00
teken
tests
tools syscalls.master: Add a new syscall type: RESERVED 2021-01-26 18:27:44 +00:00
ufs
vm Rename kern_mmap_req to kern_mmap 2021-01-25 21:50:37 +00:00
x86
xdr
xen
Makefile