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 19:15:34 +0000 [thread overview]
Message-ID: <1368213334.19683.9@snotra> (raw)
In-Reply-To: <300B73AA675FCE4A93EB4FC1D42459FF40816A@039-SN2MPN1-013.039d.mgd.msft.net> (from B02008@freescale.com on Fri May 10 14:06:53 2013)
On 05/10/2013 02:06:53 PM, Caraman Mihai Claudiu-B02008 wrote:
> > > > 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.
>
> Yes but it's not critical for this particular case since nobody is
> able
> to effectively use that state via altivec instructions. Leaking state
> however can be a real issue.
Depending on guest behavior it could look like things are working even
though they aren't (e.g. a guest just enables MSR[VEC] and uses altivec
instructions, not relying on exceptions). This really isn't worth
spending a lot of time debating... Once Altivec is fixed properly (you
said that'd be soon, right?), we can add e6500 back to the list.
-Scott
WARNING: multiple messages have this Message-ID (diff)
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 14:15:34 -0500 [thread overview]
Message-ID: <1368213334.19683.9@snotra> (raw)
In-Reply-To: <300B73AA675FCE4A93EB4FC1D42459FF40816A@039-SN2MPN1-013.039d.mgd.msft.net> (from B02008@freescale.com on Fri May 10 14:06:53 2013)
On 05/10/2013 02:06:53 PM, Caraman Mihai Claudiu-B02008 wrote:
> > > > 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.
>
> Yes but it's not critical for this particular case since nobody is
> able
> to effectively use that state via altivec instructions. Leaking state
> however can be a real issue.
Depending on guest behavior it could look like things are working even
though they aren't (e.g. a guest just enables MSR[VEC] and uses altivec
instructions, not relying on exceptions). This really isn't worth
spending a lot of time debating... Once Altivec is fixed properly (you
said that'd be soon, right?), we can add e6500 back to the list.
-Scott
next prev parent reply other threads:[~2013-05-10 19:15 UTC|newest]
Thread overview: 35+ 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 3:14 ` Scott Wood
2013-05-10 9:40 ` Caraman Mihai Claudiu-B02008
2013-05-10 9:40 ` Caraman Mihai Claudiu-B02008
2013-05-10 13:15 ` Alexander Graf
2013-05-10 13:15 ` Alexander Graf
2013-05-10 14:11 ` Caraman Mihai Claudiu-B02008
2013-05-10 14:11 ` Caraman Mihai Claudiu-B02008
2013-05-10 14:13 ` Alexander Graf
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 16:50 ` Alexander Graf
2013-05-10 18:03 ` Caraman Mihai Claudiu-B02008
2013-05-10 18:06 ` Scott Wood
2013-05-10 18:06 ` Scott Wood
2013-05-10 18:22 ` Alexander Graf
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:59 ` Alexander Graf
2013-05-10 18:39 ` Caraman Mihai Claudiu-B02008
2013-05-10 17:42 ` Scott Wood
2013-05-10 17:42 ` Scott Wood
2013-05-10 18:20 ` Caraman Mihai Claudiu-B02008
2013-05-10 18:23 ` Scott Wood
2013-05-10 18:23 ` Scott Wood
2013-05-10 19:06 ` Caraman Mihai Claudiu-B02008
2013-05-10 19:15 ` Scott Wood [this message]
2013-05-10 19:15 ` Scott Wood
2013-05-30 21:52 ` 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
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=1368213334.19683.9@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.