Skip to content
  1. Nov 04, 2008
    • Tejun Heo's avatar
      sata_nv: fix generic, nf2/3 detection regression · 3c324283
      Tejun Heo authored
      
      
      All three flavors of sata_nv's are different in how their hardreset
      behaves.
      
      * generic: Hardreset is not reliable.  Link often doesn't come online
        after hardreset.
      
      * nf2/3: A little bit better - link comes online with longer debounce
        timing.  However, nf2/3 can't reliable wait for the first D2H
        Register FIS, so it can't wait for device readiness or classify the
        device after hardreset.  Follow-up SRST required.
      
      * ck804: Hardreset finally works.
      
      The core layer change to prefer hardreset and follow up changes
      exposed the above issues and caused various detection regressions for
      all three flavors.  This patch, hopefully, fixes all the known issues
      and should make sata_nv error handling more reliable.
      
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      3c324283
    • Marcin Slusarz's avatar
      sata_via: restore vt*_prepare_host error handling · 554d491d
      Marcin Slusarz authored
      commit b9d5b89b
      
       (sata_via: fix support
      for 5287) accidently (?) removed vt*_prepare_host error handling - restore it
      
      catched by gcc:
      drivers/ata/sata_via.c: In function 'svia_init_one':
      drivers/ata/sata_via.c:567: warning: 'host' may be used uninitialized in this function
      
      Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Jeff Garzik <jgarzik@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      554d491d
    • Mikael Pettersson's avatar
      sata_promise: add ATA engine reset to reset ops · cadef677
      Mikael Pettersson authored
      
      
      Promise ATA engines need to be reset when errors occur.
      That's currently done for errors detected by sata_promise itself,
      but it's not done for errors like timeouts detected outside of
      the low-level driver.
      
      The effect of this omission is that a timeout tends to result
      in a sequence of failed COMRESETs after which libata EH gives
      up and disables the port. At that point the port's ATA engine
      hangs and even reloading the driver will not resume it.
      
      To fix this, make sata_promise override ->hardreset on SATA
      ports with code which calls pdc_reset_port() on the port in
      question before calling libata's hardreset. PATA ports don't
      use ->hardreset, so for those we override ->softreset instead.
      
      Signed-off-by: default avatarMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      cadef677
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · a75952b7
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        cifs: fix renaming one hardlink on top of another
        [CIFS] fix error in smb_send2
        [CIFS] Reduce number of socket retries in large write path
      a75952b7
    • Jeff Layton's avatar
      cifs: fix renaming one hardlink on top of another · ae6884a9
      Jeff Layton authored
      
      
      cifs: fix renaming one hardlink on top of another
      
      POSIX says that renaming one hardlink on top of another to the same
      inode is a no-op. We had the logic mostly right, but forgot to clear
      the return code.
      
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      ae6884a9
    • Linus Torvalds's avatar
      Merge branch 'tracing-fixes-for-linus' of... · 457d2ee2
      Linus Torvalds authored
      Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        tracing, ring-buffer: add paranoid checks for loops
        ftrace: use kretprobe trampoline name to test in output
        tracing, alpha: undefined reference to `save_stack_trace'
      457d2ee2
    • Linus Torvalds's avatar
      Merge branch 'io-mappings-for-linus-2' of... · da4a22cb
      Linus Torvalds authored
      Merge branch 'io-mappings-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'io-mappings-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        io mapping: clean up #ifdefs
        io mapping: improve documentation
        i915: use io-mapping interfaces instead of a variety of mapping kludges
        resources: add io-mapping functions to dynamically map large device apertures
        x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps
      da4a22cb
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 20ebc007
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: hda: make a STAC_DELL_EQ option
        ALSA: emu10k1 - Add more invert_shared_spdif flag to Audigy models
        ALSA: hda - Add a quirk for another Acer Aspire (1025:0090)
        ALSA: remove direct access of dev->bus_id in sound/isa/*
        sound: struct device - replace bus_id with dev_name(), dev_set_name()
        ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker
        ALSA: rawmidi - Add open check in rawmidi callbacks
        ALSA: hda - Add digital-mic for ALC269 auto-probe mode
        ALSA: hda - Disable broken mic auto-muting in Realtek codes
      20ebc007
    • Linus Torvalds's avatar
      Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc · c8126cc6
      Linus Torvalds authored
      * 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc:
        proc: revert /proc/uptime to ->read_proc hook
      c8126cc6
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 30ef898c
      Linus Torvalds authored
      * 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        i915: Add GEM ioctl to get available aperture size.
        drm/radeon: fixup further bus mastering confusion.
        build fix: CONFIG_DRM_I915=y && CONFIG_ACPI=n
      30ef898c
    • Keith Packard's avatar
      io mapping: clean up #ifdefs · e5beae16
      Keith Packard authored
      
      
      Impact: cleanup
      
      clean up ifdefs: change #ifdef CONFIG_X86_32/64 to
      CONFIG_HAVE_ATOMIC_IOMAP.
      
      flip around the #ifdef sections to clean up the structure.
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      e5beae16
    • Keith Packard's avatar
      io mapping: improve documentation · 8d5c6603
      Keith Packard authored
      
      
      Impact: add documentation
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8d5c6603
  2. Nov 03, 2008
  3. Nov 02, 2008