All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH qemu] spapr: Enable in-kernel H_SET_MODE handling
Date: Tue, 8 Sep 2015 11:24:11 +1000	[thread overview]
Message-ID: <20150908012411.GH6537@voom.redhat.com> (raw)
In-Reply-To: <55EBD9C1.8030507@ozlabs.ru>

[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]

On Sun, Sep 06, 2015 at 04:14:25PM +1000, Alexey Kardashevskiy wrote:
> On 09/04/2015 02:48 PM, David Gibson wrote:
> >On Wed, Sep 02, 2015 at 07:29:58PM +1000, Alexey Kardashevskiy wrote:
> >>For setting debug watchpoints, sPAPR guests use H_SET_MODE hypercall.
> >>The existing QEMU H_SET_MODE handler does not support this but
> >>the KVM handler in HV KVM does. However it is not enabled.
> >>
> >>This enables the in-kernel H_SET_MODE handler which handles:
> >>- Completed Instruction Address Breakpoint Register
> >>- Watch point 0 registers.
> >>
> >>The rest is still handled in QEMU.
> >>
> >>Reported-by: Anton Blanchard <anton@samba.org>
> >>Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> >
> >Applied to spapr-dev; I'll move it into spapr-next once it's had a
> >little more testing.
> 
> Another thing to keep in mind is that at some point in the past the host
> kernel used to handle H_SET_MODE and QEMU did not have the handler at all,
> now this functionality is in QEMU but some RHEL kernel could have picked a
> kernel with the in-kernel handler.

Not one that's supported as a KVM host, I believe.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2015-09-08  1:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  9:29 [Qemu-devel] [PATCH qemu] spapr: Enable in-kernel H_SET_MODE handling Alexey Kardashevskiy
2015-09-02 13:35 ` Thomas Huth
2015-09-02 17:34   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2015-09-03  7:00     ` Thomas Huth
2015-09-02 23:18 ` [Qemu-devel] " David Gibson
2015-09-03  3:12   ` Alexey Kardashevskiy
2015-09-04  4:48 ` David Gibson
2015-09-06  6:14   ` Alexey Kardashevskiy
2015-09-08  1:24     ` David Gibson [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=20150908012411.GH6537@voom.redhat.com \
    --to=david@gibson.dropbear.id.au \
    --cc=aik@ozlabs.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.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.