04 Sep, 2012

1 commit

  • UBI was mistakingly using 'kfree()' instead of 'kmem_cache_free()' when
    freeing "attach eraseblock" structures in vtbl.c. Thankfully, this happened
    only when we were doing auto-format, so many systems were unaffected. However,
    there are still many users affected.

    It is strange, but the system did not crash and nothing bad happened when
    the SLUB memory allocator was used. However, in case of SLOB we observed an
    crash right away.

    This problem was introduced in 2.6.39 by commit
    "6c1e875 UBI: add slab cache for ubi_scan_leb objects"

    A note for stable trees:
    Because variable were renamed, this won't cleanly apply to older kernels.
    Changing names like this should help:
    1. ai -> si
    2. aeb_slab_cache -> seb_slab_cache
    3. new_aeb -> new_seb

    Reported-by: Richard Genoud
    Tested-by: Richard Genoud
    Tested-by: Artem Bityutskiy
    Cc: stable@vger.kernel.org [v2.6.39+]
    Signed-off-by: Artem Bityutskiy

    Artem Bityutskiy
     

13 Aug, 2012

1 commit

  • Pull arm-soc bug fixes from Arnd Bergmann:
    "These are a bunch of bug fixes that came in after the merge window and
    one update for the MAINTAINERS file.

    The largest part of the fixes are patches that address bugs found by
    building all the ARM defconfig files. There are a lot more warnings
    that we have patches for, but the others are either still under
    discussion or are harmless and do not cause actual problems besides
    making the build slightly noisy."

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (30 commits)
    ARM: davinci: remove broken ntosd2_init_i2c
    ARM: s3c24xx: enable CONFIG_BUG for tct_hammer
    omap-rng: fix use of SIMPLE_DEV_PM_OPS
    spi/s3c64xx: improve error handling
    mtd/omap2: fix dmaengine_slave_config error handling
    gpio: em: do not discard em_gio_irq_domain_cleanup
    ARM: exynos: exynos_pm_add_dev_to_genpd may be unused
    ARM: imx: gpmi-nand depends on mxs-dma
    ARM: integrator: include
    ARM: s3c24xx: use new PWM driver
    ARM: sa1100: include linux/io.h in hackkit leds code
    Input: eeti_ts: pass gpio value instead of IRQ
    ARM: pxa: remove irq_to_gpio from ezx-pcap driver
    ARM: tegra: more regulator fixes for Harmony
    usb/ohci-omap: remove unused variable
    mfd/asic3: fix asic3_mfd_probe return value
    ARM: kirkwood: fix typo in Makefile.boot
    i.MX27: Fix emma-prp and csi clocks.
    ARM: integrator: use clk_prepare_enable() for timer
    MAINTAINERS: update entry for Linus Walleij
    ...

    Linus Torvalds
     

10 Aug, 2012

2 commits

  • These patches all fix bugs that were newly introduced in v3.6-rc1
    and found because they cause a gcc warning with one of the ARM
    defconfigs. Most of them are harmless, but since we're trying
    to get rid of all warnings eventually, we can start with the ones
    that were not there before.

    * testing/new-warnings:
    omap-rng: fix use of SIMPLE_DEV_PM_OPS
    spi/s3c64xx: improve error handling
    mtd/omap2: fix dmaengine_slave_config error handling
    gpio: em: do not discard em_gio_irq_domain_cleanup
    ARM: exynos: exynos_pm_add_dev_to_genpd may be unused
    usb/ohci-omap: remove unused variable
    mfd/asic3: fix asic3_mfd_probe return value

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • The newly added dmaengine support in the omap2 nand driver
    potentially causes an undefined return value from the
    omap_nand_probe function when dmaengine_slave_config
    reports an error. Let's handle this by returning the
    same error back to the caller.

    Without this patch, building omap2plus_defconfig results in:

    drivers/mtd/nand/omap2.c: In function 'omap_nand_probe':
    drivers/mtd/nand/omap2.c:1154:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]

    Signed-off-by: Arnd Bergmann
    Cc: Russell King
    Cc: Grazvydas Ignotas

    Arnd Bergmann
     

09 Aug, 2012

1 commit

  • It is not currently possible to build the gpmi-nand driver without
    also building the mxs-dma driver. Clarify this Kconfig and enable
    both in the defconfig file so we can build it again with both enabled.

    drivers/built-in.o: In function `gpmi_dma_filter':
    clk-fixed-factor.c:(.text+0xafc18): undefined reference to `mxs_dma_is_apbh'
    make[1]: *** [vmlinux] Error 1
    make: *** [sub-make] Error 2

    Signed-off-by: Arnd Bergmann
    Acked-by: Dirk Behme
    Cc: Shawn Guo
    Cc: Sascha Hauer

    Arnd Bergmann
     

04 Aug, 2012

1 commit

  • Pull m68k updates from Geert Uytterhoeven.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k: Make sys_atomic_cmpxchg_32 work on classic m68k
    m68k/apollo: Rename "timer" to "apollo_timer"
    zorro: Remove unused zorro_bus.devices
    m68k: Remove never used asm/shm.h
    m68k/sun3: Remove unselectable code in prom_init()
    m68k: Use asm-generic version of
    m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop}
    mtd/uclinux: Use generic __bss_stop instead of _ebss
    m68knommu: Allow ColdFire CPUs to use unaligned accesses
    m68k: Remove five unused headers
    m68k: CPU32 does not support unaligned accesses
    m68k: Introduce config option CPU_HAS_NO_UNALIGNED
    m68k: delay, muldi3 - Use CONFIG_CPU_HAS_NO_MULDIV64
    m68k: Move CPU_HAS_* config options
    m68k: Remove duplicate FPU config option
    m68knommu: Clean up printing of sections
    m68k: Use asm-generic version of
    m68k: Use Kbuild logic to import asm-generic headers

    Linus Torvalds
     

02 Aug, 2012

1 commit

  • Pull ARM DMA engine updates from Russell King:
    "This looks scary at first glance, but what it is is:
    - a rework of the sa11x0 DMA engine driver merged during the previous
    cycle, to extract a common set of helper functions for DMA engine
    implementations.
    - conversion of amba-pl08x.c to use these helper functions.
    - addition of OMAP DMA engine driver (using these helper functions),
    and conversion of some of the OMAP DMA users to use DMA engine.

    Nothing in the helper functions is ARM specific, so I hope that other
    implementations can consolidate some of their code by making use of
    these helpers.

    This has been sitting in linux-next most of the merge cycle, and has
    been tested by several OMAP folk. I've tested it on sa11x0 platforms,
    and given it my best shot on my broken platforms which have the
    amba-pl08x controller.

    The last point is the addition to feature-removal-schedule.txt, which
    will have a merge conflict. Between myself and TI, we're planning to
    remove the old TI DMA implementation next year."

    Fix up trivial add/add conflicts in Documentation/feature-removal-schedule.txt
    and drivers/dma/{Kconfig,Makefile}

    * 'dmaengine' of git://git.linaro.org/people/rmk/linux-arm: (53 commits)
    ARM: 7481/1: OMAP2+: omap2plus_defconfig: enable OMAP DMA engine
    ARM: 7464/1: mmc: omap_hsmmc: ensure probe returns error if DMA channel request fails
    Add feature removal of old OMAP private DMA implementation
    mtd: omap2: remove private DMA API implementation
    mtd: omap2: add DMA engine support
    spi: omap2-mcspi: remove private DMA API implementation
    spi: omap2-mcspi: add DMA engine support
    ARM: omap: remove mmc platform data dma_mask and initialization
    mmc: omap: remove private DMA API implementation
    mmc: omap: add DMA engine support
    mmc: omap_hsmmc: remove private DMA API implementation
    mmc: omap_hsmmc: add DMA engine support
    dmaengine: omap: add support for cyclic DMA
    dmaengine: omap: add support for setting fi
    dmaengine: omap: add support for returning residue in tx_state method
    dmaengine: add OMAP DMA engine driver
    dmaengine: sa11x0-dma: add cyclic DMA support
    dmaengine: sa11x0-dma: fix DMA residue support
    dmaengine: PL08x: ensure all descriptors are freed when channel is released
    dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking
    ...

    Linus Torvalds
     

