2022-11-07 17:50:36

by Olaf Hering

[permalink] [raw]
Subject: [PATCH v1] 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: Olaf Hering <[email protected]>
---
drivers/pci/controller/pci-hyperv.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c
index e7c6f6629e7c..f62215ed3eba 100644
--- a/drivers/pci/controller/pci-hyperv.c
+++ b/drivers/pci/controller/pci-hyperv.c
@@ -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,


2022-11-12 00:06:55

by Wei Liu

[permalink] [raw]
Subject: Re: [PATCH v1] PCI: hv: update comment in x86 specific hv_arch_irq_unmask

On Mon, Nov 07, 2022 at 05:18:31PM +0000, Olaf Hering wrote:
> 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: Olaf Hering <[email protected]>

Queued to hyperv-next. Thanks.