Merge branch 'linus' into sched/core
Merge reason: Move from the -rc3 to the almost-rc6 base. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#include <linux/lmb.h>
|
||||
#include <linux/memblock.h>
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
@@ -6,6 +6,30 @@
|
||||
#include <linux/errno.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
/*
|
||||
* SPI Parameter RAM common to QE and CPM.
|
||||
*/
|
||||
struct spi_pram {
|
||||
__be16 rbase; /* Rx Buffer descriptor base address */
|
||||
__be16 tbase; /* Tx Buffer descriptor base address */
|
||||
u8 rfcr; /* Rx function code */
|
||||
u8 tfcr; /* Tx function code */
|
||||
__be16 mrblr; /* Max receive buffer length */
|
||||
__be32 rstate; /* Internal */
|
||||
__be32 rdp; /* Internal */
|
||||
__be16 rbptr; /* Internal */
|
||||
__be16 rbc; /* Internal */
|
||||
__be32 rxtmp; /* Internal */
|
||||
__be32 tstate; /* Internal */
|
||||
__be32 tdp; /* Internal */
|
||||
__be16 tbptr; /* Internal */
|
||||
__be16 tbc; /* Internal */
|
||||
__be32 txtmp; /* Internal */
|
||||
__be32 res; /* Tx temp. */
|
||||
__be16 rpbase; /* Relocation pointer (CPM1 only) */
|
||||
__be16 res1; /* Reserved */
|
||||
};
|
||||
|
||||
/*
|
||||
* USB Controller pram common to QE and CPM.
|
||||
*/
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#ifndef __CPM1__
|
||||
#define __CPM1__
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/cpm.h>
|
||||
@@ -54,7 +55,7 @@ extern cpm8xx_t __iomem *cpmp; /* Pointer to comm processor */
|
||||
|
||||
extern void cpm_setbrg(uint brg, uint rate);
|
||||
|
||||
extern void cpm_load_patch(cpm8xx_t *cp);
|
||||
extern void __init cpm_load_patch(cpm8xx_t *cp);
|
||||
|
||||
extern void cpm_reset(void);
|
||||
|
||||
|
||||
@@ -358,7 +358,6 @@ extern void exc_lvl_ctx_init(void);
|
||||
#define exc_lvl_ctx_init()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IRQSTACKS
|
||||
/*
|
||||
* Per-cpu stacks for handling hard and soft interrupts.
|
||||
*/
|
||||
@@ -369,11 +368,6 @@ extern void irq_ctx_init(void);
|
||||
extern void call_do_softirq(struct thread_info *tp);
|
||||
extern int call_handle_irq(int irq, void *p1,
|
||||
struct thread_info *tp, void *func);
|
||||
#else
|
||||
#define irq_ctx_init()
|
||||
|
||||
#endif /* CONFIG_IRQSTACKS */
|
||||
|
||||
extern void do_IRQ(struct pt_regs *regs);
|
||||
|
||||
#endif /* _ASM_IRQ_H */
|
||||
|
||||
@@ -3,8 +3,17 @@
|
||||
|
||||
#include <asm/page.h>
|
||||
|
||||
/* Kdump kernel runs at 32 MB, change at your peril. */
|
||||
/*
|
||||
* If CONFIG_RELOCATABLE is enabled we can place the kdump kernel anywhere.
|
||||
* To keep enough space in the RMO for the first stage kernel on 64bit, we
|
||||
* place it at 64MB. If CONFIG_RELOCATABLE is not enabled we must place
|
||||
* the second stage at 32MB.
|
||||
*/
|
||||
#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_PPC64)
|
||||
#define KDUMP_KERNELBASE 0x4000000
|
||||
#else
|
||||
#define KDUMP_KERNELBASE 0x2000000
|
||||
#endif
|
||||
|
||||
/* How many bytes to reserve at zero for kdump. The reserve limit should
|
||||
* be greater or equal to the trampoline's end address.
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#ifndef _ASM_POWERPC_LMB_H
|
||||
#define _ASM_POWERPC_LMB_H
|
||||
|
||||
#include <asm/udbg.h>
|
||||
|
||||
#define LMB_DBG(fmt...) udbg_printf(fmt)
|
||||
|
||||
#ifdef CONFIG_PPC32
|
||||
extern phys_addr_t lowmem_end_addr;
|
||||
#define LMB_REAL_LIMIT lowmem_end_addr
|
||||
#else
|
||||
#define LMB_REAL_LIMIT 0
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_POWERPC_LMB_H */
|
||||
15
arch/powerpc/include/asm/memblock.h
Normal file
15
arch/powerpc/include/asm/memblock.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _ASM_POWERPC_MEMBLOCK_H
|
||||
#define _ASM_POWERPC_MEMBLOCK_H
|
||||
|
||||
#include <asm/udbg.h>
|
||||
|
||||
#define MEMBLOCK_DBG(fmt...) udbg_printf(fmt)
|
||||
|
||||
#ifdef CONFIG_PPC32
|
||||
extern phys_addr_t lowmem_end_addr;
|
||||
#define MEMBLOCK_REAL_LIMIT lowmem_end_addr
|
||||
#else
|
||||
#define MEMBLOCK_REAL_LIMIT 0
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_POWERPC_MEMBLOCK_H */
|
||||
@@ -24,11 +24,7 @@
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/types.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
@@ -364,13 +360,13 @@ static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
struct ppc_debug_info {
|
||||
uint32_t version; /* Only version 1 exists to date */
|
||||
uint32_t num_instruction_bps;
|
||||
uint32_t num_data_bps;
|
||||
uint32_t num_condition_regs;
|
||||
uint32_t data_bp_alignment;
|
||||
uint32_t sizeof_condition; /* size of the DVC register */
|
||||
uint64_t features;
|
||||
__u32 version; /* Only version 1 exists to date */
|
||||
__u32 num_instruction_bps;
|
||||
__u32 num_data_bps;
|
||||
__u32 num_condition_regs;
|
||||
__u32 data_bp_alignment;
|
||||
__u32 sizeof_condition; /* size of the DVC register */
|
||||
__u64 features;
|
||||
};
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
@@ -386,13 +382,13 @@ struct ppc_debug_info {
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
struct ppc_hw_breakpoint {
|
||||
uint32_t version; /* currently, version must be 1 */
|
||||
uint32_t trigger_type; /* only some combinations allowed */
|
||||
uint32_t addr_mode; /* address match mode */
|
||||
uint32_t condition_mode; /* break/watchpoint condition flags */
|
||||
uint64_t addr; /* break/watchpoint address */
|
||||
uint64_t addr2; /* range end or mask */
|
||||
uint64_t condition_value; /* contents of the DVC register */
|
||||
__u32 version; /* currently, version must be 1 */
|
||||
__u32 trigger_type; /* only some combinations allowed */
|
||||
__u32 addr_mode; /* address match mode */
|
||||
__u32 condition_mode; /* break/watchpoint condition flags */
|
||||
__u64 addr; /* break/watchpoint address */
|
||||
__u64 addr2; /* range end or mask */
|
||||
__u64 condition_value; /* contents of the DVC register */
|
||||
};
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
Reference in New Issue
Block a user