From: Amit Tomar <mailingist27@gmail.com>
To: kvm-ppc@vger.kernel.org
Subject: Patch - support e500-specific: Performance monitor
Date: Thu, 04 Sep 2014 15:16:21 +0000 [thread overview]
Message-ID: <54087F75.4030904@gmail.com> (raw)
In-Reply-To: <a8c6311500044dbdb7b19f189d3dd346@BLUPR03MB566.namprd03.prod.outlook.com>
Is There specific any reason not to copy extra handler IOVR 35 for e500?
--- a/arch/powerpc/kvm/e500.c
+++ b/arch/powerpc/kvm/e500.c
@@ -527,7 +527,7 @@ static struct kvmppc_ops kvm_ops_e500 = {
static int __init kvmppc_e500_init(void)
{
int r, i;
- unsigned long ivor[3];
+ unsigned long ivor[4];
/* Process remaining handlers above the generic first 16 */
unsigned long *handler = &kvmppc_booke_handler_addr[16];
unsigned long handler_len;
@@ -545,7 +545,8 @@ static int __init kvmppc_e500_init(void)
ivor[0] = mfspr(SPRN_IVOR32);
ivor[1] = mfspr(SPRN_IVOR33);
ivor[2] = mfspr(SPRN_IVOR34);
- for (i = 0; i < 3; i++) {
+ ivor[3] = mfspr(SPRN_IVOR35);
+ for (i = 0; i < 4; i++) {
if (ivor[i] > ivor[max_ivor])
max_ivor = i;
Please ignore this patch if find it irrelevant or been submitted.
Thanks,
Amit Tomar.
prev parent reply other threads:[~2014-09-04 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-04 15:12 Patch - support e500-specific: Performance monitor Bharat.Bhushan
2014-09-04 15:16 ` Amit Tomar [this message]
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=54087F75.4030904@gmail.com \
--to=mailingist27@gmail.com \
--cc=kvm-ppc@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