06 Aug, 2010

1 commit

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (79 commits)
    powerpc/8xx: Add support for the MPC8xx based boards from TQC
    powerpc/85xx: Introduce support for the Freescale P1022DS reference board
    powerpc/85xx: Adding DTS for the STx GP3-SSA MPC8555 board
    powerpc/85xx: Change deprecated binding for 85xx-based boards
    powerpc/tqm85xx: add a quirk for ti1520 PCMCIA bridge
    powerpc/tqm85xx: update PCI interrupt-map attribute
    powerpc/mpc8308rdb: support for MPC8308RDB board from Freescale
    powerpc/fsl_pci: add quirk for mpc8308 pcie bridge
    powerpc/85xx: Cleanup QE initialization for MPC85xxMDS boards
    powerpc/85xx: Fix booting for P1021MDS boards
    powerpc/85xx: Fix SWIOTLB initalization for MPC85xxMDS boards
    powerpc/85xx: kexec for SMP 85xx BookE systems
    powerpc/5200/i2c: improve i2c bus error recovery
    of/xilinxfb: update tft compatible versions
    powerpc/fsl-diu-fb: Support setting display mode using EDID
    powerpc/5121: doc/dts-bindings: update doc of FSL DIU bindings
    powerpc/5121: shared DIU framebuffer support
    powerpc/5121: move fsl-diu-fb.h to include/linux
    powerpc/5121: fsl-diu-fb: fix issue with re-enabling DIU area descriptor
    powerpc/512x: add clock structure for Video-IN (VIU) unit
    ...

    Linus Torvalds
     

05 Aug, 2010

