diff options
author | Kim Phillips <[email protected]> | 2022-09-19 10:56:37 -0500 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-11-19 10:05:28 +0100 |
commit | 5f18e9f8868c6d4eae71678e7ebd4977b7d8c8cf (patch) | |
tree | de18e08fb40760cd6843c164f29e8eac95193b52 /scripts/generate_rust_analyzer.py | |
parent | 2a48b15972a3b2a2622e6e537e1d53f457670395 (diff) |
iommu/amd: Fix ivrs_acpihid cmdline parsing code
The second (UID) strcmp in acpi_dev_hid_uid_match considers
"0" and "00" different, which can prevent device registration.
Have the AMD IOMMU driver's ivrs_acpihid parsing code remove
any leading zeroes to make the UID strcmp succeed. Now users
can safely specify "AMDxxxxx:00" or "AMDxxxxx:0" and expect
the same behaviour.
Fixes: ca3bf5d47cec ("iommu/amd: Introduces ivrs_acpihid kernel parameter")
Signed-off-by: Kim Phillips <[email protected]>
Cc: [email protected]
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Joerg Roedel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions