Skip to content

amd/iommu: Preserve domain ids inside the kdump kernel

Sairaj Kodilkar linux-iommu lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 10 repliesSuperseded

Changes in v2 from the cover letter

https://lore.kernel.org/all/[email protected]/
P1:
- Use FIELD_GET to read the DTE fields [Ankit]
- Use GFP_KERNEL instead of GFP_ATOMIC [Jason]
- Remove print on ENOMEM [Jason]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2amd/iommu: Preserve domain ids inside the kdump kerneldrivers/iommu/amd/init.c+22 -15 replies
2/2amd/iommu: Make protection domain ID functions non-staticdrivers/iommu/amd/amd_iommu.h drivers/iommu/amd/init.c drivers/iommu/amd/iommu.c+25 -140 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVasant HegdeJason Gunthorpe
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] amd/iommu: Preserve domain ids inside the kdump kernel

Patch 1: Reserves the Domain IDs allocated by the host kernel while reusing its
device table inside kdump kernel
Patch 2: Cleanup around pdom allocation

-------------------------------------------------------------------------------

Changes since v1:
https://lore.kernel.org/all/[email protected]/
P1:
- Use FIELD_GET to read the DTE fields [Ankit]
- Use GFP_KERNEL instead of GFP_ATOMIC [Jason]
- Remove print on ENOMEM [Jason]

P2:
- Use u32 instead of int [Jason]
- pass gfp flags as argument to 'amd_iommu_pdom_id_reserve' [Jason]

-------------------------------------------------------------------------------

Base Commit: 91920a9d87f5192c56ba5bf3e133aeb3576b705d (iommu-next)

-------------------------------------------------------------------------------

Fixes 38e5f33ee359 ("iommu/amd: Reuse device table for kdump")

Sairaj Kodilkar (2):
amd/iommu: Preserve domain ids inside the kdump kernel amd/iommu: Make protection domain ID functions non-static

 drivers/iommu/amd/amd_iommu.h |  5 +++++
 drivers/iommu/amd/init.c      | 24 +++++++++++++++++++++---
 drivers/iommu/amd/iommu.c     | 27 ++++++++++++++++++---------
 3 files changed, 44 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1