31 Jul, 2012

3 commits

  • Remove the private DMA API implementation from nand/omap2.c
    making it use entirely the DMA engine API.

    Signed-off-by: Russell King

    Russell King
     
  • Add DMA engine support to the OMAP2 NAND driver. This supplements the
    private DMA API implementation contained within this driver, and the
    driver can be independently switched at build time between using DMA
    engine and the private DMA API.

    Tested-by: Grazvydas Ignotas
    Signed-off-by: Russell King

    Russell King
     
  • Pull MIPS updates from Ralf Baechle:
    "More hardware support across the field including a bunch of device
    drivers. The highlight however really are further steps towards
    device tree.

    This has been sitting in -next for ages. All MIPS _defconfigs have
    been tested to boot or where I don't have hardware available, to at
    least build fine."

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (77 commits)
    MIPS: Loongson 1B: Add defconfig
    MIPS: Loongson 1B: Add board support
    MIPS: Netlogic: early console fix
    MIPS: Netlogic: Fix indentation of smpboot.S
    MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP
    MIPS: Netlogic: Remove unused pcibios_fixups
    MIPS: Netlogic: Add XLP SoC devices in FDT
    MIPS: Netlogic: Add IRQ mappings for more devices
    MIPS: Netlogic: USB support for XLP
    MIPS: Netlogic: XLP PCIe controller support.
    MIPS: Netlogic: Platform changes for XLR/XLS I2C
    MIPS: Netlogic: Platform NAND/NOR flash support
    MIPS: Netlogic: Platform changes for XLS USB
    MIPS: Netlogic: Remove NETLOGIC_ prefix
    MIPS: Netlogic: SMP wakeup code update
    MIPS: Netlogic: Update comments in smpboot.S
    MIPS: BCM63XX: Add 96328avng reference board
    MIPS: Expose PCIe drivers for MIPS
    MIPS: BCM63XX: Add PCIe Support for BCM6328
    MIPS: BCM63XX: Move the PCI initialization into its own function
    ...

    Linus Torvalds
     

26 Jul, 2012

1 commit


25 Jul, 2012

2 commits


24 Jul, 2012

1 commit

  • Pull UBI changes from Artem Bityutskiy:
    "Change the default amount of eraseblocks which UBI reserves for bad
    block handling from 1% to 2%, because 1% does not meet most modern
    flash requirements. 1% was good enough in the past for old
    high-quality SLCs, but nowadays 2% is much more appropriate.:

    Other changes are clean-ups.

    * tag 'upstream-3.6-rc1' of git://git.infradead.org/linux-ubi:
    UBI: harmonize the update of ubi->beb_rsvd_pebs
    UBI: trivial: fix comment of ubi_calculate_reserved function
    UBI: fix spelling of detach in debug output
    UBI: Change the default percentage of reserved PEB

    Linus Torvalds
     

23 Jul, 2012

1 commit

  • The platform data can now specify which external memory banks to probe
    for NAND chips, and in which order. Banks that contain a NAND are used
    and the other banks are freed.

    Squashed version of development done in jz-2.6.38 branch.
    Original patch by Lars-Peter Clausen with some bug fixes from me.
    Thanks to Paul Cercueil for the initial autodetection patch.

    Signed-off-by: Maarten ter Huurne
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/3560/
    Acked-By: David Woodhouse
    Signed-off-by: Ralf Baechle

    Maarten ter Huurne
     

18 Jul, 2012

4 commits


14 Jul, 2012

2 commits

  • Pass mount flags to sget() so that it can use them in initialising a new
    superblock before the set function is called. They could also be passed to the
    compare function.

    Signed-off-by: David Howells
    Signed-off-by: Al Viro

    David Howells
     
  • Pull late MTD fixes from David Woodhouse:
    - fix 'sparse warning fix' regression which totally breaks MXC NAND
    - fix GPMI NAND regression when used with UBI
    - update/correct sysfs documentation for new 'bitflip_threshold' field
    - fix nandsim build failure

    * tag 'for-linus-20120712' of git://git.infradead.org/linux-mtd:
    mtd: nandsim: don't open code a do_div helper
    mtd: ABI documentation: clarification of bitflip_threshold
    mtd: gpmi-nand: fix read page when reading to vmalloced area
    mtd: mxc_nand: use 32bit copy functions

    Linus Torvalds
     

07 Jul, 2012

1 commit


06 Jul, 2012

4 commits

  • We don't need to open code the divide function, just use div_u64 that
    already exists and do the same job. While this is a straightforward
    clean up, there is more to that, the real motivation for this.

    While building on a cross compiling environment in armel, using gcc
    4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5), I was getting the following build
    error:

    ERROR: "__aeabi_uldivmod" [drivers/mtd/nand/nandsim.ko] undefined!

    After investigating with objdump and hand built assembly version
    generated with the compiler, I narrowed __aeabi_uldivmod as being
    generated from the divide function. When nandsim.c is built with
    -fno-inline-functions-called-once, that happens when
    CONFIG_DEBUG_SECTION_MISMATCH is enabled, the do_div optimization in
    arch/arm/include/asm/div64.h doesn't work as expected with the open
    coded divide function: even if the do_div we are using doesn't have a
    constant divisor, the compiler still includes the else parts of the
    optimized do_div macro, and translates the divisions there to use
    __aeabi_uldivmod, instead of only calling __do_div_asm -> __do_div64 and
    optimizing/removing everything else out.

    So to reproduce, gcc 4.6 plus CONFIG_DEBUG_SECTION_MISMATCH=y and
    CONFIG_MTD_NAND_NANDSIM=m should do it, building on armel.

    After this change, the compiler does the intended thing even with
    -fno-inline-functions-called-once, and optimizes out as expected the
    constant handling in the optimized do_div on arm. As this also avoids a
    build issue, I'm marking for Stable, as I think is applicable for this
    case.

    Signed-off-by: Herton Ronaldo Krzesinski
    Cc: stable@vger.kernel.org
    Acked-by: Nicolas Pitre
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Herton Ronaldo Krzesinski
     
  • The gpmi-nand driver uses virt_addr_valid() to check whether a buffer
    is suitable for dma. If it's not, a driver allocated buffer is used
    instead. Then after a page read the driver allocated buffer must be
    copied to the user supplied buffer. This does not happen since commit
    7725cc85932bd02dd12c23108e0ef748c551ccba.

    This patch fixes the issue. The bug is encountered with UBI which uses a
    vmalloced buffer for the volume table.

    Signed-off-by: Sascha Hauer
    Tested-by: snijsure@grid-net.com
    Acked-by: Huang Shijie
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Sascha Hauer
     
  • The following commit changes the function used to copy from/to
    the hardware buffer to memcpy_[from|to]io. This does not work
    since the hardware cannot handle the byte accesses used by these
    functions. Instead of reverting this patch introduce 32bit
    correspondents of these functions.

    | commit 5775ba36ea9c760c2d7e697dac04f2f7fc95aa62
    | Author: Uwe Kleine-König
    | Date: Tue Apr 24 10:05:22 2012 +0200
    |
    | mtd: mxc_nand: fix several sparse warnings about incorrect address space
    |
    | Signed-off-by: Uwe Kleine-König
    | Signed-off-by: Artem Bityutskiy

    Signed-off-by: Sascha Hauer
    Cc: Uwe Kleine-König
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Sascha Hauer
     
  • The intent here was clearly to set result to true if the 0x40000000 flag
    was set. But instead there was a | vs & typo and we always set result
    to true.

    Artem: check the spec at
    wiki.laptop.org/images/5/5c/88ALP01_Datasheet_July_2007.pdf
    and this fix looks correct.

    Signed-off-by: Dan Carpenter
    Cc: stable@vger.kernel.org
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Dan Carpenter
     

29 Jun, 2012

1 commit

  • Pull ubi/ubifs fixes from Artem Bityutskiy:
    "Fix the debugfs regression - we never enable it because incorrect
    'IS_ENABLED()' macro usage: should be 'IS_ENABLED(CONFIG_DEBUG_FS)',
    but we had 'IS_ENABLED(DEBUG_FS)'. Also fix incorrect assertion."

    * tag 'upstream-3.5-rc5' of git://git.infradead.org/linux-ubifs:
    UBI: correct usage of IS_ENABLED()
    UBIFS: correct usage of IS_ENABLED()
    UBIFS: fix assertion

    Linus Torvalds
     

27 Jun, 2012

2 commits

  • Commit "e9b4cf2 UBI: fix debugfs-less systems support" fixed one
    regression but introduced a different regression - the debugfs is now always
    compiled out. Root cause: IS_ENABLED() arguments should be used with the
    CONFIG_* prefix.

    Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     
  • The standard (see BSS_SECTION() in and
    ) symbol for the end of BSS is __bss_stop.
    This allows to remove all local declarations that have been added to
    several architectures just to please CONFIG_MTD_UCLINUX.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Paul Mundt
    Acked-by: Mike Frysinger
    Acked-by: Michal Simek
    Acked-by: Greg Ungerer

    Geert Uytterhoeven
     

16 Jun, 2012

1 commit

  • Provide an iterator to receive the log buffer content, and convert all
    kmsg_dump() users to it.

    The structured data in the kmsg buffer now contains binary data, which
    should no longer be copied verbatim to the kmsg_dump() users.

    The iterator should provide reliable access to the buffer data, and also
    supports proper log line-aware chunking of data while iterating.

    Signed-off-by: Kay Sievers
    Tested-by: Tony Luck
    Reported-by: Anton Vorontsov
    Tested-by: Anton Vorontsov
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

09 Jun, 2012

1 commit

  • As of edbc454 [mtd: driver _read() returns max_bitflips; mtd_read()
    returns -EUCLEAN], 'mtd->bitflip_threshold' must be set for mtd devices
    having ECC, prior any 'mtd_read()' call.
    Otherwise, 'mtd_read()' will falsely return -EUCLEAN.

    Normally, 'mtd->bitflip_threshold' is initialized when the MTD is added.

    However, this is too late for NAND MTDs, as 'scan_bbt()' is invoked
    prior the existing initialization of 'mtd->bitflip_threshold'.

    This is a problem since 'scan_bbt()' calls 'mtd_read()', in the case
    of a flash-based bad block table.
    It resulted in a falsely reported bitflips indication during BBT read,
    which lead to constant scrubbing of the flash BBT blocks.

    Initialize 'mtd->bitflip_threshold' to its default value (if not already
    set by the driver), prior to invocation of 'scan_bbt()'.

    Reported-by: Sascha Hauer
    Tested-by: Sascha Hauer
    Signed-off-by: Shmulik Ladkani
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Shmulik Ladkani
     

07 Jun, 2012

2 commits

  • Commit "62f38455 UBI: modify ubi_wl_flush function to clear work queue for a lnum"
    takes the 'work_sem' semaphore in write mode for the entire loop, which is not
    very good because it will block other workers for potentially long time. We do
    not need to have it in write mode - read mode is enough, and we do not need to
    hole it over the entire loop. So this patch turns changes the locking: takes
    'work_sem' in read mode and pushes it down to the loop.

    Signed-off-by: Artem Bityutskiy

    Artem Bityutskiy
     
  • Commit "aa44d1d UBI: remove Kconfig debugging option" broke UBI and it
    refuses to initialize if debugfs (CONFIG_DEBUG_FS) is disabled. I incorrectly
    assumed that debugfs files creation function will return success if debugfs
    is disabled, but they actually return -ENODEV. This patch fixes the issue.

    Reported-by: Paul Parsons
    Signed-off-by: Artem Bityutskiy
    Tested-by: Paul Parsons

    Artem Bityutskiy
     

02 Jun, 2012

5 commits

  • Pull mtd update from David Woodhouse:
    - More robust parsing especially of xattr data in JFFS2
    - Updates to mxc_nand and gpmi drivers to support new boards and device tree
    - Improve consistency of information about ECC strength in NAND devices
    - Clean up partition handling of plat_nand
    - Support NAND drivers without dedicated access to OOB area
    - BCH hardware ECC support for OMAP
    - Other fixes and cleanups, and a few new device IDs

    Fixed trivial conflict in drivers/mtd/nand/gpmi-nand/gpmi-nand.c due to
    added include files next to each other.

    * tag 'for-linus-3.5-20120601' of git://git.infradead.org/linux-mtd: (75 commits)
    mtd: mxc_nand: move ecc strengh setup before nand_scan_tail
    mtd: block2mtd: fix recursive call of mtd_writev
    mtd: gpmi-nand: define ecc.strength
    mtd: of_parts: fix breakage in Kconfig
    mtd: nand: fix scan_read_raw_oob
    mtd: docg3 fix in-middle of blocks reads
    mtd: cfi_cmdset_0002: Slight cleanup of fixup messages
    mtd: add fixup for S29NS512P NOR flash.
    jffs2: allow to complete xattr integrity check on first GC scan
    jffs2: allow to discriminate between recoverable and non-recoverable errors
    mtd: nand: omap: add support for hardware BCH ecc
    ARM: OMAP3: gpmc: add BCH ecc api and modes
    mtd: nand: check the return code of 'read_oob/read_oob_raw'
    mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw'
    mtd: m25p80: Add support for Winbond W25Q80BW
    jffs2: get rid of jffs2_sync_super
    jffs2: remove unnecessary GC pass on sync
    jffs2: remove unnecessary GC pass on umount
    jffs2: remove lock_super
    mtd: gpmi: add gpmi support for mx6q
    ...

    Linus Torvalds
     
  • Since commit 6a918bade9dab40aaef80559bd1169c69e8d69cb, the mxc_nand driver
    fails with:

    Driver must set ecc.strength when using hardware ECC

    This is because nand_scan_tail checks for correct ecc strength
    settings, so we must set them up before nand_scan_tail.

    Signed-off-by: Sascha Hauer
    Cc: stable@vger.kernel.org [3.4+]
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Sascha Hauer
     
  • The 'mtd_writev' interface calls the function assigned
    to the '_write' field of a given mtd device if that is
    not NULL. The block2mtd driver sets the '_writev' field
    to the 'mtd_writev' function itself and thus causes a
    endless loop.

    This is caused by 1dbebd32562b3c2caeca35960e5cb00bfcc12900
    (mtd: harmonize mtd_writev usage).

    Remove the assignment from the block2mtd driver to fix the
    issue.

    Signed-off-by: Gabor Juhos
    Cc: stable@kernel.org [3.3+]
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Gabor Juhos
     
  • Fix an issue which was introduced by the recent addition of ecc.strength.

    The ecc.strength wasn't set in gpmi-nand, resulting in the following crash:
    [ 2.550000] kernel BUG at drivers/mtd/nand/nand_base.c:3347!
    ...
    [ 2.550000] [] (nand_scan_tail+0x328/0x650) from [] (gpmi_nand_probe+0x43c/0x5a4)
    [ 2.550000] [] (gpmi_nand_probe+0x43c/0x5a4) from [] (platform_drv_probe+0x14/0x18)
    [ 2.550000] [] (platform_drv_probe+0x14/0x18) from [] (driver_probe_device+0x74/0x1fc)
    [ 2.550000] [] (driver_probe_device+0x74/0x1fc) from [] (__driver_attach+0x94/0x98)
    [ 2.550000] [] (__driver_attach+0x94/0x98) from [] (bus_for_each_dev+0x50/0x80)
    [ 2.550000] [] (bus_for_each_dev+0x50/0x80) from [] (bus_add_driver+0x188/0x25c)
    [ 2.550000] [] (bus_add_driver+0x188/0x25c) from [] (driver_register+0x78/0x138)
    [ 2.550000] [] (driver_register+0x78/0x138) from [] (gpmi_nand_init+0xc/0x30)
    [ 2.550000] [] (gpmi_nand_init+0xc/0x30) from [] (do_one_initcall+0x108/0x17c)
    [ 2.550000] [] (do_one_initcall+0x108/0x17c) from [] (kernel_init+0xfc/0x1bc)
    [ 2.550000] [] (kernel_init+0xfc/0x1bc) from [] (kernel_thread_exit+0x0/0x8)

    Signed-off-by: Marek Vasut
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Marek Vasut
     
  • MTD_OF_PARTS and the default setting is not working due to using 'Y'
    instead of 'y', introduced in commit
    d6137badeff1ef64b4e0092ec249ebdeaeb3ff37. This made our board, and
    possibly other boards using DTS defined partitions and not having
    CONFIG_MTD_OF_PARTS=y defined in the defconfig, fail to mount root.

    Signed-off-by: Frank Svendsboe
    Cc: stable@kernel.org [3.2+]
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Frank Svendsboe
     

