From: Huacai Chen Date: Tue, 4 Nov 2014 06:15:07 +0000 (+0800) Subject: MIPS: Loongson-3: Add oprofile support X-Git-Tag: omap-for-v3.19/fixes-rc1~122^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89467e73d3881a470ce4ffdcba1d5a5ed618379a;p=pandora-kernel.git MIPS: Loongson-3: Add oprofile support Loongson-3 has two groups of performance counters, they are 4 sub- registers of CP0's REG25. This patch add oprofile support. REG25, sel 0: Perf Control of group 0; REG25, sel 1: Perf Counter of group 0; REG25, sel 2: Perf Control of group 1; REG25, sel 3: Perf Counter of group 1. Signed-off-by: Huacai Chen Cc: John Crispin Cc: Steven J. Hill Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang Cc: Zhangjin Wu Patchwork: https://patchwork.linux-mips.org/patch/8328/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed