opnsense-src/sys/compat/linuxkpi/common/include/linux
Warner Losh 0437d10e35 direct commit: fix KBI for pci_dev
Move all the new elemenets to the end of the structure for 13. We
allocate this inside the linuxkpi code, so the size isn't enccoded in
client modules. However, the offsets to the different fields are
encoded. Tihs modifies 04456f7118, 40a215e38a, and 3a606aadf2
and will likely create merge conflicts there (and that's a good thing
since the elements need to be moved to the end of the structure when
merging).

Tweak irq_ent to be binary compatible. Since this is inlined into the
clients, all clients have to agree on the irq_ent offsets.

Restore visibility to linux_kmem_cache_free_rcu
linux_kmem_cache_free_rcu was made static in 10235ad056, however
client drivers depended on calling it directly. Make it visible again to
restore the 13.0-Release KBI for linuxkpi.

Bump FreeBSD_version to 1300515 for restoration of 13.0 KBI. Since this
commmit changes the linuxkpi KBI (this time back to 13.0 release to
restore the status quo of), you'll need to recompile everything that
uses it (you needed to earlier as well, but those were silent
recompilation events). The plus side is that our packages (built using
13.0) for drm-kmod 5.4 work again on -stable systems.

Reviewed by:		bz, wulf
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D31363
2021-09-22 09:00:16 -06:00
..
acpi.h LinuxKPI: add guid_t for ACPI consumers. 2021-07-18 00:34:59 +00:00
atomic.h LinuxKPI: Include asm/atomic-long.h from atomic.h. 2019-05-15 17:44:25 +00:00
average.h LinuxKPI: add Exponentially Weighted Moving Average implementation 2021-07-18 00:35:02 +00:00
backlight.h linuxkpi: Add backlight support 2020-10-02 18:26:41 +00:00
bitfield.h LinuxKPI: add a bitfield.h implementation. 2020-10-07 22:07:26 +00:00
bitmap.h Implement the bitmap_subset() function in the LinuxKPI. This function 2020-07-10 12:06:18 +00:00
bitops.h LinuxKPI: add HWEIGHT32() 2021-07-18 00:35:03 +00:00
bottom_half.h
bsearch.h LinuxKPI: add linux/bsearch.h for sort(9) 2021-07-18 00:35:02 +00:00
cache.h LinuxKPI: cache.h add SMP_CACHE_BYTES 2021-07-18 00:35:02 +00:00
cdev.h Implement cdev_device_add() and cdev_device_del() in the LinuxKPI. 2021-06-02 13:25:20 +02:00
clocksource.h
compat.h MFC ebe5cf355d: 2021-03-23 11:50:47 +01:00
compiler.h LinuxKPI: compiler.h add three more defines 2021-07-18 00:35:02 +00:00
completion.h
cpu.h LinuxKPI: add cpu.h for cpumask_*() 2021-07-18 00:35:01 +00:00
crc32.h LinuxKPI: add support for crc32_le() 2021-07-18 00:34:58 +00:00
dcache.h
debugfs.h import linux debugfs support 2019-02-23 20:56:41 +00:00
delay.h
devcoredump.h LinuxKPI: add devcoredump.h 2021-07-18 00:35:01 +00:00
device.h LinuxKPI: add device_reprobe() and device_release_driver() 2021-07-18 00:35:03 +00:00
dma-attrs.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
dma-mapping.h LinuxKPI: Use macro for implementation of some dma_map_* functions 2021-07-21 01:43:52 +03:00
dmapool.h LinuxKPI: add dmam_pool_create() support 2021-07-18 00:35:03 +00:00
dmi.h linuxkpi: Add dmi_* function 2020-10-02 18:28:00 +00:00
err.h Cleanups to *ERR* compat shims. 2020-12-17 20:28:53 +00:00
errno.h LinuxKPI: add more linux-specific errno 2021-07-18 00:34:58 +00:00
etherdevice.h LinuxKPI: add ether_addr_equal_unaligned() 2021-07-18 00:35:01 +00:00
export.h
file.h fd: remove the seq argument from fget_unlocked 2020-02-03 22:27:55 +00:00
firmware.h LinuxKPI: add firmware loading support 2021-02-02 11:50:38 +00:00
fs.h linuxkpi: Add dmi_* function 2020-10-02 18:28:00 +00:00
gcd.h linuxkpi: Add gcd function 2020-10-06 10:35:03 +00:00
gfp.h Add necessary bits for Linux KPI to work correctly on powerpc 2019-08-04 19:28:10 +00:00
hardirq.h linuxkpi: Include hardirq.h in preempt.h and lockdep.h in hardirq.h 2020-07-26 16:30:59 +00:00
hrtimer.h
idr.h Resolve duplicate symbol name conflict after r345095, when building LINT. 2019-03-13 19:53:20 +00:00
if_arp.h
if_ether.h LinuxKPI: if_ether additions 2021-07-18 00:34:58 +00:00
if_vlan.h
in.h
in6.h
inetdevice.h LinuxKPI/OFED: (re)move inetdevice.h implementation 2021-07-18 00:34:59 +00:00
interrupt.h direct commit: fix KBI for pci_dev 2021-09-22 09:00:16 -06:00
io-mapping.h
io.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
ioctl.h
ip.h LinuxKPI: add linux/{ip,tcp,udp}.h 2021-07-18 00:35:01 +00:00
irq_work.h LinuxKPI: Implement irq_work_sync() routine. 2021-07-21 01:43:52 +03:00
irqreturn.h
jhash.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
jiffies.h LinuxKPI: add time_is_after_jiffies() definition 2021-07-18 00:35:01 +00:00
kdev_t.h
kernel.h LinuxKPI: change BUILD_BUG_ON() 2021-07-18 00:35:00 +00:00
kmod.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
kobject.h LinuxKPI: upstream a collection of drm-kmod conflicting changes 2021-02-02 11:51:15 +00:00
kref.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
kthread.h
ktime.h LinuxKPI: add ktime_get_boottime_ns() implementation to ktime.h 2021-07-18 00:35:00 +00:00
list.h LinuxKPI: Add compiler barriers to list_for_each_entry_lockless macro 2021-07-21 01:43:52 +03:00
llist.h LinuxKPI: Reimplement irq_work queue on top of fast taskqueue 2021-01-17 12:47:28 +01:00
lockdep.h LinuxKPI: add lockdep_map 2021-07-18 00:34:58 +00:00
log2.h
math64.h Implement DIV64_U64_ROUND_UP() in the LinuxKPI. 2020-05-01 10:25:07 +00:00
miscdevice.h
mm.h LinuxKPI: add fault_flag_allow_retry_first 2021-06-16 12:48:02 -04:00
mm_types.h Implement mmget_not_zero() in the LinuxKPI. 2020-01-24 13:05:53 +00:00
mod_devicetable.h linuxkpi: Add dmi_* function 2020-10-02 18:28:00 +00:00
module.h LinuxKPI: extract stringify() in their own header file 2021-07-18 00:35:00 +00:00
moduleparam.h LinuxKPI: add LINUXKPI_PARAM_charp() 2021-07-18 00:35:00 +00:00
mutex.h linuxkpi: Add nested variant of mutex_lock_interruptible 2020-08-04 14:45:22 +00:00
net.h LinuxKPI: add net_ratelimit() 2021-07-18 00:34:59 +00:00
net_dim.h Add support for Dynamic Interrupt Moderation, DIM, in mlx5en(4). 2019-05-08 10:23:33 +00:00
netdevice.h LinuxKPI: add KPI for netdev_notifier_info returning ifp 2021-07-18 00:35:03 +00:00
notifier.h
numa.h linuxkpi: Add numa.h 2020-10-06 10:36:16 +00:00
overflow.h Implement the array_size() function in the LinuxKPI. This function 2020-07-10 11:27:54 +00:00
page.h
pagemap.h linuxkpi: Add pagemap.h 2020-10-06 10:41:00 +00:00
pci.h direct commit: fix KBI for pci_dev 2021-09-22 09:00:16 -06:00
pci_ids.h LinuxKPI: add pci_ids.h 2021-07-18 00:34:58 +00:00
pfn.h
pfn_t.h
pid.h
pm.h LinuxKPI: upstream a collection of drm-kmod conflicting changes 2021-02-02 11:51:15 +00:00
poll.h
power_supply.h linuxkpi: Add power_supply.h 2020-10-06 10:39:40 +00:00
preempt.h linuxkpi: Include hardirq.h in preempt.h and lockdep.h in hardirq.h 2020-07-26 16:30:59 +00:00
prefetch.h linuxkpi: Add prefetch.h 2020-10-06 10:37:21 +00:00
printk.h Use the 't' modifier to print a ptrdiff_t. 2020-12-16 00:11:30 +00:00
radix-tree.h Implement radix_tree_store() in the LinuxKPI for use with the coming 2020-08-07 16:15:44 +00:00
random.h LinuxKPI: add prandom_u32() as used by wireless drivers. 2021-07-18 00:35:00 +00:00
rbtree.h Allow the rbtree header file in the LinuxKPI to be used in standalone code. 2020-12-04 15:50:44 +00:00
rculist.h LinuxKPI: Add compiler barriers to list_for_each_entry_lockless macro 2021-07-21 01:43:52 +03:00
rcupdate.h LinuxKPI: add rcu_dereference_check() 2021-07-18 00:35:00 +00:00
refcount.h linuxkpi: Add refcount.h 2020-05-25 12:44:07 +00:00
rwlock.h
rwsem.h
scatterlist.h LinuxKPI: fix sg_pcopy_from_buffer() 2021-07-18 00:35:04 +00:00
sched.h Reduce chance of RCU deadlock in the LinuxKPI by implementing the section 2021-04-06 12:23:08 +02:00
semaphore.h Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope. 2020-11-30 09:47:53 +00:00
seq_file.h LinuxKPI: Finalize import of seq_file. 2019-05-16 21:17:18 +00:00
seqlock.h LinuxKPI: Implement sequence counters and sequential locks 2021-07-21 01:43:52 +03:00
shmem_fs.h linuxkpi: Move shmem related functions in it's own file 2020-02-21 09:28:45 +00:00
shrinker.h linuxkpi: Add shrinker support 2021-01-12 12:31:00 +01:00
sizes.h linuxkpi: Add linux/sizes.h 2020-08-04 14:42:38 +00:00
slab.h direct commit: fix KBI for pci_dev 2021-09-22 09:00:16 -06:00
smp.h
socket.h
spinlock.h LinuxKPI: Change flags parameter type of atomic_dec_and_lock_irqsave 2021-07-21 01:43:52 +03:00
srcu.h Implement synchronize_srcu_expedited() in the LinuxKPI. 2020-05-16 14:27:50 +00:00
string.h LinuxKPI: Implement strscpy 2021-07-21 01:43:52 +03:00
stringify.h LinuxKPI: extract stringify() in their own header file 2021-07-18 00:35:00 +00:00
swap.h linuxkpi: Use pageproc instead of vmproc 2018-11-21 04:34:18 +00:00
sysfs.h LinuxKPI: extract stringify() in their own header file 2021-07-18 00:35:00 +00:00
tcp.h LinuxKPI: add linux/{ip,tcp,udp}.h 2021-07-18 00:35:01 +00:00
time.h
timer.h linuxkpi: Fix mod_timer and del_timer_sync 2020-05-25 12:46:05 +00:00
types.h LinuxKPI: add kernel_ulong_t typedef in linux/kernel.h. 2021-07-18 00:35:00 +00:00
uaccess.h LinuxKPI: remove < 5.0 version support 2021-07-18 00:34:58 +00:00
udp.h LinuxKPI: add linux/{ip,tcp,udp}.h 2021-07-18 00:35:01 +00:00
usb.h
uuid.h LinuxKPI: add guid_t for ACPI consumers. 2021-07-18 00:34:59 +00:00
vmalloc.h
wait.h linuxkpi: Add a few wait_bit functions 2020-08-14 08:48:17 +00:00
wait_bit.h linuxkpi: Implement the wait_event_interruptible macro 2021-04-26 08:43:37 -07:00
workqueue.h linuxkpi: Add rcu_work functions 2020-05-21 20:18:38 +00:00
ww_mutex.h Populate the acquire context field of a ww_mutex in the LinuxKPI. 2020-10-04 17:23:39 +00:00
xarray.h Implement xa_init() in the LinuxKPI as a wrapper for xa_init_flags(). 2020-10-24 13:16:10 +00:00