1. 31 Aug, 2019 1 commit
    • Dan Williams's avatar
      libata/ahci: Drop PCS quirk for Denverton and beyond · c312ef17
      Dan Williams authored
      The Linux ahci driver has historically implemented a configuration fixup
      for platforms / platform-firmware that fails to enable the ports prior
      to OS hand-off at boot. The fixup was originally implemented way back
      before ahci moved from drivers/scsi/ to drivers/ata/, and was updated in
      2007 via commit 49f29090 "ahci: update PCS programming". The quirk
      sets a port-enable bitmap in the PCS register at offset 0x92.
      
      This quirk could be applied generically up until the arrival of the
      Denverton (DNV) platform. The DNV AHCI controller architecture supports
      more than 6 ports and along with that the PCS register location and
      format were updated to allow for more possible ports in the bitmap. DNV
      AHCI expands the register to 32-bits and moves it to offset 0x94.
      
      As it stands there are no known problem reports with existing Linux
      trying to set bits at offset 0x92 which indicates that the quirk is not
      applicable. Likely it is not applicable on a wider range of platforms,
      but it is difficult to discern which platforms if any still depend on
      the quirk.
      
      Rather than try to fix the PCS quirk to consider the DNV register layout
      instead require explicit opt-in. The assumption is that the OS driver
      need not touch this register, and platforms can be added with a new
      boad_ahci_pcs7 board-id when / if problematic platforms are found in the
      future. The logic in ahci_intel_pcs_quirk() looks for all Intel AHCI
      instances with "legacy" board-ids and otherwise skips the quirk if the
      board was matched by class-code.
      Reported-by: default avatarStephen Douthit <stephend@silicom-usa.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Reviewed-by: default avatarStephen Douthit <stephend@silicom-usa.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      c312ef17
  2. 30 Aug, 2019 1 commit
  3. 26 Aug, 2019 8 commits
  4. 23 Aug, 2019 1 commit
    • Max Staudt's avatar
      ata/pata_buddha: Probe via modalias instead of initcall · 12ce6b0d
      Max Staudt authored
      Up until now, the pata_buddha driver would only check for cards on
      initcall time. Now, the kernel will call its probe function as soon
      as a compatible card is detected.
      
      v7: Removed suppress_bind_attrs that slipped in
      
      v6: Only do the drvdata workaround for X-Surf (remove breaks otherwise)
          Style
      
      v5: Remove module_exit(): There's no good way to handle the X-Surf hack.
          Also include a workaround to save X-Surf's drvdata in case zorro8390
          is active.
      
      v4: Clean up pata_buddha_probe() by using ent->driver_data.
          Support X-Surf via late_initcall()
      
      v3: Clean up devm_*, implement device removal.
      
      v2: Rename 'zdev' to 'z' to make the patch easy to analyse with
          git diff --ignore-space-change
      Signed-off-by: default avatarMax Staudt <max@enpas.org>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      12ce6b0d
  5. 05 Aug, 2019 1 commit
  6. 04 Aug, 2019 10 commits
  7. 03 Aug, 2019 18 commits