Re: Smartmedia/xd card support - request for comments



On Fri, 18 Apr 2008, Alex Dubov wrote:

mtd_blkdevs breaks the block layer request into separate pages,
effectively disabling lower layer from making decision based on a
real data block size, and using dma to any useful extent. What is
the proposed way to deal with this?

Wrong in two aspects.

1) it does not break the request into separate pages. It breaks it
into mtd_blktrans_ops->blksize chunks, which is set by the blkdev
user.

2) Using DMA on raw NAND Flash is on per page basis except you have an
"intellegent" controller chip which does the low level handling of the
nand flash itself. Such controllers do not necessarily fit into MTD.

(By the way, first question already puts us into a "quirk" area of
the statement "smartmedia are flash chips with quirks". Both
memorystick and smartmedia are always operated in tandem with their
controllers, as you could notice.)

I have no idea what you want to tell me. there is no quirk in a
smartmedia card.

Thanks,
tglx


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



Relevant Pages

  • Re: Forcing DMA mode Primary IDE Hard Drive
    ... Here is some info on DMa that might help it also tells ... Click on the "Device Manager" and then Select "IDE ... will turn off DMA and use only PIO mode on that device. ... The Default Value should be "IDE ATA/ATAPI controllers" ...
    (microsoft.public.windowsxp.hardware)
  • The Education of MassiveProng (Pt 3 of 275) (001/634) (104/634)
    ... common connection to all of these on-chip peripherals, ... For example, two DMA ... controllers 910 control the DMA transfers through bus interface 902. ... In PPU 110 DMA controllers 910 are connected to bus 904 and separately ...
    (sci.electronics.design)
  • Re: Understanding DMA/NoDMA options and fixes
    ... > Are there jumpers on the IDE devices that should be looked ... > DMA issues? ... There are however limitations on some older controllers. ... attached and dmesg output. ...
    (Fedora)
  • The Education of MassiveProng (Pt 3 of 275) (001/634) (588/634)
    ... speed of bus 104. ... The PPU has a section 912 that incorporates the functionality of an ... DMA controllers 910, two 82C59-compatible interrupt controllers 914, ...
    (sci.electronics.design)