From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Michael Neuling <mikey@neuling.org>,
Paul Mackerras <paulus@samba.org>,
miltonm@bga.com
Subject: Re: [PATCH] powerpc: add denormalisation exception handling for POWER6/7
Date: Tue, 12 Jul 2011 14:12:04 +1000 [thread overview]
Message-ID: <1310443924.4968.20.camel@pasglop> (raw)
In-Reply-To: <9875FD87-1762-4CCE-8A34-7BAC2C42E9A6@kernel.crashing.org>
On Mon, 2011-07-11 at 22:51 -0500, Kumar Gala wrote:
> On Jul 11, 2011, at 12:52 AM, Michael Neuling wrote:
>
> > On POWER6 and POWER7 if the input operand to an instruction is a
> > denormalised single precision binary floating we can take a
> > denormalisation exception where it's expected that the hypervisor (HV=1)
> > will fix up the inputs before the instruction is run.
> >
> > This adds code to handle this denormalisation exception for POWER6 and
> > POWER7.
> >
> > It also add a CONFIG_PPC_DENORMALISATION option and sets it in
> > pseries/ppc64_defconfig.
> >
> > This is useful on bare metal systems only. Based on patch from Milton
> > Miller.
> >
> > Signed-off-by: Michael Neuling <mikey@neuling.org>
> >
> > ---
> > arch/powerpc/Kconfig | 7 +
> > arch/powerpc/configs/ppc64_defconfig | 1
> > arch/powerpc/configs/pseries_defconfig | 1
> > arch/powerpc/include/asm/ppc-opcode.h | 2
> > arch/powerpc/include/asm/reg.h | 1
> > arch/powerpc/kernel/exceptions-64s.S | 125 +++++++++++++++++++++++++++++++++
> > 6 files changed, 137 insertions(+)
>
> Is it possible to run POWER6/7 systems in baremetal if you are not IBM?
>
> Just wondering if this is useful to anyone but IBM.
While I cannot obviously comment on unreleased systems, the fact that
we've been contributing all sort of patches to run P7 in "HV" mode and
KVM on them should be enough of a hint :-)
Cheers,
Ben.
next prev parent reply other threads:[~2011-07-12 4:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 5:52 [PATCH] powerpc: add denormalisation exception handling for POWER6/7 Michael Neuling
2011-07-12 3:51 ` Kumar Gala
2011-07-12 4:12 ` Benjamin Herrenschmidt [this message]
2011-07-13 5:27 ` Kumar Gala
2011-07-13 5:30 ` Michael Neuling
2012-09-10 6:54 ` Michael Neuling
2012-09-10 8:13 ` Michael Ellerman
2012-09-10 10:33 ` Michael Neuling
2012-09-10 10:35 ` Michael Neuling
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=1310443924.4968.20.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
--cc=miltonm@bga.com \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).