* linux 2.5 and ppa.c
@ 2002-01-16 4:14 John Weber
0 siblings, 0 replies; 3+ messages in thread
From: John Weber @ 2002-01-16 4:14 UTC (permalink / raw)
To: linux-kernel, grant
This is one of those drivers still broken due to the BIO changes
(it still calls io_request_lock()).
Unfortunately, I only know enough to
s/io_request_lock/host->host_lock/g.
I am afraid this requires a little more than this.
What's the status on this?
Just a heads up...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux 2.5 and ppa.c
@ 2002-01-16 4:47 Douglas Gilbert
2002-01-16 7:12 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Douglas Gilbert @ 2002-01-16 4:47 UTC (permalink / raw)
To: linux-kernel
John Weber <weber@nyc.rr.com> wrote:
> This is one of those drivers still broken due to
> the BIO changes (it still calls io_request_lock()).
>
> Unfortunately, I only know enough to
> s/io_request_lock/host->host_lock/g.
>
> I am afraid this requires a little more than this.
John,
The ppa_detect() must _not_ take the host_lock semaphore
as it is already taken by the mid level before it calls
ppa_detect(). [This will cause a lock up on an SMP
machine.]
The ppa_interrupt() should take the host_lock semaphore
before it calls scsi_done() (which calls up the scsi
driver stack).
The imm driver has been built by the same firm (Tim Waugh?)
and it looks correctly patched.
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux 2.5 and ppa.c
2002-01-16 4:47 Douglas Gilbert
@ 2002-01-16 7:12 ` Jens Axboe
0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2002-01-16 7:12 UTC (permalink / raw)
To: Douglas Gilbert; +Cc: linux-kernel
On Tue, Jan 15 2002, Douglas Gilbert wrote:
> John Weber <weber@nyc.rr.com> wrote:
>
> > This is one of those drivers still broken due to
> > the BIO changes (it still calls io_request_lock()).
> >
> > Unfortunately, I only know enough to
> > s/io_request_lock/host->host_lock/g.
> >
> > I am afraid this requires a little more than this.
>
> John,
> The ppa_detect() must _not_ take the host_lock semaphore
> as it is already taken by the mid level before it calls
> ppa_detect(). [This will cause a lock up on an SMP
> machine.]
Not true in 2.5, detect is called without any locks held.
> The ppa_interrupt() should take the host_lock semaphore
> before it calls scsi_done() (which calls up the scsi
> driver stack).
True
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-16 7:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 4:14 linux 2.5 and ppa.c John Weber
-- strict thread matches above, loose matches on Subject: below --
2002-01-16 4:47 Douglas Gilbert
2002-01-16 7:12 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox