[PATCH 3.16 111/254] powerpc/perf: Dereference BHRB entries safely

2018-02-28 Thread Ben Hutchings
3.16.55-rc1 review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit f41d84dddc66b164ac16acf3f584c276146f1c48 upstream. It's theoretically possible that branch instructions recorded in BHRB (Branch History

[PATCH 3.16 111/254] powerpc/perf: Dereference BHRB entries safely

2018-02-28 Thread Ben Hutchings
3.16.55-rc1 review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit f41d84dddc66b164ac16acf3f584c276146f1c48 upstream. It's theoretically possible that branch instructions recorded in BHRB (Branch History Rolling Buffer) entries have