summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/berlin2.h
blob: 0c30800175dfab26c353d588f2cc0c7892e75c7e (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
45
/*
 * 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
on as firmware tries to make use of it, a triple fault occurs and the system reboots (in case of the Yoga 710-11IKB this is very early during bootup). Fix that by always mapping the first page of physical memory into the EFI pagetables. We're free to hand this page to the BIOS, as trim_bios_range() will reserve the first page and isolate it away from memory allocators anyway. Note that just reverting 129766708 alone is not enough on v4.9-rc1+ to fix the regression on affected hardware, as this commit: ab72a27da ("x86/efi: Consolidate region mapping logic") later made the first physical frame not to be mapped anyway. Reported-by: Hanka Pavlikova <hanka@ucw.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Borislav Petkov <bp@suse.de> Cc: Laura Abbott <labbott@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vojtech Pavlik <vojtech@ucw.cz> Cc: Waiman Long <waiman.long@hpe.com> Cc: linux-efi@vger.kernel.org Cc: stable@kernel.org # v4.8+ Fixes: 129766708 ("x86/efi: Only map RAM into EFI page tables if in mixed-mode") Link: http://lkml.kernel.org/r/20170127222552.22336-1-matt@codeblueprint.co.uk [ Tidied up the changelog and the comment. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/tests/thread-map.c')