Lines Matching refs:cr9
62 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_bp() local
75 if (!(*cr9 & PER_EVENT_BRANCH)) in enable_all_hw_bp()
76 *cr9 |= PER_CONTROL_BRANCH_ADDRESS; in enable_all_hw_bp()
77 *cr9 |= PER_EVENT_IFETCH | PER_EVENT_BRANCH; in enable_all_hw_bp()
102 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_wp() local
113 if (*cr9 & PER_EVENT_STORE && *cr9 & PER_CONTROL_ALTERATION) { in enable_all_hw_wp()
114 *cr9 &= ~PER_CONTROL_ALTERATION; in enable_all_hw_wp()
118 *cr9 &= ~PER_CONTROL_ALTERATION; in enable_all_hw_wp()
119 *cr9 |= PER_EVENT_STORE; in enable_all_hw_wp()
133 vcpu->arch.guestdbg.cr9 = vcpu->arch.sie_block->gcr[9]; in kvm_s390_backup_guest_per_regs()
141 vcpu->arch.sie_block->gcr[9] = vcpu->arch.guestdbg.cr9; in kvm_s390_restore_guest_per_regs()
541 u64 cr9 = vcpu->arch.sie_block->gcr[9]; in filter_guest_per_event() local
545 u8 guest_perc = perc & (cr9 >> 24) & PER_CODE_MASK; in filter_guest_per_event()
554 cr9 & PER_CONTROL_BRANCH_ADDRESS && in filter_guest_per_event()