01 Aug, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k/math-emu: Remove unnecessary code
    m68k/math-emu: Remove commented out old code
    m68k: Kill warning in setup_arch() when compiling for Sun3
    m68k/atari: Prefix GPIO_{IN,OUT} with CODEC_
    sparc: iounmap() and *_free_coherent() - Use lookup_resource()
    m68k/atari: Reserve some ST-RAM early on for device buffer use
    m68k/amiga: Chip RAM - Use lookup_resource()
    resources: Add lookup_resource()
    sparc: _sparc_find_resource() should check for exact matches
    m68k/amiga: Chip RAM - Offset resource end by CHIP_PHYSADDR
    m68k/amiga: Chip RAM - Use resource_size() to fix off-by-one error
    m68k/amiga: Chip RAM - Change chipavail to an atomic_t
    m68k/amiga: Chip RAM - Always allocate from the start of memory
    m68k/amiga: Chip RAM - Convert from printk() to pr_*()
    m68k/amiga: Chip RAM - Use tabs for indentation

    Linus Torvalds
     

31 Jul, 2011

14 commits


30 Jul, 2011

8 commits

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (430 commits)
    [media] ir-mce_kbd-decoder: include module.h for its facilities
    [media] ov5642: include module.h for its facilities
    [media] em28xx: Fix DVB-C maxsize for em2884
    [media] tda18271c2dd: Fix saw filter configuration for DVB-C @6MHz
    [media] v4l: mt9v032: Fix Bayer pattern
    [media] V4L: mt9m111: rewrite set_pixfmt
    [media] V4L: mt9m111: fix missing return value check mt9m111_reg_clear
    [media] V4L: initial driver for ov5642 CMOS sensor
    [media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails
    [media] V4L: soc-camera: remove soc-camera bus and devices on it
    [media] V4L: soc-camera: un-export the soc-camera bus
    [media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier
    [media] V4L: add media bus configuration subdev operations
    [media] V4L: soc-camera: group struct field initialisations together
    [media] V4L: soc-camera: remove now unused soc-camera specific PM hooks
    [media] V4L: pxa-camera: switch to using standard PM hooks
    [media] NetUP Dual DVB-T/C CI RF: force card hardware revision by module param
    [media] Don't OOPS if videobuf_dvb_get_frontend return NULL
    [media] NetUP Dual DVB-T/C CI RF: load firmware according card revision
    [media] omap3isp: Support configurable HS/VS polarities
    ...

    Fix up conflicts:
    - arch/arm/mach-omap2/board-rx51-peripherals.c:
    cleanup regulator supply definitions in mach-omap2
    vs
    OMAP3: RX-51: define vdds_csib regulator supply
    - drivers/staging/tm6000/tm6000-alsa.c (trivial)

    Linus Torvalds
     
  • remove unnecessary code that matches this coccinelle pattern

    if (...)
    return ret;
    return ret;

    Signed-off-by: Greg Dietsche
    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    Greg Dietsche
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI: remove printks about disabled bridge windows
    PCI: fold pci_calc_resource_flags() into decode_bar()
    PCI: treat mem BAR type "11" (reserved) as 32-bit, not 64-bit, BAR
    PCI: correct pcie_set_readrq write size
    PCI: pciehp: change wait time for valid configuration access
    x86/PCI: Preserve existing pci=bfsort whitelist for Dell systems
    PCI: ARI is a PCIe v2 feature
    x86/PCI: quirks: Use pci_dev->revision
    PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
    PCI hotplug: cpqphp: use pci_dev->vendor
    PCI hotplug: cpqphp: use pci_dev->subsystem_{vendor|device}
    x86/PCI: config space accessor functions should not ignore the segment argument
    PCI: Assign values to 'pci_obff_signal_type' enumeration constants
    x86/PCI: reduce severity of host bridge window conflict warnings
    PCI: enumerate the PCI device only removed out PCI hieratchy of OS when re-scanning PCI
    PCI: PCIe AER: add aer_recover_queue
    x86/PCI: select direct access mode for mmconfig option
    PCI hotplug: Rename is_ejectable which also exists in dock.c

    Linus Torvalds
     
  • * 'upstream/xen-tracing2' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen:
    xen/tracing: fix compile errors when tracing is disabled.

    Linus Torvalds
     
  • * 'at91/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
    at91: add arch specific ioremap support
    at91: factorize sram init
    at91: move register clocks to soc generic init
    at91: move clock subsystem init to soc generic init
    at91: use structure to store the current soc
    at91: remove AT91_DBGU offset from dbgu register macro
    at91: factorize at91 interrupts init to soc
    at91: introduce commom AT91_BASE_SYS

    Linus Torvalds
     
  • * 'next/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (21 commits)
    arm/dt: tegra devicetree support
    arm/versatile: Add device tree support
    dt/irq: add irq_domain_generate_simple() helper
    irq: add irq_domain translation infrastructure
    dmaengine: imx-sdma: add device tree probe support
    dmaengine: imx-sdma: sdma_get_firmware does not need to copy fw_name
    dmaengine: imx-sdma: use platform_device_id to identify sdma version
    mmc: sdhci-esdhc-imx: add device tree probe support
    mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host
    mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx()
    mmc: sdhci-esdhc-imx: do not reference platform data after probe
    mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5
    net/fec: add device tree probe support
    net: ibm_newemac: convert it to use of_get_phy_mode
    dt/net: add helper function of_get_phy_mode
    net/fec: gasket needs to be enabled for some i.mx
    serial/imx: add device tree probe support
    serial/imx: get rid of the uses of cpu_is_mx1()
    arm/dt: Add dtb make rule
    arm/dt: Add skeleton dtsi file
    ...

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
    ARM: zynq: remove incorrectly deleted file
    ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-watchdog: (25 commits)
    watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
    watchdog: WatchDog Timer Driver Core - Add ioctl call
    watchdog: WatchDog Timer Driver Core - Add nowayout feature
    watchdog: WatchDog Timer Driver Core - Add Magic Close feature
    watchdog: WatchDog Timer Driver Core - Add WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctl
    watchdog: WatchDog Timer Driver Core - Add WDIOC_SETOPTIONS ioctl
    watchdog: WatchDog Timer Driver Core - Add WDIOC_KEEPALIVE ioctl
    watchdog: WatchDog Timer Driver Core - Add basic ioctl functionality
    watchdog: WatchDog Timer Driver Core - Add basic framework
    watchdog: hpwdt: add next gen HP servers
    watchdog: it8712f_wdt.c: improve includes
    watchdog: at91sam9/wdt: move register header to drivers
    watchdog: Add Xilinx watchdog timer driver
    watchdog: remove empty pm-functions
    watchdog: sp805: Flush posted writes in enable/disable.
    watchdog: sp805: Don't write 0 to the load value register.
    watchdog: imx2_wdt: add device tree probe support
    watchdog: s3c2410: Add support for device tree based probe
    watchdog: mpcore_wdt: Add suspend/resume support.
    watchdog: mtx1-wdt: use dev_{err,info} instead of printk()
    ...

    Linus Torvalds
     

29 Jul, 2011

1 commit

  • My previous commit left the file empty and present in the
    Makefile, which is a bit dirty and caused problems with
    'make distclean', as pointed out by David Howells.
    This hopefully cleans it up the right way.

    Signed-off-by: Arnd Bergmann
    Acked-by: David Howells
    Acked-by: John Linn

    Arnd Bergmann
     

28 Jul, 2011

16 commits

  • Arnd Bergmann
     
  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • instead of reading the registers everytime

    the current implementation respect the following constrain:
    - allow 1 to n soc to be enabled
    - allow to have a virtual cpu type and subtype
    - always detect the cpu type and subtype and report it
    - detect if the soc support is enabled
    - prepare for sysfs export support
    - drop soc specific code via compiler when the soc not enabled
    (via cpu_is_xxx)

    Today if we read the exid we will have the same value for 9g35 and 9m11
    and we will need to check the cidr too

    with the new implementation we just need to check the soc subtype

    this will also allow to have specific virtual subtype for rm9200 which the
    board will have to specify via at91rm9200_set_type(int) as we have no way to
    detect it.

    this implementation is inspired by the SH cpu detection support

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • to make the soc base specified at runtime instead of compiled time

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

    Jean-Christophe PLAGNIOL-VILLARD
     
  • they are the same except the default priority

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • On all at91 except rm9200 and x40 have the System Controller starts
    at address 0xffffc000 and has a size of 16KiB.

    On rm9200 it's start at 0xfffe4000 of 111KiB with non reserved data starting
    at 0xfffff000

    This patch removes the individual definitions of AT91_BASE_SYS and
    replaces them with a common version at base 0xfffffc000 and size 16KiB
    and map the same memory space

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez

    Jean-Christophe PLAGNIOL-VILLARD
     
  • Everything required to populate NVIDIA Tegra devices from the device
    tree. This patch adds a new DT_MACHINE_DESC() which matches against
    a tegra20 device tree. So far it only registers the on-chip devices,
    but it will be refined in follow on patches to configure clocks and
    pin IO from the device tree also.

    Signed-off-by: Grant Likely

    Grant Likely
     
  • For testing the dt work, define a dt-enabled versatile platform.

    This patch adds a new versatile platform for when using the device
    tree. Add platform and amba devices are discovered and registered by
    parsing the device tree. Clocks and initial io mappings are still
    configured statically.

    This patch still depends on some static platform_data for a few devices
    which is passed via the auxdata structure to of_platform_populate(),
    but it is a viable starting point until the drivers can get all
    configuration data out of the device tree.

    Signed-off-by: Grant Likely

    Grant Likely
     
  • This patch adds irq_domain infrastructure for translating from
    hardware irq numbers to linux irqs. This is particularly important
    for architectures adding device tree support because the current
    implementation (excluding PowerPC and SPARC) cannot handle
    translation for more than a single interrupt controller. irq_domain
    supports device tree translation for any number of interrupt
    controllers.

    This patch converts x86, Microblaze, ARM and MIPS to use irq_domain
    for device tree irq translation. x86 is untested beyond compiling it,
    irq_domain is enabled for MIPS and Microblaze, but the old behaviour is
    preserved until the core code is modified to actually register an
    irq_domain yet. On ARM it works and is required for much of the new
    ARM device tree board support.

    PowerPC has /not/ been converted to use this new infrastructure. It
    is still missing some features before it can replace the virq
    infrastructure already in powerpc (see documentation on
    irq_domain_map/unmap for details). Followup patches will add the
    missing pieces and migrate PowerPC to use irq_domain.

    SPARC has its own method of managing interrupts from the device tree
    and is unaffected by this change.

    Acked-by: Ralf Baechle
    Signed-off-by: Grant Likely

    Grant Likely
     
  • The cpu compatible string we look for is "SPARC-T3".

    As far as memset/memcpy optimizations go, we treat this chip the same
    as Niagara-T2/T2+. Use cache initializing stores for memset, and use
    perfetch, FPU block loads, cache initializing stores, and block stores
    for copies.

    We use the Niagara-T2 perf support, since T3 is a close relative in
    this regard. Later we'll add support for the new events T3 can
    report, plus enable T3's new "sample" mode.

    For now I haven't added any new ELF hwcap flags. We probably need
    to add a couple, for example:

    T2 and T3 both support the population count instruction in hardware.

    T3 supports VIS3 instructions, including support (finally) for
    partitioned shift. One can also now move directly between float
    and integer registers.

    T3 supports instructions meant to help with Galois Field and other HPC
    calculations, such as XOR multiply. Also there are "OP and negate"
    instructions, for example "fnmul" which is multiply-and-negate.

    T3 recognizes the transactional memory opcodes, however since
    transactional memory isn't supported: 1) 'commit' behaves as a NOP and
    2) 'chkpt' always branches 3) 'rdcps' returns all zeros and 4) 'wrcps'
    behaves as a NOP.

    So we'll need about 3 new elf capability flags in the end to represent
    all of these things.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • The hypervisor call is only necessary if hypervisor events are
    being requested.

    So if we're not tracking hypervisor events, simply do a direct
    register write.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Signed-off-by: David S. Miller

    David S. Miller
     
  • Otherwise we'll crash in the sparc perf init code.

    Signed-off-by: David S. Miller

    David S. Miller