scsi: mpt3sas: Fix an issue when driver is being removed
authorTomas Henzl <thenzl@redhat.com>
Mon, 3 Apr 2023 18:47:36 +0000 (20:47 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2023 01:00:37 +0000 (21:00 -0400)
commit85140baf096bdca07cd5ab2fdc507db9cd4ba4e7
treeccb2f48d3386d5f06873d742e1aab9ddffa69289
parent3fc5d6d6dcac1f98139c8f16c69dd03f4fe4152c
scsi: mpt3sas: Fix an issue when driver is being removed

Warnings may be logged during driver removal:

mpt3sas 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT ..,

Fix this by deallocating DMA memory later.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230403184736.6399-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c