From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0FA821CC47; Tue, 5 Aug 2025 06:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754376682; cv=none; b=NqdqPtAh6COdSbM09iFLeQeieYEm/baW3mCOA1nn5KvyiU+ZB2hnlGcR6MgfzSbgj71DDFLayCaD9PO/TJ5c/reQ2cWxp1ghMrDyQZ+pCu5BwSZ+hFLUdiJtgdgGHNpS7mUTHGB4noqzMoMVJOmcZeGViyqXZwGvFsC28bavqgY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754376682; c=relaxed/simple; bh=rRXZvOTPP/mv1eWkRviMR2VrGNPbtuhMiK8LYtopuLI=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ca6g7LU247PBlwcnWaRySa1C2ZHgbVeBcbto91zNSvvpaMMbOqMSqu8C7oZa7gvt6Z2tqOdQCkjzLLiQHTxJFxAPegAvnlaSR6+HRj54jrdQjEI4eqPvpT6TuGrrZvifcGObNvzBqrsKjOiu10Qq3TknB2yWEnnNfSJqumcuG4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4bx3vf5SxqztT2j; Tue, 5 Aug 2025 14:50:06 +0800 (CST) Received: from dggpemf500015.china.huawei.com (unknown [7.185.36.143]) by mail.maildlp.com (Postfix) with ESMTPS id 6F5F91401F3; Tue, 5 Aug 2025 14:51:08 +0800 (CST) Received: from huawei.com (10.90.31.46) by dggpemf500015.china.huawei.com (7.185.36.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 5 Aug 2025 14:51:07 +0800 From: Longfang Liu To: , , , , CC: , , , , Subject: [PATCH v7 0/3] update live migration configuration region Date: Tue, 5 Aug 2025 14:51:03 +0800 Message-ID: <20250805065106.898298-1-liulongfang@huawei.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: kwepems100002.china.huawei.com (7.221.188.206) To dggpemf500015.china.huawei.com (7.185.36.143) On the new hardware platform, the configuration register space of the live migration function is set on the PF, while on the old platform, this part is placed on the VF. Change v6 -> v7 Update the comment of the live migration configuration scheme. Change v5 -> v6 Update VF device properties Change v4 -> v5 Remove BAR length alignment Change v3 -> v4 Rebase on kernel 6.15 Change v2 -> v3 Put the changes of Pre_Copy into another bugfix patchset. Change v1 -> v2 Delete the vf_qm_state read operation in Pre_Copy Longfang Liu (3): migration: update BAR space size migration: qm updates BAR configuration migration: adapt to new migration configuration drivers/crypto/hisilicon/qm.c | 29 +++ .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 200 ++++++++++++------ .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 7 + 3 files changed, 174 insertions(+), 62 deletions(-) -- 2.24.0