Pull pvops into release branch
This commit is contained in:
@@ -70,7 +70,7 @@ static void kvm_flush_icache(unsigned long start, unsigned long len)
|
||||
int l;
|
||||
|
||||
for (l = 0; l < (len + 32); l += 32)
|
||||
ia64_fc(start + l);
|
||||
ia64_fc((void *)(start + l));
|
||||
|
||||
ia64_sync_i();
|
||||
ia64_srlz_i();
|
||||
|
@@ -386,7 +386,7 @@ void set_rse_reg(struct kvm_pt_regs *regs, unsigned long r1,
|
||||
else
|
||||
*rnat_addr = (*rnat_addr) & (~nat_mask);
|
||||
|
||||
ia64_setreg(_IA64_REG_AR_BSPSTORE, bspstore);
|
||||
ia64_setreg(_IA64_REG_AR_BSPSTORE, (unsigned long)bspstore);
|
||||
ia64_setreg(_IA64_REG_AR_RNAT, rnat);
|
||||
}
|
||||
local_irq_restore(psr);
|
||||
|
@@ -210,6 +210,7 @@ void thash_vhpt_insert(struct kvm_vcpu *v, u64 pte, u64 itir, u64 va, int type)
|
||||
phy_pte &= ~PAGE_FLAGS_RV_MASK;
|
||||
psr = ia64_clear_ic();
|
||||
ia64_itc(type, va, phy_pte, itir_ps(itir));
|
||||
paravirt_dv_serialize_data();
|
||||
ia64_set_psr(psr);
|
||||
}
|
||||
|
||||
@@ -456,6 +457,7 @@ void thash_purge_and_insert(struct kvm_vcpu *v, u64 pte, u64 itir,
|
||||
phy_pte &= ~PAGE_FLAGS_RV_MASK;
|
||||
psr = ia64_clear_ic();
|
||||
ia64_itc(type, ifa, phy_pte, ps);
|
||||
paravirt_dv_serialize_data();
|
||||
ia64_set_psr(psr);
|
||||
}
|
||||
if (!(pte&VTLB_PTE_IO))
|
||||
|
Reference in New Issue
Block a user