30 Oct, 2008

8 commits


08 Oct, 2008

2 commits


17 Aug, 2008

1 commit


10 Aug, 2008

1 commit


09 Aug, 2008

2 commits


07 Aug, 2008

4 commits


04 Aug, 2008

1 commit

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 5182/1: pxa: Fix pcm990 compilation
    [ARM] Fix explicit asm(-arm)?/arch-foo references
    [ARM] move include/asm-arm to arch/arm/include/asm
    [ARM] Remove explicit dependency for misc.o from compressed/Makefile
    [ARM] initrd: claim initrd memory exclusively
    [ARM] pxa: add support for L2 outer cache on XScale3 (attempt 2)
    [ARM] 5180/1: at91: Fix at91_nand -> atmel_nand rename fallout
    [ARM] add Sascha Hauer as Freescale i.MX Maintainer
    [ARM] i.MX: add missing clock functions exports
    [ARM] i.MX: remove set_imx_fb_info() export
    [ARM] mx1ads: make mmc platform data available for modules
    [ARM] mx2: add missing Kconfig dependency

    Linus Torvalds
     

03 Aug, 2008

2 commits


29 Jul, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (21 commits)
    x86/PCI: use dev_printk when possible
    PCI: add D3 power state avoidance quirk
    PCI: fix bogus "'device' may be used uninitialized" warning in pci_slot
    PCI: add an option to allow ASPM enabled forcibly
    PCI: disable ASPM on pre-1.1 PCIe devices
    PCI: disable ASPM per ACPI FADT setting
    PCI MSI: Don't disable MSIs if the mask bit isn't supported
    PCI: handle 64-bit resources better on 32-bit machines
    PCI: rewrite PCI BAR reading code
    PCI: document pci_target_state
    PCI hotplug: fix typo in pcie hotplug output
    x86 gart: replace to_pages macro with iommu_num_pages
    x86, AMD IOMMU: replace to_pages macro with iommu_num_pages
    iommu: add iommu_num_pages helper function
    dma-coherent: add documentation to new interfaces
    Cris: convert to using generic dma-coherent mem allocator
    Sh: use generic per-device coherent dma allocator
    ARM: support generic per-device coherent dma mem
    Generic dma-coherent: fix DMA_MEMORY_EXCLUSIVE
    x86: use generic per-device dma coherent allocator
    ...

    Linus Torvalds
     
  • The original "Pass the bus number we expect the S3C24XX SPI driver to
    attach to via the platform data." [1] patch was mis-sent, and missed two
    important parts of the diff, which was to actually set the bus_num field
    and add the relevant field to the platform data.

    The previous commit 50f426b55d919dd017af35bb6a08753d1f262920 promised to
    add a bus_num field, but failed to include the two hunks that added this
    field to include/asm-arm/arch-s3c2410/spi.h and then pass it to the spi
    core when creating the new master field in drivers/spi/spi_s3c24xx.c.

    [1] git commit 50f426b55d919dd017af35bb6a08753d1f262920

    Signed-off-by: Ben Dooks
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Conflicts:

    arch/x86/Kconfig

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

28 Jul, 2008

