Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cpuctl/cpuctl.c
Show First 20 Lines • Show All 540 Lines • ▼ Show 20 Lines | #endif | ||||
hw_ibrs_recalculate(); | hw_ibrs_recalculate(); | ||||
restore_cpu(oldcpu, is_bound, td); | restore_cpu(oldcpu, is_bound, td); | ||||
hw_ssb_recalculate(true); | hw_ssb_recalculate(true); | ||||
#ifdef __amd64__ | #ifdef __amd64__ | ||||
amd64_syscall_ret_flush_l1d_recalc(); | amd64_syscall_ret_flush_l1d_recalc(); | ||||
pmap_allow_2m_x_ept_recalculate(); | pmap_allow_2m_x_ept_recalculate(); | ||||
#endif | #endif | ||||
hw_mds_recalculate(); | hw_mds_recalculate(); | ||||
hw_tsx_recalculate(); | |||||
printcpuinfo(); | printcpuinfo(); | ||||
return (0); | return (0); | ||||
} | } | ||||
int | int | ||||
cpuctl_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) | cpuctl_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |