Re: [PATCHv3 08/16] staging: vme_user: provide DMA functionality

From: Martyn Welch
Date: Wed Jul 08 2015 - 09:57:52 EST




On 07/07/15 11:52, Dmitry Kalinkin wrote:
The API I had in mind would have only vme_master_read and
vme_master_write that would take absolute addresses (not relative to
any window). These variants of access functions would then try to
reuse any window that is already able to serve the request or wait
for a free window and reconfigure it for the need of the request.

I'm a little concerned by the latency this might cause, especially if there is one device which is negatively affected by latency. Handling RORA interrupts would be "interesting" if all the windows were dynamically allocated at the time at which an interrupt came in.

Martyn

--
Martyn Welch (Lead Software Engineer) | Registered in England and Wales
GE Intelligent Platforms | (3828642) at 100 Barbirolli Square
T +44(0)1327322748 | Manchester, M2 3AB
E martyn.welch@xxxxxx | VAT:GB 927559189
--
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/