powerpc: Provide initial documentation for PAPR hcalls
authorVaibhav Jain <vaibhav@linux.ibm.com>
Wed, 28 Aug 2019 08:27:29 +0000 (13:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jan 2020 10:30:50 +0000 (21:30 +1100)
commit58b278f568f0509497e2df7310bfd719156a60d1
treec8750848d83a468fc0c81441991245412a25fc02
parent9933819099c4600b41a042f27a074470a43cf6b9
powerpc: Provide initial documentation for PAPR hcalls

This doc patch provides an initial description of the hcall op-codes
that are used by Linux kernel running as a guest (LPAR) on top of
PowerVM or any other sPAPR compliant hyper-visor (e.g qemu).

Apart from documenting the hcalls the doc-patch also provides a
rudimentary overview of how hcall ABI, how they are issued with the
Linux kernel and how information/control flows between the guest and
hypervisor.

Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add SPDX tag, add it to index.rst]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190828082729.16695-1-vaibhav@linux.ibm.com
Documentation/powerpc/index.rst
Documentation/powerpc/papr_hcalls.rst [new file with mode: 0644]
arch/powerpc/kernel/exceptions-64s.S