forked from gpkulkarni/tx2_uncore_smmu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (23 loc) · 834 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Build For latest kernel:
make
For 4.16 and below:
make VERSION=v1
Module load/remove(4.16 and below):
insmod tx2_uncore_smmu-v1.ko
rmmod tx2_uncore_smmu-v1.ko
Module load/remove.
insmod tx2_uncore_smmu.ko
rmmod tx2_uncore_smmu.ko
To list events => perf list | grep smmu
smmu 0 to 2 are part of SOCKET 0.
smmu 3 to 5 are part of SOCKET 1.
Use sysfs to know which smmu device is connected to your pci device.
example :
ls /sys/bus/platform/devices/arm-smmu-v3.0.auto/iommu/smmu3.0x0000000402300000/devices/
NOTE:
tx2_uncore_smmu.c is a copy of upstream version.
tx2_uncore_smmu-v1.c is a copy of tx2_uncore_smmu.c with changes to port for
distro kernel versions.
The Changes are,
- Removed hotplug support, since it has header dependency.
- modified thunderx2_uncore_validate_event_group to compile with older kernels.