Lines Matching refs:asce

19 union asce {
258 unsigned long asce : 64; /* Address-Space-Control Element */
379 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar,
397 asce->val = vcpu->arch.sie_block->gcr[1];
400 asce->val = vcpu->arch.sie_block->gcr[7];
464 asce->val = aste.asce;
554 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce,
561 asce->val = 0;
562 asce->r = 1;
571 asce->val = vcpu->arch.sie_block->gcr[1];
574 asce->val = vcpu->arch.sie_block->gcr[7];
577 asce->val = vcpu->arch.sie_block->gcr[13];
580 rc = ar_translation(vcpu, asce, ar, mode);
598 * @asce: effective asce
615 unsigned long *gpa, const union asce asce,
631 if (asce.r)
633 ptr = asce.origin * PAGE_SIZE;
634 switch (asce.dt) {
636 if (vaddr.rfx01 > asce.tl)
643 if (vaddr.rsx01 > asce.tl)
650 if (vaddr.rtx01 > asce.tl)
657 if (vaddr.sx01 > asce.tl)
662 switch (asce.dt) {
710 if (rtte.cr && asce.p && edat2)
738 if (ste.cs && asce.p)
785 const union asce asce)
792 if (psw_bits(*psw).dat && asce.p)
799 const union asce asce, enum gacc_mode mode)
805 lap_enabled = low_address_protection_enabled(vcpu, asce);
813 rc = guest_translate(vcpu, ga, pages, asce, mode, &prot);
838 union asce asce;
844 rc = get_vcpu_asce(vcpu, &asce, ga, ar, mode);
853 need_ipte_lock = psw_bits(*psw).dat && !asce.r;
856 rc = guest_page_range(vcpu, ga, ar, pages, nr_pages, asce, mode);
909 union asce asce;
913 rc = get_vcpu_asce(vcpu, &asce, gva, ar, mode);
916 if (is_low_address(gva) && low_address_protection_enabled(vcpu, asce)) {
922 if (psw_bits(*psw).dat && !asce.r) { /* Use DAT? */
923 rc = guest_translate(vcpu, gva, gpa, asce, mode, &prot);
989 union asce asce;
998 asce.val = sg->orig_asce;
999 ptr = asce.origin * PAGE_SIZE;
1000 if (asce.r) {
1003 asce.dt = ASCE_TYPE_REGION1;
1005 switch (asce.dt) {
1007 if (vaddr.rfx01 > asce.tl && !*fake)
1013 if (vaddr.rsx01 > asce.tl)
1019 if (vaddr.rtx01 > asce.tl)
1025 if (vaddr.sx01 > asce.tl)
1030 switch (asce.dt) {
1102 if (rtte.cr && asce.p && sg->edat_level >= 2)
1139 if (ste.cs && asce.p)