On Wed, 2017-12-06 at 20:20 +1100, David Gibson wrote:
> On Tue, Dec 05, 2017 at 08:50:26AM -0600, Benjamin Herrenschmidt wrote:
> > On Tue, 2017-12-05 at 18:00 +1100, David Gibson wrote:
> > > > The CPU revision. But we won't introduce XIVE exploitation mode on
> > > > anything else than DD2.0
On Tue, Dec 05, 2017 at 08:50:26AM -0600, Benjamin Herrenschmidt wrote:
> On Tue, 2017-12-05 at 18:00 +1100, David Gibson wrote:
> > > The CPU revision. But we won't introduce XIVE exploitation mode on
> > > anything else than DD2.0 which has full XIVE support. Even STORE_EOI
> > > that we
[ ... ]
+static bool priority_is_valid(uint32_t priority)
+{
+int i;
+
+for (i = 0; i < ARRAY_SIZE(reserved_priorities) / 2; i++) {
+uint32_t base = reserved_priorities[2 * i];
+uint32_t count = reserved_priorities[2 * i + 1];
+
On Tue, 2017-12-05 at 18:00 +1100, David Gibson wrote:
> > The CPU revision. But we won't introduce XIVE exploitation mode on
> > anything else than DD2.0 which has full XIVE support. Even STORE_EOI
> > that we should be adding.
>
> Hrm. Host CPU? That's a problem - if guest visible
On Fri, Dec 01, 2017 at 06:46:45PM +0100, Cédric Le Goater wrote:
> On 12/01/2017 05:01 AM, David Gibson wrote:
> > On Thu, Nov 23, 2017 at 02:29:49PM +0100, Cédric Le Goater wrote:
> >> A set of Hypervisor's call are used to configure the interrupt sources
> >> and the event/notification queues
On 12/01/2017 05:01 AM, David Gibson wrote:
> On Thu, Nov 23, 2017 at 02:29:49PM +0100, Cédric Le Goater wrote:
>> A set of Hypervisor's call are used to configure the interrupt sources
>> and the event/notification queues of the guest:
>>
>> - H_INT_GET_SOURCE_INFO
>>
>>used to obtain the
On Thu, Nov 23, 2017 at 02:29:49PM +0100, Cédric Le Goater wrote:
> A set of Hypervisor's call are used to configure the interrupt sources
> and the event/notification queues of the guest:
>
> - H_INT_GET_SOURCE_INFO
>
>used to obtain the address of the MMIO page of the Event State
>
A set of Hypervisor's call are used to configure the interrupt sources
and the event/notification queues of the guest:
- H_INT_GET_SOURCE_INFO
used to obtain the address of the MMIO page of the Event State
Buffer (PQ bits) entry associated with the source.
- H_INT_SET_SOURCE_CONFIG