Linux kernel source tree
Go to file
Linus Torvalds ced1b9e039 ata changes for 6.17-rc1
- Replace the ATA_DFLAG_ZAC device flag with the helper function
    ata_dev_is_zac() testing directly the device class and device zoned
    mode (me).
 
  - Some small cleanup of ata_scsi_offline_dev() code (me).
 
  - Improve the description of the link power management (LPM) policies
    in Kconfig and in the comments defining these. Together with this,
    clarify the description of the ahci driver mobile_lpm_policy module
    parameter (me).
 
  - Various code refactoring of libata LPM handling (ata_eh_set_lpm()
    renaming, introduce ata_dev_config_lpm(), LPM related quirk handling,
    and LPM related feature advertizing on device scan) (me).
 
  - Avoid unnecessary device reset when revalidating after an error when
    LPM is used (me).
 
  - Do not allow setting a port/link LPM policy if LPM is not supported,
    either because the controller does not support partial, slumber nor
    devsleep, or when the port is an external port with hotplug
    capability (me).
 
  - Make sure that device initiated power management (DIPM) is not
    enabled if the host (controller) lacks support for this feature (me).
 
  - Improve messages and debug messages related to LPM, in particular,
    reduce the number of messages signaling the lack of LPM support (me).
 
  - Cache in memory a device general purpose log directory to avoid
    having to access this log for every log page access. The intent here
    is to reduce the number of read log commands when scanning or
    revalidating a device (me).
 
  - Change ata_dev_cleanup_cdl_resources() to be a static function (me).
 
  - Rename and simplify the mode setting functions (me).
 
  - Introduce the helper function ata_port_eh_scheduled() to check if EH
    is pending or running for a port (me)
 
  - Improve ata_eh_set_pending() (return bool instead of int) (me).
 
  - Use sysfs_emit() instead of scnprintf() for libata-transport
    attributes (Jonathan).
 
  - Use the existing macro definiton of RDC vendor ID instead of
    hardcoding it in the pata_rdc driver (Andy).
 
  - Rework how EH is called for a port to avoid needing to pass along the
    prereset, softreset, hardreset and postreset operations. The
    driver API documentation for this is also updated  (me).
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSRPv8tYSvhwAzJdzjdoc3SxdoYdgUCaIcTIQAKCRDdoc3SxdoY
 dgtgAP4vgCeecZm0yW4eEEE5AFCqrF0TqTQsubH9UA5WtXs7aAEAtI6EFxp1BYN+
 PFSKPxrVgxPRuMpJTtYt+N/KkjoZjwo=
 =5ppj
 -----END PGP SIGNATURE-----

Merge tag 'ata-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux

Pull ata updates from Damien Le Moal:

 - Replace the ATA_DFLAG_ZAC device flag with the helper function
   ata_dev_is_zac() testing directly the device class and device zoned
   mode (me)

 - Some small cleanup of ata_scsi_offline_dev() code (me)

 - Improve the description of the link power management (LPM) policies
   in Kconfig and in the comments defining these. Together with this,
   clarify the description of the ahci driver mobile_lpm_policy module
   parameter (me)

 - Various code refactoring of libata LPM handling (ata_eh_set_lpm()
   renaming, introduce ata_dev_config_lpm(), LPM related quirk handling,
   and LPM related feature advertizing on device scan) (me)

 - Avoid unnecessary device reset when revalidating after an error when
   LPM is used (me)

 - Do not allow setting a port/link LPM policy if LPM is not supported,
   either because the controller does not support partial, slumber nor
   devsleep, or when the port is an external port with hotplug
   capability (me)

 - Make sure that device initiated power management (DIPM) is not
   enabled if the host (controller) lacks support for this feature (me)

 - Improve messages and debug messages related to LPM, in particular,
   reduce the number of messages signaling the lack of LPM support (me)

 - Cache in memory a device general purpose log directory to avoid
   having to access this log for every log page access. The intent here
   is to reduce the number of read log commands when scanning or
   revalidating a device (me)

 - Change ata_dev_cleanup_cdl_resources() to be a static function (me)

 - Rename and simplify the mode setting functions (me)

 - Introduce the helper function ata_port_eh_scheduled() to check if EH
   is pending or running for a port (me)

 - Improve ata_eh_set_pending() (return bool instead of int) (me)

 - Use sysfs_emit() instead of scnprintf() for libata-transport
   attributes (Jonathan)

 - Use the existing macro definiton of RDC vendor ID instead of
   hardcoding it in the pata_rdc driver (Andy)

 - Rework how EH is called for a port to avoid needing to pass along the
   prereset, softreset, hardreset and postreset operations. The driver
   API documentation for this is also updated (me)

* tag 'ata-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux: (28 commits)
  Documentation: driver-api: Update libata error handler information
  ata: libata-eh: Simplify reset operation management
  ata: libata-eh: Remove ata_do_eh()
  ata: pata_rdc: Use registered definition for the RDC vendor
  ata: libata-eh: Make ata_eh_followup_srst_needed() return a bool
  ata: libata-transport: replace scnprintf with sysfs_emit for simple attributes
  ata: libata-eh: use bool for fastdrain in ata_eh_set_pending()
  ata: libata: Introduce ata_port_eh_scheduled()
  ata: libata-core: Rename ata_do_set_mode()
  ata: libata-eh: Rename and make ata_set_mode() static
  ata: libata-core: Make ata_dev_cleanup_cdl_resources() static
  ata: libata-core: Cache the general purpose log directory
  ata: libata_eh: Add debug messages to ata_eh_link_set_lpm()
  ata: libata-core: Reduce the number of messages signaling broken LPM
  ata: ahci: Disallow LPM policy control if not supported
  ata: ahci: Disallow LPM policy control for external ports
  ata: ahci: Disable DIPM if host lacks support
  ata: libata-sata: Disallow changing LPM state if not supported
  ata: libata-eh: Avoid unnecessary resets when revalidating devices
  ata: libata-core: Advertize device support for DIPM and HIPM features
  ...
2025-07-28 17:08:24 -07:00
arch vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
block for-6.17/block-20250728 2025-07-28 16:43:54 -07:00
certs sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 2024-09-20 19:52:48 +03:00
crypto crypto: wp512 - Use API partial block handling 2025-06-23 16:56:56 +08:00
Documentation ata changes for 6.17-rc1 2025-07-28 17:08:24 -07:00
drivers ata changes for 6.17-rc1 2025-07-28 17:08:24 -07:00
fs zonefs changes for 6.17-rc1 2025-07-28 17:06:51 -07:00
include ata changes for 6.17-rc1 2025-07-28 17:08:24 -07:00
init for-6.17/io_uring-20250728 2025-07-28 16:30:12 -07:00
io_uring for-6.17/io_uring-20250728 2025-07-28 16:30:12 -07:00
ipc vfs-6.17-rc1.mmap_prepare 2025-07-28 13:43:25 -07:00
kernel for-6.17/block-20250728 2025-07-28 16:43:54 -07:00
lib for-6.17/block-20250728 2025-07-28 16:43:54 -07:00
LICENSES LICENSES: add CC0-1.0 license text 2025-05-21 14:54:17 +02:00
mm vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
net for-6.17/io_uring-20250728 2025-07-28 16:30:12 -07:00
rust vfs-6.17-rc1.rust 2025-07-28 14:44:43 -07:00
samples samples/damon: fix damon sample mtier for start failure 2025-07-09 21:07:55 -07:00
scripts vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
security vfs-6.17-rc1.fileattr 2025-07-28 15:24:14 -07:00
sound ASoC: Fixes for v6.16 2025-07-24 08:45:13 +02:00
tools for-6.17/block-20250728 2025-07-28 16:43:54 -07:00
usr usr/include: openrisc: don't HDRTEST bpf_perf_event.h 2025-05-12 15:03:17 +09:00
virt KVM: Allow CPU to reschedule while setting per-page memory attributes 2025-06-24 12:20:17 -07:00
.clang-format Linux 6.15-rc5 2025-05-06 16:39:25 +10:00
.clippy.toml rust: clean Rust 1.88.0's warning about clippy::disallowed_macros configuration 2025-05-07 00:11:47 +02:00
.cocciconfig
.editorconfig .editorconfig: remove trim_trailing_whitespace option 2024-06-13 16:47:52 +02:00
.get_maintainer.ignore MAINTAINERS: Retire Ralf Baechle 2024-11-12 15:48:59 +01:00
.gitattributes .gitattributes: set diff driver for Rust source code files 2023-05-31 17:48:25 +02:00
.gitignore .gitignore: ignore Python compiled bytecode 2025-04-24 10:12:46 -06:00
.mailmap 11 hotfixes. 9 are cc:stable and the remainder address post-6.15 issues 2025-07-24 19:13:30 -07:00
.pylintrc docs: add a .pylintrc file with sys path for docs scripts 2025-04-09 12:10:33 -06:00
.rustfmt.toml rust: add .rustfmt.toml 2022-09-28 09:02:20 +02:00
COPYING
CREDITS mm: update MAINTAINERS entry for HMM 2025-07-19 19:26:16 -07:00
Kbuild drm: ensure drm headers are self-contained and pass kernel-doc 2025-02-12 10:44:43 +02:00
Kconfig io_uring: Rename KConfig to Kconfig 2025-02-19 14:53:27 -07:00
MAINTAINERS for-6.17/block-20250728 2025-07-28 16:43:54 -07:00
Makefile Linux 6.16 2025-07-27 14:26:38 -07:00
README README: Fix spelling 2024-03-18 03:36:32 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.