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

From: liulongfang

Date: Wed May 20 2026 - 21:37:22 EST


On 2026/5/21 5:11, Alex Williamson wrote:
> 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,
>

Thanks.

Longfang.

> Alex
> .
>