From: Oliver Neukum <oneukum@suse.com>
To: "Mateusz Jończyk" <mat.jonczyk@o2.pl>,
"Oliver Neukum" <oneukum@suse.com>,
"Alan Stern" <stern@rowland.harvard.edu>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <mkp@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org,
usb-storage@lists.one-eyed-alien.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] usb: uas: expose US_FL_NO_ATA_1X in sysfs as ata_passthrough_disabled
Date: Mon, 23 Nov 2026 12:41:07 +0100 [thread overview]
Message-ID: <cef781a8-45db-4540-981d-b38667dcfbb7@suse.com> (raw)
In-Reply-To: <52a233cb-1671-431c-8c14-7757ca947aa5@o2.pl>
On 23.11.26 11:48, Mateusz Jończyk wrote:
> W dniu 23.11.2026 o 09:27, Oliver Neukum pisze:
> > thank you for handling this. One thing though. This requires putting
> > the emit code into every driver. Can we centralize that somehow?
>
> Not really, short of moving the handling of the ata_passthrough_disabled
> attribute into the middle SCSI layer (which would also likely involve
> moving the whole of US_FL_NO_ATA_1X logic from uas_queuecommand_lck()
> there). Is this what you mean?
Now that you mention it, shouldn't that be where it ought to be anyway?
Usually the SCSI layer generates or filters commands, while the LLDD
determine what command sets a device will accept and reports that.
Regards
Oliver
next prev parent reply other threads:[~2026-11-23 11:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 15:52 Mateusz Jończyk
2026-11-21 15:52 ` [PATCH 2/2] usb: mass storage: expose ata_passthrough_disabled in sysfs Mateusz Jończyk
2026-11-23 8:27 ` [PATCH 1/2] usb: uas: expose US_FL_NO_ATA_1X in sysfs as ata_passthrough_disabled Oliver Neukum
2026-11-23 10:48 ` Mateusz Jończyk
2026-11-23 11:41 ` Oliver Neukum [this message]
2026-11-23 11:49 ` Mateusz Jończyk
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=cef781a8-45db-4540-981d-b38667dcfbb7@suse.com \
--to=oneukum@suse.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mat.jonczyk@o2.pl \
--cc=mkp@kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/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
all inboxes | Powered by JetHome®