Re: [PATCH] pmu: fixes for Sandy Bridge hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 30/05/2013 19:43, Paolo Bonzini ha scritto:
> @@ -395,6 +396,14 @@ int main(int ac, char **av)
>  	printf("Fixed counters:      %d\n", edx.split.num_counters_fixed);
>  	printf("Fixed counter width: %d\n", edx.split.bit_width_fixed);
>  
> +	num_counters = eax.split.num_counters;
> +	if (num_counters > ARRAY_SIZE(gp_events))
> +		num_counters = ARRAY_SIZE(gp_events);
> +	while (id.b) {
> +		num_counters--;
> +		id.b &= id.b - 1;
> +	}
> +
>  	apic_write(APIC_LVTPC, PC_VECTOR);
>  
>  	check_gp_counters();
> 

Please ignore this patch.  The parent one with "[PATCH kvm-unit-tests]"
subject is good though.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux