Skip to content

XSM: follow-on to XSAs 492 and 499

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 25 repliesIn review
  2. v124 patches 48 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14XSM: make xsm_default_action() const-correctxen/include/xsm/dummy.h+1 -11 reply
2/14XSM: convert "allow" (Flask: "access") parameters to boolxen/arch/x86/domctl.c xen/arch/x86/pci.c xen/arch/x86/pv/emul-priv-op.c +3 more+30 -280 replies
3/14x86/mm: get_page_from_l1e() is PV-or-shadow-onlyxen/arch/x86/include/asm/mm.h xen/arch/x86/mm.c xen/include/xsm/dummy.h +2 more+15 -22 replies
4/14x86: restrict PHYSDEVOP_* when PV=nxen/arch/x86/physdev.c xen/include/xsm/dummy.h xen/include/xsm/hooks.h +1 more+34 -202 replies
5/14XSM: make Argo hooks well-formed onesxen/common/argo.c xen/include/xsm/dummy.h xen/include/xsm/hooks.h +3 more+32 -641 reply
6/14XSM: fold xsm_{,un}map_domain_pirq() hooksxen/arch/x86/physdev.c xen/include/xsm/dummy.h xen/include/xsm/hooks.h +1 more+7 -202 replies
7/14x86: type-correct last parameter of map_domain_pirq()xen/arch/x86/include/asm/irq.h xen/arch/x86/irq.c+4 -42 replies
8/14XSM: pass just SBDF to xsm_{,un}map_domain_irq()xen/arch/x86/irq.c xen/include/xsm/dummy.h xen/include/xsm/hooks.h +1 more+15 -358 replies
9/14XSM: fold xsm_{,un}map_domain_irq() hooksxen/arch/arm/domctl.c xen/arch/x86/irq.c xen/include/xsm/dummy.h +2 more+18 -432 replies
10/14XSM: fold xsm_{,un}bind_pt_irq() hooksxen/arch/arm/domctl.c xen/arch/x86/domctl.c xen/include/xsm/dummy.h +2 more+16 -274 replies
11/14XSM: convert remaining event channel hooksxen/common/event_channel.c xen/include/xsm/dummy.h xen/include/xsm/hooks.h +3 more+27 -501 reply
12/14XSM: convert remaining domain-related hooksxen/common/domain.c xen/common/domctl.c xen/include/xsm/dummy.h +4 more+23 -400 replies
13/14XSM: convert remaining miscellaneous hooksxen/arch/arm/setup.c xen/arch/x86/irq.c xen/arch/x86/setup.c +5 more+12 -210 replies
14/14XSM: avoid fragile assumptions in xsm_fixup_ops()xen/include/xsm/xsm.h xen/xsm/dummy.c+27 -300 replies

Reviews trailers per patch

11 of 14 patches have a Reviewed-by or Acked-by.

PatchJason AndryukDaniel P. SmithAndrew Cooper
1/14R-b A-b
2/14A-b
3/14A-b A-b
4/14A-b
5/14R-b A-b
6/14A-b
7/14A-b A-b
8/14A-b A-b
9/14A-b
10/14A-b A-b
11/14A-b
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/14] XSM: follow-on to XSAs 492 and 499

Working on those XSAs made pretty apparent that there's a lot of redundancy, requiring changes in too many separate places if e.g. adding / altering / removing a hook. Obviously while dealing with that, some other, smaller tidying opportunities turned up as well, which is what is being dealt with here.

v2 addresses review feedback and includes a few new patches. See individual patches for details.

01: XSM: make xsm_default_action() const-correct 02: XSM: convert "allow" (Flask: "access") parameters to bool 03: x86/mm: get_page_from_l1e() is PV-or-shadow-only 04: x86: restrict PHYSDEVOP_* when PV=n
05: XSM: make Argo hooks well-formed ones
06: XSM: fold xsm_{,un}map_domain_pirq() hooks
07: x86: type-correct last parameter of map_domain_pirq() 08: XSM: pass just SBDF to xsm_{,un}map_domain_irq() 09: XSM: fold xsm_{,un}map_domain_irq() hooks
10: XSM: fold xsm_{,un}bind_pt_irq() hooks
11: XSM: convert remaining event channel hooks
12: XSM: convert remaining domain-related hooks
13: XSM: convert remaining miscellaneous hooks
14: XSM: avoid fragile assumptions in xsm_fixup_ops()

Jan