]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/ibmvnic: Cleanup workaround doing an EOI after partition migration
authorCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 08:07:08 +0000 (09:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Feb 2022 11:47:48 +0000 (11:47 +0000)
commit7ea0c16a74a44c8482352aba67ab58225831f4aa
treeee9042baf8a1690785cce8cab07b9b4cc9b0316a
parentaaae162aeb676f6c38e7a31b16631274f68874f4
net/ibmvnic: Cleanup workaround doing an EOI after partition migration

There were a fair amount of changes to workaround a firmware bug leaving
a pending interrupt after migration of the ibmvnic device :

commit 2df5c60e198c ("net/ibmvnic: Ignore H_FUNCTION return from H_EOI
            to tolerate XIVE mode")
commit 284f87d2f387 ("Revert "net/ibmvnic: Fix EOI when running in
            XIVE mode"")
commit 11d49ce9f794 ("net/ibmvnic: Fix EOI when running in XIVE mode.")
commit f23e0643cd0b ("ibmvnic: Clear pending interrupt after device reset")

Here is the final one taking into account the XIVE interrupt mode.

Cc: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Cc: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c