13 Jun, 2008

1 commit


02 Jun, 2008

3 commits


01 Jun, 2008

2 commits


23 May, 2008

3 commits


22 May, 2008

2 commits

  • arch/arm/plat-omap/clock.c:397: warning: "struct cpufreq_frequency_table" declared inside parameter list
    arch/arm/plat-omap/clock.c:397: warning: its scope is only this definition or declaration, which is probably not what you want
    arch/arm/plat-omap/clock.c: In function `clk_init_cpufreq_table':
    arch/arm/plat-omap/clock.c:402: error: structure has no member named `clk_init_cpufreq_table'
    arch/arm/plat-omap/clock.c:403: error: structure has no member named `clk_init_cpufreq_table'

    Signed-off-by: Russell King

    Russell King
     
  • collie.h:
    * add some meaningfull names to some gpios
    collie.c:
    * initialize cpu registers correctly

    Signed-off-by: Thomas Kunze
    Signed-off-by: Russell King

    Thomas Kunze
     

18 May, 2008

4 commits


10 May, 2008

2 commits


09 May, 2008

1 commit

  • Related to d3930614e68bdf83a120d904c039a64e9f75dba1.

    RCSR is only present on PXA2xx CPUs, not on PXA3xx CPUs. Therefore,
    we should not be unconditionally writing to RCSR from generic code.

    Since we now clear the RCSR status from the SoC specific PXA PM code
    and before reset in the arch_reset() function, the duplication in
    the corgi, poodle, spitz and tosa code can be removed.

    Acked-by: Richard Purdie
    Signed-off-by: Russell King

    Russell King
     

04 May, 2008

1 commit


03 May, 2008

1 commit


01 May, 2008

1 commit

  • Rename div64_64 to div64_u64 to make it consistent with the other divide
    functions, so it clearly includes the type of the divide. Move its definition
    to math64.h as currently no architecture overrides the generic implementation.
    They can still override it of course, but the duplicated declarations are
    avoided.

    Signed-off-by: Roman Zippel
    Cc: Avi Kivity
    Cc: Russell King
    Cc: Geert Uytterhoeven
    Cc: Ralf Baechle
    Cc: David Howells
    Cc: Jeff Dike
    Cc: Ingo Molnar
    Cc: "David S. Miller"
    Cc: Patrick McHardy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Zippel
     

30 Apr, 2008

6 commits

  • Signed-off-by: Daniel Mack
    Signed-off-by: Eric Miao
    Cc: "Antonino A. Daplas"
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Miao
     
  • Reasons:

    1. straight forward: the name "LCD_COLOR_DSTN_16BPP" is much better
    than "LCCR0_Pas | LCCR0_Color | LCCR0_Dual"

    2. by defining LCD connection types as constants, it allows only
    valid possibilities

    3. by removing the dependency of register bits definitions, those
    can be later moved into the body of pxafb.c, instead of having
    a regs-lcd.h around

    Currently, only lubbock, mainstone, zylonite and littleton have been
    modified to support these types (see coming patches after this).
    Other platforms are encouraged to change their way describing the
    LCD controller connections.

    Signed-off-by: eric miao
    Cc: "Antonino A. Daplas"
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    eric miao
     
  • This is part of the effort moving peripheral registers outside of pxa-regs.h,
    and using ioremap() make it possible the same IP can be re-used on different
    processors with different registers space

    As a result, the fixed mapping in pxa_map_io() is removed.

    The regs-lcd.h can actually moved to where closer to pxafb.c but some of its
    bit definitions are directly used by various platform code, though this is not
    a good style.

    Signed-off-by: eric miao
    Cc: "Antonino A. Daplas"
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    eric miao
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm: (26 commits)
    [ARM] pxa: fix 1c104e0e4f6ab396960c058e95e18bdedcac945b
    [ARM] serial: s3c2410: platform_get_irq() may return signed unnoticed
    [ARM] am79c961a: platform_get_irq() may return signed unnoticed
    [ARM] Feroceon: Feroceon-specific WA-cache compatible {copy,clear}_user_page()
    [ARM] Feroceon: fix function alignment in proc-feroceon.S
    [ARM] Orion: catch a couple more alternative spellings of PCIe
    [ARM] Orion: fix orion-ehci platform resource end addresses
    [ARM] Orion: fix ->map_irq() PCIe bus number check
    [ARM] Orion: fix ioremap() optimization
    [ARM] feroceon: remove CONFIG_CPU_CACHE_ROUND_ROBIN check
    [ARM] feroceon: remove CONFIG_CPU_DCACHE_WRITETHROUGH check
    kprobes/arm: fix decoding of arithmetic immediate instructions
    kprobes/arm: fix cache flush address for instruction stub
    [ARM] 5022/1: Race in ARM MMCI PL18x driver, V2
    [ARM] 5021/1: at91: buildfix for sam9263 + PM
    [ARM] 5018/1: RealView: Fix the ARM11MPCore Oprofile compilation
    [ARM] 5016/1: AT91: typo in mci configuration for at91cap at91sam9263
    [ARM] 5017/1: pxa3xx: Report unsupported wakeup sources in pxa3xx_set_wake()
    [ARM] 5020/1: magician: remove __devinit marker from pasic3_leds_info
    [ARM] 5014/1: Cleanup reset state before entering suspend or resetting.
    ...

    Linus Torvalds
     
  • Russell King
     
  • Russell King
     

29 Apr, 2008

3 commits

  • Unaligned access is ok for the following arches:
    cris, m68k, mn10300, powerpc, s390, x86

    Arches that use the memmove implementation for native endian, and
    the byteshifting for the opposite endianness.
    h8300, m32r, xtensa

    Packed struct for native endian, byteshifting for other endian:
    alpha, blackfin, ia64, parisc, sparc, sparc64, mips, sh

    m86knommu is generic_be for Coldfire, otherwise unaligned access is ok.

    frv, arm chooses endianness based on compiler settings, uses the byteshifting
    versions. Remove the unaligned trap handler from frv as it is now unused.

    v850 is le, uses the byteshifting versions for both be and le.

    Remove the now unused asm-generic implementation.

    Signed-off-by: Harvey Harrison
    Acked-by: David S. Miller
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • This patch implements a set of Feroceon-specific
    {copy,clear}_user_page() routines that perform more optimally than
    the generic implementations. This also deals with write-allocate
    caches (Feroceon can run L1 D in WA mode) which otherwise prevents
    Linux from booting.

    [nico: optimized the code even further]

    Signed-off-by: Lennert Buytenhek
    Tested-by: Sylver Bruneau
    Tested-by: Martin Michlmayr
    Signed-off-by: Nicolas Pitre

    Lennert Buytenhek
     
  • The ioremap() optimization used for internal register didn't cope
    with the fact that paddr + size can wrap to zero if the area extends
    to the end of the physical address space.

    Issue isolated by Sylver Bruneau .

    Signed-off-by: Nicolas Pitre

    Nicolas Pitre
     

28 Apr, 2008

1 commit

  • s390 for one, cannot implement VM_MIXEDMAP with pfn_valid, due to their memory
    model (which is more dynamic than most). Instead, they had proposed to
    implement it with an additional path through vm_normal_page(), using a bit in
    the pte to determine whether or not the page should be refcounted:

    vm_normal_page()
    {
    ...
    if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) {
    if (vma->vm_flags & VM_MIXEDMAP) {
    #ifdef s390
    if (!mixedmap_refcount_pte(pte))
    return NULL;
    #else
    if (!pfn_valid(pfn))
    return NULL;
    #endif
    goto out;
    }
    ...
    }

    This is fine, however if we are allowed to use a bit in the pte to determine
    refcountedness, we can use that to _completely_ replace all the vma based
    schemes. So instead of adding more cases to the already complex vma-based
    scheme, we can have a clearly seperate and simple pte-based scheme (and get
    slightly better code generation in the process):

    vm_normal_page()
    {
    #ifdef s390
    if (!mixedmap_refcount_pte(pte))
    return NULL;
    return pte_page(pte);
    #else
    ...
    #endif
    }

    And finally, we may rather make this concept usable by any architecture rather
    than making it s390 only, so implement a new type of pte state for this.
    Unfortunately the old vma based code must stay, because some architectures may
    not be able to spare pte bits. This makes vm_normal_page a little bit more
    ugly than we would like, but the 2 cases are clearly seperate.

    So introduce a pte_special pte state, and use it in mm/memory.c. It is
    currently a noop for all architectures, so this doesn't actually result in any
    compiled code changes to mm/memory.o.

    BTW:
    I haven't put vm_normal_page() into arch code as-per an earlier suggestion.
    The reason is that, regardless of where vm_normal_page is actually
    implemented, the *abstraction* is still exactly the same. Also, while it
    depends on whether the architecture has pte_special or not, that is the
    only two possible cases, and it really isn't an arch specific function --
    the role of the arch code should be to provide primitive functions and
    accessors with which to build the core code; pte_special does that. We do
    not want architectures to know or care about vm_normal_page itself, and
    we definitely don't want them being able to invent something new there
    out of sight of mm/ code. If we made vm_normal_page an arch function, then
    we have to make vm_insert_mixed (next patch) an arch function too. So I
    don't think moving it to arch code fundamentally improves any abstractions,
    while it does practically make the code more difficult to follow, for both
    mm and arch developers, and easier to misuse.

    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Nick Piggin
    Acked-by: Carsten Otte
    Cc: Jared Hulbert
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     

27 Apr, 2008

1 commit

  • * Add struct ide_io_ports and use it instead of `unsigned long io_ports[]`
    in ide_hwif_t.

    * Rename io_ports[] in hw_regs_t to io_ports_array[].

    * Use un-named union for 'unsigned long io_ports_array[]' and 'struct
    ide_io_ports io_ports' in hw_regs_t.

    * Remove IDE_*_OFFSET defines.

    v2:
    * scc_pata.c build fix from Stephen Rothwell.

    v3:
    * Fix ctl_adrr typo in Sparc-specific part of ns87415.c.
    (Noticed by Andrew Morton)

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

24 Apr, 2008

2 commits


23 Apr, 2008

4 commits

  • Add support to disable ECC checking for a given chip
    when passed by the board via the platform data.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Woodhouse

    Ben Dooks
     
  • Add support for the ECC layout to be passed via the
    platform data specified by the board.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Woodhouse

    Ben Dooks
     
  • If a block's ecc field is all 0xff, then ignore the ECC
    correction. This is for systems where some of the blocks,
    such as the initial cramfs are written without ECC and
    need to be loaded on start.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Woodhouse

    Ben Dooks
     
  • This is preliminary since:

    1. It supports only _one_ chip select at the moment. As there is no
    existing platforms available using two chip selects of the NAND
    controller, it shall really not include code for supporting the
    2nd chip select for now, as such code cannot be verified.

    2. It resorts to the default and simpliest memory based badblock
    table

    3. Only limited types of nand flash are currently supported. Most
    PXA3xx processors come with on-chip NAND flash dies, so there
    isn't much flexibility for other types of NAND.

    4. The NAND controller should be configured to detect the device's
    ID, thus making it difficult to use nand_scan_ident() to assist
    the detection process (though it's not impossible)

    TODO: fix all the above limitations of cuz :-)

    Signed-off-by: eric miao
    Cc: Sergey Podstavin
    Signed-off-by: David Woodhouse

    eric miao
     

22 Apr, 2008

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc: (26 commits)
    mmc: sdio_ops.c should #include "sdio_ops.h"
    mmc: proper prototypes for mmc_attach_*()
    mmc: make __mmc_release_bus() static
    sdhci: improve no card, no reset quirk
    MMC: OMAP: Do not busy wait for end of command for ever
    MMC: OMAP: Start new commands from work queue instead of irq
    MMC: OMAP: Lazy clock shutdown
    MMC: OMAP: Move failing command abortion to workqueue
    MMC: OMAP: Use tasklet instead of workqueue for cover switch notification
    MMC: OMAP: Check the get_cover_state function pointer if not set
    MMC: OMAP: Using setup_timer instead of init_timer
    MMC: OMAP: Abort stuck commands
    MMC: OMAP: General cleanup for MMC multislot support
    MMC: OMAP: Power functions modified to MMC multislot support
    MMC: OMAP: Fix timeout calculation for MMC multislot support
    MMC: OMAP: New release dma and abort xfer functions
    MMC: OMAP: Add back cover switch support
    MMC: OMAP: Introduce new multislot structure and change driver to use it
    MMC: OMAP: Remove cover switch handling to allow adding multislot support
    MMC: OMAP: Fix the BYTEBLOCK capability removal
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
    DOC: A couple corrections and clarifications in USB doc.
    Generate a slightly more informative error msg for bad HZ
    fix typo "is" -> "if" in Makefile
    ext*: spelling fix prefered -> preferred
    DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
    KEYS: Fix the comment to match the file name in rxrpc-type.h.
    RAID: remove trailing space from printk line
    DMA engine: typo fixes
    Remove unused MAX_NODES_SHIFT
    MAINTAINERS: Clarify access to OCFS2 development mailing list.
    V4L: Storage class should be before const qualifier (sn9c102)
    V4L: Storage class should be before const qualifier
    sonypi: Storage class should be before const qualifier
    intel_menlow: Storage class should be before const qualifier
    DVB: Storage class should be before const qualifier
    arm: Storage class should be before const qualifier
    ALSA: Storage class should be before const qualifier
    acpi: Storage class should be before const qualifier
    firmware_sample_driver.c: fix coding style
    MAINTAINERS: Add ati_remote2 driver
    ...

    Fixed up trivial conflicts in firmware_sample_driver.c

    Linus Torvalds