Add iommu de-initialization method for MSI.
This is needed to free up all the entries in GAS tree before iommu domain teardown and pmap release
Paths
| Differential D26906 Authored by br on Oct 22 2020, 5:04 PM.
Details Summary Add iommu de-initialization method for MSI. This is needed to free up all the entries in GAS tree before iommu domain teardown and pmap release
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptOct 22 2020, 5:04 PM2020-10-22 17:04:37 (UTC+0) Comment Actions o Check if entry is not NULL, otherwise return early This revision is now accepted and ready to land.Oct 23 2020, 10:43 PM2020-10-23 22:43:02 (UTC+0)
This revision now requires review to proceed.Oct 24 2020, 11:17 AM2020-10-24 11:17:39 (UTC+0) This revision is now accepted and ready to land.Oct 24 2020, 4:59 PM2020-10-24 16:59:06 (UTC+0) Closed by commit rS367016: o Add iommu de-initialization method for MSI interface. (authored by br). · Explain WhyOct 24 2020, 8:09 PM2020-10-24 20:09:46 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a subscriber: imp. · View Herald TranscriptOct 24 2020, 8:09 PM2020-10-24 20:09:47 (UTC+0)
Revision Contents
Diff 78682 sys/dev/iommu/iommu_gas.c
sys/dev/iommu/iommu_msi.h
sys/kern/msi_if.m
sys/kern/subr_intr.c
|
You could also just add PD_KILL at 0x20 and leave the other flags on the same bits?