Skip to content

Commit 8abc931

Browse files
ausyskinlijinxia
authored andcommitted
dm: mei: set addresses in the hbm disconnect reply
MEI HBM the disconnect replay doesn't have the address set, breaking the protocol, fix the issue. Tracked-On: #1570 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
1 parent 6bb3d04 commit 8abc931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

devicemodel/hw/pci/virtio/virtio_mei.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,8 @@ vmei_hbm_handler(struct virtio_mei *vmei, const void *data)
12571257
memset(&disconnect_res, 0, sizeof(disconnect_res));
12581258
disconnect_res.hbm_cmd.cmd = MEI_HBM_CLIENT_DISCONNECT;
12591259
disconnect_res.hbm_cmd.is_response = 1;
1260+
disconnect_res.me_addr = disconnect_req->me_addr;
1261+
disconnect_res.host_addr = disconnect_req->host_addr;
12601262
disconnect_res.status = status;
12611263
vmei_hbm_response(vmei, &disconnect_res,
12621264
sizeof(disconnect_res));

0 commit comments

Comments
 (0)