Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 01:12:03 +0000 (17:12 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 01:12:03 +0000 (17:12 -0800)
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits)
  powerpc/p3060qds: Add support for P3060QDS board
  powerpc/83xx: Add shutdown request support to MCU handling on MPC8349 MITX
  powerpc/85xx: Make kexec to interate over online cpus
  powerpc/fsl_booke: Fix comment in head_fsl_booke.S
  powerpc/85xx: issue 15 EOI after core reset for FSL CoreNet devices
  powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO driver
  powerpc/85xx: Add 'fsl,pq3-gpio' compatiable for GPIO driver
  powerpc/86xx: Correct Gianfar support for GE boards
  powerpc/cpm: Clear muram before it is in use.
  drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager
  powerpc/fsl_msi: add support for "msi-address-64" property
  powerpc/85xx: Setup secondary cores PIR with hard SMP id
  powerpc/fsl-booke: Fix settlbcam for 64-bit
  powerpc/85xx: Adding DCSR node to dtsi device trees
  powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
  powerpc/85xx: fix PHYS_64BIT selection for P1022DS
  powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map
  powerpc: respect mem= setting for early memory limit setup
  powerpc: Update corenet64_smp_defconfig
  powerpc: Update mpc85xx/corenet 32-bit defconfigs
  ...

Fix up trivial conflicts in:
 - arch/powerpc/configs/40x/hcu4_defconfig
removed stale file, edited elsewhere
 - arch/powerpc/include/asm/udbg.h, arch/powerpc/kernel/udbg.c:
added opal and gelic drivers vs added ePAPR driver
 - drivers/tty/serial/8250.c
moved UPIO_TSI to powerpc vs removed UPIO_DWAPB support

18 files changed:
1  2 
arch/powerpc/Kconfig
arch/powerpc/configs/ppc40x_defconfig
arch/powerpc/include/asm/udbg.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/udbg.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/platforms/40x/Kconfig
arch/powerpc/platforms/85xx/p1022_ds.c
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/net/ethernet/toshiba/ps3_gelic_net.c
drivers/net/ethernet/toshiba/ps3_gelic_net.h
drivers/of/fdt.c
drivers/tty/hvc/hvcs.c
drivers/tty/serial/8250.c
include/linux/dma-mapping.h
kernel/sched.c

Simple merge
Simple merge
@@@ -54,7 -54,9 +54,10 @@@ extern void __init udbg_init_40x_realmo
  extern void __init udbg_init_cpm(void);
  extern void __init udbg_init_usbgecko(void);
  extern void __init udbg_init_wsp(void);
 +extern void __init udbg_init_ehv_bc(void);
+ extern void __init udbg_init_ps3gelic(void);
+ extern void __init udbg_init_debug_opal_raw(void);
+ extern void __init udbg_init_debug_opal_hvsi(void);
  
  #endif /* __KERNEL__ */
  #endif /* _ASM_POWERPC_UDBG_H */
Simple merge
Simple merge
@@@ -67,8 -67,12 +67,14 @@@ void __init udbg_early_init(void
        udbg_init_usbgecko();
  #elif defined(CONFIG_PPC_EARLY_DEBUG_WSP)
        udbg_init_wsp();
 +#elif defined(CONFIG_PPC_EARLY_DEBUG_EHV_BC)
 +      udbg_init_ehv_bc();
+ #elif defined(CONFIG_PPC_EARLY_DEBUG_PS3GELIC)
+       udbg_init_ps3gelic();
+ #elif defined(CONFIG_PPC_EARLY_DEBUG_OPAL_RAW)
+       udbg_init_debug_opal_raw();
+ #elif defined(CONFIG_PPC_EARLY_DEBUG_OPAL_HVSI)
+       udbg_init_debug_opal_hvsi();
  #endif
  
  #ifdef CONFIG_PPC_EARLY_DEBUG
Simple merge
Simple merge
@@@ -127,9 -126,9 +127,9 @@@ static void p1022ds_set_gamma_table(enu
   * p1022ds_set_monitor_port: switch the output to a different monitor port
   *
   */
 -static void p1022ds_set_monitor_port(int monitor_port)
 +static void p1022ds_set_monitor_port(enum fsl_diu_monitor_port port)
  {
-       struct device_node *pixis_node;
+       struct device_node *np;
        void __iomem *pixis;
        u8 __iomem *brdcfg1;
  
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -450,24 -443,42 +450,6 @@@ static void au_serial_out(struct uart_p
        __raw_writel(value, p->membase + offset);
  }
  
- static unsigned int tsi_serial_in(struct uart_port *p, int offset)
 -/* Save the LCR value so it can be re-written when a Busy Detect IRQ occurs. */
 -static inline void dwapb_save_out_value(struct uart_port *p, int offset,
 -                                      int value)
--{
-       unsigned int tmp;
-       offset = map_8250_in_reg(p, offset) << p->regshift;
-       if (offset == UART_IIR) {
-               tmp = readl(p->membase + (UART_IIR & ~3));
-               return (tmp >> 16) & 0xff; /* UART_IIR % 4 == 2 */
-       } else
-               return readb(p->membase + offset);
 -      struct uart_8250_port *up =
 -              container_of(p, struct uart_8250_port, port);
 -
 -      if (offset == UART_LCR)
 -              up->lcr = value;
--}
--
- static void tsi_serial_out(struct uart_port *p, int offset, int value)
 -/* Read the IER to ensure any interrupt is cleared before returning from ISR. */
 -static inline void dwapb_check_clear_ier(struct uart_port *p, int offset)
 -{
 -      if (offset == UART_TX || offset == UART_IER)
 -              p->serial_in(p, UART_IER);
 -}
 -
 -static void dwapb_serial_out(struct uart_port *p, int offset, int value)
--{
 -      int save_offset = offset;
--      offset = map_8250_out_reg(p, offset) << p->regshift;
-       if (!((offset == UART_IER) && (value & UART_IER_UUE)))
-               writeb(value, p->membase + offset);
 -      dwapb_save_out_value(p, save_offset, value);
 -      writeb(value, p->membase + offset);
 -      dwapb_check_clear_ier(p, save_offset);
 -}
 -
 -static void dwapb32_serial_out(struct uart_port *p, int offset, int value)
 -{
 -      int save_offset = offset;
 -      offset = map_8250_out_reg(p, offset) << p->regshift;
 -      dwapb_save_out_value(p, save_offset, value);
 -      writel(value, p->membase + offset);
 -      dwapb_check_clear_ier(p, save_offset);
--}
--
  static unsigned int io_serial_in(struct uart_port *p, int offset)
  {
        offset = map_8250_in_reg(p, offset) << p->regshift;
@@@ -508,11 -517,16 +490,6 @@@ static void set_io_from_upio(struct uar
                p->serial_out = au_serial_out;
                break;
  
-       case UPIO_TSI:
-               p->serial_in = tsi_serial_in;
-               p->serial_out = tsi_serial_out;
 -      case UPIO_DWAPB:
 -              p->serial_in = mem_serial_in;
 -              p->serial_out = dwapb_serial_out;
 -              break;
 -
 -      case UPIO_DWAPB32:
 -              p->serial_in = mem32_serial_in;
 -              p->serial_out = dwapb32_serial_out;
--              break;
--
        default:
                p->serial_in = io_serial_in;
                p->serial_out = io_serial_out;
Simple merge
diff --cc kernel/sched.c
Simple merge