test/driver_time: update to 6.6.47

Issue #5264
This commit is contained in:
Sebastian Sumpf 2024-07-01 17:02:49 +02:00 committed by Christian Helmuth
parent 056c755708
commit 189fb008b3
9 changed files with 184 additions and 29 deletions

View File

@ -16,9 +16,18 @@
DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
DEFINE_PER_CPU(unsigned long, cpu_scale);
EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
#include <linux/tracepoint-defs.h>
/* mm/debug.c */
const struct trace_print_flags pagetype_names[] = {
{0, NULL}
};
#include <linux/syscore_ops.h>
void register_syscore_ops(struct syscore_ops * ops)
@ -85,3 +94,55 @@ unsigned long __must_check __arch_copy_to_user(void __user *to, const void *from
{
lx_emul_trace_and_stop(__func__);
}
/* kernel/sched/cpudeadline.h */
struct cpudl;
int cpudl_init(struct cpudl *cp)
{
lx_emul_trace_and_stop(__func__);
return -1;
}
void cpudl_cleanup(struct cpudl *cp)
{
lx_emul_trace_and_stop(__func__);
}
/* kernel/sched/sched.h */
bool sched_smp_initialized = true;
struct dl_bw;
void init_dl_bw(struct dl_bw *dl_b)
{
lx_emul_trace_and_stop(__func__);
}
struct irq_work;
extern void rto_push_irq_work_func(struct irq_work *work);
void rto_push_irq_work_func(struct irq_work *work)
{
lx_emul_trace_and_stop(__func__);
}
/* include/linux/sched/topology.h */
int arch_asym_cpu_priority(int cpu)
{
lx_emul_trace_and_stop(__func__);
return 0;
}
#ifdef CONFIG_SWIOTLB
#include <linux/swiotlb.h>
bool is_swiotlb_allocated(void)
{
lx_emul_trace(__func__);
return false;
}
#endif

View File

@ -36,7 +36,7 @@ static int timing_tests(void *);
void lx_user_init(void)
{
kernel_thread(timing_tests, NULL, CLONE_FS | CLONE_FILES);
kernel_thread(timing_tests, NULL, "lx_user", CLONE_FS | CLONE_FILES);
}

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-07-30
*/
#include <lx_emul.h>
@ -65,6 +65,13 @@ void __put_task_struct(struct task_struct * tsk)
}
extern noinline unsigned int _parse_integer(const char * s,unsigned int base,unsigned long long * p);
noinline unsigned int _parse_integer(const char * s,unsigned int base,unsigned long long * p)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/printk.h>
int _printk_deferred(const char * fmt,...)
@ -73,6 +80,22 @@ int _printk_deferred(const char * fmt,...)
}
#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/context_tracking_irq.h>
noinstr void ct_irq_enter(void)
@ -81,14 +104,6 @@ noinstr void ct_irq_enter(void)
}
#include <linux/context_tracking_irq.h>
void ct_irq_enter_irqson(void)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/context_tracking_irq.h>
noinstr void ct_irq_exit(void)
@ -97,14 +112,6 @@ noinstr void ct_irq_exit(void)
}
#include <linux/context_tracking_irq.h>
void ct_irq_exit_irqson(void)
{
lx_emul_trace_and_stop(__func__);
}
#include <asm-generic/softirq_stack.h>
void do_softirq_own_stack(void)
@ -310,12 +317,9 @@ noinline int kstrtoll(const char * s,unsigned int base,long long * res)
}
#include <linux/kernel.h>
#include <linux/delay.h>
char * kvasprintf(gfp_t gfp,const char * fmt,va_list ap)
{
lx_emul_trace_and_stop(__func__);
}
unsigned long loops_per_jiffy;
#include <linux/delay.h>
@ -360,6 +364,34 @@ void panic(const char * fmt,...)
}
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__);
}
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/siphash.h>
u64 siphash_1u64(const u64 first,const siphash_key_t * key)
@ -389,6 +421,13 @@ void tick_broadcast(const struct cpumask * mask)
}
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

@ -35,6 +35,7 @@ lib/hexdump.c
lib/hweight.c
lib/idr.c
lib/math/reciprocal_div.c
lib/kasprintf.c
lib/radix-tree.c
lib/rbtree.c
lib/refcount.c

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-07-30
*/
#include <lx_emul.h>
@ -88,6 +88,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/context_tracking_irq.h>
noinstr void ct_irq_enter(void)
@ -253,12 +269,9 @@ noinline int kstrtoll(const char * s,unsigned int base,long long * res)
}
#include <linux/kernel.h>
#include <linux/delay.h>
char * kvasprintf(gfp_t gfp,const char * fmt,va_list ap)
{
lx_emul_trace_and_stop(__func__);
}
unsigned long loops_per_jiffy;
#include <linux/panic.h>
@ -269,6 +282,39 @@ void panic(const char * fmt,...)
}
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__);
}
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/siphash.h>
u64 siphash_1u64(const u64 first,const siphash_key_t * key)
@ -298,6 +344,13 @@ int smp_call_function_single(int cpu,smp_call_func_t func,void * info,int wait)
bool static_key_initialized;
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

@ -29,6 +29,7 @@ lib/find_bit.c
lib/hexdump.c
lib/idr.c
lib/math/reciprocal_div.c
lib/kasprintf.c
lib/radix-tree.c
lib/rbtree.c
lib/refcount.c