diff options
author | Kim Phillips <kim.phillips@amd.com> | 2022-09-19 10:56:38 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-11-19 10:05:28 +0100 |
commit | 1198d2316dc4265a97d0e8445a22c7a6d17580a4 (patch) | |
tree | ba0c06b8a357bb5723dfeff69d3d74863a0b028a /drivers/mailbox | |
parent | 5f18e9f8868c6d4eae71678e7ebd4977b7d8c8cf (diff) |
iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
Currently, these options cause the following libkmod error:
libkmod: ERROR ../libkmod/libkmod-config.c:489 kcmdline_parse_result: \
Ignoring bad option on kernel command line while parsing module \
name: 'ivrs_xxxx[XX:XX'
Fix by introducing a new parameter format for these options and
throw a warning for the deprecated format.
Users are still allowed to omit the PCI Segment if zero.
Adding a Link: to the reason why we're modding the syntax parsing
in the driver and not in libkmod.
Fixes: ca3bf5d47cec ("iommu/amd: Introduces ivrs_acpihid kernel parameter")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/linux-modules/20200310082308.14318-2-lucas.demarchi@intel.com/
Reported-by: Kim Phillips <kim.phillips@amd.com>
Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Link: https://lore.kernel.org/r/20220919155638.391481-2-kim.phillips@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions