aboutsummaryrefslogtreecommitdiff
path: root/doc/xive.rst
AgeCommit message (Collapse)AuthorFilesLines
2019-06-03doc: Add links to XIVE callsStewart Smith1-0/+34
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: prettify OPAL_INT_* callsStewart Smith1-0/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-28xive: Add calls to save/restore the queues and VPs HW stateCédric Le Goater1-0/+51
To be able to support migration of guests using the XIVE native exploitation mode, (where the queue is effectively owned by the guest), KVM needs to be able to save and restore the HW-modified fields of the queue, such as the current queue producer pointer and generation bit, and to retrieve the modified thread context registers of the VP from the NVT structure : the VP interrupt pending bits. However, there is no need to set back the NVT structure on P9. P10 should be the same. Based on previous work from BenH. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2017-11-28xive: Implement "single escalation" featureBenjamin Herrenschmidt1-8/+21
This adds a new VP flag to control the new DD2.0 "single escalation" feature. This feature allows us to have a single escalation interrupt per VP instead of one per queue. It works by hijacking queue 7 (which is this no longer usable when that is enabled) and exploiting two new hardware bits that will: - Make the normal queues (0..6) escalate unconditionally thus ignoring the ESe bits. - Route the above escalations to queue 7 - Have queue 7 silently escalate without notification Thus the escalation of queue 7 becomes the one escalation interrupt for all the other queues. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-11-28xive: When disabling a VP, wipe all of its settingsBenjamin Herrenschmidt1-0/+2
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-11-28xive: When disabling an EQ, wipe all of its settingsBenjamin Herrenschmidt1-3/+7
This avoids having configuration bits left over Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-11-28xive: Define API for single-escalation VP modeBenjamin Herrenschmidt1-1/+21
This mode allows all queues of a VP to use the same escalation interrupt, at the cost of losing priority 7. This adds the definition and documentation of the API, the implementation will come next. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-09-12xive: Documentation updatesBenjamin Herrenschmidt1-23/+107
Correct the documentation in a couple of places to match the actual behaviour and improve bits and pieces of it Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-01-05xive: Add chip_id to get_vp_infoBenjamin Herrenschmidt1-1/+4
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-01-05xive: Document exploitation modeBenjamin Herrenschmidt1-0/+666
(Pretty much work in progress) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [stewart@linux.vnet.ibm.com: convert to sphinx] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>