pc_usb_host: update to 6.6.47

Issue #5264
This commit is contained in:
Sebastian Sumpf 2024-08-02 14:36:11 +02:00 committed by Christian Helmuth
parent 44ec8ec7db
commit 19bb265539
6 changed files with 160 additions and 35 deletions

View File

@ -51,6 +51,8 @@ include/linux/usb/otg.h
include/linux/usb/phy.h
include/linux/usb/quirks.h
include/linux/usbdevice_fs.h
include/trace/events/notifier.h
include/uapi/linux/fanotify.h
include/uapi/linux/kcov.h
include/uapi/linux/usb/audio.h
include/uapi/linux/usb/cdc.h

View File

@ -54,6 +54,15 @@ struct irq_domain *pci_host_bridge_acpi_msi_domain(struct pci_bus *bus)
}
pci_power_t pci_choose_state(struct pci_dev * dev,pm_message_t state)
{
lx_emul_trace(__func__);
return PCI_UNKNOWN;
}
int usb_acpi_register(void)
{
lx_emul_trace(__func__);
@ -124,15 +133,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 <linux/iommu.h>
int iommu_device_use_default_domain(struct device * dev)
@ -142,6 +142,15 @@ int iommu_device_use_default_domain(struct device * dev)
}
struct iommu_domain * iommu_get_domain_for_dev(struct device * dev)
{
lx_emul_trace(__func__);
return NULL;
}
#include <linux/usb.h>
int usb_acpi_port_lpm_incapable(struct usb_device * hdev,int index)
@ -153,7 +162,8 @@ int usb_acpi_port_lpm_incapable(struct usb_device * hdev,int index)
#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__);
}
@ -295,3 +305,21 @@ void cdev_init(struct cdev * cdev, const struct file_operations * fops)
{
lx_emul_trace(__func__);
}
#include <linux/kernfs.h>
struct kernfs_node *
kernfs_find_and_get_ns(struct kernfs_node * parent,const char * name,
const void * ns)
{
static struct kernfs_node _node;
lx_emul_trace(__func__);
return &_node;
}
void kernfs_notify(struct kernfs_node * kn)
{
lx_emul_trace(__func__);
}

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>
@ -91,24 +91,8 @@ int add_uevent_var(struct kobj_uevent_env * env,const char * format,...)
}
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)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/async.h>
async_cookie_t async_schedule_node(async_func_t func,void * data,int node)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/async.h>
void async_synchronize_full(void)
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__);
}
@ -154,6 +138,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/property.h>
int device_create_managed_software_node(struct device * dev,const struct property_entry * properties,const struct software_node * parent)
@ -178,6 +178,14 @@ asmlinkage __visible void dump_stack(void)
}
#include <linux/printk.h>
asmlinkage __visible void dump_stack_lvl(const char * log_lvl)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/reboot.h>
void emergency_restart(void)
@ -260,6 +268,14 @@ struct pseudo_fs_context * init_pseudo(struct fs_context * fc,unsigned long magi
bool initcall_debug;
#include <linux/fs.h>
struct timespec64 inode_set_ctime_current(struct inode * inode)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sched.h>
void __sched io_schedule(void)
@ -292,11 +308,6 @@ long __sched io_schedule_timeout(long timeout)
}
#include <linux/swiotlb.h>
struct io_tlb_mem io_tlb_default_mem;
#include <linux/iommu.h>
void iommu_device_unuse_default_domain(struct device * dev)
@ -350,6 +361,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/irq.h>
struct irq_chip no_irq_chip;
@ -440,6 +456,20 @@ int proc_douintvec(struct ctl_table * table,int write,void * buffer,size_t * len
}
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/reboot.h>
enum reboot_mode reboot_mode;
@ -469,6 +499,25 @@ void seq_printf(struct seq_file * m,const char * f,...)
}
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 <linux/sched/debug.h>
void show_state_filter(unsigned int state_filter)
@ -508,6 +557,30 @@ int suppress_printk;
const int sysctl_vals[] = {};
#include <linux/sysfs.h>
struct kernfs_node * sysfs_break_active_protection(struct kobject * kobj,const struct attribute * attr)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sysfs.h>
void sysfs_unbreak_active_protection(struct kernfs_node * kn)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/sysfs.h>
int sysfs_update_group(struct kobject * kobj,const struct attribute_group * grp)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/task_work.h>
int task_work_add(struct task_struct * task,struct callback_head * work,enum task_work_notify_mode notify)
@ -518,7 +591,7 @@ int task_work_add(struct task_struct * task,struct callback_head * work,enum tas
#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__);
}
@ -539,6 +612,13 @@ 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] = {};

View File

@ -126,3 +126,14 @@ unsigned long _copy_to_user(void __user * to,const void * from,unsigned long n)
memcpy(to, from, n);
return 0;
}
#include <linux/pci.h>
int pci_alloc_irq_vectors(struct pci_dev * dev, unsigned int min_vecs,
unsigned int max_vecs,unsigned int flags)
{
if ((flags & PCI_IRQ_LEGACY) && min_vecs == 1 && dev->irq)
return 1;
return -ENOSPC;
}

View File

@ -44,6 +44,7 @@ drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci-trace.c
drivers/usb/host/xhci.c
fs/nls/nls_base.c
kernel/async.c
kernel/irq/chip.c
kernel/irq/devres.c
kernel/irq/handle.c
@ -91,6 +92,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/radix-tree.c

View File

@ -44,6 +44,7 @@ drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci-trace.c
drivers/usb/host/xhci.c
fs/nls/nls_base.c
kernel/async.c
kernel/irq/chip.c
kernel/irq/devres.c
kernel/irq/handle.c
@ -91,6 +92,7 @@ lib/klist.c
lib/kobject.c
lib/kstrtox.c
lib/list_sort.c
lib/maple_tree.c
lib/math/reciprocal_div.c
lib/radix-tree.c
lib/rbtree.c