Displaying 4 results from an estimated 4 matches for "auxiliary_device_id".
2023 Jul 26
1
[PATCH] vdpa/mlx5: Fix crash on shutdown for when no ndev exists
...vers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
@@ -3556,7 +3556,8 @@ static void mlx5v_shutdown(struct auxiliary_device *auxdev)
mgtdev = auxiliary_get_drvdata(auxdev);
ndev = mgtdev->ndev;
- free_irqs(ndev);
+ if (ndev)
+ free_irqs(ndev);
}
static const struct auxiliary_device_id mlx5v_id_table[] = {
--
2.41.0
2020 Nov 01
12
[PATCH mlx5-next v1 00/11] Convert mlx5 to use auxiliary bus
From: Leon Romanovsky <leonro at nvidia.com>
Changelog:
v1:
* Renamed _mlx5_rescan_driver to be mlx5_rescan_driver_locked like in
other parts of the mlx5 driver.
* Renamed MLX5_INTERFACE_PROTOCOL_VDPA to tbe MLX5_INTERFACE_PROTOCOL_VNET as
a preparation to coming series from Eli C.
* Some small naming renames in mlx5_vdpa.
* Refactored adev index code to make Parav's SF series
2023 Mar 17
0
[PATCH RFC v2 virtio 2/7] pds_vdpa: get vdpa management info
...e.h>
> >> #include <linux/pds/pds_auxbus.h>
> >> @@ -9,6 +11,7 @@
> >>
> >> #include "aux_drv.h"
> >> #include "debugfs.h"
> >> +#include "vdpa_dev.h"
> >>
> >> static const struct auxiliary_device_id pds_vdpa_id_table[] = {
> >> { .name = PDS_VDPA_DEV_NAME, },
> >> @@ -30,6 +33,7 @@ static int pds_vdpa_probe(struct auxiliary_device *aux_dev,
> >> return -ENOMEM;
> >>
> >> vdpa_aux->padev = padev;
> >> +...
2023 Jul 27
1
[PATCH] vdpa/mlx5: Fix crash on shutdown for when no ndev exists
...t;
> >
> Not quite: mlx5_vdpa_dev_del (which is a .dev_del of for struct
> vdpa_mgmtdev_ops) doesn't get called on shutdown. At least that's what I see. Or
> am I missing something?
and why do we care whether irqs are freed on shutdown?
> > > ?static const struct auxiliary_device_id mlx5v_id_table[] = {
> > > --
> > > 2.41.0
> >
>