30 May, 2012

1 commit

  • Pull MIPS updates from Ralf Baechle:
    "The whole series has been sitting in -next for quite a while with no
    complaints. The last change to the series was before the weekend the
    removal of an SPI patch which Grant - even though previously acked by
    himself - appeared to raise objections. So I removed it until the
    situation is clarified. Other than that all the patches have the acks
    from their respective maintainers, all MIPS and x86 defconfigs are
    building fine and I'm not aware of any problems introduced by this
    series.

    Among the key features for this patch series is a sizable patchset for
    Lantiq which among other things introduces support for Lantiq's
    flagship product, the FALCON SOC. It also means that the opensource
    developers behind this patchset have overtaken Lantiq's competing
    inhouse development team that was working behind closed doors.

    Less noteworthy the ath79 patchset which adds support for a few more
    chip variants, cleanups and fixes. Finally the usual dose of tweaking
    of generic code."

    Fix up trivial conflicts in arch/mips/lantiq/xway/gpio_{ebu,stp}.c where
    printk spelling fixes clashed with file move and eventual removal of the
    printk.

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (81 commits)
    MIPS: lantiq: remove orphaned code
    MIPS: Remove all -Wall and almost all -Werror usage from arch/mips.
    MIPS: lantiq: implement support for FALCON soc
    MTD: MIPS: lantiq: verify that the NOR interface is available on falcon soc
    MTD: MIPS: lantiq: implement OF support
    watchdog: MIPS: lantiq: implement OF support and minor fixes
    SERIAL: MIPS: lantiq: implement OF support
    GPIO: MIPS: lantiq: convert gpio-stp-xway to OF
    GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio
    GPIO: MIPS: lantiq: move gpio-stp and gpio-ebu to the subsystem folder
    MIPS: pci: convert lantiq driver to OF
    MIPS: lantiq: convert dma to platform driver
    MIPS: lantiq: implement support for clkdev api
    MIPS: lantiq: drop ltq_gpio_request() and gpio_to_irq()
    OF: MIPS: lantiq: implement irq_domain support
    OF: MIPS: lantiq: implement OF support
    MIPS: lantiq: drop mips_machine support
    OF: PCI: const usage needed by MIPS
    MIPS: Cavium: Remove smp_reserve_lock.
    MIPS: Move cache setup to setup_arch().
    ...

    Linus Torvalds
     

29 May, 2012

1 commit

  • It seems there is a bug in scan_read_raw_oob() in nand_bbt.c which
    should cause wrong functioning of NAND_BBT_SCANALLPAGES option.

    Artem: the patch did not apply and I had to amend it a bit.

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

    Dmitry Maluka