public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: kvm@vger.kernel.org
Subject: Re: [PATCH] pmu: fixes for Sandy Bridge hosts
Date: Thu, 30 May 2013 19:45:02 +0200	[thread overview]
Message-ID: <51A7901E.7040509@redhat.com> (raw)
In-Reply-To: <1369935788-19069-2-git-send-email-pbonzini@redhat.com>

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

  reply	other threads:[~2013-05-30 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 17:43 [PATCH kvm-unit-tests] pmu: fixes for Sandy Bridge hosts Paolo Bonzini
2013-05-30 17:43 ` [PATCH] " Paolo Bonzini
2013-05-30 17:45   ` Paolo Bonzini [this message]
2013-06-02 15:32 ` [PATCH kvm-unit-tests] " Gleb Natapov
2013-06-03  6:33   ` Paolo Bonzini
2013-06-03  6:38     ` Gleb Natapov
2013-06-03  7:08       ` Paolo Bonzini
2013-06-03  7:38         ` Gleb Natapov
2013-06-03  7:44           ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A7901E.7040509@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox