From: Jeff Garzik <jeff@garzik.org>
To: Tejun Heo <tj@kernel.org>
Cc: IDE/ATA development list <linux-ide@vger.kernel.org>,
Thilo-Alexander Ginkel <thilo@ginkel.com>
Subject: Re: [PATCH #upstream-fixes] libata: unbreak TPM filtering by reorganizing ata_scsi_pass_thru()
Date: Sat, 05 Sep 2009 21:08:09 -0400 [thread overview]
Message-ID: <4AA30B79.5000308@garzik.org> (raw)
In-Reply-To: <4A9F6B5B.80701@kernel.org>
On 09/03/2009 03:08 AM, Tejun Heo wrote:
> ata_scsi_pass_thru() was checking for input sanity and disallowed
> commands while initializaing qc from scmd. TPM filtering was added
> right after protocol check at which point tf wasn't initialized
> properly. This means that TPM filtering has never really worked.
>
> This patch fixes the bug by reorganizing ata_scsi_pass_thru() such
> that qc is fully initialized before checking for invalid conditions
> which is way less error prone.
>
> Discovered while Thilo-Alexander Ginkel was trying debug patches for
> bko#13416.
>
> Signed-off-by: Tejun Heo<tj@kernel.org>
> Cc: Thilo-Alexander Ginkel<thilo@ginkel.com>
If it has never really worked, I would prefer #upstream at this point...
Jeff
next prev parent reply other threads:[~2009-09-06 1:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-03 7:08 [PATCH #upstream-fixes] libata: unbreak TPM filtering by reorganizing ata_scsi_pass_thru() Tejun Heo
2009-09-06 1:08 ` Jeff Garzik [this message]
2009-09-06 1:34 ` Tejun Heo
2009-09-09 1:19 ` Jeff Garzik
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=4AA30B79.5000308@garzik.org \
--to=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=thilo@ginkel.com \
--cc=tj@kernel.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;
as well as URLs for NNTP newsgroup(s).