AmpereComputing / ampere-lts-kernel

Linux 5.4 and 5.10 Longterm kernel (LTS) with Ampere patches
21 stars 16 forks source link

patch: pmu: ARM SMMUv3 PMU (PMCG) #77

Open adamliyi opened 2 years ago

bobolmw commented 2 years ago

Fixed SMMU issue: https://github.com/AmpereComputing/ampere-lts-kernel/issues/53 perf/smmuv3: Don't trample existing events with global filter Accepted kernel: v5.14, https://github.com/torvalds/linux/commit/4c1daba15c209b99d192f147fea3dade30f72ed2 Ampere 5.4 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/5cfcc6261e6bbf22a204428c889c36ed8e186b16

bobolmw commented 2 years ago

perf/smmuv3: Remove the leftover put_cpu() in error path Accepted kernel: v5.5, https://github.com/torvalds/linux/commit/8ae4bcf4821c18a8fbfa0b2c1df26c1085e9d923 Ampere 5.4 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/a4b00c95978d6194c62b7a9a55bb5e4110097f89

bobolmw commented 2 years ago

This patch has been reverted on 5.4 kernel. It is not necessary. See: https://github.com/AmpereComputing/ampere-lts-kernel/issues/152

================= Bellow comment is outdated and invalide =============== perf/smmuv3: Allow sharing MMIO registers with the SMMU driver Accepted kernel: No Ampere 5.4 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/779bed7502d9d2c77c3a70521d4baf9a3b8f4669

Cherry-pick from: https://github.com/AmpereComputing/ampere-centos-kernel/commit/1164351241b52b3c8ffab4e29de5f93a9abe4acf

bobolmw commented 2 years ago

iommu/arm-smmu-v3: Don't reserve implementation defined register space Accepted kernel: v5.8, https://github.com/torvalds/linux/commit/52f3fab0067d6fa9e99c1b7f63265dd48ca76046 Ampere 5.4 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/87957b27f791fb4ea044264e0342a3da1b711dfa%22

adamliyi commented 2 years ago

Fixed smmu issue: https://github.com/AmpereComputing/ampere-lts-kernel/issues/53 perf/smmuv3: Don't trample existing events with global filter Accepted kernel: v5.14, torvalds/linux@4c1daba Ampere 5.10 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/79aa8c94e778af7a915e8d08063ba9f72edca4d3

adamliyi commented 2 years ago

@bobolmw ,

This patch has no 5.10 port?

perf/smmuv3: Allow sharing MMIO registers with the SMMU driver Accepted kernel: No Ampere 5.4 commit: https://github.com/AmpereComputing/ampere-lts-kernel/commit/779bed7502d9d2c77c3a70521d4baf9a3b8f4669