summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/r8a7745-cpg-mssr.h
blob: 56ad6f0c67606d74bd99098a6ed5d401d5799c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (C) 2016 Cogent Embedded Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
#ifndef __DT_BINDINGS_CLOCK_R8A7745_CPG_MSSR_H__
#define __DT_BINDINGS_CLOCK_R8A7745_CPG_MSSR_H__

#include <dt-bindings/clock/renesas-cpg-mssr.h>

/* r8a7745 CPG Core Clocks */
#define R8A7745_CLK_Z2		0
#define R8A7745_CLK_ZG		1
#define R8A7745_CLK_ZTR		2
#define R8A7745_CLK_ZTRD2	3
#define R8A7745_CLK_ZT		4
#define R8A7745_CLK_ZX		5
#define R8A7745_CLK_ZS		6
#define R8A7745_CLK_HP		7
#define R8A7745_CLK_B		9
#define R8A7745_CLK_LB		10
#define R8A7745_CLK_P		11
#define R8A7745_CLK_CL		12
#define R8A7745_CLK_CP		13
#define R8A7745_CLK_M2		14
#define R8A7745_CLK_ZB3		16
#define R8A7745_CLK_ZB3D2	17
#define R8A7745_CLK_DDR		18
#define R8A7745_CLK_SDH		19
#define R8A7745_CLK_SD0		20
#define R8A7745_CLK_SD2		21
#define R8A7745_CLK_SD3		22
#define R8A7745_CLK_MMC0	23
#define R8A7745_CLK_MP		24
#define R8A7745_CLK_QSPI	25
#define R8A7745_CLK_CPEX	26
#define R8A7745_CLK_RCAN	27
#define R8A7745_CLK_R		28
#define R8A7745_CLK_OSC		29

#endif /* __DT_BINDINGS_CLOCK_R8A7745_CPG_MSSR_H__ */
e CPU online callback. That's correct because user space is not yet informed about the CPU being onlined, so nothing caan rely on RAPL being available on that particular CPU. Move the allocation to the CPU online callback and simplify the hotplug handling. At this point the package mapping is established and correct. This also adds a missing check for available package data in the event_init() function. Reported-by: Yasuaki Ishimatsu <yasu.isimatu@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: Stephane Eranian <eranian@google.com> Cc: Vince Weaver <vincent.weaver@maine.edu> Fixes: 9d85eb9119f4 ("x86/smpboot: Make logical package management more robust") Link: http://lkml.kernel.org/r/20170131230141.212593966@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/ceph/Kconfig')