Re: [PATCH] x86, perf, uncore: Don't make MSR uncore depend on PCI uncore

2015-09-14 Thread Thomas Gleixner
On Wed, 9 Sep 2015, Andi Kleen wrote: > --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c > +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c > @@ -958,6 +958,8 @@ static void __init uncore_pci_exit(void) > uncore_types_exit(uncore_pci_uncores); > } > } > +module_exit(uncor

[PATCH] x86, perf, uncore: Don't make MSR uncore depend on PCI uncore

2015-09-09 Thread Andi Kleen
From: Andi Kleen [Note: I still need this patch to make memory bandwidth monitoring work on my laptop. I believe all earlier review comments regarding how to return later ignored error codes are addressed in this version.] Several sytems, such as my laptop, don't expose the PCI devices for the P

[PATCH] x86, perf, uncore: Don't make MSR uncore depend on PCI uncore

2015-06-30 Thread Andi Kleen
From: Andi Kleen Several sytems, such as my laptop, don't expose the PCI devices for the PCI uncore measurements. But the MSRs for the CBOX and ARB uncores are always available. Currently the init code doesn't initialize the MSR uncores when the PCI uncore registration fails. Stop it from doing t