#ifndef DT_BINDINGS_MEMORY_TEGRA30_MC_H #define DT_BINDINGS_MEMORY_TEGRA30_MC_H #define TEGRA_SWGROUP_PTC 0 #define TEGRA_SWGROUP_DC 1 #define TEGRA_SWGROUP_DCB 2 #define TEGRA_SWGROUP_EPP 3 #define TEGRA_SWGROUP_G2 4 #define TEGRA_SWGROUP_MPE 5 #define TEGRA_SWGROUP_VI 6 #define TEGRA_SWGROUP_AFI 7 #define TEGRA_SWGROUP_AVPC 8 #define TEGRA_SWGROUP_NV 9 #define TEGRA_SWGROUP_NV2 10 #define TEGRA_SWGROUP_HDA 11 #define TEGRA_SWGROUP_HC 12 #define TEGRA_SWGROUP_PPCS 13 #define TEGRA_SWGROUP_SATA 14 #define TEGRA_SWGROUP_VDE 15 #define TEGRA_SWGROUP_MPCORELP 16 #define TEGRA_SWGROUP_MPCORE 17 #define TEGRA_SWGROUP_ISP 18 #endif git.cgi/'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-09-28 13:36:19 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-09-30 09:13:11 +0200
commitd53c51f26145657aa7c55fa396f93677e613548d (patch)
tree0d76b2a11aa079c9f532a8457524f61d29ffd297
parent871f8bf0c477ef20ac1457bb241416d7d8749732 (diff)
s390/cio: fix accidental interrupt enabling during resume
Since commit 9f3d6d7 chsc_get_channel_measurement_chars is called with interrupts disabled during resume from hibernate. Since this function used spin_unlock_irq, interrupts have been enabled accidentally. Fix this by using the irqsave variant. Since we can't guarantee the IRQ-enablement state for all (future/ external) callers, change the locking in related functions to prevent similar bugs in the future. Fixes: 9f3d6d7 ("s390/cio: update measurement characteristics") Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat