#ifndef __DT_BINDINGS_POWER_RK3399_POWER_H__ #define __DT_BINDINGS_POWER_RK3399_POWER_H__ /* VD_CORE_L */ #define RK3399_PD_A53_L0 0 #define RK3399_PD_A53_L1 1 #define RK3399_PD_A53_L2 2 #define RK3399_PD_A53_L3 3 #define RK3399_PD_SCU_L 4 /* VD_CORE_B */ #define RK3399_PD_A72_B0 5 #define RK3399_PD_A72_B1 6 #define RK3399_PD_SCU_B 7 /* VD_LOGIC */ #define RK3399_PD_TCPD0 8 #define RK3399_PD_TCPD1 9 #define RK3399_PD_CCI 10 #define RK3399_PD_CCI0 11 #define RK3399_PD_CCI1 12 #define RK3399_PD_PERILP 13 #define RK3399_PD_PERIHP 14 #define RK3399_PD_VIO 15 #define RK3399_PD_VO 16 #define RK3399_PD_VOPB 17 #define RK3399_PD_VOPL 18 #define RK3399_PD_ISP0 19 #define RK3399_PD_ISP1 20 #define RK3399_PD_HDCP 21 #define RK3399_PD_GMAC 22 #define RK3399_PD_EMMC 23 #define RK3399_PD_USB3 24 #define RK3399_PD_EDP 25 #define RK3399_PD_GIC 26 #define RK3399_PD_SD 27 #define RK3399_PD_SDIOAUDIO 28 #define RK3399_PD_ALIVE 29 /* VD_CENTER */ #define RK3399_PD_CENTER 30 #define RK3399_PD_VCODEC 31 #define RK3399_PD_VDU 32 #define RK3399_PD_RGA 33 #define RK3399_PD_IEP 34 /* VD_GPU */ #define RK3399_PD_GPU 35 /* VD_PMU */ #define RK3399_PD_PMU 36 #endif /option> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/decnet/dn_nsp_in.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-01-31 09:37:34 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-01-31 21:47:58 +0100
commit0becc0ae5b42828785b589f686725ff5bc3b9b25 (patch)
treebe6d0e1f37c38ed0a7dd5da2d4b1e93f0fb43101 /net/decnet/dn_nsp_in.c
parent24c2503255d35c269b67162c397a1a1c1e02f6ce (diff)
x86/mce: Make timer handling more robust
Erik reported that on a preproduction hardware a CMCI storm triggers the BUG_ON in add_timer_on(). The reason is that the per CPU MCE timer is started by the CMCI logic before the MCE CPU hotplug callback starts the timer with add_timer_on(). So the timer is already queued which triggers the BUG. Using add_timer_on() is pretty pointless in this code because the timer is strictlty per CPU, initialized as pinned and all operations which arm the timer happen on the CPU to which the timer belongs. Simplify the whole machinery by using mod_timer() instead of add_timer_on() which avoids the problem because mod_timer() can handle already queued timers. Use __start_timer() everywhere so the earliest armed expiry time is preserved. Reported-by: Erik Veijola <erik.veijola@intel.com> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/decnet/dn_nsp_in.c')