pc_wifi: update to Linux 6.6.47

Issue #5264
This commit is contained in:
Josef Söntgen 2024-08-01 18:58:53 +02:00 committed by Christian Helmuth
parent 19bb265539
commit e363af476b
9 changed files with 371 additions and 98 deletions

View File

@ -1,5 +1,8 @@
WIFI_DRV_DIR := $(call select_from_ports,legacy_linux)/src/lib/wifi
ifeq ($(wildcard $(WIFI_DRV_DIR)),)
# if CONTRIB_DIR is empty we are building depot archives,
# otherwise we use the build-system (see mk/util.inc comment)
ifeq ($(CONTRIB_DIR),)
WIFI_DRV_DIR := $(REP_DIR)/src/lib/wifi
else
WIFI_DRV_DIR := $(call select_from_repositories,src/lib/wifi)
endif

View File

@ -226,7 +226,7 @@ int firmware_request_nowarn(const struct firmware ** firmware,const char * name,
int task_work_add(struct task_struct * task,struct callback_head * work,enum task_work_notify_mode notify)
{
printk("%s: task: %p work: %p notify: %u\n", __func__, task, work, notify);
printk("%s: task: %px work: %px notify: %u\n", __func__, task, work, notify);
return -1;
}
#endif
@ -281,7 +281,11 @@ size_t _copy_from_iter(void * addr, size_t bytes, struct iov_iter * i)
return 0;
kdata = (char*)(addr);
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
iov = i->iov;
#else
iov = i->__iov;
#endif
len = bytes;
while (len > 0) {
@ -315,7 +319,11 @@ size_t _copy_to_iter(const void * addr, size_t bytes, struct iov_iter * i)
return 0;
kdata = (char*)(addr);
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
iov = i->iov;
#else
iov = i->__iov;
#endif
len = bytes;
while (len > 0) {
@ -466,9 +474,15 @@ static int rfkill_task_function(void *arg)
void rfkill_init(void)
{
pid_t pid;
pid_t pid =
pid = kernel_thread(rfkill_task_function, NULL, CLONE_FS | CLONE_FILES);
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,3,0)
kernel_thread(rfkill_task_function, NULL,
CLONE_FS | CLONE_FILES);
#else
kernel_thread(rfkill_task_function, NULL, "rfkill_task",
CLONE_FS | CLONE_FILES);
#endif
rfkill_task_struct_ptr = find_task_by_pid_ns(pid, NULL);
}

View File

@ -28,9 +28,15 @@ extern struct net init_net;
void socketcall_init(void)
{
int pid = kernel_thread(socketcall_task_function,
NULL,
CLONE_FS | CLONE_FILES);
int pid =
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,3,0)
kernel_thread(socketcall_task_function, NULL,
CLONE_FS | CLONE_FILES);
#else
kernel_thread(socketcall_task_function, NULL,
"sockcall_task",
CLONE_FS | CLONE_FILES);
#endif
socketcall_task_struct_ptr = find_task_by_pid_ns(pid, NULL);
}
@ -95,7 +101,11 @@ int lx_sock_recvmsg(struct socket *sock, struct lx_msghdr *lx_msg,
msg->msg_name = lx_msg->msg_name;
msg->msg_namelen = lx_msg->msg_namelen;
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
msg->msg_iter.iov = iov;
#else
msg->msg_iter.__iov = iov;
#endif
msg->msg_iter.nr_segs = iov_count;
msg->msg_iter.count = iovlen;
@ -145,7 +155,11 @@ int lx_sock_sendmsg(struct socket *sock, struct lx_msghdr* lx_msg,
msg->msg_name = lx_msg->msg_name;
msg->msg_namelen = lx_msg->msg_namelen;
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
msg->msg_iter.iov = iov;
#else
msg->msg_iter.__iov = iov;
#endif
msg->msg_iter.nr_segs = iov_count;
msg->msg_iter.count = iovlen;
@ -177,49 +191,25 @@ int lx_sock_setsockopt(struct socket *sock, int level, int optname,
}
#include <linux/version.h>
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5,12,0)
int dev_get_mac_address(struct sockaddr *sa, struct net *net, char *dev_name)
{
size_t size = sizeof(sa->sa_data);
struct net_device *dev = dev_get_by_name_rcu(net, dev_name);
if (!dev)
return -ENODEV;
if (!dev->addr_len)
memset(sa->sa_data, 0, size);
else
memcpy(sa->sa_data, dev->dev_addr,
min_t(size_t, size, dev->addr_len));
sa->sa_family = dev->type;
return 0;
}
EXPORT_SYMBOL(dev_get_mac_address);
#endif
unsigned char const* lx_get_mac_addr()
{
static char mac_addr_buffer[16];
struct sockaddr addr;
int err;
size_t length;
memset(mac_addr_buffer, 0, sizeof (mac_addr_buffer));
memset(addr.sa_data, 0, sizeof (addr.sa_data));
memset(mac_addr_buffer, 0, sizeof(mac_addr_buffer));
memset(&addr, 0, sizeof(addr));
err = dev_get_mac_address(&addr, &init_net, "wlan0");
if (err)
return NULL;
length = sizeof (mac_addr_buffer) < sizeof (addr.sa_data)
? sizeof (mac_addr_buffer)
: sizeof (addr.sa_data);
memcpy(mac_addr_buffer, addr.sa_data, length);
/*
* The 'struct sockaddr' sa_data union is at least 14 bytes
* and we at most copy 6.
*/
memcpy(mac_addr_buffer, addr.sa_data, 6);
return mac_addr_buffer;
}

View File

@ -312,9 +312,14 @@ static int user_task_function(void *arg)
void uplink_init(void)
{
pid_t pid;
pid = kernel_thread(user_task_function, NULL, CLONE_FS | CLONE_FILES);
pid_t pid =
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,3,0)
kernel_thread(user_task_function, NULL,
CLONE_FS | CLONE_FILES);
#else
kernel_thread(user_task_function, NULL, "uplink_task",
CLONE_FS | CLONE_FILES);
#endif
uplink_task_struct_ptr = find_task_by_pid_ns(pid, NULL);
}

View File

@ -1,13 +1,7 @@
arch/x86/include/asm/set_memory.h
crypto/compress.h
crypto/hash.h
crypto/internal.h
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/dfs_pattern_detector.h
drivers/net/wireless/ath/dfs_pri_detector.h
drivers/net/wireless/ath/reg.h
drivers/net/wireless/ath/regd.h
drivers/net/wireless/ath/regd_common.h
drivers/net/wireless/ath/spectral_common.h
drivers/net/wireless/ath/trace.h
drivers/net/wireless/ath/ath9k/ani.h
drivers/net/wireless/ath/ath9k/ar5008_initvals.h
drivers/net/wireless/ath/ath9k/ar9001_initvals.h
@ -57,8 +51,14 @@ drivers/net/wireless/ath/ath9k/phy.h
drivers/net/wireless/ath/ath9k/reg.h
drivers/net/wireless/ath/ath9k/reg_aic.h
drivers/net/wireless/ath/ath9k/reg_mci.h
drivers/net/wireless/ath/ath9k/reg_wow.h
drivers/net/wireless/ath/ath9k/wmi.h
drivers/net/wireless/ath/dfs_pattern_detector.h
drivers/net/wireless/ath/dfs_pri_detector.h
drivers/net/wireless/ath/reg.h
drivers/net/wireless/ath/regd.h
drivers/net/wireless/ath/regd_common.h
drivers/net/wireless/ath/spectral_common.h
drivers/net/wireless/ath/trace.h
drivers/net/wireless/intel/iwlwifi/dvm/agn.h
drivers/net/wireless/intel/iwlwifi/dvm/calib.h
drivers/net/wireless/intel/iwlwifi/dvm/commands.h
@ -145,6 +145,7 @@ drivers/net/wireless/intel/iwlwifi/mvm/rs.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.h
drivers/net/wireless/intel/iwlwifi/mvm/testmode.h
drivers/net/wireless/intel/iwlwifi/mvm/time-event.h
drivers/net/wireless/intel/iwlwifi/mvm/time-sync.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/queue/tx.h
drivers/net/wireless/realtek/rtlwifi/base.h
@ -190,6 +191,8 @@ drivers/net/wireless/realtek/rtlwifi/rtl8192ce/table.h
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h
drivers/net/wireless/realtek/rtlwifi/stats.h
drivers/net/wireless/realtek/rtlwifi/wifi.h
include/acpi/proc_cap_intel.h
include/asm-generic/div64.h
include/asm-generic/set_memory.h
include/crypto/acompress.h
include/crypto/aead.h
@ -228,19 +231,22 @@ include/crypto/skcipher.h
include/crypto/streebog.h
include/dt-bindings/leds/common.h
include/keys/asymmetric-type.h
include/linux/ath9k_platform.h
include/linux/asn1.h
include/linux/asn1_ber_bytecode.h
include/linux/asn1_decoder.h
include/linux/average.h
include/linux/ath9k_platform.h
include/linux/bpf-cgroup-defs.h
include/linux/bpf-cgroup.h
include/linux/bpf.h
include/linux/bpf_local_storage.h
include/linux/bpf_mem_alloc.h
include/linux/bpf_mprog.h
include/linux/bpf_trace.h
include/linux/bpfptr.h
include/linux/bsearch.h
include/linux/btf.h
include/linux/btf_ids.h
include/linux/clkdev.h
include/linux/cookie.h
include/linux/cpu_rmap.h
include/linux/crash_dump.h
@ -255,37 +261,52 @@ include/linux/fips.h
include/linux/firmware.h
include/linux/gcd.h
include/linux/genetlink.h
include/linux/icmpv6.h
include/linux/gpio.h
include/linux/hw_random.h
include/linux/icmpv6.h
include/linux/ieee80211.h
include/linux/if_arp.h
include/linux/if_bridge.h
include/linux/if_ether.h
include/linux/if_link.h
include/linux/if_macvlan.h
include/linux/if_tun.h
include/linux/if_tunnel.h
include/linux/if_vlan.h
include/linux/inet.h
include/linux/inetdevice.h
include/linux/interval_tree.h
include/linux/io_uring.h
include/linux/ip.h
include/linux/ipv6_route.h
include/linux/kcov.h
include/linux/key-type.h
include/linux/leds.h
include/linux/miscdevice.h
include/linux/mmu_notifier.h
include/linux/mpls.h
include/linux/mroute.h
include/linux/mroute6.h
include/linux/mroute_base.h
include/linux/net_tstamp.h
include/linux/netfilter.h
include/linux/netfilter_netdev.h
include/linux/netlink.h
include/linux/netpoll.h
include/linux/nvmem-consumer.h
include/linux/of_net.h
include/linux/phonet.h
include/linux/phylink.h
include/linux/pim.h
include/linux/pinctrl/consumer.h
include/linux/pinctrl/pinctrl-state.h
include/linux/platform_data/dsa.h
include/linux/pps_kernel.h
include/linux/proc_ns.h
include/linux/ptp_classify.h
include/linux/ptp_clock_kernel.h
include/linux/rcupdate_trace.h
include/linux/relay.h
include/linux/rfkill.h
include/linux/rhashtable.h
include/linux/sctp.h
@ -293,7 +314,6 @@ include/linux/set_memory.h
include/linux/skb_array.h
include/linux/sock_diag.h
include/linux/thermal.h
include/linux/trace.h
include/linux/units.h
include/linux/usb.h
include/linux/usb/ch9.h
@ -325,6 +345,7 @@ include/net/gen_stats.h
include/net/genetlink.h
include/net/gro.h
include/net/gro_cells.h
include/net/gso.h
include/net/ieee80211_radiotap.h
include/net/inet_ecn.h
include/net/inet_hashtables.h
@ -343,7 +364,11 @@ include/net/mctp.h
include/net/mpls.h
include/net/mptcp.h
include/net/ndisc.h
include/net/netdev_rx_queue.h
include/net/netns/generic.h
include/net/page_pool/helpers.h
include/net/page_pool/types.h
include/net/phonet/phonet.h
include/net/pkt_cls.h
include/net/pkt_sched.h
include/net/protocol.h
@ -353,6 +378,7 @@ include/net/sch_generic.h
include/net/sock_reuseport.h
include/net/switchdev.h
include/net/tcp.h
include/net/tcx.h
include/net/tso.h
include/net/udp.h
include/net/udp_tunnel.h
@ -365,6 +391,7 @@ include/net/xsk_buff_pool.h
include/trace/events/napi.h
include/trace/events/net.h
include/trace/events/netlink.h
include/trace/events/notifier.h
include/trace/events/qdisc.h
include/trace/events/skb.h
include/trace/events/sock.h
@ -376,6 +403,7 @@ include/uapi/linux/cryptouser.h
include/uapi/linux/devlink.h
include/uapi/linux/errqueue.h
include/uapi/linux/ethtool_netlink.h
include/uapi/linux/fanotify.h
include/uapi/linux/filter.h
include/uapi/linux/gen_stats.h
include/uapi/linux/genetlink.h
@ -388,6 +416,7 @@ include/uapi/linux/if_tunnel.h
include/uapi/linux/if_vlan.h
include/uapi/linux/if_xdp.h
include/uapi/linux/in_route.h
include/uapi/linux/io_uring.h
include/uapi/linux/ip.h
include/uapi/linux/ipsec.h
include/uapi/linux/ipv6_route.h
@ -395,9 +424,12 @@ include/uapi/linux/kcov.h
include/uapi/linux/lwtunnel.h
include/uapi/linux/mctp.h
include/uapi/linux/mpls.h
include/uapi/linux/mroute.h
include/uapi/linux/mroute6.h
include/uapi/linux/net_namespace.h
include/uapi/linux/nl80211.h
include/uapi/linux/pfkeyv2.h
include/uapi/linux/phonet.h
include/uapi/linux/pps.h
include/uapi/linux/ptp_clock.h
include/uapi/linux/rfkill.h
@ -414,6 +446,9 @@ include/uapi/linux/virtio_types.h
include/uapi/linux/vmcore.h
include/uapi/linux/wireless.h
include/uapi/linux/xattr.h
include/xen/balloon.h
include/xen/interface/hvm/start_info.h
include/xen/xen.h
net/core/dev.h
net/core/net-sysfs.h
net/core/sock_destructor.h
@ -429,6 +464,7 @@ net/mac80211/debugfs_key.h
net/mac80211/debugfs_netdev.h
net/mac80211/debugfs_sta.h
net/mac80211/driver-ops.h
net/mac80211/drop.h
net/mac80211/fils_aead.h
net/mac80211/ieee80211_i.h
net/mac80211/key.h

View File

@ -220,7 +220,7 @@ acpi_status acpi_evaluate_object(acpi_handle handle,
}
acpi_status acpi_get_handle(acpi_handle parent,acpi_string pathname,acpi_handle * ret_handle)
acpi_status acpi_get_handle(acpi_handle parent,char const* pathname,acpi_handle * ret_handle)
{
lx_emul_trace_and_stop(__func__);
}
@ -424,15 +424,6 @@ bool dev_add_physical_location(struct device * dev)
}
#include <linux/sysctl.h>
struct ctl_table_header * register_sysctl(const char * path,struct ctl_table * table)
{
lx_emul_trace(__func__);
return NULL;
}
#include <net/gen_stats.h>
void gnet_stats_basic_sync_init(struct gnet_stats_basic_sync * b)
@ -487,7 +478,7 @@ void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr)
#include <linux/sysctl.h>
void __init __register_sysctl_init(const char * path,struct ctl_table * table,const char * table_name)
void __init __register_sysctl_init(const char * path,struct ctl_table * table,const char * table_name, size_t table_size)
{
lx_emul_trace(__func__);
}
@ -512,10 +503,18 @@ int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name)
}
int pcie_capability_clear_and_set_word(struct pci_dev *dev, int pos,
u16 clear, u16 set)
int pcie_capability_clear_and_set_word_locked(struct pci_dev *dev, int pos,
u16 clear, u16 set)
{
lx_emul_trace_and_stop(__func__);
lx_emul_trace(__func__);
return 0;
}
int pcie_capability_clear_and_set_word_unlocked(struct pci_dev *dev, int pos,
u16 clear, u16 set)
{
lx_emul_trace(__func__);
return 0;
}
@ -552,7 +551,7 @@ void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len)
}
void *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len)
u8 *iwl_uefi_get_reduced_power(struct iwl_trans *trans, size_t *len)
{
lx_emul_trace(__func__);
return ERR_PTR(-EOPNOTSUPP);
@ -565,6 +564,23 @@ void iwl_uefi_get_sgom_table(struct iwl_trans *trans, struct iwl_fw_runtime *fwr
}
void iwl_uefi_get_step_table(struct iwl_trans * trans)
{
lx_emul_trace(__func__);
}
int iwl_uefi_handle_tlv_mem_desc(struct iwl_trans * trans,const u8 * data,u32 tlv_len,struct iwl_pnvm_image * pnvm_data)
{
return -EINVAL;;
}
int iwl_uefi_reduce_power_parse(struct iwl_trans * trans,const u8 * data,size_t len,struct iwl_pnvm_image * pnvm_data)
{
return -ENOENT;;
}
#include <linux/property.h>
int software_node_notify(struct device * dev,unsigned long action)
@ -731,7 +747,7 @@ void led_classdev_unregister(struct led_classdev * led_cdev)
#include <linux/leds.h>
void led_trigger_blink_oneshot(struct led_trigger * trig,unsigned long * delay_on,unsigned long * delay_off,int invert)
void led_trigger_blink_oneshot(struct led_trigger * trig,unsigned long delay_on,unsigned long delay_off,int invert)
{
lx_emul_trace(__func__);
}
@ -743,3 +759,18 @@ void led_trigger_unregister(struct led_trigger * trig)
{
lx_emul_trace(__func__);
}
#include <linux/mnt_idmapping.h>
struct mnt_idmap { unsigned dummy; };
struct mnt_idmap nop_mnt_idmap;
#include <linux/thermal.h>
struct thermal_zone_device * thermal_zone_device_register_with_trips(const char * type,struct thermal_trip * trips,int num_trips,int mask,void * devdata,struct thermal_zone_device_ops * ops,const struct thermal_zone_params * tzp,int passive_delay,int polling_delay)
{
lx_emul_trace(__func__);
return ERR_PTR(-EINVAL);
}

View File

@ -1,7 +1,7 @@
/*
* \brief Dummy definitions of Linux Kernel functions
* \author Automatically generated file - do no edit
* \date 2024-07-16
* \date 2024-08-20
*/
#include <lx_emul.h>
@ -100,6 +100,14 @@ u32 __skb_get_hash_symmetric(const struct sk_buff * skb)
}
#include <net/gso.h>
struct sk_buff * __skb_gso_segment(struct sk_buff * skb,netdev_features_t features,bool tx_path)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sock_diag.h>
u64 __sock_gen_cookie(struct sock * sk)
@ -179,8 +187,8 @@ int arc4_setkey(struct arc4_ctx * ctx,const u8 * in_key,unsigned int key_len)
}
extern void arch_trigger_cpumask_backtrace(const cpumask_t * mask,bool exclude_self);
void arch_trigger_cpumask_backtrace(const cpumask_t * mask,bool exclude_self)
extern void arch_trigger_cpumask_backtrace(const cpumask_t * mask,int exclude_cpu);
void arch_trigger_cpumask_backtrace(const cpumask_t * mask,int exclude_cpu)
{
lx_emul_trace_and_stop(__func__);
}
@ -274,6 +282,14 @@ size_t copy_page_from_iter(struct page * page,size_t offset,size_t bytes,struct
}
#include <linux/fs.h>
ssize_t copy_splice_read(struct file * in,loff_t * ppos,struct pipe_inode_info * pipe,size_t len,unsigned int flags)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/arch_topology.h>
const struct cpumask * cpu_clustergroup_mask(int cpu)
@ -282,6 +298,22 @@ const struct cpumask * cpu_clustergroup_mask(int cpu)
}
#include <linux/cpumask.h>
unsigned int cpumask_any_and_distribute(const struct cpumask * src1p,const struct cpumask * src2p)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sched/topology.h>
bool cpus_share_cache(int this_cpu,int that_cpu)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/netdevice.h>
int dev_ifconf(struct net * net,struct ifconf __user * uifc)
@ -314,6 +346,14 @@ void dst_release(struct dst_entry * dst)
}
#include <linux/printk.h>
asmlinkage __visible void dump_stack_lvl(const char * log_lvl)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/dcache.h>
char * dynamic_dname(char * buffer,int buflen,const char * fmt,...)
@ -356,7 +396,7 @@ pid_t f_getown(struct file * filp)
#include <linux/fs.h>
int f_setown(struct file * filp,unsigned long arg,int force)
int f_setown(struct file * filp,int who,int force)
{
lx_emul_trace_and_stop(__func__);
}
@ -423,22 +463,6 @@ void gen_kill_estimator(struct net_rate_estimator __rcu ** rate_est)
}
#include <linux/fs.h>
ssize_t generic_file_splice_read(struct file * in,loff_t * ppos,struct pipe_inode_info * pipe,size_t len,unsigned int flags)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
ssize_t generic_splice_sendpage(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/file.h>
int get_unused_fd_flags(unsigned flags)
@ -487,7 +511,7 @@ int gnet_stats_copy_queue(struct gnet_dump * d,struct gnet_stats_queue __percpu
}
#include <asm-generic/gpio.h>
#include <linux/gpio.h>
void gpio_free(unsigned gpio)
{
@ -495,7 +519,7 @@ void gpio_free(unsigned gpio)
}
#include <asm-generic/gpio.h>
#include <linux/gpio.h>
int gpio_request_one(unsigned gpio,unsigned long flags,const char * label)
{
@ -592,14 +616,17 @@ long __sched io_schedule_timeout(long timeout)
}
#include <linux/swiotlb.h>
#include <linux/uio.h>
struct io_tlb_mem io_tlb_default_mem;
void iov_iter_advance(struct iov_iter * i,size_t size)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/uio.h>
void iov_iter_kvec(struct iov_iter * i,unsigned int direction,const struct kvec * kvec,unsigned long nr_segs,size_t count)
ssize_t iov_iter_extract_pages(struct iov_iter * i,struct page *** pages,size_t maxsize,unsigned int maxpages,iov_iter_extraction_t extraction_flags,size_t * offset0)
{
lx_emul_trace_and_stop(__func__);
}
@ -621,6 +648,14 @@ void irq_work_tick(void)
}
#include <linux/mm.h>
int is_vmalloc_or_module_addr(const void * x)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/kobject.h>
struct kobject *kernel_kobj;
@ -674,6 +709,11 @@ int kobject_synth_uevent(struct kobject * kobj,const char * buf,size_t count)
}
#include <linux/delay.h>
unsigned long loops_per_jiffy;
#include <linux/preempt.h>
void migrate_disable(void)
@ -745,6 +785,14 @@ int pci_write_config_word(const struct pci_dev * dev,int where,u16 val)
}
#include <linux/pid.h>
int pidfd_prepare(struct pid * pid,unsigned int flags,struct file ** ret)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/poll.h>
int poll_select_set_timeout(struct timespec64 * to,time64_t sec,long nsec)
@ -809,6 +857,28 @@ void put_unused_fd(unsigned int fd)
}
extern void raw_spin_rq_lock_nested(struct rq * rq,int subclass);
void raw_spin_rq_lock_nested(struct rq * rq,int subclass)
{
lx_emul_trace_and_stop(__func__);
}
extern void raw_spin_rq_unlock(struct rq * rq);
void raw_spin_rq_unlock(struct rq * rq)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/rcuref.h>
bool rcuref_get_slowpath(rcuref_t * ref)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/reboot.h>
enum reboot_mode reboot_mode;
@ -918,6 +988,25 @@ void seq_puts(struct seq_file * m,const char * s)
}
extern void set_rq_offline(struct rq * rq);
void set_rq_offline(struct rq * rq)
{
lx_emul_trace_and_stop(__func__);
}
extern void set_rq_online(struct rq * rq);
void set_rq_online(struct rq * rq)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/smp.h>
unsigned int setup_max_cpus;
#include <crypto/sha2.h>
void sha224_final(struct sha256_state * sctx,u8 * out)
@ -952,7 +1041,7 @@ void show_state_filter(unsigned int state_filter)
#include <linux/fs.h>
int simple_setattr(struct user_namespace * mnt_userns,struct dentry * dentry,struct iattr * iattr)
int simple_setattr(struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * iattr)
{
lx_emul_trace_and_stop(__func__);
}
@ -1061,6 +1150,14 @@ void software_node_notify_remove(struct device * dev)
}
#include <linux/splice.h>
ssize_t splice_to_socket(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/jump_label.h>
bool static_key_initialized;
@ -1102,7 +1199,23 @@ int sysfs_rename_link_ns(struct kobject * kobj,struct kobject * targ,const char
#include <linux/task_work.h>
struct callback_head * task_work_cancel(struct task_struct * task,task_work_func_t func)
struct callback_head * task_work_cancel_func(struct task_struct * task,task_work_func_t func)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/thermal.h>
void * thermal_zone_device_priv(struct thermal_zone_device * tzd)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/mm.h>
void unpin_user_page(struct page * page)
{
lx_emul_trace_and_stop(__func__);
}
@ -1123,11 +1236,26 @@ void unregister_handler_proc(unsigned int irq,struct irqaction * action)
}
extern void update_group_capacity(struct sched_domain * sd,int cpu);
void update_group_capacity(struct sched_domain * sd,int cpu)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/uuid.h>
const u8 uuid_index[16] = {};
#include <linux/vmalloc.h>
void vfree_atomic(const void * addr)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/mm.h>
int vm_insert_page(struct vm_area_struct * vma,unsigned long addr,struct page * page)

View File

@ -37,6 +37,50 @@ drivers/base/driver.c
drivers/base/platform.c
drivers/base/property.c
drivers/net/loopback.c
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/antenna.c
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9002_calib.c
drivers/net/wireless/ath/ath9k/ar9002_hw.c
drivers/net/wireless/ath/ath9k/ar9002_mac.c
drivers/net/wireless/ath/ath9k/ar9002_phy.c
drivers/net/wireless/ath/ath9k/ar9003_aic.c
drivers/net/wireless/ath/ath9k/ar9003_calib.c
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/ar9003_mac.c
drivers/net/wireless/ath/ath9k/ar9003_mci.c
drivers/net/wireless/ath/ath9k/ar9003_paprd.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/ar9003_rtt.c
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/btcoex.c
drivers/net/wireless/ath/ath9k/calib.c
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/ath/ath9k/common-beacon.c
drivers/net/wireless/ath/ath9k/common-init.c
drivers/net/wireless/ath/ath9k/common.c
drivers/net/wireless/ath/ath9k/eeprom.c
drivers/net/wireless/ath/ath9k/eeprom_4k.c
drivers/net/wireless/ath/ath9k/eeprom_9287.c
drivers/net/wireless/ath/ath9k/eeprom_def.c
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/link.c
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/mci.c
drivers/net/wireless/ath/ath9k/pci.c
drivers/net/wireless/ath/ath9k/recv.c
drivers/net/wireless/ath/ath9k/wmi.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/dfs_pattern_detector.c
drivers/net/wireless/ath/dfs_pri_detector.c
drivers/net/wireless/ath/hw.c
drivers/net/wireless/ath/key.c
drivers/net/wireless/ath/main.c
drivers/net/wireless/ath/regd.c
drivers/net/wireless/intel/iwlwifi/cfg/1000.c
drivers/net/wireless/intel/iwlwifi/cfg/2000.c
drivers/net/wireless/intel/iwlwifi/cfg/22000.c
@ -45,6 +89,9 @@ drivers/net/wireless/intel/iwlwifi/cfg/6000.c
drivers/net/wireless/intel/iwlwifi/cfg/7000.c
drivers/net/wireless/intel/iwlwifi/cfg/8000.c
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/cfg/ax210.c
drivers/net/wireless/intel/iwlwifi/cfg/bz.c
drivers/net/wireless/intel/iwlwifi/cfg/sc.c
drivers/net/wireless/intel/iwlwifi/dvm/calib.c
drivers/net/wireless/intel/iwlwifi/dvm/devices.c
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
@ -83,13 +130,19 @@ drivers/net/wireless/intel/iwlwifi/mvm/coex.c
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c
drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/link.c
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-key.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
drivers/net/wireless/intel/iwlwifi/mvm/offloading.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/power.c
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c
drivers/net/wireless/intel/iwlwifi/mvm/quota.c
drivers/net/wireless/intel/iwlwifi/mvm/rfi.c
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
@ -101,6 +154,7 @@ drivers/net/wireless/intel/iwlwifi/mvm/sf.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/tdls.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/time-sync.c
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
@ -200,6 +254,7 @@ lib/klist.c
lib/kobject.c
lib/kstrtox.c
lib/list_sort.c
lib/maple_tree.c
lib/math/div64.c
lib/math/reciprocal_div.c
lib/nlattr.c

View File

@ -90,6 +90,9 @@ drivers/net/wireless/intel/iwlwifi/cfg/6000.c
drivers/net/wireless/intel/iwlwifi/cfg/7000.c
drivers/net/wireless/intel/iwlwifi/cfg/8000.c
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/cfg/ax210.c
drivers/net/wireless/intel/iwlwifi/cfg/bz.c
drivers/net/wireless/intel/iwlwifi/cfg/sc.c
drivers/net/wireless/intel/iwlwifi/dvm/calib.c
drivers/net/wireless/intel/iwlwifi/dvm/devices.c
drivers/net/wireless/intel/iwlwifi/dvm/lib.c
@ -128,13 +131,19 @@ drivers/net/wireless/intel/iwlwifi/mvm/coex.c
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c
drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/link.c
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-key.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
drivers/net/wireless/intel/iwlwifi/mvm/offloading.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/power.c
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c
drivers/net/wireless/intel/iwlwifi/mvm/quota.c
drivers/net/wireless/intel/iwlwifi/mvm/rfi.c
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
@ -146,6 +155,7 @@ drivers/net/wireless/intel/iwlwifi/mvm/sf.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/tdls.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/time-sync.c
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
@ -245,6 +255,7 @@ lib/klist.c
lib/kobject.c
lib/kstrtox.c
lib/list_sort.c
lib/maple_tree.c
lib/math/reciprocal_div.c
lib/nlattr.c
lib/radix-tree.c