-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is-swiotlb_force_bounce(dev)==false
for CVM IO device
#34
Comments
https://github.com/torvalds/linux/blob/5e3f5b81de80c98338bcb47c233aebefee5a4801/drivers/block/virtio_blk.c#L66C14
So I guess we can set the flag here. But the important question is
Maybe we can use virtio_device_id or other information in |
Both approaches should work, and are fine for a prototype. However, they are both driver specific- would be nice if we can later on have these modifications in driver generic code, to avoid driver specific mods |
Regarding IDing devices: we should be able to ID devices as we should be able to e.g. use some attribute in see https://github.com/torvalds/linux/blob/master/block/blk-sysfs.c |
So my current idea is:
CURRENT IDEA:
we then should be able to identify the device driver by one of its fields:
|
struct device
( dma device )struct device
originally is located, and set theforce_bounce
flag indevice->dma_io_tlb_mem
to falseanother difficulty:
The text was updated successfully, but these errors were encountered: