Lines Matching refs:scb_o
38 struct kvm_s390_sie_block *scb_o; /* 0x0218 */ member
98 cpuflags = atomic_read(&vsie_page->scb_o->cpuflags); in update_intervention_requests()
107 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in prepare_cpuflags() local
108 int newflags, cpuflags = atomic_read(&scb_o->cpuflags); in prepare_cpuflags()
298 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in shadow_crycb() local
299 const uint32_t crycbd_o = READ_ONCE(scb_o->crycbd); in shadow_crycb()
314 apie_s = apie_h & scb_o->eca; in shadow_crycb()
332 scb_s->eca |= scb_o->eca & ECA_APIE; in shadow_crycb()
336 ecb3_flags = scb_o->ecb3 & vcpu->arch.sie_block->ecb3 & in shadow_crycb()
338 ecd_flags = scb_o->ecd & vcpu->arch.sie_block->ecd & ECD_ECC; in shadow_crycb()
373 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in prepare_ibc() local
375 const uint32_t __new_ibc = scb_o->ibc; in prepare_ibc()
396 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in unshadow_scb() local
399 scb_o->icptcode = scb_s->icptcode; in unshadow_scb()
400 scb_o->icptstatus = scb_s->icptstatus; in unshadow_scb()
401 scb_o->ipa = scb_s->ipa; in unshadow_scb()
402 scb_o->ipb = scb_s->ipb; in unshadow_scb()
403 scb_o->gbea = scb_s->gbea; in unshadow_scb()
406 scb_o->cputm = scb_s->cputm; in unshadow_scb()
407 scb_o->ckc = scb_s->ckc; in unshadow_scb()
408 scb_o->todpr = scb_s->todpr; in unshadow_scb()
411 scb_o->gpsw = scb_s->gpsw; in unshadow_scb()
412 scb_o->gg14 = scb_s->gg14; in unshadow_scb()
413 scb_o->gg15 = scb_s->gg15; in unshadow_scb()
414 memcpy(scb_o->gcr, scb_s->gcr, 128); in unshadow_scb()
415 scb_o->pp = scb_s->pp; in unshadow_scb()
419 scb_o->fpf &= ~FPF_BPBC; in unshadow_scb()
420 scb_o->fpf |= scb_s->fpf & FPF_BPBC; in unshadow_scb()
428 memcpy((void *)((u64)scb_o + 0xc0), in unshadow_scb()
434 scb_o->ihcpu = scb_s->ihcpu; in unshadow_scb()
446 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in shadow_scb() local
449 const uint32_t __new_prefix = scb_o->prefix; in shadow_scb()
451 const bool wants_tx = READ_ONCE(scb_o->ecb) & ECB_TE; in shadow_scb()
471 scb_s->cputm = scb_o->cputm; in shadow_scb()
472 scb_s->ckc = scb_o->ckc; in shadow_scb()
473 scb_s->todpr = scb_o->todpr; in shadow_scb()
474 scb_s->epoch = scb_o->epoch; in shadow_scb()
477 scb_s->gpsw = scb_o->gpsw; in shadow_scb()
478 scb_s->gg14 = scb_o->gg14; in shadow_scb()
479 scb_s->gg15 = scb_o->gg15; in shadow_scb()
480 memcpy(scb_s->gcr, scb_o->gcr, 128); in shadow_scb()
481 scb_s->pp = scb_o->pp; in shadow_scb()
484 scb_s->gbea = scb_o->gbea; in shadow_scb()
485 scb_s->lctl = scb_o->lctl; in shadow_scb()
486 scb_s->svcc = scb_o->svcc; in shadow_scb()
487 scb_s->ictl = scb_o->ictl; in shadow_scb()
496 scb_s->icpua = scb_o->icpua; in shadow_scb()
499 new_mso = READ_ONCE(scb_o->mso) & 0xfffffffffff00000UL; in shadow_scb()
504 scb_s->msl = scb_o->msl & 0xfffffffffff00000UL; in shadow_scb()
510 scb_s->ihcpu = scb_o->ihcpu; in shadow_scb()
513 scb_s->eca |= scb_o->eca & (ECA_MVPGI | ECA_PROTEXCI); in shadow_scb()
516 scb_s->ecb |= scb_o->ecb & ECB_HOSTPROTINT; in shadow_scb()
524 scb_s->ecb |= scb_o->ecb & ECB_PTF; in shadow_scb()
533 scb_s->ecb |= scb_o->ecb & ECB_SPECI; in shadow_scb()
536 scb_s->fpf |= scb_o->fpf & FPF_BPBC; in shadow_scb()
539 scb_s->eca |= scb_o->eca & ECA_VX; in shadow_scb()
540 scb_s->ecd |= scb_o->ecd & ECD_HOSTREGMGMT; in shadow_scb()
544 scb_s->ecb3 |= scb_o->ecb3 & ECB3_RI; in shadow_scb()
547 scb_s->ecb2 |= scb_o->ecb2 & ECB2_IEP; in shadow_scb()
550 scb_s->ecb |= scb_o->ecb & ECB_GS; in shadow_scb()
551 scb_s->ecd |= scb_o->ecd & ECD_HOSTREGMGMT; in shadow_scb()
554 scb_s->eca |= scb_o->eca & ECA_SII; in shadow_scb()
556 scb_s->eca |= scb_o->eca & ECA_IB; in shadow_scb()
558 scb_s->eca |= scb_o->eca & ECA_CEI; in shadow_scb()
561 scb_s->ecd |= scb_o->ecd & ECD_MEF; in shadow_scb()
562 scb_s->epdx = scb_o->epdx; in shadow_scb()
567 scb_s->ecd |= scb_o->ecd & ECD_ETOKENF; in shadow_scb()
570 scb_s->cpnc = scb_o->cpnc; in shadow_scb()
737 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in pin_blocks() local
743 gpa = READ_ONCE(scb_o->scaol) & ~0xfUL; in pin_blocks()
745 gpa |= (u64) READ_ONCE(scb_o->scaoh) << 32; in pin_blocks()
766 gpa = READ_ONCE(scb_o->itdba) & ~0xffUL; in pin_blocks()
782 gpa = READ_ONCE(scb_o->gvrd) & ~0x1ffUL; in pin_blocks()
801 gpa = READ_ONCE(scb_o->riccbd) & ~0x3fUL; in pin_blocks()
821 gpa = READ_ONCE(scb_o->sdnxo) & ~0xfUL; in pin_blocks()
822 sdnxc = READ_ONCE(scb_o->sdnxo) & 0xfUL; in pin_blocks()
856 hpa_t hpa = (hpa_t) vsie_page->scb_o; in unpin_scb()
860 vsie_page->scb_o = NULL; in unpin_scb()
881 vsie_page->scb_o = phys_to_virt(hpa); in pin_scb()
988 __u32 fac = READ_ONCE(vsie_page->scb_o->fac); in handle_stfle()
1039 u64 *pei_block = &vsie_page->scb_o->mcic; in vsie_handle_mvpg()
1119 struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; in do_vsie_run() local
1185 if (!(atomic_read(&scb_o->cpuflags) & CPUSTAT_STOP_INT)) in do_vsie_run()