diff options
author | Will Deacon <will.deacon@arm.com> | 2019-05-03 12:18:08 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-05-03 12:18:08 +0300 |
commit | b33f908811b7627015238e0dee9baf2b4c9d720d (patch) | |
tree | ff201aa98d4c4f2e70ede315363229ddde771150 /include/linux | |
parent | 24cf262da1ad303fc940c798aab0bd1bd50e3fc2 (diff) | |
parent | 9bcb929f969e4054732158908b1d70e787ef780f (diff) | |
download | linux-b33f908811b7627015238e0dee9baf2b4c9d720d.tar.xz |
Merge branch 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-next/core
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/acpi_iort.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/acpi_iort.h b/include/linux/acpi_iort.h index 38cd77b39a64..723e4dfa1c14 100644 --- a/include/linux/acpi_iort.h +++ b/include/linux/acpi_iort.h @@ -26,6 +26,14 @@ #define IORT_IRQ_MASK(irq) (irq & 0xffffffffULL) #define IORT_IRQ_TRIGGER_MASK(irq) ((irq >> 32) & 0xffffffffULL) +/* + * PMCG model identifiers for use in smmu pmu driver. Please note + * that this is purely for the use of software and has nothing to + * do with hardware or with IORT specification. + */ +#define IORT_SMMU_V3_PMCG_GENERIC 0x00000000 /* Generic SMMUv3 PMCG */ +#define IORT_SMMU_V3_PMCG_HISI_HIP08 0x00000001 /* HiSilicon HIP08 PMCG */ + int iort_register_domain_token(int trans_id, phys_addr_t base, struct fwnode_handle *fw_node); void iort_deregister_domain_token(int trans_id); |