From: Niklas Cassel <cassel@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
linux-ide@vger.kernel.org
Cc: Damien Le Moal <dlemoal@kernel.org>, Niklas Cassel <cassel@kernel.org>
Subject: [GIT PULL] ata changes for 6.11-rc1
Date: Tue, 16 Jul 2024 14:32:01 +0200 [thread overview]
Message-ID: <20240716123201.145960-1-cassel@kernel.org> (raw)
Linus,
The following changes since commit eeb25a09c5e0805d92e4ebd12c4b0ad0df1b0295:
ata: ahci: Clean up sysfs file on error (2024-06-30 22:23:39 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux tags/ata-6.11-rc1
for you to fetch changes up to 6739fad42af2e5eb87417283278a13a57f69c0de:
dt-bindings: ata: ahci-fsl-qoriq: add fsl,ls1046a-ahci and fsl,ls1012a-ahci (2024-07-12 22:54:33 +0200)
----------------------------------------------------------------
ata changes for 6.11-rc1
- ATA PASS-THROUGH sense data cleanups and fixes. (from Igor Pylypiv)
Highlights:
Store the sense data for ATA PASS-THROUGH commands at the correct offset
in the sense buffer when using fixed format sense data.
Cleanup the logic related to generating sense data for PASS-THROUGH
commands. Generating sense data for PASS-THROUGH commands would
overwrite any eventual (real) sense data received from the device.
Honor the D_SENSE bit when generating sense data for PASS-THROUGH
commands. (The D_SENSE bit can be set by the user, and determines if
the returned sense data should be in fixed format or descriptor format.)
- ata port allocation cleanups. (from me)
Highlights:
Assign the ata port print_id at port allocation time, such that the
ata_port_* print functions can be used earlier in the init call chain.
Change the ata port port print_id to use ida_alloc(), such that
print_ids will get reused on rmmod + modprobe, instead of being
incremented indefinitely.
Remove wrappers that only existed in order to export the internal libata
functions which they wrapped, and instead export the libata functions
directly.
- Update SATA_MOBILE_LPM_POLICY Kconfig default to med_power_with_dipm.
Using this default was not always a good idea before, because it would
break hot plug support. However, with LPM changes in recent kernels,
a port marked as external will not enable LPM (in order to not break hot
plug), so it is now safe to change the default value of this Kconfig.
All major Linux distros have had SATA_MOBILE_LPM_POLICY set to
med_power_with_dipm for quite a long time. (from Mario Limonciello)
- Convert ahci-fsl-qoriq device tree binding to yaml format.
(from Frank Li)
----------------------------------------------------------------
Frank Li (2):
dt-bindings: ata: ahci-fsl-qoriq: convert to yaml format
dt-bindings: ata: ahci-fsl-qoriq: add fsl,ls1046a-ahci and fsl,ls1012a-ahci
Igor Pylypiv (7):
ata: libata-scsi: Fix offsets for the fixed format sense data
ata: libata-scsi: Do not overwrite valid sense data when CK_COND=1
ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
ata: libata-scsi: Remove redundant sense_buffer memsets
ata: libata-scsi: Do not pass ATA device id to ata_to_sense_error()
ata: libata-core: Set ATA_QCFLAG_RTF_FILLED in fill_result_tf()
ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
Mario Limonciello (1):
ata: Kconfig: Update SATA_MOBILE_LPM_POLICY default to med_power_with_dipm
Niklas Cassel (10):
Merge remote-tracking branch 'libata/for-6.10-fixes' into for-6.11
ata,scsi: Remove wrappers ata_sas_tport_{add,delete}()
ata: libata: Remove unused function declaration for ata_scsi_detect()
ata: libata-core: Remove support for decreasing the number of ports
ata: libata-sata: Remove superfluous assignment in ata_sas_port_alloc()
ata: libata-core: Remove local_port_no struct member
ata: libata: Assign print_id at port allocation time
ata: libata-core: Reuse available ata_port print_ids
ata,scsi: Remove wrapper ata_sas_port_alloc()
ata: ahci: Add debug print for external port
.../devicetree/bindings/ata/ahci-fsl-qoriq.txt | 21 ---
.../devicetree/bindings/ata/fsl,ahci.yaml | 64 +++++++
drivers/ata/Kconfig | 2 +-
drivers/ata/ahci.c | 4 +-
drivers/ata/libahci.c | 12 +-
drivers/ata/libata-core.c | 49 +++--
drivers/ata/libata-sata.c | 49 -----
drivers/ata/libata-scsi.c | 209 ++++++++++++---------
drivers/ata/libata-transport.c | 5 +-
drivers/ata/libata-transport.h | 3 -
drivers/ata/libata.h | 2 -
drivers/scsi/libsas/sas_ata.c | 22 +--
drivers/scsi/libsas/sas_discover.c | 2 +-
include/linux/libata.h | 11 +-
14 files changed, 230 insertions(+), 225 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt
create mode 100644 Documentation/devicetree/bindings/ata/fsl,ahci.yaml
next reply other threads:[~2024-07-16 12:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-16 12:32 Niklas Cassel [this message]
2024-07-17 20:33 ` [GIT PULL] ata changes for 6.11-rc1 pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240716123201.145960-1-cassel@kernel.org \
--to=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox