History

perf/smmuv3: Enable HiSilicon Erratum 162001800 quirk

HiSilicon erratum 162001800 describes the limitation of SMMUv3 PMCG implementation on HiSilicon Hip08 platforms. On these platforms, the PMCG event counter registers (SMMU_PMCG_EVCNTRn) are read only and as a result it is not possible to set the initial counter period value on event monitor start. To work around this, the current value of the counter is read and used for delta calculations. OEM information from ACPI header is used to identify the affected hardware platforms.

Shameer Kolothum committed 7 years ago

Commit 24062fe1 parent f202cda4 files · +58 −8Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/acpi_iort.h+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32 * do with hardware or with IORT specification.32 * do with hardware or with IORT specification.
33 */33 */
34#define IORT_SMMU_V3_PMCG_GENERIC 0x00000000 /* Generic SMMUv3 PMCG */34#define IORT_SMMU_V3_PMCG_GENERIC 0x00000000 /* Generic SMMUv3 PMCG */
35#define IORT_SMMU_V3_PMCG_HISI_HIP08 0x00000001 /* HiSilicon HIP08 PMCG */
35 36
36int iort_register_domain_token(int trans_id, phys_addr_t base,37int iort_register_domain_token(int trans_id, phys_addr_t base,
37 struct fwnode_handle *fw_node);38 struct fwnode_handle *fw_node);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t