* [PATCH] aic94xx: fix SSP IU status print-out
@ 2007-09-30 14:03 Jeff Garzik
2007-10-02 12:29 ` Jeff Garzik
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-09-30 14:03 UTC (permalink / raw)
To: linux-scsi
The SSP response DPRINTK in asd_get_response_tasklet() was printing
a hardcoded status result, rather than the status from the SSP
response IU.
Arguably, this should not be a DPRINTK either, since the admin might
want to know about this.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
---
drivers/scsi/aic94xx/aic94xx_task.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c
index ab13824..f2b23e0 100644
--- a/drivers/scsi/aic94xx/aic94xx_task.c
+++ b/drivers/scsi/aic94xx/aic94xx_task.c
@@ -207,7 +207,7 @@ static void asd_get_response_tasklet(struct asd_ascb *ascb,
"stat(0x%x) is not CHECK_CONDITION"
"\n",
SAS_ADDR(task->dev->sas_addr),
- ts->stat);
+ iu->status);
}
}
} else {
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-09-30 14:03 [PATCH] aic94xx: fix SSP IU status print-out Jeff Garzik
@ 2007-10-02 12:29 ` Jeff Garzik
2007-10-02 14:20 ` James Bottomley
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-10-02 12:29 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
James, what is the upstream status of my two aic94xx bug fixes?
Have they been sent to Linus yet?
Since you seem M.I.A., I'll send them upstream if I do not hear from you
today.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 12:29 ` Jeff Garzik
@ 2007-10-02 14:20 ` James Bottomley
2007-10-02 14:35 ` Jeff Garzik
0 siblings, 1 reply; 9+ messages in thread
From: James Bottomley @ 2007-10-02 14:20 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi
On Tue, 2007-10-02 at 08:29 -0400, Jeff Garzik wrote:
> James, what is the upstream status of my two aic94xx bug fixes?
>
> Have they been sent to Linus yet?
>
> Since you seem M.I.A., I'll send them upstream if I do not hear from you
> today.
They're hardly -rc8 critical bug fixes, since no-one has noticed their
effects for about 5 kernel releases. I'll stick them into scsi-misc
with the rest of the pending stuff.
And going away for the Weekend is hardly MIA.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 14:20 ` James Bottomley
@ 2007-10-02 14:35 ` Jeff Garzik
2007-10-02 14:46 ` James Bottomley
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-10-02 14:35 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
James Bottomley wrote:
> On Tue, 2007-10-02 at 08:29 -0400, Jeff Garzik wrote:
>> James, what is the upstream status of my two aic94xx bug fixes?
>>
>> Have they been sent to Linus yet?
>>
>> Since you seem M.I.A., I'll send them upstream if I do not hear from you
>> today.
>
> They're hardly -rc8 critical bug fixes, since no-one has noticed their
> effects for about 5 kernel releases. I'll stick them into scsi-misc
> with the rest of the pending stuff.
Except for those people who want SMP to work, on platforms where
TODEVICE actually matters.
I'll send them upstream myself.
> And going away for the Weekend is hardly MIA.
A week has gone by since any SCSI commit, and longer than that if you
actually look at the send-date of the most recent patch applied.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 14:35 ` Jeff Garzik
@ 2007-10-02 14:46 ` James Bottomley
2007-10-02 14:48 ` Jeff Garzik
0 siblings, 1 reply; 9+ messages in thread
From: James Bottomley @ 2007-10-02 14:46 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi
On Tue, 2007-10-02 at 10:35 -0400, Jeff Garzik wrote:
> James Bottomley wrote:
> > On Tue, 2007-10-02 at 08:29 -0400, Jeff Garzik wrote:
> >> James, what is the upstream status of my two aic94xx bug fixes?
> >>
> >> Have they been sent to Linus yet?
> >>
> >> Since you seem M.I.A., I'll send them upstream if I do not hear from you
> >> today.
> >
> > They're hardly -rc8 critical bug fixes, since no-one has noticed their
> > effects for about 5 kernel releases. I'll stick them into scsi-misc
> > with the rest of the pending stuff.
>
> Except for those people who want SMP to work, on platforms where
> TODEVICE actually matters.
And the number of bug reports on this?
> I'll send them upstream myself.
No, you won't; because that would be completely irresponsible. You
don't turn code for no reason at the last minute unless it's essential
because of the danger of introducing inadvertent bugs along with the
changes. Since there are no users affected, there's zero benefit and
there is a potential non-zero detriment to the code turn.
There's absolutely no reason to rush these into the release at the last
minute. The correct path is via scsi-misc and then to be backported
into the stable series once we're sure they're OK.
> > And going away for the Weekend is hardly MIA.
>
> A week has gone by since any SCSI commit, and longer than that if you
> actually look at the send-date of the most recent patch applied.
If you follow the linux-scsi mailing list, you'll see fairly active
participation after that, I think.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 14:46 ` James Bottomley
@ 2007-10-02 14:48 ` Jeff Garzik
2007-10-02 15:00 ` James Bottomley
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-10-02 14:48 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
James Bottomley wrote:
> On Tue, 2007-10-02 at 10:35 -0400, Jeff Garzik wrote:
>> James Bottomley wrote:
>>> On Tue, 2007-10-02 at 08:29 -0400, Jeff Garzik wrote:
>>>> James, what is the upstream status of my two aic94xx bug fixes?
>>>>
>>>> Have they been sent to Linus yet?
>>>>
>>>> Since you seem M.I.A., I'll send them upstream if I do not hear from you
>>>> today.
>>> They're hardly -rc8 critical bug fixes, since no-one has noticed their
>>> effects for about 5 kernel releases. I'll stick them into scsi-misc
>>> with the rest of the pending stuff.
>> Except for those people who want SMP to work, on platforms where
>> TODEVICE actually matters.
>
> And the number of bug reports on this?
>
>> I'll send them upstream myself.
>
> No, you won't; because that would be completely irresponsible. You
> don't turn code for no reason at the last minute unless it's essential
> because of the danger of introducing inadvertent bugs along with the
> changes. Since there are no users affected, there's zero benefit and
> there is a potential non-zero detriment to the code turn.
>
> There's absolutely no reason to rush these into the release at the last
> minute. The correct path is via scsi-misc and then to be backported
> into the stable series once we're sure they're OK.
What's irresponsible is holding onto simple, obvious bug fixes that
obviously break certain scenarios.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 14:48 ` Jeff Garzik
@ 2007-10-02 15:00 ` James Bottomley
2007-10-02 17:11 ` Jeff Garzik
0 siblings, 1 reply; 9+ messages in thread
From: James Bottomley @ 2007-10-02 15:00 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi
On Tue, 2007-10-02 at 10:48 -0400, Jeff Garzik wrote:
> James Bottomley wrote:
> > On Tue, 2007-10-02 at 10:35 -0400, Jeff Garzik wrote:
> >> James Bottomley wrote:
> >>> On Tue, 2007-10-02 at 08:29 -0400, Jeff Garzik wrote:
> >>>> James, what is the upstream status of my two aic94xx bug fixes?
> >>>>
> >>>> Have they been sent to Linus yet?
> >>>>
> >>>> Since you seem M.I.A., I'll send them upstream if I do not hear from you
> >>>> today.
> >>> They're hardly -rc8 critical bug fixes, since no-one has noticed their
> >>> effects for about 5 kernel releases. I'll stick them into scsi-misc
> >>> with the rest of the pending stuff.
> >> Except for those people who want SMP to work, on platforms where
> >> TODEVICE actually matters.
> >
> > And the number of bug reports on this?
> >
> >> I'll send them upstream myself.
> >
> > No, you won't; because that would be completely irresponsible. You
> > don't turn code for no reason at the last minute unless it's essential
> > because of the danger of introducing inadvertent bugs along with the
> > changes. Since there are no users affected, there's zero benefit and
> > there is a potential non-zero detriment to the code turn.
> >
> > There's absolutely no reason to rush these into the release at the last
> > minute. The correct path is via scsi-misc and then to be backported
> > into the stable series once we're sure they're OK.
>
> What's irresponsible is holding onto simple, obvious bug fixes that
> obviously break certain scenarios.
Those scenarios don't exist. I spent quite a while with Adaptec trying
to get this card to work on non-x86 platforms. There's a bug which
manifests as the driver decides the card hasn't been setup by bios and
it tries to write the OCF parameters itself ... on non-x86 platforms
this always ends up inducing a master abort on the PCI bus for no
explicable reason (and it's not the code you're fixing, it happens way
before this). There is actually an ia64 box at Adaptec which exhibits
the problem ... and they're trying to trace the PCI bus transactions.
The fascinating thing will be to see if this also shows up in the
Calgary when we get all of that working.
So I know, beyond a shadow of a doubt, that there are no non-x86 users
of this.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 15:00 ` James Bottomley
@ 2007-10-02 17:11 ` Jeff Garzik
2007-10-02 17:26 ` James Bottomley
0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-10-02 17:11 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
James Bottomley wrote:
> So I know, beyond a shadow of a doubt, that there are no non-x86 users
> of this.
If you don't get the DMA direction right on x86, swiotlb will corrupt
your data.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] aic94xx: fix SSP IU status print-out
2007-10-02 17:11 ` Jeff Garzik
@ 2007-10-02 17:26 ` James Bottomley
0 siblings, 0 replies; 9+ messages in thread
From: James Bottomley @ 2007-10-02 17:26 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-scsi
On Tue, 2007-10-02 at 13:11 -0400, Jeff Garzik wrote:
> James Bottomley wrote:
> > So I know, beyond a shadow of a doubt, that there are no non-x86 users
> > of this.
>
> If you don't get the DMA direction right on x86, swiotlb will corrupt
> your data.
Er, this is a fully 64 bit device: it shouldn't use swiotlb.
James
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-10-02 17:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 14:03 [PATCH] aic94xx: fix SSP IU status print-out Jeff Garzik
2007-10-02 12:29 ` Jeff Garzik
2007-10-02 14:20 ` James Bottomley
2007-10-02 14:35 ` Jeff Garzik
2007-10-02 14:46 ` James Bottomley
2007-10-02 14:48 ` Jeff Garzik
2007-10-02 15:00 ` James Bottomley
2007-10-02 17:11 ` Jeff Garzik
2007-10-02 17:26 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox