summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power/rk3288-power.h
blob: b8b1045f3daa79bfba850fefb260dc68071ac222 (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
#ifndef __DT_BINDINGS_POWER_RK3288_POWER_H__
#define __DT_BINDINGS_POWER_RK3288_POWER_H__

/**
 * RK3288 Power Domain and Voltage Domain Summary.
 */

/* VD_CORE */
#define RK3288_PD_A17_0		0
#define RK3288_PD_A17_1		1
#define RK3288_PD_A17_2		2
#define RK3288_PD_A17_3		3
#define RK3288_PD_SCU		4
#define RK3288_PD_DEBUG		5
#define RK3288_PD_MEM		6

/* VD_LOGIC */
#define RK3288_PD_BUS		7
#define RK3288_PD_PERI		8
#define RK3288_PD_VIO		9
#define RK3288_PD_ALIVE		10
#define RK3288_PD_HEVC		11
#define RK3288_PD_VIDEO		12

/* VD_GPU */
#define RK3288_PD_GPU		13

/* VD_PMU */
#define RK3288_PD_PMU		14

#endif
0e7705774dd412a465896d08d59a81a345c1e4'>5d0e7705774dd412a465896d08d59a81a345c1e4 (diff)parent047487241ff59374fded8c477f21453681f5995c (diff)
Merge branch 'sparc64-non-resumable-user-error-recovery'
Liam R. Howlett says: ==================== sparc64: Recover from userspace non-resumable PIO & MEM errors A non-resumable error from userspace is able to cause a kernel panic or trap loop due to the setup and handling of the queued traps once in the kernel. This patch series addresses both of these issues. The queues are fixed by simply zeroing the memory before use. PIO errors from userspace will result in a SIGBUS being sent to the user process. The MEM errors form userspace will result in a SIGKILL and also cause the offending pages to be claimed so they are no longer used in future tasks. SIGKILL is used to ensure that the process does not try to coredump and result in an attempt to read the memory again from within kernel space. Although there is a HV call to scrub the memory (mem_scrub), there is no easy way to guarantee that the real memory address(es) are not used by other tasks. Clearing the error with mem_scrub would zero the memory and cause the other processes to proceed with bad data. The handling of other non-resumable errors remain unchanged and will cause a panic. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/sound/info.h')