Skip to contentSkip to conversation

PCI: hv: update comment in x86 specific hv_arch_irq_unmask

PATCH Applied Olaf Hering 2 participants 2 messages Nov 7, 2022 – Nov 11, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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").

---
 drivers/pci/controller/pci-hyperv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pci/controller/pci-hyperv.c +3 -3
index e7c6f6629e7c..f62215ed3eba 100644
@@ -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,
maintainer Applied
#1 lore raw
Quoted 4 lines · Olaf Hering

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

Queued to hyperv-next. Thanks.