All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] x86/PVH: Dom0 building adjustments
@ 2021-09-02  8:30 Jan Beulich
  2021-09-02  8:32 ` [PATCH v2 1/6] x86/P2M: relax guarding of MMIO entries Jan Beulich
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Jan Beulich @ 2021-09-02  8:30 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper, Wei Liu, Roger Pau Monné

The code building PVH Dom0 made use of sequences of P2M changes
which are disallowed as of XSA-378. First of all population of the
first Mb of memory needs to be redone. Then, largely as a
workaround, checking introduced by XSA-378 needs to be slightly
relaxed.

Note that with these adjustments I get Dom0 to start booting on my
development system, but the Dom0 kernel then gets stuck. Since it
was the first time for me to try PVH Dom0 in this context (see
below for why I was hesitant), I cannot tell yet whether this is
due further fallout from the XSA, or some further unrelated
problem. Dom0's BSP makes it all the way through to entering the
idle loop while all APs are still in VPF_down.

[And there was another rather basic issue to fight first (patch
 was submitted separately as RFC): vPCI wasn't aware of hidden PCI
 devices, hitting an ASSERT(). Obviously I couldn't afford not
 having a functioning serial console.]

In the course I ran into an oom condition while populating Dom0's
RAM. Hence next some re-work of dom0_compute_nr_pages(). In turn
in the course of putting that together I did notice that PV Dom0,
when run in shadow mode, wouldn't have its shadow allocation
properly set.

Finally make debug key '0' work at least partially for PVH Dom0
and limit the amount of log output for offline (down) vCPU-s.

1: P2M: relax guarding of MMIO entries
2: P2M: relax permissions of PVH Dom0's MMIO entries
3: PVH: improve Dom0 memory size calculation
4: PV: properly set shadow allocation for Dom0
5: PVH: actually show Dom0's register state from debug key '0'
6: HVM: skip offline vCPU-s when dumping VMCBs/VMCSes

Jan



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-09-06 19:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02  8:30 [PATCH v2 0/6] x86/PVH: Dom0 building adjustments Jan Beulich
2021-09-02  8:32 ` [PATCH v2 1/6] x86/P2M: relax guarding of MMIO entries Jan Beulich
2021-09-06 15:54   ` Andrew Cooper
2021-09-02  8:33 ` [PATCH v2 2/6] x86/P2M: relax permissions of PVH Dom0's " Jan Beulich
2021-09-06 15:48   ` Andrew Cooper
2021-09-06 15:55     ` Jan Beulich
2021-09-06 19:23       ` Andrew Cooper
2021-09-02  8:33 ` [PATCH v2 3/6] x86/PVH: improve Dom0 memory size calculation Jan Beulich
2021-09-02  8:34 ` [PATCH v2 4/6] x86/PV: properly set shadow allocation for Dom0 Jan Beulich
2021-09-02  8:35 ` [PATCH v2 5/6] x86/PVH: actually show Dom0's register state from debug key '0' Jan Beulich
2021-09-02  8:36 ` [PATCH v2 6/6] x86/HVM: skip offline vCPU-s when dumping VMCBs/VMCSes Jan Beulich
2021-09-02 11:42 ` [PATCH v2 0/6] x86/PVH: Dom0 building adjustments Jan Beulich
2021-09-02 12:15   ` Juergen Gross
2021-09-02 12:39     ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.