public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Markus Probst <markus.probst@posteo.de>
Cc: Damien Le Moal <dlemoal@kernel.org>,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 0/3] Support power resources defined in acpi on ata
Date: Fri, 7 Nov 2025 09:51:47 +0100	[thread overview]
Message-ID: <aQ2zI9tIb5asD16k@ryzen> (raw)
In-Reply-To: <20251104142413.322347-1-markus.probst@posteo.de>

On Tue, Nov 04, 2025 at 02:24:31PM +0000, Markus Probst wrote:
> This series adds support for power resources defined in acpi on ata
> ports/devices. A device can define a power resource in an ata port/device,
> which then gets powered on right before the port is probed. This can be
> useful for devices, which have sata power connectors that are:
>   a: powered down by default
>   b: can be individually powered on
> like in some synology nas devices. If thats the case it will be assumed,
> that the power resource won't survive reboots and therefore the disk will
> be stopped.

(snip)

> Markus Probst (3):
>   scsi: sd: Add manage_restart device attribute to scsi_disk
>   ata: Use ACPI methods to power on disks
>   ata: stop disk on restart if ACPI power resources are found
> 
>  drivers/ata/libata-acpi.c  | 67 ++++++++++++++++++++++++++++++++++++++
>  drivers/ata/libata-core.c  |  2 ++
>  drivers/ata/libata-scsi.c  |  1 +
>  drivers/ata/libata.h       |  4 +++
>  drivers/scsi/sd.c          | 34 ++++++++++++++++++-
>  include/scsi/scsi_device.h |  6 ++++
>  6 files changed, 113 insertions(+), 1 deletion(-)

Martin, James,

Please have a look.

If you have no comments, is it okay to take this via the libata tree,
or do you prefer to merge the series via the scsi tree?


Kind regards,
Niklas

  parent reply	other threads:[~2025-11-07  8:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04 14:24 [PATCH v6 0/3] Support power resources defined in acpi on ata Markus Probst
2025-11-04 14:24 ` [PATCH v6 1/3] scsi: sd: Add manage_restart device attribute to scsi_disk Markus Probst
2025-11-04 14:24 ` [PATCH v6 2/3] ata: Use ACPI methods to power on disks Markus Probst
2025-11-06  7:12   ` Damien Le Moal
2025-11-04 14:24 ` [PATCH v6 3/3] ata: stop disk on restart if ACPI power resources are found Markus Probst
2025-11-07  8:51 ` Niklas Cassel [this message]
2025-11-08 18:28   ` [PATCH v6 0/3] Support power resources defined in acpi on ata Martin K. Petersen
2025-11-08 20:18     ` Niklas Cassel
2025-11-08 18:28 ` Martin K. Petersen
2025-11-13  2:46 ` Martin K. Petersen

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=aQ2zI9tIb5asD16k@ryzen \
    --to=cassel@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=dlemoal@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=markus.probst@posteo.de \
    --cc=martin.petersen@oracle.com \
    /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