Skip to content

[PW_SID:1157159] [v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU - #2586

Open
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1157159
Open

[PW_SID:1157159] [v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU#2586
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1157159

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1157159 applied to workflow__riscv__fixes

Name: [v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1157159
Version: 2

Mirror the ACPI IORT solution used on arm64 (see iort_enable_acs())
by scanning the RIMT table for PCIe root complex nodes during
riscv_acpi_rimt_init(), which runs before ACPI PCI enumeration. If a
root complex node's ID mapping points at an IOMMU node, call
pci_request_acs() immediately, so pci_acs_enable is already set by
the time any PCI device is scanned and pci_enable_acs() runs.

Only one call to pci_request_acs() is needed regardless of how many
root complexes are found, so track that with a static acs_enabled
flag, same as iort_enable_acs() does.

Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
Reviewed-by: Sunil V L <sunilvl@oss.qualcomm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 142.31 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1464.12 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1800.16 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.79 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.64 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.76 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 91.03 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
kdoc
Desc: Detects for kdoc errors
Duration: 0.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] ACPI: RIMT: Enable PCI ACS for root complexes mapped to an IOMMU"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants