#
e99981af |
| 12-Aug-2024 |
David Marchand <david.marchand@redhat.com> |
drivers: replace logging helpers
Prepare for the conversion to RTE_LOG_LINE. Some drivers currently add no \n in the logging macro and have the callers do it.
Let's invert this logic but again, thi
drivers: replace logging helpers
Prepare for the conversion to RTE_LOG_LINE. Some drivers currently add no \n in the logging macro and have the callers do it.
Let's invert this logic but again, thinking about backports, introduce the change in new macros.
Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
5baab196 |
| 16-Mar-2023 |
Tomasz Duszynski <tduszynski@marvell.com> |
bus/platform: fix argument parsing leak
On error function may return without releasing some allocated resources which causes a memory leak. Fix it.
Coverity issue: 383660 Fixes: 17c839f74da3 ("bus:
bus/platform: fix argument parsing leak
On error function may return without releasing some allocated resources which causes a memory leak. Fix it.
Coverity issue: 383660 Fixes: 17c839f74da3 ("bus: add platform bus")
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
show more ...
|
#
17c839f7 |
| 01-Mar-2023 |
Tomasz Duszynski <tduszynski@marvell.com> |
bus: add platform bus
Platform bus is a software bus under Linux that manages devices which generally do not have built-in discovery mechanisms. Linux normally learns about platform devices directly
bus: add platform bus
Platform bus is a software bus under Linux that manages devices which generally do not have built-in discovery mechanisms. Linux normally learns about platform devices directly from device-tree during boot-up phase.
Up to this point, whenever some userspace app needed control over platform device or a range of thereof some sort of driver being a mixture of vdev/rawdev was required.
In order to simplify this task, provide an auto-probe experience and separate bus logic from the driver itself, add platform bus support.
Currently devices backed up by vfio-platform kernel driver are supported.
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
show more ...
|