Skip to content

arm/p2m: XSA-409 fix

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm/p2m: Rework p2m_init()xen/arch/arm/p2m.c+12 -123 replies
2/2xen/arm: p2m: Populate pages for GICv2 mapping in arch_domain_create()xen/arch/arm/p2m.c+41 -28 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJulien GrallBertrand Marquis
1/2R-b R-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] arm/p2m: XSA-409 fix

My attempt at a more simple fix than any proposed thus far. Sadly not as simple as I was hoping, but it does resolve the bugs according to Gitlab:

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/669072903

In particular, it addresses every buggy error path I've spotted in previous patches. The preemptible helpers can't safely be rewrapped to work in an idempotent teardown context.

Andrew Cooper (1):
arm/p2m: Rework p2m_init()

Henry Wang (1):
xen/arm: p2m: Populate pages for GICv2 mapping in arch_domain_create()

 xen/arch/arm/p2m.c | 67 ++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 53 insertions(+), 14 deletions(-)
Signature · 1 line
2.11.0