mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-04 17:53:13 -05:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
virtio spec requires that all drivers set DRIVER_OK before using devices. While rpmsg isn't yet included in the virtio 1 spec, previous spec versions also required this. virtio rpmsg violates this rule: is calls kick before setting DRIVER_OK. The fix isn't trivial since simply calling virtio_device_ready earlier would mean we might get an interrupt in parallel with adding buffers. Instead, split kick out to prepare+notify calls. prepare before virtio_device_ready - when we know we won't get interrupts. notify right afterwards. Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Ohad Ben-Cohen <[email protected]> Signed-off-by: Rusty Russell <[email protected]> |
||
| .. | ||
| Kconfig | ||
| Makefile | ||
| virtio_rpmsg_bus.c | ||