18 Dec, 2009

3 commits

  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (71 commits)
    MIPS: Lasat: Fix botched changes to sysctl code.
    RTC: rtc-cmos.c: Fix warning on MIPS
    MIPS: Cleanup random differences beween lmo and Linus' kernel.
    MIPS: No longer hardwire CONFIG_EMBEDDED to y
    MIPS: Fix and enhance built-in kernel command line
    MIPS: eXcite: Remove platform.
    MIPS: Loongson: Cleanups of serial port support
    MIPS: Lemote 2F: Suspend CS5536 MFGPT Timer
    MIPS: Excite: move iodev_remove to .devexit.text
    MIPS: Lasat: Convert to proc_fops / seq_file
    MIPS: Cleanup signal code initialization
    MIPS: Modularize COP2 handling
    MIPS: Move EARLY_PRINTK to Kconfig.debug
    MIPS: Yeeloong 2F: Cleanup reset logic using the new ec_write function
    MIPS: Yeeloong 2F: Add LID open event as the wakeup event
    MIPS: Yeeloong 2F: Add basic EC operations
    MIPS: Move several variables from .bss to .init.data
    MIPS: Tracing: Make function graph tracer work with -mmcount-ra-address
    MIPS: Tracing: Reserve $12(t0) for mcount-ra-address of gcc 4.5
    MIPS: Tracing: Make ftrace for MIPS work without -fno-omit-frame-pointer
    ...

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
    PCMCIA: fix pxa2xx_lubbock modular build error
    [ARM] Update mach-types
    [ARM] pxa: fix no reference of cpu_is_pxa25x() in devices.c
    [ARM] pxa/cm-x300: add PWM backlight support
    revert "[ARM] pxa/cm-x300: add PWM backlight support"
    ARM: use flush_kernel_dcache_area() for dmabounce
    ARM: add size argument to __cpuc_flush_dcache_page
    ARM: 5848/1: kill flush_ioremap_region()
    ARM: cache-l2x0: make better use of background cache handling
    ARM: cache-l2x0: avoid taking spinlock for every iteration
    [ARM] Kirkwood: Add LaCie Network Space v2 support
    ARM: dove: fix the mm mmu flags of the pj4 procinfo

    Linus Torvalds
     
  • Russell King
     

17 Dec, 2009

2 commits

  • The platform has never been fully merged

    Signed-off-by: Ralf Baechle
    Cc: Thomas Koeller
    Cc: David Woodhouse
    Cc: Wim Van Sebroeck
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mtd@lists.infradead.org
    Acked-by: David Woodhouse
    Acked-by: Wim Van Sebroeck

    Ralf Baechle
     
  • * git://git.infradead.org/mtd-2.6: (90 commits)
    jffs2: Fix long-standing bug with symlink garbage collection.
    mtd: OneNAND: Fix test of unsigned in onenand_otp_walk()
    mtd: cfi_cmdset_0002, fix lock imbalance
    Revert "mtd: move mxcnd_remove to .exit.text"
    mtd: m25p80: add support for Macronix MX25L4005A
    kmsg_dump: fix build for CONFIG_PRINTK=n
    mtd: nandsim: add support for 4KiB pages
    mtd: mtdoops: refactor as a kmsg_dumper
    mtd: mtdoops: make record size configurable
    mtd: mtdoops: limit the maximum mtd partition size
    mtd: mtdoops: keep track of used/unused pages in an array
    mtd: mtdoops: several minor cleanups
    core: Add kernel message dumper to call on oopses and panics
    mtd: add ARM pismo support
    mtd: pxa3xx_nand: Fix PIO data transfer
    mtd: nand: fix multi-chip suspend problem
    mtd: add support for switching old SST chips into QRY mode
    mtd: fix M29W800D dev_id and uaddr
    mtd: don't use PF_MEMALLOC
    mtd: Add bad block table overrides to Davinci NAND driver
    ...

    Fixed up conflicts (mostly trivial) in
    drivers/mtd/devices/m25p80.c
    drivers/mtd/maps/pcmciamtd.c
    drivers/mtd/nand/pxa3xx_nand.c
    kernel/printk.c

    Linus Torvalds
     

16 Dec, 2009

2 commits


14 Dec, 2009

1 commit

  • There is not enough users to warrant its existence, and it is actually
    an obstacle to progress with the new DMA API which cannot cover this
    case properly.

    To keep backward compatibility, let's perform the necessary custom
    cache maintenance locally in the only driver affected.

    Signed-off-by: Nicolas Pitre
    Signed-off-by: Russell King

    Nicolas Pitre
     

11 Dec, 2009

1 commit

  • * git://git.infradead.org/ubifs-2.6:
    UBIFS: fix return code in check_leaf
    UBI: flush wl before clearing update marker
    MAINTAINERS: change e-mail of Artem Bityutskiy
    UBIFS: remove manual O_SYNC handling
    UBIFS: support mounting of UBI volume character devices
    UBI: Add ubi_open_volume_path

    Linus Torvalds
     

10 Dec, 2009

2 commits

  • Stanse found a double unlock in get_chip. get_chip is called with
    chip->mutex held and caller is responsible for unlocking it too.

    Do not unlock the lock in get_chip on a fail path. This would mean
    a double unlock.

    Signed-off-by: Jiri Slaby
    Signed-off-by: David Woodhouse

    Jiri Slaby
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
    tree-wide: fix misspelling of "definition" in comments
    reiserfs: fix misspelling of "journaled"
    doc: Fix a typo in slub.txt.
    inotify: remove superfluous return code check
    hdlc: spelling fix in find_pvc() comment
    doc: fix regulator docs cut-and-pasteism
    mtd: Fix comment in Kconfig
    doc: Fix IRQ chip docs
    tree-wide: fix assorted typos all over the place
    drivers/ata/libata-sff.c: comment spelling fixes
    fix typos/grammos in Documentation/edac.txt
    sysctl: add missing comments
    fs/debugfs/inode.c: fix comment typos
    sgivwfb: Make use of ARRAY_SIZE.
    sky2: fix sky2_link_down copy/paste comment error
    tree-wide: fix typos "couter" -> "counter"
    tree-wide: fix typos "offest" -> "offset"
    fix kerneldoc for set_irq_msi()
    spidev: fix double "of of" in comment
    comment typo fix: sybsystem -> subsystem
    ...

    Linus Torvalds
     

09 Dec, 2009

2 commits

  • * 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block: (113 commits)
    cfq-iosched: Do not access cfqq after freeing it
    block: include linux/err.h to use ERR_PTR
    cfq-iosched: use call_rcu() instead of doing grace period stall on queue exit
    blkio: Allow CFQ group IO scheduling even when CFQ is a module
    blkio: Implement dynamic io controlling policy registration
    blkio: Export some symbols from blkio as its user CFQ can be a module
    block: Fix io_context leak after failure of clone with CLONE_IO
    block: Fix io_context leak after clone with CLONE_IO
    cfq-iosched: make nonrot check logic consistent
    io controller: quick fix for blk-cgroup and modular CFQ
    cfq-iosched: move IO controller declerations to a header file
    cfq-iosched: fix compile problem with !CONFIG_CGROUP
    blkio: Documentation
    blkio: Wait on sync-noidle queue even if rq_noidle = 1
    blkio: Implement group_isolation tunable
    blkio: Determine async workload length based on total number of queues
    blkio: Wait for cfq queue to get backlogged if group is empty
    blkio: Propagate cgroup weight updation to cfq groups
    blkio: Drop the reference to queue once the task changes cgroup
    blkio: Provide some isolation between groups
    ...

    Linus Torvalds
     
  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (149 commits)
    arm: omap: Add omap3_defconfig
    AM35xx: Defconfig for AM3517 EVM board
    AM35xx: Add support for AM3517 EVM board
    omap: 3630sdp: defconfig creation
    omap: 3630sdp: introduce 3630 sdp board support
    omap3: Add defconfig for IGEP v2 board
    omap3: Add minimal IGEP v2 support
    omap3: Add CompuLab CM-T35 defconfig
    omap3: Add CompuLab CM-T35 board support
    omap3: rx51: Add wl1251 wlan driver support
    omap3: rx51: Add SDRAM init
    omap1: Add default kernel configuration for Herald
    omap1: Add board support and LCD for HTC Herald
    omap: zoom2: update defconfig for LL_DEBUG_NONE
    omap: zoom3: defconfig creation
    omap3: zoom: Introduce zoom3 board support
    omap3: zoom: Drop i2c-1 speed to 2400
    omap3: zoom: rename zoom2 name to generic zoom
    omap3: zoom: split board file for software reuse
    omap3evm: MIgrate to smsc911x ethernet driver
    ...

    Fix trivial conflict (two unrelated config options added next to each
    other) in arch/arm/mach-omap2/Makefile

    Linus Torvalds
     

08 Dec, 2009

1 commit


07 Dec, 2009

2 commits


06 Dec, 2009

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (50 commits)
    pcmcia: rework the irq_req_t typedef
    pcmcia: remove deprecated handle_to_dev() macro
    pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
    pcmcia: remove unused "window_t" typedef
    pcmcia: move some window-related code to pcmcia_ioctl.c
    pcmcia: Change window_handle_t logic to unsigned long
    pcmcia: Pass struct pcmcia_socket to pcmcia_get_mem_page()
    pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page()
    pcmcia: Pass struct pcmcia_device to pcmcia_release_window()
    drivers/pcmcia: remove unnecessary kzalloc
    pcmcia: correct handling for Zoomed Video registers in topic.h
    pcmcia: fix printk formats
    pcmcia: autoload module pcmcia
    pcmcia/staging: update comedi drivers
    PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket
    PCMCIA: ss: allow PCI IRQs > 255
    PCMCIA: soc_common: remove 'dev' member from soc_pcmcia_socket
    PCMCIA: soc_common: constify soc_pcmcia_socket ops member
    PCMCIA: sa1111: remove duplicated initializers
    PCMCIA: sa1111: wrap soc_pcmcia_socket to contain sa1111 specific data
    ...

    Linus Torvalds
     
  • Signed-off-by: Simon Guinot
    Signed-off-by: David Woodhouse

    Simon Guinot
     

04 Dec, 2009

3 commits

  • IXDP425 and Coyote aren't based on IXP2000 but on IXP425.

    Signed-off-by: Krzysztof Halasa
    Signed-off-by: Jiri Kosina

    Krzysztof Halasa
     
  • That is "success", "unknown", "through", "performance", "[re|un]mapping"
    , "access", "default", "reasonable", "[con]currently", "temperature"
    , "channel", "[un]used", "application", "example","hierarchy", "therefore"
    , "[over|under]flow", "contiguous", "threshold", "enough" and others.

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Jiri Kosina

    André Goddard Rosa
     
  • ubiupdatevol -t does the following:
    - ubi_start_update()
    - set_update_marker()
    - for all LEBs ubi_eba_unmap_leb()
    - clear_update_marker()
    - ubi_wl_flush()

    ubi_wl_flush() physically erases all PEB, once it returns all PEBs are
    empty. clear_update_marker() has the update marker written after return.
    If there is a power cut between the last two functions then the UBI
    volume has no longer the "update" marker set and may have some valid
    LEBs while some of them may be gone.
    If that volume in question happens to be a UBIFS volume, then mount
    will fail with

    |UBIFS error (pid 1361): ubifs_read_node: bad node type (255 but expected 6)
    |UBIFS error (pid 1361): ubifs_read_node: bad node at LEB 0:0
    |Not a node, first 24 bytes:
    |00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

    if there is at least one valid LEB and the wear-leveling worker managed
    to clear LEB 0.

    The patch waits for the wl worker to finish prior clearing the "update"
    marker on flash. The two new LEB which are scheduled for erasing after
    clear_update_marker() should not matter because they are only visible to
    UBI.

    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Artem Bityutskiy
    Cc: stable@kernel.org

    Sebastian Andrzej Siewior
     

03 Dec, 2009

1 commit


01 Dec, 2009

10 commits


30 Nov, 2009

8 commits

  • David Woodhouse
     
  • The last messages which happens before a crash might contain interesting
    information about the crash. This patch reworks mtdoops using the
    kmsg_dumper support instead of a console, which simplifies the code and
    also includes the messages before the oops started.

    On oops callbacks, the MTD device write is scheduled in a work queue (to
    be able to use the regular mtd->write call), while panics call
    mtd->panic_write directly. Thus, if panic_on_oops is set, the oops will
    be written out during the panic.

    A parameter to specify which mtd device to use (number or name), as well
    as a flag, writable at runtime, to toggle wheter to dump oopses or only
    panics (since oopses can often be handled by regular syslog).

    The patch was massaged and amended by Artem.

    Signed-off-by: Simon Kagstrom
    Reviewed-by: Anders Grafstrom
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Simon Kagstrom
     
  • The main justification for this is to allow catching long messages
    during a panic, where the top part might otherwise be lost since moving
    to the next block can require a flash erase.

    Signed-off-by: Simon Kagstrom
    Reviewed-by: Anders Grafstrom
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Simon Kagstrom
     
  • Make the maximum mtdoops partition size to be 8MiB. Indeed, it does
    not make sense to use anything larger than that anyway. This limit
    makes it possible to catch stupid mistakes where the user gives e.g.,
    a rootfs partition to mtdoops (which will happily erase it).

    Signed-off-by: Simon Kagstrom
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Simon Kagstrom
     
  • This patch makes mtdoops keep track of used/unused pages in an array
    instead of scanning the flash after a write. The advantage with this
    approach is that it avoids calling mtd->read on a panic, which is not
    possible for all mtd drivers.

    Signed-off-by: Simon Kagstrom
    Reviewed-by: Anders Grafstrom
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Simon Kagstrom
     
  • While looking into the mtdoops module, I've spotted several minor
    imperfections. This patch addresses them. Namely:

    1. Remove several trailing white-spaces and tabs
    2. Check 'vmalloc()' return code straight away, not several lines
    below in the 'mtdoops_console_init()' function.
    3. Clean up printks - make them more consistent and use the same
    code formatting style for them.
    4. Remove silly style of putting brackets around everything in
    "if" operators.

    Signed-off-by: Artem Bityutskiy
    Cc: Simon Kagstrom

    Signed-off-by: David Woodhouse

    Artem Bityutskiy
     
  • The following patch adds support for PISMO modules found on ARM Ltd
    development platforms. These are MTD modules, and can have a
    selection of SRAM, flash or DOC devices as described by an on-board
    I2C EEPROM.

    We support SRAM and NOR flash devices only by registering appropriate
    conventional MTD platform devices as children of the 'pismo' device.

    Signed-off-by: Russell King
    Signed-off-by: David Woodhouse

    Russell King - ARM Linux
     
  • The shift operator used here to convert from bytes to 32-bit words is
    backwards.

    Signed-off-by: David Hunter
    Signed-off-by: David Woodhouse

    David Hunter