Commit 503112f4 authored by Olaf Hering's avatar Olaf Hering Committed by Wei Liu
Browse files

PCI: hv: update comment in x86 specific hv_arch_irq_unmask



The function hv_set_affinity was removed in commit 831c1ae7 ("PCI: hv:
Make the code arch neutral by adding arch specific interfaces").

Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20221107171831.25283-1-olaf@aepfle.de


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent fce444fa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -735,9 +735,9 @@ static void hv_arch_irq_unmask(struct irq_data *data)
	 * during hibernation does not matter (at this time all the devices
	 * have been frozen). Note: the correct affinity info is still updated
	 * into the irqdata data structure in migrate_one_irq() ->
	 * irq_do_set_affinity() -> hv_set_affinity(), so later when the VM
	 * resumes, hv_pci_restore_msi_state() is able to correctly restore
	 * the interrupt with the correct affinity.
	 * irq_do_set_affinity(), so later when the VM resumes,
	 * hv_pci_restore_msi_state() is able to correctly restore the
	 * interrupt with the correct affinity.
	 */
	if (!hv_result_success(res) && hbus->state != hv_pcibus_removing)
		dev_err(&hbus->hdev->device,