forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/will/linux into arm/smmu Arm SMMU updates for 6.10 - SMMUv2: * Support for fault debugging hardware on Qualcomm implementations * Re-land support for the ->domain_alloc_paging() callback - SMMUv3: * Improve handling of MSI allocation failure * Drop support for the "disable_bypass" cmdline option * Major rework of the CD creation code, following on directly from the STE rework merged last time around. * Add unit tests for the new STE/CD manipulation logic
- Loading branch information
Showing
12 changed files
with
1,526 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iommu/qcom,tbu.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm TBU (Translation Buffer Unit) | ||
|
||
maintainers: | ||
- Georgi Djakov <[email protected]> | ||
|
||
description: | ||
The Qualcomm SMMU500 implementation consists of TCU and TBU. The TBU contains | ||
a Translation Lookaside Buffer (TLB) that caches page tables. TBUs provides | ||
debug features to trace and trigger debug transactions. There are multiple TBU | ||
instances with each client core. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sc7280-tbu | ||
- qcom,sdm845-tbu | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
interconnects: | ||
maxItems: 1 | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
qcom,stream-id-range: | ||
description: | | ||
Phandle of a SMMU device and Stream ID range (address and size) that | ||
is assigned by the TBU | ||
$ref: /schemas/types.yaml#/definitions/phandle-array | ||
items: | ||
- items: | ||
- description: phandle of a smmu node | ||
- description: stream id base address | ||
- description: stream id size | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- qcom,stream-id-range | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-sdm845.h> | ||
#include <dt-bindings/interconnect/qcom,icc.h> | ||
#include <dt-bindings/interconnect/qcom,sdm845.h> | ||
tbu@150e1000 { | ||
compatible = "qcom,sdm845-tbu"; | ||
reg = <0x150e1000 0x1000>; | ||
clocks = <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; | ||
interconnects = <&system_noc MASTER_GNOC_SNOC QCOM_ICC_TAG_ACTIVE_ONLY | ||
&config_noc SLAVE_IMEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; | ||
power-domains = <&gcc HLOS1_VOTE_AGGRE_NOC_MMU_PCIE_TBU_GDSC>; | ||
qcom,stream-id-range = <&apps_smmu 0x1c00 0x400>; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.