Home
last modified time | relevance | path

Searched refs:kscratch_mask (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/arch/mips/kvm/
Dentry.c129 unsigned int kscratch_mask = cpu_data[0].kscratch_mask; in kvm_mips_entry_setup() local
132 kscratch_mask &= ~BIT(pgd_reg); in kvm_mips_entry_setup()
135 if (kscratch_mask) { in kvm_mips_entry_setup()
137 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
138 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup()
142 if (kscratch_mask) { in kvm_mips_entry_setup()
144 scratch_tmp[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
145 kscratch_mask &= ~BIT(scratch_tmp[1]); in kvm_mips_entry_setup()
Dvz.c1713 ret += __arch_hweight8(cpu_data[0].guest.kscratch_mask); in kvm_vz_num_regs()
/Linux-v5.4/arch/mips/include/asm/
Dcpu-info.h39 u8 kscratch_mask; member
91 unsigned int kscratch_mask; /* Usable KScratch mask. */ member
Dcpu-features.h671 #define cpu_guest_has_kscr(n) (cpu_data[0].guest.kscratch_mask & (1u << (n)))
/Linux-v5.4/arch/mips/kernel/
Dproc.c140 hweight8(cpu_data[n].kscratch_mask)); in show_cpuinfo()
Dcpu-probe.c851 c->kscratch_mask = (config4 & MIPS_CONF4_KSCREXIST) in decode_config4()
1149 c->guest.kscratch_mask = (config4 & MIPS_CONF4_KSCREXIST) in decode_guest_config4()
2055 c->kscratch_mask = 0xf; in cpu_probe_netlogic()
/Linux-v5.4/arch/mips/mm/
Dtlbex.c336 unsigned int a = cpu_data[0].kscratch_mask & ~kscratch_used_mask; in allocate_kscratch()