Re: [PATCH] hisi_acc_vfio_pci: simplify the command for reading device information.

From: Alex Williamson

Date: Wed May 20 2026 - 17:13:56 EST


On Thu, 14 May 2026 17:20:26 +0800
Longfang Liu <liulongfang@xxxxxxxxxx> wrote:

> From: Weili Qian <qianweili@xxxxxxxxxx>
>
> The mailbox operation for the Hisi accelerator device now
> provides a new read function that supports direct information retrieval
> by specifying commands, thereby simplifying the related mailbox command
> handling in the driver.
>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> Signed-off-by: Longfang Liu <liulongfang@xxxxxxxxxx>
> ---
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 39 ++-----------------
> 1 file changed, 3 insertions(+), 36 deletions(-)

Applied to vfio next branch for v7.2. Thanks,

Alex