Skip to content
  1. Nov 21, 2012
  2. Nov 15, 2012
    • Brian Norris's avatar
      mtd: nand: fix Samsung SLC detection regression · 6924d99f
      Brian Norris authored
      
      
      This patch fixes errors seen in identifying old Samsung SLC, due to the
      following commits:
      
          commit e2d3a35e
          mtd: nand: detect Samsung K9GBG08U0A, K9GAG08U0F ID
      
          commit e3b88bd6
          mtd: nand: add generic READ ID length calculation functions
      
      Some Samsung NAND with "5-byte" ID really appear to have 6-byte IDs, with
      wraparound like:
      
        Samsung K9K8G08U0D
        ec d3 51 95 58 ec ec d3
      
        Samsung K9F1G08U0C
        ec f1 00 95 40 ec ec f1
      
        Samsung K9F2G08U0B
        ec da 10 95 44 00 ec da
      
      This bad wraparound makes it hard to reliably detect the difference
      between Samsung SLC with 5-byte ID and Samsung SLC with 6-byte ID.
      
      The fix is to, for now, only use the new Samsung table for MLC. We
      cannot support the new SLC (K9FAG08U0M) until Samsung gives better ID
      decode information.
      
      Note that this applies in addition to the previous regression fix:
      
          commit bc86cf7a
          mtd: nand: fix Samsung SLC NAND identification regression
      
      Together, these patches completely restore the previous detection
      behavior so that we cannot see any more regressions in Samsung SLC NAND
      (finger crossed). With luck, I can get a hold of a Samsung
      representative and stop having to cross my fingers eventually.
      
      Reported-by: default avatarSylwester Nawrocki <sylvester.nawrocki@gmail.com>
      Tested-by: default avatarSylwester Nawrocki <sylvester.nawrocki@gmail.com>
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      6924d99f
    • Brian Norris's avatar
      mtd: nand: fix Samsung SLC NAND identification regression · af451af4
      Brian Norris authored
      
      
      A combination of the following two commits caused a regression in 3.7-rc1
      when identifying some Samsung NAND, so that some previously working NAND
      were no longer detected properly:
      
          commit e3b88bd6
          mtd: nand: add generic READ ID length calculation functions
      
          commit e2d3a35e
          mtd: nand: detect Samsung K9GBG08U0A, K9GAG08U0F ID
      
      Particularly, a regression was seen on Samsung K9F2G08U0B, with the
      following full 8-byte READ ID string:
      
          ec da 10 95 44 00 ec da
      
      The basic problem is that Samsung manufactures both SLC and MLC NAND
      that use a non-standard decoding table for deriving information from
      their IDs. I have heuristically determined that all the chips that use
      the new table have ID strings which wrap around after the 6th byte.
      Unfortunately, I overlooked the fact that some older Samsung SLC (which
      use a different decoding table) have "5 byte ID strings" which also wrap
      around after the 6th byte.
      
      This patch re-introduces a distinction between these old and new Samsung
      NAND by checking that the 6th byte is non-zero, allowing both old and
      new Samsung NAND to be detected properly.
      
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Tested-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Reported-by: default avatarMarek Vasut <marex@denx.de>
      Tested-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      af451af4
  3. Nov 09, 2012
  4. Nov 05, 2012
  5. Nov 04, 2012
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-3.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · d4164973
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
      
       - Fix a bunch of deadlock situations:
         * State recovery can deadlock if we fail to release sequence ids
           before scheduling the recovery thread.
         * Calling deactivate_super() from an RPC workqueue thread can
           deadlock because of the call to rpc_shutdown_client.
      
       - Display the device name correctly in /proc/*/mounts
      
       - Fix a number of incorrect error return values:
         * When NFSv3 mounts fail due to a timeout.
         * On NFSv4.1 backchannel setup failure
         * On NFSv4 open access checks
      
       - pnfs_find_alloc_layout() must check the layout pointer for NULL
      
       - Fix a regression in the legacy DNS resolved
      
      * tag 'nfs-for-3.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS4: nfs4_opendata_access should return errno
        NFSv4: Initialise the NFSv4.1 slot table highest_used_slotid correctly
        SUNRPC: return proper errno from backchannel_rqst
        NFS: add nfs_sb_deactive_async to avoid deadlock
        nfs: Show original device name verbatim in /proc/*/mount{s,info}
        nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts
        nfs: Check whether a layout pointer is NULL before free it
        NFS: fix bug in legacy DNS resolver.
        NFSv4: nfs4_locku_done must release the sequence id
        NFSv4.1: We must release the sequence id when we fail to get a session slot
        NFS: Wait for session recovery to finish before returning
      d4164973
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux · 225ff868
      Linus Torvalds authored
      Pull thermal management & ACPI update from Zhang Rui,
      
      Ho humm.  Normally these things go through Len.  But it's just three
      small fixes, I guess I can pull directly too.
      
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
        exynos4_tmu_driver_ids should be exynos_tmu_driver_ids.
        ACPI video: Ignore errors after _DOD evaluation.
        thermal: solve compilation errors in rcar_thermal
      225ff868
    • Linus Torvalds's avatar
      Merge branch 'i2c-embedded/for-current' of git://git.pengutronix.de/git/wsa/linux · 209c510e
      Linus Torvalds authored
      Pull i2c embedded fixes from Wolfram Sang:
       "Two patches are usual stuff.
      
        The bigger patch is needed to correct a wrong decision made in this
        merge window.  We hoped to get the PIOQUEUE mode in the mxs driver
        working with DMA, but it turned out to be too broken (leading to data
        loss), so we now think it is best to remove it entirely and work only
        with DMA now.  The patch should be in 3.7.  IMO, so users never get
        the chance to use both modes in parallel."
      
      * 'i2c-embedded/for-current' of git://git.pengutronix.de/git/wsa/linux:
        i2c: tegra: set irq name as device name
        i2c-nomadik: Fixup clock handling
        i2c: mxs: remove broken PIOQUEUE support
      209c510e
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 53f9313f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Scattered selection of fixes:
      
         - radeon: load detect fixes from SuSE/AMD
         - intel: misc i830, sdvo regression, vesafb kickoff ums fix
         - exynos: maintainers entry update + fixes
         - udl: fix stride scanout issue
      
        it's slightly bigger than I'd probably like, but nothing looked
        dangerous enough to hold off on."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/udl: fix stride issues scanning out stride != width*bpp
        drm/radeon: add load detection support for ext DAC on R200 (v2)
        DRM/radeon: For single CRTC GPUs move handling of CRTC_CRT_ON to crtc_dpms().
        DRM/Radeon: Fix TV DAC Load Detection for single CRTC chips.
        DRM/Radeon: Clean up code in TV DAC load detection.
        drm/radeon: fix ATPX function documentation
        drivers/gpu/drm/radeon/evergreen_cs.c: Remove unnecessary semicolon
        DRM/Radeon: On DVI-I use Load Detection when EDID is bogus.
        DRM/Radeon: Fix primary DAC Load Detection for RV100 chips.
        DRM/Radeon: Fix Load Detection on legacy primary DAC.
        drm: exynos: removed warning due to missing typecast for mixer driver data
        drm/exynos: add support for ARCH_MULTIPLATFORM
        MAINTAINERS: Add git repository for Exynos DRM
        drm/exynos: fix display on issue
        drm/i915: Only kick out vesafb if we takeover the fbcon with KMS
        drm/i915: be less verbose about inability to provide vendor backlight
        drm/i915: clear the entire sdvo infoframe buffer
        drm/i915: VGA needs to be on pipe A on i830M
        drm/i915: fix overlay on i830M
      53f9313f
  6. Nov 03, 2012
  7. Nov 02, 2012