Messages in this thread | | | Date | Thu, 23 Jul 2020 09:21:02 +0200 | From | Joerg Roedel <> | Subject | Re: [PATCH v4 51/75] x86/sev-es: Handle MMIO events |
| |
Hi Mike,
On Wed, Jul 22, 2020 at 10:53:02PM +0000, Mike Stunes wrote: > Thanks Joerg! With that change in place, this kernel boots normally. > What was the problem?
The problem was that the code got its page-table from current->active_mm. But these pointers are not set up during early boot, so that the #VC handler can't walk the page-table and propagates a page-fault every time. This loops forever.
Getting the page-table from CR3 instead works at all stages of the systems runtime.
Regards,
Joerg
| |