From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 1DD2E278E7C; Tue, 10 Jun 2025 06:33:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749537220; cv=none; b=ePWpwRrgxDvEPy/xjnN2FK0yXp1UdB7cVsPmiyrSrWZ71iaihO3CTNEUaC/y7OJ8zEcIQ0W9paQHC+scbdro4m6ELhvBrAd9xvWCH3trbNulofsXggABtMV8geEIu07MA6vFNiZkV3+jP57TySRHOXEYp1Bi3dHCQyIJt73mzPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749537220; c=relaxed/simple; bh=kHtXEng3ak2Bpkf3xm2N8GGTx93hu6LEi6qE0WAtaIQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Sv7Wz0/dDQ0rdA5XolukPN4x2qDI5dIWy8byV5MA0q8Pz8ldwZkmtSwb1U41gyTYLgmYZDL8a3qBvKv/MxF4l9AZfV762Q2PnPGGRxjEpO2h/HFhKzrezqte0iG2p6LukWpsUL8wWpdF39L9YSDPSSgCcsR0pXgmPhxc9flZhNU= 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.187 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 szxga01-in.huawei.com (SkyGuard) with ESMTP id 4bGf7y2KNpz13M1l; Tue, 10 Jun 2025 14:31:26 +0800 (CST) Received: from kwepemg500006.china.huawei.com (unknown [7.202.181.43]) by mail.maildlp.com (Postfix) with ESMTPS id 59517140123; Tue, 10 Jun 2025 14:33:27 +0800 (CST) Received: from huawei.com (10.50.165.33) by kwepemg500006.china.huawei.com (7.202.181.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 10 Jun 2025 14:33:26 +0800 From: Longfang Liu To: , , , CC: , , , Subject: [PATCH v4 0/3] update live migration configuration region Date: Tue, 10 Jun 2025 14:32:48 +0800 Message-ID: <20250610063251.27526-1-liulongfang@huawei.com> X-Mailer: git-send-email 2.24.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: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemg500006.china.huawei.com (7.202.181.43) 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 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 | 202 ++++++++++++------ .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 7 + 3 files changed, 176 insertions(+), 62 deletions(-) -- 2.24.0