05 Sep, 2008

1 commit


02 Sep, 2008

1 commit

  • The MEMGETREGIONINFO ioctl() in mtdchar.c was clobbering user memory by
    overwriting more than intended, due the size of struct mtd_erase_region_info
    changing in commit 0ecbc81adfcb9f15f86b05ff576b342ce81bbef8 ('Support
    for auto locking flash on power up').

    Fix avoids this by copying struct members one by one with put_user(), as there
    is no longer a convenient struct to use the size of as the length argument to
    copy_to_user().

    Signed-off-by: Zev Weiss
    Signed-off-by: David Woodhouse

    Zev Weiss
     

24 Aug, 2008

1 commit


17 Aug, 2008

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm: (38 commits)
    [ARM] 5191/1: ARM: remove CVS keywords
    [ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified
    [ARM] pxafb: add flag to specify output format on LDD pins when base is RGBT16
    [ARM] pxafb: fix the incorrect configuration of GPIO77 as ACBIAS for TFT LCD
    [ARM] 5198/1: PalmTX: PCMCIA fixes
    [ARM] Fix a pile of broken watchdog drivers
    [ARM] update mach-types
    [ARM] 5196/1: fix inline asm constraints for preload
    [ARM] 5194/1: update .gitignore
    [ARM] add proc-macros.S include to proc-arm940 and proc-arm946
    [ARM] 5192/1: ARM TLB: add v7wbi_{possible,always}_flags to {possible,always}_tlb_flags
    [ARM] 5193/1: Wire up missing syscalls
    [ARM] traps: don't call undef hook functions with spinlock held
    [ARM] 5183/2: Provide Poodle LoCoMo GPIO names
    [ARM] dma-mapping: provide sync_range APIs
    [ARM] dma-mapping: improve type-safeness of DMA translations
    [ARM] Kirkwood: instantiate the orion_spi driver in the platform code
    [ARM] prevent crashing when too much RAM installed
    [ARM] Kirkwood: Instantiate mv_xor driver
    [ARM] Orion: Instantiate mv_xor driver for 5182
    ...

    Linus Torvalds
     

11 Aug, 2008

2 commits


09 Aug, 2008

1 commit


07 Aug, 2008

3 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

1 commit


02 Aug, 2008

2 commits

  • As reported by Adrian Bunk, commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7
    (switch mtd and dm-table to lookup_bdev()) causes the following compile
    error with CONFIG_BLOCK=n:

    CC drivers/mtd/mtdsuper.o
    drivers/mtd/mtdsuper.c: In function `get_sb_mtd':
    drivers/mtd/mtdsuper.c:184: error: implicit declaration of function 'lookup_bdev'
    drivers/mtd/mtdsuper.c:184: warning: assignment makes pointer from integer without a cast
    drivers/mtd/mtdsuper.c:197: error: implicit declaration of function 'bdput'
    make[3]: *** [drivers/mtd/mtdsuper.o] Error 1

    Fix it by putting the block device lookup inside #ifdef CONFIG_BLOCK

    Signed-off-by: David Woodhouse

    David Woodhouse
     
  • * git://git.infradead.org/mtd-2.6:
    [MTD] [NAND] drivers/mtd/nand/nandsim.c: fix printk warnings
    [MTD] [NAND] Blackfin NFC Driver: Cleanup the error exit path of bf5xx_nand_probe function
    [MTD] [NAND] Blackfin NFC Driver: use standard dev_err() rather than printk()
    [MTD] [NAND] Blackfin NFC Driver: enable Blackfin nand HWECC support by default
    [MTD] [NAND] Blackfin NFC Driver: add proper devinit/devexit markings to probe/remove functions
    [MTD] [NAND] Blackfin NFC Driver: add support for the ECC layout the Blackfin bootrom uses
    [MTD] [NAND] Blackfin NFC Driver: fix bug - hw ecc calc by making sure we extract 11 bits from each register instead of 10
    [MTD] [NAND] Blackfin NFC Driver: fix bug - do not clobber the status from the first 256 bytes if operating on 512 pages
    [MTD] [NAND] diskonchip.c fix sparse endian warnings
    [MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h
    [JFFS2] Fix allocation of summary buffer
    Fix rename of at91_nand -> atmel_nand
    [MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID
    [MTD] MTD_DEBUG always does compile-time typechecks
    [MTD] DataFlash: bugfix, binary page sizes now handled
    [MTD] [NAND] fsl_elbc_nand.c: fix printk warning
    [MTD] [NAND] nandsim: support random page read command
    [MTD] [NAND] fix subpage read for small page NAND

    Linus Torvalds
     

01 Aug, 2008

11 commits


31 Jul, 2008

1 commit


30 Jul, 2008

3 commits

  • The wrong version of the "teach dataflash about binary density" patch
    just got merged (v2 not v3) ... this restores the missing updates:

    * Fix the cmdlinepart *regression* that caused testing failures (!!)
    by restoring the original part labels in relevant cases.

    * Don't reference things that don't exist (!)
    - An opcode that doesn't even exist for DataFlash
    - The part is "at45db642" not "at45db641"
    - ID zero in this JEDEC table

    * Make the JEDEC probe routine report and handle errors better:
    - If the SPI calls fail, return the error codes.
    - Don't depend on ordering of table entries.
    - Unrecognized ids are different from parts that have no ID.
    We won't actually know how to handle them correctly; display
    the ID and ignore the chip.

    * Move the original block comment about the "legacy" chip ID scheme
    back next to the code to which it applies ... not next to the new
    JEDEC query code, which uses an entirely different strategy.

    * Don't print a guessed erasesize; /proc/mtd has the real value.

    And add a few more comments.

    Signed-off-by: David Brownell
    Cc: Bryan Wu
    Cc: Michael Hennerich
    Signed-off-by: Andrew Morton
    Signed-off-by: David Woodhouse

    akpm@linux-foundation.org
     
  • drivers/mtd/nand/fsl_elbc_nand.c:890: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t'

    Signed-off-by: Andrew Morton
    Signed-off-by: David Woodhouse

    akpm@linux-foundation.org
     
  • Commit 3d45955962496879dead8d4dd70bb9a23b07154b ("subpage read feature
    as a way to improve performance") broke nandsim because nandsim does not
    support the "random page read" NAND command. This patch adds
    corresponding support.

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

    Artem Bityutskiy
     

27 Jul, 2008

1 commit

  • * 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
     

26 Jul, 2008

1 commit

  • * 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6: (22 commits)
    UBI: always start the background thread
    UBI: fix gcc warning
    UBI: remove pre-sqnum images support
    UBI: fix kernel-doc errors and warnings
    UBI: fix checkpatch.pl errors and warnings
    UBI: bugfix - do not torture PEB needlessly
    UBI: rework scrubbing messages
    UBI: implement multiple volumes rename
    UBI: fix and re-work debugging stuff
    UBI: amend commentaries
    UBI: fix error message
    UBI: improve mkvol request validation
    UBI: add ubi_sync() interface
    UBI: fix 64-bit calculations
    UBI: fix LEB locking
    UBI: fix memory leak on error path
    UBI: do not forget to free internal volumes
    UBI: fix memory leak
    UBI: avoid unnecessary division operations
    UBI: fix buffer padding
    ...

    Linus Torvalds
     

25 Jul, 2008

9 commits