ACPI/IORT: rework num_ids off-by-one quirk
Status from this message: Applied to arm64 (for-next/acpi), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 8 repliesApplied
- v1 RFC2 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- print FW_BUG error to the kernel log when a duplicate match is found
- ignore duplicate matches unless they occur at the start of a region (for compatibility with broken systems that might exist that happen to work today because the first match is always chosen)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Revert "ACPI/IORT: Fix 'Number of IDs' handling in iort_id_map()"drivers/ | +2 | 0 replies | |
| 2/2 | ACPI/IORT: work around num_ids ambiguitydrivers/ | +34 | 7 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Lorenzo Pieralisi | Hanjun Guo |
|---|---|---|
| 1/2 | ||
| 2/2 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] ACPI/IORT: rework num_ids off-by-one quirk
Replace the ACPI OEM ID matching based IORT quirk for the ID region size ambiguity with runtime handling of this condition.
This is based on the observation that we only care about this when it causes ambiguity regarding the output reference, which means that we will have more than one match for the input ID. In this case, we can just disregard the one at the end of a multi-ID region: if we hit it first, we record it tentatively but allow a subsequent match to supersede it. If we hit the correct match first, there is nothing we need to do.
Changes since v1:
- print FW_BUG error to the kernel log when a duplicate match is found
- ignore duplicate matches unless they occur at the start of a region (for compatibility with broken systems that might exist that happen to work today because the first match is always chosen)
Ard Biesheuvel (2):
Revert "ACPI/IORT: Fix 'Number of IDs' handling in iort_id_map()" ACPI/IORT: work around num_ids ambiguity
drivers/acpi/arm64/iort.c | 95 ++++++++------------ 1 file changed, 35 insertions(+), 60 deletions(-)
Signature · 1 line
2.17.1