[PATCH 0/9] LTR ignore feature improvement

Xi Pardee
2024-06-24T20:32:22Z

This patch series contains six patches to improve LTR ignore
feature, one patch to modify the usage of pmc_core_send_msg and
two patches to improve PMC Core driver in general.

Improve LTR ignore feature:
platform/x86:intel/pmc: Add support to undo ltr_ignore
platform/x86:intel/pmc: Use the Elvis operator
platform/x86:intel/pmc: Use DEFINE_SHOW_STORE_ATTRIBUTE macro
platform/x86:intel/pmc: Remove unneeded min_t check
platform/x86:intel/pmc: Add support to show ltr_ignore value
platform/x86:intel/pmc: Move pmc assignment closer to first usage

Modify the usage of pmc_core_send_msg:
platform/x86:intel/pmc: Use the return value of pmc_core_send_msg

Improve PMC Core driver:
platform/x86:intel/pmc: Convert index variables to be unsigned
platform/x86:intel/pmc: Simplify mutex usage with cleanup helpers

Xi Pardee (9):
platform/x86:intel/pmc: Use the return value of pmc_core_send_msg
platform/x86:intel/pmc: Simplify mutex usage with cleanup helpers
platform/x86:intel/pmc: Convert index variables to be unsigned
platform/x86:intel/pmc: Move pmc assignment closer to first usage
platform/x86:intel/pmc: Add support to show ltr_ignore value
platform/x86:intel/pmc: Remove unneeded min_t check
platform/x86:intel/pmc: Use DEFINE_SHOW_STORE_ATTRIBUTE macro
platform/x86:intel/pmc: Use the Elvis operator
platform/x86:intel/pmc: Add support to undo ltr_ignore

drivers/platform/x86/intel/pmc/core.c | 214 +++++++++++++-------------
1 file changed, 109 insertions(+), 105 deletions(-)

--
2.34.1