mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 02:26:41 +07:00
6404141718
These are changes that arrived a little late before the merge window, or had dependencies on previous branches. Highlights: - ux500: misc. cleanup, fixup I2C devices - exynos: DT updates for RTC; PM updates - at91: DT updates for NAND; new platforms added to generic defconfig - sunxi: DT updates: cubieboard2, pinctrl driver, gated clocks - highbank: LPAE fixes, select necessary ARM errata - omap: PM fixes and improvements; OMAP5 mailbox support - omap: basic support for new DRA7xx SoCs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJSLkf1AAoJEFk3GJrT+8ZlF7oP/AyxrdRFyC1YmuOqzFH0/JTQ EVBmMBiH+f1IKBT6YRkWCzX4JI5oOi+2DhrM6d/UPfbpr6pwd8dptuPiyLuBBUEm byNbiJEYHidm23oFpKM+89tTHXbBrrz8XQN2xLwYhNr24QkVAsLTxyOjVA7KJM59 tk1tPQzO1ORyiFd485eQa3V4z98JgcE3QFNthbS7Y72wEXBzMZQDc9nFaoIJ5mHW nzJSZyV24ibeEJeM2nsc7a3OvCyUfAQaO5Cio2UvdkGzZcmtxjxc1LjHa4VjIL6h hwz+gqIOfl3hXotbjJxTp9+Ezt4TGU5bB3NUweE1btHE/KIEu0bx4hSsOz/kooA9 2JL8BCCTx+KiGiNHmNCcT679n9q11iOwqOWvxxhcJFkiV/6+mkjwTD9TNwR1q+RG +LtOZr9tMcu2v/DbAivDYKiROmNCZhxpn35DoUKpBy73SOvJOiTLtSYitVN/tyM3 nWLEP5aTf3NwrWr8nFFws6ycwhgTCX0ITbdFD/fMlLMamHYPkckJ/0NXXOxfGiLk kCMbdrCX4YTbCftmAQhrbdaPJVnE/SZI3CTJfutj8eX6NC2fm/U7Hcf5PI+W0Igd moN/PaUULpVZI5hUrADyU1HCQnA97pv0biYVwzW5pBIt2u9tzUritabuERxPt9fa SdHj0+u+xq9d3y35Oq46 =NIZZ -----END PGP SIGNATURE----- Merge tag 'late-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC late changes from Kevin Hilman: "These are changes that arrived a little late before the merge window, or had dependencies on previous branches. Highlights: - ux500: misc. cleanup, fixup I2C devices - exynos: DT updates for RTC; PM updates - at91: DT updates for NAND; new platforms added to generic defconfig - sunxi: DT updates: cubieboard2, pinctrl driver, gated clocks - highbank: LPAE fixes, select necessary ARM errata - omap: PM fixes and improvements; OMAP5 mailbox support - omap: basic support for new DRA7xx SoCs" * tag 'late-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (60 commits) ARM: dts: vexpress: Add CCI node to TC2 device-tree ARM: EXYNOS: Skip C1 cpuidle state for exynos5440 ARM: EXYNOS: always enable PM domains support for EXYNOS4X12 ARM: highbank: clean-up some unused includes ARM: sun7i: Enable the A20 clocks in the DTSI ARM: sun6i: Enable clock support in the DTSI ARM: sun5i: dt: Use the A10s gates in the DTSI ARM: at91: at91_dt_defconfig: enable rm9200 support ARM: dts: add ADC device tree node for exynos5420/5250 ARM: dts: Add RTC DT node to Exynos5420 SoC ARM: dts: Update the "status" property of RTC DT node for Exynos5250 SoC ARM: dts: Fix the RTC DT node name for Exynos5250 irqchip: mmp: avoid to include irqs head file ARM: mmp: avoid to include head file in mach-mmp irqchip: mmp: support irqchip irqchip: move mmp irq driver ARM: OMAP: AM33xx: clock: Add RNG clock data ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX ARM: OMAP4: clock: Lock PLLs in the right sequence ARM: OMAP: AM33XX: hwmod: Add hwmod data for debugSS ...
99 lines
2.7 KiB
C
99 lines
2.7 KiB
C
/*
|
|
* arch/arm/include/asm/mach/arch.h
|
|
*
|
|
* Copyright (C) 2000 Russell King
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#include <linux/reboot.h>
|
|
|
|
struct tag;
|
|
struct meminfo;
|
|
struct pt_regs;
|
|
struct smp_operations;
|
|
#ifdef CONFIG_SMP
|
|
#define smp_ops(ops) (&(ops))
|
|
#define smp_init_ops(ops) (&(ops))
|
|
#else
|
|
#define smp_ops(ops) (struct smp_operations *)NULL
|
|
#define smp_init_ops(ops) (bool (*)(void))NULL
|
|
#endif
|
|
|
|
struct machine_desc {
|
|
unsigned int nr; /* architecture number */
|
|
const char *name; /* architecture name */
|
|
unsigned long atag_offset; /* tagged list (relative) */
|
|
const char *const *dt_compat; /* array of device tree
|
|
* 'compatible' strings */
|
|
|
|
unsigned int nr_irqs; /* number of IRQs */
|
|
|
|
#ifdef CONFIG_ZONE_DMA
|
|
phys_addr_t dma_zone_size; /* size of DMA-able area */
|
|
#endif
|
|
|
|
unsigned int video_start; /* start of video RAM */
|
|
unsigned int video_end; /* end of video RAM */
|
|
|
|
unsigned char reserve_lp0 :1; /* never has lp0 */
|
|
unsigned char reserve_lp1 :1; /* never has lp1 */
|
|
unsigned char reserve_lp2 :1; /* never has lp2 */
|
|
enum reboot_mode reboot_mode; /* default restart mode */
|
|
struct smp_operations *smp; /* SMP operations */
|
|
bool (*smp_init)(void);
|
|
void (*fixup)(struct tag *, char **,
|
|
struct meminfo *);
|
|
void (*reserve)(void);/* reserve mem blocks */
|
|
void (*map_io)(void);/* IO mapping function */
|
|
void (*init_early)(void);
|
|
void (*init_irq)(void);
|
|
void (*init_time)(void);
|
|
void (*init_machine)(void);
|
|
void (*init_late)(void);
|
|
#ifdef CONFIG_MULTI_IRQ_HANDLER
|
|
void (*handle_irq)(struct pt_regs *);
|
|
#endif
|
|
void (*restart)(enum reboot_mode, const char *);
|
|
};
|
|
|
|
/*
|
|
* Current machine - only accessible during boot.
|
|
*/
|
|
extern const struct machine_desc *machine_desc;
|
|
|
|
/*
|
|
* Machine type table - also only accessible during boot
|
|
*/
|
|
extern const struct machine_desc __arch_info_begin[], __arch_info_end[];
|
|
#define for_each_machine_desc(p) \
|
|
for (p = __arch_info_begin; p < __arch_info_end; p++)
|
|
|
|
/*
|
|
* Set of macros to define architecture features. This is built into
|
|
* a table by the linker.
|
|
*/
|
|
#define MACHINE_START(_type,_name) \
|
|
static const struct machine_desc __mach_desc_##_type \
|
|
__used \
|
|
__attribute__((__section__(".arch.info.init"))) = { \
|
|
.nr = MACH_TYPE_##_type, \
|
|
.name = _name,
|
|
|
|
#define MACHINE_END \
|
|
};
|
|
|
|
#define DT_MACHINE_START(_name, _namestr) \
|
|
static const struct machine_desc __mach_desc_##_name \
|
|
__used \
|
|
__attribute__((__section__(".arch.info.init"))) = { \
|
|
.nr = ~0, \
|
|
.name = _namestr,
|
|
|
|
#endif
|