Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Pull ata fixes from Niklas Cassel:

- Fix a hibernate regression where the disk was needlessly spun down
and then immediately spun up both when entering and when resuming
from hibernation (me)

- Update the MAINTAINERS file to remove remnants from Jens
maintainership of libata (Damien)

* tag 'ata-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
ata: libata: Update MAINTAINERS file
ata: libata: avoid superfluous disk spin down + spin up during hibernation

+14 -10
-6
MAINTAINERS
··· 12944 12944 M: Viresh Kumar <vireshk@kernel.org> 12945 12945 L: linux-ide@vger.kernel.org 12946 12946 S: Maintained 12947 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 12948 12947 F: drivers/ata/pata_arasan_cf.c 12949 12948 F: include/linux/pata_arasan_cf_data.h 12950 12949 ··· 12957 12958 M: Linus Walleij <linus.walleij@linaro.org> 12958 12959 L: linux-ide@vger.kernel.org 12959 12960 S: Maintained 12960 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 12961 12961 F: drivers/ata/pata_ftide010.c 12962 12962 F: drivers/ata/sata_gemini.c 12963 12963 F: drivers/ata/sata_gemini.h 12964 12964 12965 12965 LIBATA SATA AHCI PLATFORM devices support 12966 12966 M: Hans de Goede <hdegoede@redhat.com> 12967 - M: Jens Axboe <axboe@kernel.dk> 12968 12967 L: linux-ide@vger.kernel.org 12969 12968 S: Maintained 12970 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 12971 12969 F: drivers/ata/ahci_platform.c 12972 12970 F: drivers/ata/libahci_platform.c 12973 12971 F: include/linux/ahci_platform.h ··· 12973 12977 M: Serge Semin <fancer.lancer@gmail.com> 12974 12978 L: linux-ide@vger.kernel.org 12975 12979 S: Maintained 12976 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git 12977 12980 F: Documentation/devicetree/bindings/ata/baikal,bt1-ahci.yaml 12978 12981 F: Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml 12979 12982 F: drivers/ata/ahci_dwc.c ··· 12981 12986 M: Mikael Pettersson <mikpelinux@gmail.com> 12982 12987 L: linux-ide@vger.kernel.org 12983 12988 S: Maintained 12984 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 12985 12989 F: drivers/ata/sata_promise.* 12986 12990 12987 12991 LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)
+14 -4
drivers/ata/libata-eh.c
··· 4099 4099 4100 4100 WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED); 4101 4101 4102 - /* Set all devices attached to the port in standby mode */ 4103 - ata_for_each_link(link, ap, HOST_FIRST) { 4104 - ata_for_each_dev(dev, link, ENABLED) 4105 - ata_dev_power_set_standby(dev); 4102 + /* 4103 + * We will reach this point for all of the PM events: 4104 + * PM_EVENT_SUSPEND (if runtime pm, PM_EVENT_AUTO will also be set) 4105 + * PM_EVENT_FREEZE, and PM_EVENT_HIBERNATE. 4106 + * 4107 + * We do not want to perform disk spin down for PM_EVENT_FREEZE. 4108 + * (Spin down will be performed by the subsequent PM_EVENT_HIBERNATE.) 4109 + */ 4110 + if (!(ap->pm_mesg.event & PM_EVENT_FREEZE)) { 4111 + /* Set all devices attached to the port in standby mode */ 4112 + ata_for_each_link(link, ap, HOST_FIRST) { 4113 + ata_for_each_dev(dev, link, ENABLED) 4114 + ata_dev_power_set_standby(dev); 4115 + } 4106 4116 } 4107 4117 4108 4118 /*