Skip to content

arch_topology: Bunch of error patch related fixes

Sudeep Holla driver-core 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyIn review
  2. v34 patches 0 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

Changes in v4 from the cover letter

- Validate all possible CPUs before normalizing capacities
- v3: https://lore.kernel.org/all/[email protected]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arch_topology: Reset SMT state when socket parsing failsdrivers/base/arch_topology.c+1 -10 replies
2/4arch_topology: Free ACPI SMT entries on lookup failuredrivers/base/arch_topology.c+11 -40 replies
3/4arch_topology: Reset SMT state when topology is unavailabledrivers/base/arch_topology.c+5 -10 replies
4/4arch_topology: Avoid zero CPU capacity on parse failuredrivers/base/arch_topology.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] arch_topology: Bunch of error patch related fixes

Hi Greg,

Hopefully no more issues get reported by sashiko. It all started with one issue[1] one patch and ended with 4 different issues so far. All of them are related to error path handling.

v3->v4:
- Validate all possible CPUs before normalizing capacities
- v3: https://lore.kernel.org/all/[email protected]

v2->v3:
- Added fixes to couple of more issues pointed by Sashiko
- v2: https://lore.kernel.org/all/[email protected]

v1->v2:
- Reset max_smt_thread_num to 1 on failure similar to parse_socket()
- Grouped below 2 in one series and posted them together
- v1: https://lore.kernel.org/all/[email protected]
- v1: https://lore.kernel.org/all/[email protected]

Regards,
Sudeep

[1] https://sashiko.dev/#/bug/linux-73adead8-21f3-470d-938c-b1f07a269a72

Sudeep Holla (4):
arch_topology: Reset SMT state when socket parsing fails
arch_topology: Free ACPI SMT entries on lookup failure
arch_topology: Reset SMT state when topology is unavailable
arch_topology: Avoid zero CPU capacity on parse failure

 drivers/base/arch_topology.c | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0