]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Wed, 6 Jul 2022 11:38:22 +0000 (17:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:32:48 +0000 (08:32 +0100)
commit456ae47dbdbefd37a62a7bd6da0b84c16e45e7bf
treed4096a4e68230d69bf98da808048d0dc96969901
parentcc8b0017b84f5b43b80d0ebb75f7d6cdbfad16ab
iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands

[ Upstream commit 2246c31658d87ac751f48d271c8bb9b6aacf0e5d ]

By default, PCI segment is zero and can be omitted. To support system
with non-zero PCI segment ID, modify the parsing functions to allow
PCI segment ID.

Co-developed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20220706113825.25582-33-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Stable-dep-of: b6b26d86c61c ("iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/iommu/amd_iommu_init.c