39 commits

  • * 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze: (49 commits)
    microblaze: Add KGDB support
    microblaze: Support brki rX, 0x18 for user application debugging
    microblaze: Remove nop after MSRCLR/SET, MTS, MFS instructions
    microblaze: Simplify syscall rutine
    microblaze: Move PT_MODE saving to delay slot
    microblaze: Fix _interrupt function
    microblaze: Fix _user_exception function
    microblaze: Put together addik instructions
    microblaze: Use delay slot in syscall macros
    microblaze: Save kernel mode in delay slot
    microblaze: Do not mix register saving and mode setting
    microblaze: Move SAVE_STATE upward
    microblaze: entry.S: Macro optimization
    microblaze: Optimize hw exception rutine
    microblaze: Implement clear_ums macro and fix SAVE_STATE macro
    microblaze: Remove additional setup for kernel_mode
    microblaze: Optimize SAVE_STATE macro
    microblaze: Remove additional loading
    microblaze: Completely remove working with R11 register
    microblaze: Do not setup BIP in _debug_exception
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    arch/sparc/mm: Use GFP_KERNEL
    MAINTAINERS: Add trailing slash to SBUS path.
    sbus: autoconvert trivial BKL users to private mutex

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] increase ia64 static per cpu area
    [IA64] Put ia64 config files on the Uwe Kleine-König diet
    [IA64] perfmon: convert to unlocked_ioctl
    [IA64] beautify vmlinux.lds.h

    Linus Torvalds
     
  • * 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus: (150 commits)
    MIPS: PowerTV: Separate PowerTV USB support from non-USB code
    MIPS: strip the un-needed sections of vmlinuz
    MIPS: Clean up the calculation of VMLINUZ_LOAD_ADDRESS
    MIPS: Clean up arch/mips/boot/compressed/decompress.c
    MIPS: Clean up arch/mips/boot/compressed/ld.script
    MIPS: Unify the suffix of compressed vmlinux.bin
    MIPS: PowerTV: Add Gaia platform definitions.
    MIPS: BCM47xx: Fix nvram_getenv return value.
    MIPS: Octeon: Allow more than 3.75GB of memory with PCIe
    MIPS: Clean up notify_die() usage.
    MIPS: Remove unused task_struct.trap_no field.
    Documentation: Mention that KProbes is supported on MIPS
    SAMPLES: kprobe_example: Make it print something on MIPS.
    MIPS: kprobe: Add support.
    MIPS: Add instrunction format for BREAK and SYSCALL
    MIPS: kprobes: Define regs_return_value()
    MIPS: Ritually kill stupid printk.
    MIPS: Octeon: Disallow MSI-X interrupt and fall back to MSI interrupts.
    MIPS: Octeon: Support 256 MSI on PCIe
    MIPS: Decode core number for R2 CPUs.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6:
    xtensa: Disable PCI and nfsroot on simulation target
    xtensa: Add missing include in coprocessor.h
    xtensa: Fix the network driver for the simulator target
    xtensa: Shuffle include statements to fix linker script
    xtensa: Add -mforce-no-pic option is supported
    xtensa: Fixes due to bss boundary symbol name changes.
    xtensa: Fix linker script patch-up
    xtensa: Fix FLUSH_DCACHE macro for some variants.

    Linus Torvalds
     
  • Separate USB code into a file separate from asic/asic_devices.

    Separating the USB code from everything else in asic/asic_devices.c goes
    a long way toward reducing the use of that file as a dumping ground for
    everything that didn't seem to fit anywhere else.

    Signed-off-by: David VomLehn
    To: linux-mips@linux-mips.org
    Cc: greg@kroah.com
    Cc: linux-usb@vger.kernel.org
    Patchwork: http://patchwork.linux-mips.org/patch/1522/
    Signed-off-by: Ralf Baechle

    David VomLehn
     
  • This patch use "strip -s" to strip the .symtab and .strtab sections of
    vmlinuz.

    Note: This patch is based on http://patchwork.linux-mips.org/patch/1324/

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1383/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • We have calculated VMLINUZ_LOAD_ADDRESS in shell, which is indecipherable. This
    patch rewrites it in C.

    Signed-off-by: Wu Zhangjin
    To: linux-mips
    Cc: Alexander Clouter
    Cc: Manuel Lauss
    Cc: Sam Ravnborg
    Acked-by: Sam Ravnborg
    Reviewed-by: Alexander Clouter
    Patchwork: https://patchwork.linux-mips.org/patch/1324/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • - Remove several outdated comments
    - Clearify the definition of zimage_start and zimage_size and the their
    usage

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1382/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • - Remove unused symbols: _fdata, _text; only _edata and _end are needed by
    head.S
    - Remove unused sections: .sbss, .stab, .gptab.sdata, .gptab.sbss
    - Change the alignment to 16 bytes to ensure it is greater than any
    fundamental type of a MIPS compiler.
    - Clean up comments

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1381/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • The compressed vmlinux.bin is only a temp file so it's ok to use the same
    suffix .z for them (.gz,.lzo,.lzma...) to remove several lines and simpify
    the maintenance (no need to add the "suffix_$(xxx) := suffix" line).

    Signed-off-by: Wu Zhangjin
    To: linux-mips
    Cc: Alexander Clouter
    Cc: Manuel Lauss
    Cc: Sam Ravnborg
    Patchwork: https://patchwork.linux-mips.org/patch/1323/
    Signed-off-by: Ralf Baechle

    ---

    Wu Zhangjin
     
  • Define ASIC address, memory preallocations, and initialization code for the
    Gaia platform.

    Signed-off-by: David VomLehn
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1519/
    Signed-off-by: Ralf Baechle

    David VomLehn
     
  • Nvram_getenv should behave like cfe_getenv. cfe_getenv returns 0 on
    success and -9 if the value was not found. If the input was wrong -8
    will be returned by cfe_getenv. Change nvram_getenv to do the same.

    Signed-off-by: Hauke Mehrtens
    Cc: Waldemar Brodkorb
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1520/
    Signed-off-by: Ralf Baechle

    Hauke Mehrtens
     
  • We reserve the 3.75GB - 4GB region of PCIe address space for device to
    device transfers, making the corresponding physical memory under
    direct mapping unavailable for DMA.

    To allow for PCIe DMA to all physical memory we map this chunk of
    physical memory with BAR1. Because of the resulting discontinuity in
    the mapping function, we remove a page of memory at each end of the
    range so multi-page DMA buffers can never be allocated that span the
    range.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1535/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • The sixth argument of notify_die() is a signal number, the fifth is a
    trap number.

    Instead of passing a signal number in a randomly selected argument,
    pass it in the sixth. Extract the exception code from regs and pass
    that as the trap number.

    Get rid of redundant cast, and remove some gratuitous spaces.

    Nobody actually does anything with the signal number or trap number,
    but we might as well populate them with sensible values.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1532/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • It is initialized to zero and only ever read. Remove it, and pass zero in
    its place.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1531/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • This patch is based on previous work by Sony and Himanshu Chauhan.

    I have done some cleanup and implemented JProbes and KRETPROBES. The
    KRETPROBES part is pretty much copied verbatim from powerpc. A possible
    future enhance might be to factor out the common code.

    Signed-off-by: David Daney
    Cc: Himanshu Chauhan
    To: linux-mips@linux-mips.org
    To: ananth@in.ibm.com,
    To: anil.s.keshavamurthy@intel.com
    To: davem@davemloft.net
    To: masami.hiramatsu.pt@hitachi.com
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1525/
    Patchwork: https://patchwork.linux-mips.org/patch/1530/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: ananth@in.ibm.com
    To: anil.s.keshavamurthy@intel.com
    To: davem@davemloft.net
    To: masami.hiramatsu.pt@hitachi.com
    Cc: linux-kernel@vger.kernel.org
    Cc: hschauhan@nulltrace.org
    Patchwork: https://patchwork.linux-mips.org/patch/1524/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: ananth@in.ibm.com
    To: anil.s.keshavamurthy@intel.com
    To: davem@davemloft.net
    To: masami.hiramatsu.pt@hitachi.com
    Cc: linux-kernel@vger.kernel.org,
    Cc: hschauhan@nulltrace.org
    Patchwork: https://patchwork.linux-mips.org/patch/1529/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • This belongs into userland.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     
  • MSI-X interrupts are not supported yet for Octeon, return error if
    MSI-X interrupts are requested by driver so that the driver will fall
    back to use MSI interrupts.

    Signed-off-by: Chandrakala Chavva
    To: linux-mips@linux-mips.org
    Cc: David Daney
    Patchwork: https://patchwork.linux-mips.org/patch/1506/
    Signed-off-by: Ralf Baechle
    Signed-off-by: David Daney

    Chandrakala Chavva
     
  • Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1507/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • The struct cpuinfo_mips.core field should be populated with the
    physical core number. For R2 CPUs, this is carried in the low 10 bits
    of Ebase.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1505/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • While at it, drop 0x prefix.

    Signed-off-by: Kulikov Vasiliy
    To: kernel-janitors@vger.kernel.org
    Cc: Chris Dearman
    Cc: "Robert P. J. Day"
    Cc: Rusty Russell
    Cc: André Goddard Rosa
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1458/
    Signed-off-by: Ralf Baechle

    Kulikov Vasiliy
     
  • LOONGSON2_PERFCNT_IRQ is used for the irq number of the performance
    overflow interrupts; LOONGSON_PERFCNT_IRQ is unused so remove it.

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1494/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • On FuLoong-2F IP6 is shared by the performance counter overflow interrupt
    and the Bonito northbridge interrupt. To reduce overhead only call
    do_IRQ() when oprofile is enabled to reduce overhead.

    This patch adds an inline function do_perfcnt_IRQ() to hide the #if's ,
    which can be shared by the other Loongson machines, i.e. gdium.

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1492/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • set_irq_trigger_mode() is not needed on all platforms so remove it
    and move the related source code to mach_init_irq().

    This will allow gdium to share the common irq.c without adding an empty
    set_irq_trigger_mode().

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1493/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     
  • This is used by the forthcoming OCTEON watchdog patch.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1498/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • The forthcoming Octeon watchdog driver will use them.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1499/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • The forthcoming watchdog driver will use it.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1499/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • A 'select EXPORT_UASM' in Kconfig will cause the uasm to be exported
    for use in modules. When it is exported, all the uasm data and code
    cease to be __init and __initdata.

    Also daddiu_bug cannot be __cpuinitdata if uasm is exported. The
    cleanest thing is to just make it normal data.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1500/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • These are OCTEON specific instructions.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1496/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    To: wim@iguana.be
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1495/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Power throttling make deterministic delay loops impossible.
    Re-implement delays using the cycle counter. This also allows us to
    get rid of the code that calculates loops per jiffy.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1317/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Add support for the qi_lb60 (a.k.a QI Ben NanoNote) clamshell device.

    Signed-off-by: Lars-Peter Clausen
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1472/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen
     
  • Signed-off-by: Lars-Peter Clausen
    Acked-by: Matt Fleming
    Cc: Andrew Morton
    Cc: Matt Fleming
    Cc: linux-mmc@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1463/
    Patchwork: https://patchwork.linux-mips.org/patch/1523/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen
     
  • Add support for the NAND controller on JZ4740 SoCs.

    Signed-off-by: Lars-Peter Clausen
    Cc: David Woodhouse
    Cc: linux-mtd@lists.infradead.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1470/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen
     
  • Add support for the LCD controller on JZ4740 SoCs.

    Signed-off-by: Lars-Peter Clausen
    Cc: Andrew Morton
    Cc: linux-fbdev@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1470/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen
     
  • Add the Kbuild files for the JZ4740 architecture and adds JZ4740 support
    to the MIPS Kbuild files.

    Signed-off-by: Lars-Peter Clausen
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1406/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen