-
由 Suravee Suthikulpanit 提交于
stable inclusion from stable-v5.10.164 commit 5badda810f69fea219e805a661d50815288b372b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7T7G4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5badda810f69fea219e805a661d50815288b372b -------------------------------- [ Upstream commit bbe3a106 ] 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: NVasant Hegde <vasant.hegde@amd.com> Signed-off-by: NVasant Hegde <vasant.hegde@amd.com> Signed-off-by: NSuravee Suthikulpanit <suravee.suthikulpanit@amd.com> Link: https://lore.kernel.org/r/20220706113825.25582-33-vasant.hegde@amd.comSigned-off-by: NJoerg Roedel <jroedel@suse.de> Stable-dep-of: 1198d231 ("iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options") Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: Nsanglipeng <sanglipeng1@jd.com>
e854a79b