Changes in 4.9.321 vt: drop old FONT ioctls random: schedule mix_interrupt_randomness() less often ata: libata: add qc->flags in ata_qc_complete_template tracepoint dm era: commit metadata in postsuspend after worker stops random: quiet urandom warning ratelimit suppression message USB: serial: option: add Telit LE910Cx 0x1250 composition bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers x86/xen: Remove undefined behavior in setup_features() MIPS: Remove repetitive increase irq_err_count igb: Make DMA faster when CPU is active on the PCIe link iio: adc: vf610: fix conversion mode sysfs node name usb: chipidea: udc: check request status before setting device address iio:accel:bma180: rearrange iio trigger get and register iio: accel: mma8452: ignore the return value of reset operation iio: trigger: sysfs: fix use-after-free on remove xtensa: xtfpga: Fix refcount leak bug in setup xtensa: Fix refcount leak bug in time.c powerpc: Enable execve syscall exit tracepoint ARM: dts: imx6qdl: correct PU regulator ramp delay ARM: exynos: Fix refcount leak in exynos_map_pmu ARM: Fix refcount leak in axxia_boot_secondary ARM: cns3xxx: Fix refcount leak in cns3xxx_init modpost: fix section mismatch check for exported init/exit sections powerpc/pseries: wire up rng during setup_arch() drm: remove drm_fb_helper_modinit xen: unexport __init-annotated xen_xlate_map_ballooned_pages() fdt: Update CRC check for rng-seed kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] swiotlb: skip swiotlb_bounce when orig_addr is zero Linux 4.9.321 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ie00bdc5e2dcd549184919936708d5b0783954b1e
87 lines
2.3 KiB
C
87 lines
2.3 KiB
C
/*
|
|
* Copyright 2006 IBM Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef _PSERIES_PSERIES_H
|
|
#define _PSERIES_PSERIES_H
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <asm/rtas.h>
|
|
|
|
struct device_node;
|
|
|
|
extern void request_event_sources_irqs(struct device_node *np,
|
|
irq_handler_t handler, const char *name);
|
|
|
|
#include <linux/of.h>
|
|
|
|
struct pt_regs;
|
|
|
|
extern int pSeries_system_reset_exception(struct pt_regs *regs);
|
|
extern int pSeries_machine_check_exception(struct pt_regs *regs);
|
|
|
|
#ifdef CONFIG_SMP
|
|
extern void smp_init_pseries(void);
|
|
#else
|
|
static inline void smp_init_pseries(void) { };
|
|
#endif
|
|
|
|
extern void pseries_kexec_cpu_down(int crash_shutdown, int secondary);
|
|
|
|
extern void pSeries_final_fixup(void);
|
|
|
|
/* Poweron flag used for enabling auto ups restart */
|
|
extern unsigned long rtas_poweron_auto;
|
|
|
|
/* Provided by HVC VIO */
|
|
extern void hvc_vio_init_early(void);
|
|
|
|
/* Dynamic logical Partitioning/Mobility */
|
|
extern void dlpar_free_cc_nodes(struct device_node *);
|
|
extern void dlpar_free_cc_property(struct property *);
|
|
extern struct device_node *dlpar_configure_connector(__be32,
|
|
struct device_node *);
|
|
extern int dlpar_attach_node(struct device_node *);
|
|
extern int dlpar_detach_node(struct device_node *);
|
|
extern int dlpar_acquire_drc(u32 drc_index);
|
|
extern int dlpar_release_drc(u32 drc_index);
|
|
|
|
void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog,
|
|
struct completion *hotplug_done, int *rc);
|
|
#ifdef CONFIG_MEMORY_HOTPLUG
|
|
int dlpar_memory(struct pseries_hp_errorlog *hp_elog);
|
|
#else
|
|
static inline int dlpar_memory(struct pseries_hp_errorlog *hp_elog)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
int dlpar_cpu(struct pseries_hp_errorlog *hp_elog);
|
|
#else
|
|
static inline int dlpar_cpu(struct pseries_hp_errorlog *hp_elog)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|
|
|
|
/* PCI root bridge prepare function override for pseries */
|
|
struct pci_host_bridge;
|
|
int pseries_root_bridge_prepare(struct pci_host_bridge *bridge);
|
|
|
|
extern struct pci_controller_ops pseries_pci_controller_ops;
|
|
|
|
unsigned long pseries_memory_block_size(void);
|
|
|
|
void pseries_setup_rfi_flush(void);
|
|
|
|
void pseries_rng_init(void);
|
|
|
|
#endif /* _PSERIES_PSERIES_H */
|