Skip to content

x86/p2m: hook adjustments

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 Latest9 patches 5 repliesIn review
  2. v15 patches 21 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86/p2m: paging_write_p2m_entry() is a private functionxen/arch/x86/mm/p2m-pt.c xen/arch/x86/mm/paging.c xen/include/asm-x86/paging.h+29 -360 replies
2/9x86/p2m: collapse the two ->write_p2m_entry() hooksxen/arch/x86/mm/hap/hap.c xen/arch/x86/mm/p2m-pt.c xen/arch/x86/mm/shadow/common.c +5 more+36 -400 replies
3/9x86/p2m: suppress audit_p2m hook when possiblexen/arch/x86/domctl.c xen/arch/x86/mm/p2m-ept.c xen/arch/x86/mm/p2m-pt.c +2 more+16 -160 replies
4/9x86/HAP: move nested-P2M flush calculations out of locked regionxen/arch/x86/mm/hap/hap.c+11 -140 replies
5/9x86/p2m: split write_p2m_entry() hookxen/arch/x86/mm/hap/hap.c xen/arch/x86/mm/hap/nested_hap.c xen/arch/x86/mm/p2m-pt.c +3 more+75 -960 replies
6/9x86/p2m: avoid unnecessary calls of write_p2m_entry_pre() hookxen/arch/x86/mm/p2m-pt.c+3 -22 replies
7/9x86/p2m: pass old PTE directly to write_p2m_entry_pre() hookxen/arch/x86/mm/p2m-pt.c xen/arch/x86/mm/shadow/common.c xen/include/asm-x86/p2m.h+21 -221 reply
8/9x86/shadow: cosmetics to sh_unshadow_for_p2m_change()xen/arch/x86/mm/shadow/common.c+36 -281 reply
9/9x86/shadow: adjust TLB flushing in sh_unshadow_for_p2m_change()xen/arch/x86/mm/shadow/common.c+6 -61 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchTim DeeganRoger Pau Monné
1/9
2/9A-b
3/9
4/9
5/9A-b
6/9A-b
7/9A-b
8/9A-b
9/9A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/9] x86/p2m: hook adjustments

This started out with me getting confused by the two write_p2m_entry() hooks we have - there really ought to be no more than one, or if two were absolutely needed they imo would better have distinct names. Other adjustment opportunities (and I hope they're improvements) were found while getting rid of that one unnecessary layer of indirect calls.

v2 has a build fix for clang in patch 3 and a few new patches.

1: p2m: paging_write_p2m_entry() is a private function 2: p2m: collapse the two ->write_p2m_entry() hooks
3: p2m: suppress audit_p2m hook when possible
4: HAP: move nested-P2M flush calculations out of locked region 5: p2m: split write_p2m_entry() hook
6: p2m: avoid unnecessary calls of write_p2m_entry_pre() hook 7: p2m: pass old PTE directly to write_p2m_entry_pre() hook 8: shadow: cosmetics to sh_unshadow_for_p2m_change() 9: shadow: adjust TLB flushing in sh_unshadow_for_p2m_change()

Jan