[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] arm/p2m: XSA-409 fix
- To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Mon, 17 Oct 2022 20:12:35 +0100
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>
- Delivery-date: Mon, 17 Oct 2022 19:13:07 +0000
- Ironport-data: A9a23:fvkMXKOJtPE0YYLvrR1Al8FynXyQoLVcMsEvi/4bfWQNrUp2hjMGy zYfXzjUb/2LMWH0KNp3YYm3o0oC6J/Sx95hHQto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6j+fQLlbFILasEjhrQgN5QzsWhxtmmuoo6qZlmtH8CA6W0 T/Ii5S31GSNhnglbwr414rZ8Ek15ayr52tC1rADTasjUGH2xiF94K03fcldH1OgKqFIE+izQ fr0zb3R1gs1KD90V7tJOp6iGqE7aua60Tqm0xK6aID76vR2nQQg075TCRYpQRw/ZwNlPTxG4 I4lWZSYEW/FN0BX8QgXe0Ew/ypWZcWq9FJbSJQWXAP6I0DuKhPRL/tS4E4eMrY747t6E3F0p b87EAEBclearPOd+efuIgVsrpxLwMjDOYoevjdrzC3DDOZgSpfGK0nIzYYGhnFq3JkIRKuAI ZpCAdZsRE2ojxlnE1EbEp8h2syvgWHyaWZwo1OJv6snpWPUyWSd1ZC9aouMKozVG625mG6Gj zzMxU/CMCo2JeSh7yiv23CTl+vQyHaTtIU6S+Tjq68CbEeo7lIUDBoaRF6qu86Tg0S1W89cA 0EM8y9opq83nGShQ8PhRRS+rDiBtwQFRttLO+Qg7UeGza+8yyaUAHIVCAFIbtMOvdUzAzct0 zehj97vQDBirrCRYXac7auP6yO/PzAPKm0PbjNCShEKi/H4u506hB/LStdlEYa2g8fzFDW2x CqFxAA8mrESgMgjx6i9u1fdjFqRSoPhF1BvoF+NByT8s10/NNXNi5GUBUbz4s1jNduUXEm77 Dsno/mS8KcXJoCmrXnYKAkSJ42B6/GAOTzapFdgGZg96jigk0KekZBsDCJWfxkwbJtdEdP9S AqK4F4KuscPVJe/RfUvC79dHfjG2kQJ+T7NcvnPJuRDbZFqHONs1HE/PBXAt4wBfaVFrE3eB Xt5WZzwZZr5If49pNZTewv6+eZyrh3SPUuJGfjGI+2PiNJynkK9R7YfK0epZesk9q6Cqwi92 48BaZbbl0gCDrGiP3W/HWsvwbcidCJTOHwLg5YPKr7rzvROQgnN9MM9MZt+Itc4zsy5Z8/D/ 22nW18w9WcTcUbvcF3QAlg6MeuHdc8m/RoG0dkEYA/AN44LOt30ss/ytvIfINEayQCU5aQsE qBaJJjRU64np/au0211UKQRZbdKLHyD7T9i9QL8CNTjV/aMnzD0x+I=
- Ironport-hdrordr: A9a23:Da73vq+p2S7amNtlXhZuk+DQI+orL9Y04lQ7vn2YSXRuE/Bw9v re+sjzuiWE6wr5NEtOpTniAtjmfZq/z+8W3WB5B97LN2OK1FdARLsSibcKqAeBJ8SRzIBgPN 9bAs1DNOE=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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(-)
--
2.11.0
|