[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1267BB84A242B24E81E0C0C8955CFFC061A4CA86@G9W0343.americas.hpqcorp.net>
Date: Mon, 18 Aug 2014 23:47:37 +0000
From: "Li, Zhen-Hua" <zhen-hual@...com>
To: "Li, Zhen-Hua" <zhen-hual@...com>, Joerg Roedel <joro@...tes.org>
CC: David Woodhouse <dwmw2@...radead.org>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] iommu/vt-d : clear old root entry for dump kernel
When the dump kernel boots, it will initialize iommu again, and the root entry will be allocted
in another memory region.
That means, no matter kernel clears the old root entry table or not, the dump kernel will use
another memory region when iommu initializing.
-----Original Message-----
From: Li, Zhen-Hua
Sent: Tuesday, August 19, 2014 7:27 AM
To: 'Joerg Roedel'
Cc: David Woodhouse; iommu@...ts.linux-foundation.org; linux-kernel@...r.kernel.org
Subject: RE: [PATCH 1/1] iommu/vt-d : clear old root entry for dump kernel
: [fault reason 01] Present bit in root entry is clear
It appears when iommu initializing in the kdump kernel.
-----Original Message-----
From: Joerg Roedel [mailto:joro@...tes.org]
Sent: Tuesday, August 19, 2014 7:23 AM
To: Li, Zhen-Hua
Cc: David Woodhouse; iommu@...ts.linux-foundation.org; linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] iommu/vt-d : clear old root entry for dump kernel
On Mon, Aug 18, 2014 at 11:01:56PM +0000, Li, Zhen-Hua wrote:
> There is a bug when Linux running on an HP large system:
> when kdump kernel runs, the hardware is still using the old
> root entry. This causes error message when iommu not finished initialization.
What error message are you seeing? When the kdump kernel boots the iommu
should be still enabled from the old kernel with the old root-entry. So
any in-flight DMA initiated from the old kernel can still pass and there
should be no error messages.
When you clear the root-entry that in-flight DMA might go to another
random location in system memory or just fail, no?
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists