linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	linuxppc-dev@lists.ozlabs.org,
	Michael Ellerman <mpe@ellerman.id.au>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: [RFC PATCH 1/2] powerpc/xive: guest exploitation of the XIVE interrupt controller
Date: Wed, 5 Jul 2017 21:07:02 +1000	[thread overview]
Message-ID: <20170705110702.GO2180@umbus.fritz.box> (raw)
In-Reply-To: <18d0c283-3527-d599-36d8-4397a0a4d6db@kaod.org>

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

On Mon, Jul 03, 2017 at 09:11:18AM +0200, Cédric Le Goater wrote:
> On 07/03/2017 06:19 AM, Benjamin Herrenschmidt wrote:
> > On Mon, 2017-07-03 at 13:55 +1000, David Gibson wrote:
> >>> Calls that still need to be addressed :
> >>>
> >>>     H_INT_SET_OS_REPORTING_LINE
> >>>     H_INT_GET_OS_REPORTING_LINE
> >>>     H_INT_ESB
> >>>     H_INT_SYNC
> >>
> >> So, does this mean there's a PAPR update with the XIVE virtualization
> >> stuff?  Or at least an ACR?  Can we have that available please...
> > 
> > There is, I will try to get it published.
> 
> Until then, the QEMU support will have some documentation on the 
> hcalls and on the device tree.
> 
> I am still struggling with CAS on QEMU. POWER9 supports both the 
> legacy XICS model and the newer one, XIVE, and we can switch from 
> one another depending on the guest kernel. This is a serious 
> headache for the model as the ICS/ICP objects are chosen after 
> the guest has booted.

Ah.

I don't know if it helps, but we do have the ability to trigger a full
system reset from CAS, so possibly we can do the XICS/XIVE
instantiation in the reset path.

I don't think we use that CAS reset ability yet - we just adjust the
device tree and continue the boot.  But it's there if we need it.

Worst comes to worst, we might have to instantiate both XICS and XIVE
objects, with some flags in each indicating which is active.

-- 
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: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2017-07-05 11:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22  9:29 [RFC PATCH 0/2] guest exploitation of the XIVE interrupt controller Cédric Le Goater
2017-06-22  9:29 ` [RFC PATCH 1/2] powerpc/xive: " Cédric Le Goater
2017-06-22 12:20   ` Benjamin Herrenschmidt
2017-06-23 13:05     ` Cédric Le Goater
2017-07-03  3:55   ` David Gibson
2017-07-03  4:19     ` Benjamin Herrenschmidt
2017-07-03  7:11       ` Cédric Le Goater
2017-07-05 11:07         ` David Gibson [this message]
2017-07-05 14:38           ` Benjamin Herrenschmidt
2017-07-05 15:13             ` Cédric Le Goater
2017-07-05 17:31     ` Cédric Le Goater
2017-06-22  9:29 ` [RFC PATCH 2/2] powerpc/xive: add XIVE exploitation mode to CAS Cédric Le Goater

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=20170705110702.GO2180@umbus.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=clg@kaod.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --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).