login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
27
Re: [PATCH 22/40] ide-floppy: start DMA engine in idefloppy_transfer_pc1()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Bartlomiej Zolnierkiewicz
Subject:
Re: [PATCH 22/40] ide-floppy: start DMA engine in idefloppy_transfer_pc1()
Date: Tuesday, May 27, 2008 - 11:58 am
On Tuesday 20 May 2008, Sergei Shtylyov wrote:
quoted text
> Hello. > > Bartlomiej Zolnierkiewicz wrote: > > > Start DMA engine and set PC_FLAG_DMA_IN_PROGRESS flag in > > idefloppy_transfer_pc1() instead of idefloppy_issue_pc() > > Good. I have long ago noticed that DMA is started too early in ide-floppy > which is known to cobfuse some chips (like PDC20246) and was going to do a > patch at first but the lack of hardware (and time) stopped me... > > > so the Status Register and the Interrupt Reason Register > > are checked first. > > > Cc: Borislav Petkov <petkovbb@gmail.com> > > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > > > Index: b/drivers/ide/ide-floppy.c > > =================================================================== > > --- a/drivers/ide/ide-floppy.c > > +++ b/drivers/ide/ide-floppy.c > [...] > > @@ -568,6 +569,12 @@ static ide_startstop_t idefloppy_transfe > > > > ide_set_handler(drive, &idefloppy_pc_intr, timeout, expiry); > > > > + /* Begin DMA, if necessary */ > > + if (pc->flags & PC_FLAG_DMA_OK) { > > + pc->flags |= PC_FLAG_DMA_IN_PROGRESS; > > + hwif->dma_ops->dma_start(drive); > > + } > > + > > May be too early still... ide-cd does this after writing the command packet.
I would rather say that ide-cd is doing things too late. Now that's your patch opportunity! No excuses this time... ;) Thanks, Bart --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 00/40] ide: generic ATAPI support
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:54 am)
[PATCH 01/40] ide-scsi: fix race in idescsi_transfer_pc()
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:54 am)
[PATCH 02/40] ide-scsi: fix DRQ checking for DMA transfers ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:54 am)
[PATCH 03/40] ide-scsi: fix handling of DMA errors in ides ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:54 am)
[PATCH 04/40] ide-scsi: fix Interrupt Reason checking in i ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 05/40] ide-scsi: merge idescsi_input_buffers() and ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 06/40] ide-scsi: remove superfluous BUG_ON() from i ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 07/40] ide-scsi: add debug_log() macro
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 08/40] ide-tape: idetape_pc_intr() should use local ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 09/40] ide-tape: remove superfluous error message f ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 10/40] ide-tape: remove superfluous warning message ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:55 am)
[PATCH 11/40] ide-tape: remove unneeded CONFIG_BLK_DEV_IDE ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 12/40] ide-tape: remove stale comments from idetape ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 13/40] ide-tape: remove SIMULATE_ERRORS debug code
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc() an ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 15/40] ide-{floppy,tape,scsi}: log device name inst ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 16/40] ide-tape: make idetape_retry_pc() void
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:56 am)
[PATCH 17/40] ide-tape: merge callbacks
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 18/40] ide-tape: make pc->idetape_callback void
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 19/40] ide-floppy: merge callbacks
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 20/40] ide-{floppy,tape}: merge pc->idefloppy_callb ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 21/40] ide-{floppy,tape}: PC_FLAG_DMA_RECOMMENDED - ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 22/40] ide-floppy: start DMA engine in idefloppy_tr ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 23/40] ide-tape: set PC_FLAG_DMA_IN_PROGRESS flag i ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:57 am)
[PATCH 24/40] ide-tape: factor out waiting for good ireaso ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 25/40] ide: add PC_FLAG_ZIP_DRIVE pc flag
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 26/40] ide-{cd,floppy,tape}: remove checking for dr ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 27/40] ide-scsi: set drive->scsi flag for devices h ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 28/40] ide: add ide_transfer_pc() helper
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 29/40] ide-scsi: move idescsi_map_sg() call out fro ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 30/40] ide: add PC_FLAG_DRQ_INTERRUPT pc flag
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:58 am)
[PATCH 31/40] ide: add ide_issue_pc() helper
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 32/40] ide-{floppy,tape}: move checking of ->failed ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 33/40] ide-tape: factor out DSC handling from ideta ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 34/40] ide-tape: add ide_tape_io_buffers() helper
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 35/40] ide-tape: always log debug info in idetape_p ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 36/40] ide-floppy: add more debugging to idefloppy_ ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 11:59 am)
[PATCH 37/40] ide-scsi: use pc->callback
, Bartlomiej Zolnierki ...
, (Sun May 18, 12:00 pm)
[PATCH 38/40] ide-scsi: add more debugging to idescsi_pc_i ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 12:00 pm)
[PATCH 39/40] ide-{floppy,scsi}: read Status Register befo ...
, Bartlomiej Zolnierki ...
, (Sun May 18, 12:00 pm)
[PATCH 40/40] ide: add ide_pc_intr() helper
, Bartlomiej Zolnierki ...
, (Sun May 18, 12:00 pm)
Re: [PATCH 04/40] ide-scsi: fix Interrupt Reason checking ...
, Borislav Petkov
, (Sun May 18, 10:10 pm)
Re: [PATCH 22/40] ide-floppy: start DMA engine in ideflopp ...
, Sergei Shtylyov
, (Tue May 20, 4:00 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc( ...
, Borislav Petkov
, (Tue May 20, 10:24 pm)
Re: [PATCH 00/40] ide: generic ATAPI support
, Borislav Petkov
, (Thu May 22, 12:43 am)
Re: [PATCH 00/40] ide: generic ATAPI support
, Bartlomiej Zolnierki ...
, (Sun May 25, 6:23 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc( ...
, Borislav Petkov
, (Mon May 26, 10:37 pm)
Re: [PATCH 04/40] ide-scsi: fix Interrupt Reason checking ...
, Bartlomiej Zolnierki ...
, (Tue May 27, 11:30 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc( ...
, Bartlomiej Zolnierki ...
, (Tue May 27, 11:57 am)
Re: [PATCH 22/40] ide-floppy: start DMA engine in ideflopp ...
, Bartlomiej Zolnierki ...
, (Tue May 27, 11:58 am)
Re: [PATCH 14/40] ide-floppy: merge idefloppy_transfer_pc( ...
, Bartlomiej Zolnierki ...
, (Thu May 29, 4:01 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate