Re: [PATCH] 2.5.24 IDE 95

Zwane Mwaikambo (zwane@mwaikambo.name)
Sun, 30 Jun 2002 11:17:11 +0200 (SAST)


On Sun, 30 Jun 2002, Bartlomiej Zolnierkiewicz wrote:

> > (1) ide-taskfile.c: ide_do_drive_cmd(..., ide_preempt) holds channel
> > lock. Do not reacquire. NMI watchdog triggered by just booting
> > computer with IDE cdrom.
>
> Mentioned in 95 changelog.
> Already fixed in my tree, but thanks anyway.

Hmm i just spent some time last night trying to go through possible
paths for ide_do_drive_cmd to come up with a solution for that one, do you
use some sort of SCM so that i can keep track of whats been covered?

> Attached patch is next ide-clean patch pre-patch ;), just not to duplicate
> efforts. Changelog is also included. As always use with care, standard
> disclaimer apply.

Thanks

> And final note: I think that previous locking (2.4.x but ch->lock instead
> of global io_request_lock) was well tuned and almost 100% correct.
> Recent changes just made it worse (sorry Martin :) ).
> Now even if we add unmasking IRQs with disabling currently handled IRQ, it
> will be less friendlier to shared PCI interrupts (especially in PIO it
> will be overkill to disable shared IRQ for handling PIO intr!),
> so I want to revert to previous scheme...

Agreed there, thanks again for the patches.

Zwane Mwaikambo

-- 
http://function.linuxpower.ca
		

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/