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/platforms/powernv/smp.c | |
| 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/platforms/powernv/smp.c')
| -rw-r--r-- | arch/powerpc/platforms/powernv/smp.c | 17 | 
1 files changed, 16 insertions, 1 deletions
| diff --git a/arch/powerpc/platforms/powernv/smp.c b/arch/powerpc/platforms/powernv/smp.c index 19af6de6b6f0..b80909957792 100644 --- a/arch/powerpc/platforms/powernv/smp.c +++ b/arch/powerpc/platforms/powernv/smp.c @@ -334,7 +334,16 @@ static int pnv_cause_nmi_ipi(int cpu)  	int64_t rc;  	if (cpu >= 0) { -		rc = opal_signal_system_reset(get_hard_smp_processor_id(cpu)); +		int h = get_hard_smp_processor_id(cpu); + +		if (opal_check_token(OPAL_QUIESCE)) +			opal_quiesce(QUIESCE_HOLD, h); + +		rc = opal_signal_system_reset(h); + +		if (opal_check_token(OPAL_QUIESCE)) +			opal_quiesce(QUIESCE_RESUME, h); +  		if (rc != OPAL_SUCCESS)  			return 0;  		return 1; @@ -343,6 +352,8 @@ static int pnv_cause_nmi_ipi(int cpu)  		bool success = true;  		int c; +		if (opal_check_token(OPAL_QUIESCE)) +			opal_quiesce(QUIESCE_HOLD, -1);  		/*  		 * We do not use broadcasts (yet), because it's not clear @@ -358,6 +369,10 @@ static int pnv_cause_nmi_ipi(int cpu)  			if (rc != OPAL_SUCCESS)  				success = false;  		} + +		if (opal_check_token(OPAL_QUIESCE)) +			opal_quiesce(QUIESCE_RESUME, -1); +  		if (success)  			return 1; |