/* * Berlin2 BG2/BG2CD clock tree IDs */ #define CLKID_SYS 0 #define CLKID_CPU 1 #define CLKID_DRMFIGO 2 #define CLKID_CFG 3 #define CLKID_GFX 4 #define CLKID_ZSP 5 #define CLKID_PERIF 6 #define CLKID_PCUBE 7 #define CLKID_VSCOPE 8 #define CLKID_NFC_ECC 9 #define CLKID_VPP 10 #define CLKID_APP 11 #define CLKID_AUDIO0 12 #define CLKID_AUDIO2 13 #define CLKID_AUDIO3 14 #define CLKID_AUDIO1 15 #define CLKID_GFX3D_CORE 16 #define CLKID_GFX3D_SYS 17 #define CLKID_ARC 18 #define CLKID_VIP 19 #define CLKID_SDIO0XIN 20 #define CLKID_SDIO1XIN 21 #define CLKID_GFX3D_EXTRA 22 #define CLKID_GC360 23 #define CLKID_SDIO_DLLMST 24 #define CLKID_GETH0 25 #define CLKID_GETH1 26 #define CLKID_SATA 27 #define CLKID_AHBAPB 28 #define CLKID_USB0 29 #define CLKID_USB1 30 #define CLKID_PBRIDGE 31 #define CLKID_SDIO0 32 #define CLKID_SDIO1 33 #define CLKID_NFC 34 #define CLKID_SMEMC 35 #define CLKID_AUDIOHD 36 #define CLKID_VIDEO0 37 #define CLKID_VIDEO1 38 #define CLKID_VIDEO2 39 #define CLKID_TWD 40 b4a'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic/Kbuild
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-01-26 16:47:28 -0500
committerTejun Heo <tj@kernel.org>2017-01-26 16:47:28 -0500
commit07cd12945551b63ecb1a349d50a6d69d1d6feb4a (patch)
tree75f65eba7eac9277971082a2d5a4cf1370562c0c /include/uapi/asm-generic/Kbuild
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
cgroup: don't online subsystems before cgroup_name/path() are operational
While refactoring cgroup creation, a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") incorrectly onlined subsystems before the new cgroup is associated with it kernfs_node. This is fine for cgroup proper but cgroup_name/path() depend on the associated kernfs_node and if a subsystem makes the new cgroup_subsys_state visible, which they're allowed to after onlining, it can lead to NULL dereference. The current code performs cgroup creation and subsystem onlining in cgroup_create() and cgroup_mkdir() makes the cgroup and subsystems visible afterwards. There's no reason to online the subsystems early and we can simply drop cgroup_apply_control_enable() call from cgroup_create() so that the subsystems are onlined and made visible at the same time. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") Cc: stable@vger.kernel.org # v4.6+
Diffstat (limited to 'include/uapi/asm-generic/Kbuild')