[PATCH openEuler-1.0-LTS v4 130/292] Intel: perf/x86/intel/uncore: Factor out __snr_uncore_mmio_init_box