From: Scott Wood <scottwood@freescale.com>
To: Caraman Mihai Claudiu-B02008 <B02008@freescale.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
Alexander Graf <agraf@suse.de>,
"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH] kvm/ppc/booke64: fix build breakage from Altivec, and disable e6500
Date: Fri, 10 May 2013 13:23:13 -0500 [thread overview]
Message-ID: <1368210193.19683.6@snotra> (raw)
In-Reply-To: <300B73AA675FCE4A93EB4FC1D42459FF408089@039-SN2MPN1-013.039d.mgd.msft.net> (from B02008@freescale.com on Fri May 10 13:20:33 2013)
On 05/10/2013 01:20:33 PM, Caraman Mihai Claudiu-B02008 wrote:
>
>
> > -----Original Message-----
> > From: Wood Scott-B07421
> > Sent: Friday, May 10, 2013 8:42 PM
> > To: Caraman Mihai Claudiu-B02008
> > Cc: Alexander Graf; Wood Scott-B07421; kvm-ppc@vger.kernel.org;
> > kvm@vger.kernel.org
> > Subject: Re: [PATCH] kvm/ppc/booke64: fix build breakage from
> Altivec,
> > and disable e6500
> >
> > On 05/10/2013 09:11:24 AM, Caraman Mihai Claudiu-B02008 wrote:
> > > > -----Original Message-----
> > > > From: Alexander Graf [mailto:agraf@suse.de]
> > > > Sent: Friday, May 10, 2013 4:16 PM
> > > > To: Caraman Mihai Claudiu-B02008
> > > > Cc: Wood Scott-B07421; kvm-ppc@vger.kernel.org;
> kvm@vger.kernel.org
> > > > Subject: Re: [PATCH] kvm/ppc/booke64: fix build breakage from
> > > Altivec,
> > > > and disable e6500
> > > >
> > > >
> > > > On 10.05.2013, at 11:40, Caraman Mihai Claudiu-B02008 wrote:
> > > >
> > > > >> -----Original Message-----
> > > > >> From: Wood Scott-B07421
> > > > >> Sent: Friday, May 10, 2013 6:15 AM
> > > > >> To: Alexander Graf
> > > > >> Cc: kvm-ppc@vger.kernel.org; kvm@vger.kernel.org; Wood
> > > Scott-B07421;
> > > > >> Caraman Mihai Claudiu-B02008
> > > > >> Subject: [PATCH] kvm/ppc/booke64: fix build breakage from
> > > Altivec, and
> > > > >> disable e6500
> > > > >>
> > > > >> BookE altivec support brought two new exceptions, but KVM
> was not
> > > > >> updated, so the build broke for all 64-bit booke with KVM
> > > enabled.
> > > > >
> > > > > We couldn't do that in KVM before having
> > > > BOOKE_INTERRUPT_ALTIVEC_UNAVAIL/
> > > > > BOOKE_INTERRUPT_ALTIVEC_ASSIST. As Tiejun noticed earlier we
> > > should
> > > > have
> > > > > done this in Kumar's tree but we missed that chance. We will
> face
> > > > similar
> > > > > issues every time an exception handler will be added.
> > > >
> > > > How hard would it be to add? I suppose it's broken in 3.10, so
> we
> > > need
> > > > something quick before it gets released?
> > >
> > > Not so hard. Yes. I was surprised by this patch given the fact
> that
> > > we have
> > > planned to send altivec support upstream this days and that we
> > > already have
> > > a similar patch from Tiejun on our list.
> >
> > I didn't see Tiejun's patch... My goal was just to fix the build
> break
> > without exposing problems, and to encourage a patch to fix it
> properly
> > to happen sooner rather than later. With Tiejun's patch, which is
> > similar to mine except that it doesn't disable e6500 support, a user
> > could BUG() the kernel by forcing an Altivec exception in a guest.
> I
> > didn't want to go further down the road of adding reflectors for
> those
> > exceptions, which could make it look like the problem was dealt with
> > even though it's still not done.
>
> I agree it's quite annoying to hit a build breakage. Reflection is not
> a proper solution for this problem (though we will require it later)
> but program exception injection looks feasible as a simple fix.
Program exception injection still doesn't deal with state corruption.
> I wouldn't want to see e6500 removed for this reason.
It's not being removed, just closed while under construction to prevent
damage to people passing through. :-)
-Scott
next prev parent reply other threads:[~2013-05-10 18:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-10 3:14 [PATCH] kvm/ppc/booke64: fix build breakage from Altivec, and disable e6500 Scott Wood
2013-05-10 9:40 ` Caraman Mihai Claudiu-B02008
2013-05-10 13:15 ` Alexander Graf
2013-05-10 14:11 ` Caraman Mihai Claudiu-B02008
2013-05-10 14:13 ` Alexander Graf
2013-05-10 16:50 ` Caraman Mihai Claudiu-B02008
2013-05-10 16:50 ` Alexander Graf
2013-05-10 18:03 ` Caraman Mihai Claudiu-B02008
2013-05-10 18:06 ` Scott Wood
2013-05-10 18:22 ` Alexander Graf
2013-05-10 18:51 ` Caraman Mihai Claudiu-B02008
2013-05-10 18:59 ` Alexander Graf
2013-05-10 18:39 ` Caraman Mihai Claudiu-B02008
2013-05-10 17:42 ` Scott Wood
2013-05-10 18:20 ` Caraman Mihai Claudiu-B02008
2013-05-10 18:23 ` Scott Wood [this message]
2013-05-10 19:06 ` Caraman Mihai Claudiu-B02008
2013-05-10 19:15 ` Scott Wood
2013-05-30 21:52 ` Scott Wood
2013-05-31 6:11 ` Caraman Mihai Claudiu-B02008
2013-05-10 17:37 ` Scott Wood
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=1368210193.19683.6@snotra \
--to=scottwood@freescale.com \
--cc=B02008@freescale.com \
--cc=B07421@freescale.com \
--cc=agraf@suse.de \
--cc=kvm-ppc@vger.kernel.org \
--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