commit | e9dfbaaeef1c9fee3f3a898defc4562db20c2edf | [log] [tgz] |
---|---|---|
author | Huacai Chen <chenhc@lemote.com> | Thu Apr 30 17:45:16 2020 +0800 |
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Thu Apr 30 16:33:24 2020 +0200 |
tree | 73cd71bfe8ed176593346dfcc61ca881b478df8e | |
parent | 44220fd84f3fa25208a441ae7a2cf0cf44699655 [diff] |
MIPS: perf: Add hardware perf events support for new Loongson-3 New Loongson-3 means Loongson-3A R2 (Loongson-3A2000) and newer CPUs. Loongson-3 processors have three types of PMU types (so there are three event maps): Loongson-3A1000/Loonngson-3B1000/Loongson-3B1500 is Type-1, Loongson-3A2000/Loongson-3A3000 is Type-2, Loongson-3A4000+ is Type-3. Signed-off-by: Huacai Chen <chenhc@lemote.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>