2 commits

  • Allow the platform data to specify the bus bumber that the
    new I2C bus will be given. This is to allow the use of the
    board registration mechanism to specify the new style of
    I2C device registration which allows boards to provide a
    list of attached devices.

    Note, as discussed on the mailing list, we have dropped
    backwards compatibility of adding an dynamic bus number
    as it should not affect most boards to have the bus pinned
    to 0 if they have either not specified platform data for
    driver. Any board supplying platform data will automatically
    have the bus_num field set to 0, and anyone who needs the
    driver on a different bus number can supply platform data
    to set bus_num.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] Fix shared mmap when more than two maps of the same file exist
    [ARM] fix VIPT/VIVT macro optimisations, add comments
    [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
    [ARM] update defconfig for eseries.
    [ARM] PXA: squash warning in pxafb
    [ARM] pxa: PXA25x UDC - Fix warning during build
    [ARM] fix nwflash.c: 6ee8928d94841aa764aeaf645ad16daff811dc26
    [ARM] fix IOP32x, IOP33x, MXC and Samsung builds
    [ARM] pci: provide dummy pci_get_legacy_ide_irq()
    [ARM] fix fls() for 64-bit arguments
    [ARM] fix mode for board-yl-9200.c
    [ARM] 5176/1: arm/Makefile: fix: ARM946T -> ARM946E

    Linus Torvalds
     

27 Jul, 2008

8 commits

  • cacheflush.h was doing:

    ... VIVT only stuff
    ... VIPT only stuff
    ... VIVT or VIPT stuff

    which is clearly bogus - we would only ever use the "VIVT or VIPT" case
    when both VIVT and VIPT are not selected. Fix this.

    Add comments to each case, including noting the impossibility of
    correctly detecting the cache type of ARM926 and ARMv6 cores from
    the cache type register in the "VIVT or VIPT" case.

    Signed-off-by: Russell King

    Russell King
     
  • IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1].
    Remove them completely. Sed script for the reference:

    s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g
    s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g
    s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g
    s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g
    s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g
    s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g
    s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g
    s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g
    s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g
    s/IRQT_PROBE/IRQ_TYPE_PROBE/g
    s/IRQT_NOEDGE/IRQ_TYPE_NONE/g

    Signed-off-by: Dmitry Baryshkov
    Signed-off-by: Russell King

    Dmitry Baryshkov
     
  • * git://git.infradead.org/mtd-2.6: (57 commits)
    [MTD] [NAND] subpage read feature as a way to increase performance.
    CPUFREQ: S3C24XX NAND driver frequency scaling support.
    [MTD][NAND] au1550nd: remove unused variable
    [MTD] jedec_probe: Fix SST 16-bit chip detection
    [MTD][MTDPART] Fix a division by zero bug
    [MTD][MTDPART] Cleanup and document the erase region handling
    [MTD][MTDPART] Handle most checkpatch findings
    [MTD][MTDPART] Seperate main loop from per-partition code in add_mtd_partition
    [MTD] physmap: resume already suspended chips on failure to suspend
    [MTD] physmap: Fix suspend/resume/shutdown bugs.
    [MTD] [NOR] Fix -ETIMEO errors in CFI driver
    [MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y
    [JFFS2] Use .unlocked_ioctl
    [MTD] Fix const assignment in the MTD command line partitioning driver
    [MTD] [NOR] gen_probe: No debug message when debugging is disabled
    [MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers
    [MTD] [MAPS] Remove the bast-flash driver.
    [MTD] [NAND] fsl_elbc_nand: ecclayout cleanups
    [MTD] [NAND] fsl_elbc_nand: implement support for flash-based BBT
    [MTD] [NAND] fsl_elbc_nand: fix OOB workability for large page NAND chips
    ...

    Linus Torvalds
     
  • long overdue...

    Signed-off-by: Al Viro

    Al Viro
     
  • Russell King
     
  • Fixes an unterminated ' warning building PXA25X UDC.

    Signed-off-by: Ian Molton

    Ian Molton
     
  • mapping->tree_lock has no read lockers. convert the lock from an rwlock
    to a spinlock.

    Signed-off-by: Nick Piggin
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: Hugh Dickins
    Cc: "Paul E. McKenney"
    Reviewed-by: Peter Zijlstra
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • Add per-device dma_mapping_ops support for CONFIG_X86_64 as POWER
    architecture does:

    This enables us to cleanly fix the Calgary IOMMU issue that some devices
    are not behind the IOMMU (http://lkml.org/lkml/2008/5/8/423).

    I think that per-device dma_mapping_ops support would be also helpful for
    KVM people to support PCI passthrough but Andi thinks that this makes it
    difficult to support the PCI passthrough (see the above thread). So I
    CC'ed this to KVM camp. Comments are appreciated.

    A pointer to dma_mapping_ops to struct dev_archdata is added. If the
    pointer is non NULL, DMA operations in asm/dma-mapping.h use it. If it's
    NULL, the system-wide dma_ops pointer is used as before.

    If it's useful for KVM people, I plan to implement a mechanism to register
    a hook called when a new pci (or dma capable) device is created (it works
    with hot plugging). It enables IOMMUs to set up an appropriate
    dma_mapping_ops per device.

    The major obstacle is that dma_mapping_error doesn't take a pointer to the
    device unlike other DMA operations. So x86 can't have dma_mapping_ops per
    device. Note all the POWER IOMMUs use the same dma_mapping_error function
    so this is not a problem for POWER but x86 IOMMUs use different
    dma_mapping_error functions.

    The first patch adds the device argument to dma_mapping_error. The patch
    is trivial but large since it touches lots of drivers and dma-mapping.h in
    all the architecture.

    This patch:

    dma_mapping_error() doesn't take a pointer to the device unlike other DMA
    operations. So we can't have dma_mapping_ops per device.

    Note that POWER already has dma_mapping_ops per device but all the POWER
    IOMMUs use the same dma_mapping_error function. x86 IOMMUs use device
    argument.

    [akpm@linux-foundation.org: fix sge]
    [akpm@linux-foundation.org: fix svc_rdma]
    [akpm@linux-foundation.org: build fix]
    [akpm@linux-foundation.org: fix bnx2x]
    [akpm@linux-foundation.org: fix s2io]
    [akpm@linux-foundation.org: fix pasemi_mac]
    [akpm@linux-foundation.org: fix sdhci]
    [akpm@linux-foundation.org: build fix]
    [akpm@linux-foundation.org: fix sparc]
    [akpm@linux-foundation.org: fix ibmvscsi]
    Signed-off-by: FUJITA Tomonori
    Cc: Muli Ben-Yehuda
    Cc: Andi Kleen
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: Avi Kivity
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     

26 Jul, 2008

6 commits

  • This fixes footbridge_defconfig:

    drivers/pnp/resource.c: In function 'pci_dev_uses_irq':
    drivers/pnp/resource.c:317: error: implicit declaration of function 'pci_get_legacy_ide_irq'

    Signed-off-by: Russell King

    Russell King
     
  • arm's fls() is implemented as a macro, causing it to misbehave when passed
    64-bit arguments. Fix.

    Cc: Nickolay Vinogradov
    Tested-by: Krzysztof Halasa
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Russell King

    Andrew Morton
     
  • * git://git.infradead.org/~dwmw2/random-2.6:
    remove dummy asm/kvm.h files
    firmware: create firmware binaries during 'make modules'.

    Linus Torvalds
     
  • This patch removes the dummy asm/kvm.h files on architectures not (yet)
    supporting KVM and uses the same conditional headers installation as
    already used for a.out.h .

    Also removed are superfluous install rules in the s390 and x86 Kbuild
    files (they are already in Kbuild.asm).

    Signed-off-by: Adrian Bunk
    Acked-by: Sam Ravnborg
    Signed-off-by: David Woodhouse

    Adrian Bunk
     
  • This patch contains the following cleanups for the asm/ptrace.h
    userspace headers:

    - include/asm-generic/Kbuild.asm already lists ptrace.h, remove
    the superfluous listings in the Kbuild files of the following
    architectures:
    - cris
    - frv
    - powerpc
    - x86
    - don't expose function prototypes and macros to userspace:
    - arm
    - blackfin
    - cris
    - mn10300
    - parisc
    - remove #ifdef CONFIG_'s around #define's:
    - blackfin
    - m68knommu
    - sh: AFAIK __SH5__ should work in both kernel and userspace,
    no need to leak CONFIG_SUPERH64 to userspace
    - xtensa: cosmetical change to remove empty
    #ifndef __ASSEMBLY__ #else #endif
    from the userspace headers

    Not changed by this patch is the fact that the following architectures
    have a different struct pt_regs depending on CONFIG_ variables:
    - h8300
    - m68knommu
    - mips

    This does not work in userspace.

    Signed-off-by: Adrian Bunk
    Cc:
    Cc: Roland McGrath
    Cc: Oleg Nesterov
    Acked-by: Greg Ungerer
    Acked-by: Paul Mundt
    Acked-by: Grant Grundler
    Acked-by: Jesper Nilsson
    Acked-by: Chris Zankel
    Acked-by: David Howells
    Acked-by: Paul Mackerras
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • We duplicate alloc/free_thread_info defines on many platforms (the
    majority uses __get_free_pages/free_pages). This patch defines common
    defines and removes these duplicated defines.
    __HAVE_ARCH_THREAD_INFO_ALLOCATOR is introduced for platforms that do
    something different.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Russell King
    Cc: Pekka Enberg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori