Improved cleanup handling for amd-pmf
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 1 replyIn review
- v43 patches 7 repliesSuperseded
- v33 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 4 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | platform/x86/amd: pmf: Use device managed allocationsdrivers/ drivers/ | +22 | 0 replies | |
| 2/3 | platform/x86/amd: pmf: Prevent amd_pmf_tee_deinit() from running twicedrivers/ | +8 | 0 replies | |
| 3/3 | platform/x86/amd: pmf: Simplify error flow in amd_pmf_init_smart_pc()drivers/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/3] Improved cleanup handling for amd-pmf
From: Mario Limonciello <[email protected]>
I noticed some memory problems with unloading and reloading amd-pmf. These were root caused with a double free.
This series cleans up that double free by switching to device managed allocations and also fixes other problems observed in earlier iterations of the patches.
Mario Limonciello (3):
platform/x86/amd: pmf: Use device managed allocations platform/x86/amd: pmf: Prevent amd_pmf_tee_deinit() from running twice platform/x86/amd: pmf: Simplify error flow in amd_pmf_init_smart_pc()
drivers/platform/x86/amd/pmf/core.c | 3 +- drivers/platform/x86/amd/pmf/tee-if.c | 108 +++++++++----------------- 2 files changed, 39 insertions(+), 72 deletions(-)
Signature · 1 line
2.43.0