diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/powerpc/kvm/book3s_segment.S | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/powerpc/kvm/book3s_segment.S')
| -rw-r--r-- | arch/powerpc/kvm/book3s_segment.S | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/book3s_segment.S index 93a180ceefad..98ccc7ec5d48 100644 --- a/arch/powerpc/kvm/book3s_segment.S +++ b/arch/powerpc/kvm/book3s_segment.S @@ -383,6 +383,19 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_207S)  	 */  	PPC_LL	r6, HSTATE_HOST_MSR(r13) +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM +	/* +	 * We don't want to change MSR[TS] bits via rfi here. +	 * The actual TM handling logic will be in host with +	 * recovered DR/IR bits after HSTATE_VMHANDLER. +	 * And MSR_TM can be enabled in HOST_MSR so rfid may +	 * not suppress this change and can lead to exception. +	 * Manually set MSR to prevent TS state change here. +	 */ +	mfmsr   r7 +	rldicl  r7, r7, 64 - MSR_TS_S_LG, 62 +	rldimi  r6, r7, MSR_TS_S_LG, 63 - MSR_TS_T_LG +#endif  	PPC_LL	r8, HSTATE_VMHANDLER(r13)  #ifdef CONFIG_PPC64 |