Re: [PATCH v11 00/16] Introduce Architectural LBR for vPMU

From: Paolo Bonzini
Date: Tue May 10 2022 - 12:00:19 EST


On 5/6/22 05:32, Yang Weijiang wrote:
[0] https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf
[1] https://lore.kernel.org/lkml/1593780569-62993-1-git-send-email-kan.liang@xxxxxxxxxxxxxxx/

Qemu patch:
https://patchwork.ozlabs.org/project/qemu-devel/cover/20220215195258.29149-1-weijiang.yang@xxxxxxxxx/

Previous version:
v10: https://lore.kernel.org/all/20220422075509.353942-1-weijiang.yang@xxxxxxxxx/

Changes in v11:
1. Moved MSR_ARCH_LBR_DEPTH/CTL check code to a unified function.[Kan]
2. Modified some commit messages per Kan's feedback.
3. Rebased the patch series to 5.18-rc5.

Thanks, this is mostly okay; the only remaining issues are Kan's feedback and saving/restoring on SMM enter/exit.

The QEMU patches look good too.

Paolo