[PATCH OLK-6.6 06/18] drivers/perf: hisi: Add a common function to retrieve topology from firmware