Skip to contentSkip to conversation

Kdump kernel hang when set amd_iommu=off

DISCUSSION Joerg Roedel 2 participants 2 messages Feb 13, 2018 – Feb 14, 2018 3 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Hi Baoquan,

Quoted 6 lines · Baoquan He

Saw Huawei's bug report about kdump kernel hang when intel_iommu=off is set. I met the similar problem in amd system, only set amd_iommu=off in kdump kernel, it means amd_iommu is on in 1st kernel.

I am reading doc and code, trying to debug. Please help have a look when convenient, see if there's hint or direction.

Yeah, I know that this is broken on the AMD-IOMMU side. Problem is that the IOMMU hardware needs to be disabled in the kdump kernel when amd_iommu=off is on the command-line. I'll look into fixing that.

I thought we fixed this a while ago already for VT-d, is it broken again?

Joerg

#4 lore raw
In reply to a message not in the archive

Hi Joerg,

Quoted 7 lines · Joerg Roedel

Hi Baoquan,

Quoted 4 lines · Baoquan He

Saw Huawei's bug report about kdump kernel hang when intel_iommu=off is set. I met the similar problem in amd system, only set amd_iommu=off in kdump kernel, it means amd_iommu is on in 1st kernel.

Quoted 6 lines
Quoted 2 lines

I am reading doc and code, trying to debug. Please help have a look when convenient, see if there's hint or direction.

Yeah, I know that this is broken on the AMD-IOMMU side. Problem is that the IOMMU hardware needs to be disabled in the kdump kernel when amd_iommu=off is on the command-line. I'll look into fixing that.

Thanks for looking into this. This was found by our QE, I checked, and found it only happened on two HPE systems. Other AMD systems have no such issue. Since it's not a blocker, I just go to fix those urgent bugs.

Quoted 3 lines

I thought we fixed this a while ago already for VT-d, is it broken again?

It's not seen in redhat's test machines, just saw Huawei engineers reported this issue. They cc-ed lkml.

Thanks
Baoquan