From: Michael Ellerman Date: Tue, 6 Aug 2013 07:42:37 +0000 (+1000) Subject: selftests: Add test of PMU instruction counting on powerpc X-Git-Tag: v3.12-rc1~123^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb96143defbd5516c351595d56b608ed915b525e;p=pandora-kernel.git selftests: Add test of PMU instruction counting on powerpc This commit adds a test of instruction counting using the PMU on powerpc. Although the bulk of the code is architecture agnostic, the code needs to run a precisely sized loop which is implemented in assembler. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed