Re: [PATCH v11 04/12] vdpa: Add reset callback in vdpa_config_ops

2021-08-23 Thread Yongji Xie
On Mon, Aug 23, 2021 at 2:31 PM Jason Wang wrote: > > > 在 2021/8/18 下午8:06, Xie Yongji 写道: > > This adds a new callback to support device specific reset > > behavior. The vdpa bus driver will call the reset function > > instead of setting status to zero during resetting if device > > driver suppor

Re: [PATCH v11 04/12] vdpa: Add reset callback in vdpa_config_ops

2021-08-22 Thread Jason Wang
在 2021/8/18 下午8:06, Xie Yongji 写道: This adds a new callback to support device specific reset behavior. The vdpa bus driver will call the reset function instead of setting status to zero during resetting if device driver supports the new callback. Signed-off-by: Xie Yongji --- drivers/vhost/v

[PATCH v11 04/12] vdpa: Add reset callback in vdpa_config_ops

2021-08-18 Thread Xie Yongji
This adds a new callback to support device specific reset behavior. The vdpa bus driver will call the reset function instead of setting status to zero during resetting if device driver supports the new callback. Signed-off-by: Xie Yongji --- drivers/vhost/vdpa.c | 9 +++-- include/linux/vdp