2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/Documentation/powerpc
Haren Myneni 6068e1a442 powerpc/vas: Report proper error code for address translation failure
P9 DD2 NX workbook (Table 4-36) says DMA controller uses CC=5
internally for translation fault handling. NX reserves CC=250 for
OS to notify user space when NX encounters address translation
failure on the request buffer. Not an issue in earlier releases
as NX does not get faults on kernel addresses.

This patch defines CSB_CC_FAULT_ADDRESS(250) and updates CSB.CC with
this proper error code for user space.

Fixes: c96c4436ab ("powerpc/vas: Update CSB and notify process for fault CRBs")
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
[mpe: Added Fixes tag and fix typo in comment]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/019fd53e7538c6f8f332d175df74b1815ef5aa8c.camel@linux.ibm.com
2020-07-15 23:09:55 +10:00
..
bootwrapper.rst powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
cpu_families.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
cpu_features.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
cxl.rst docs: powerpc: cxl.rst: mark two section titles as such 2020-04-20 15:45:25 -06:00
cxlflash.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
dawr-power9.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
dscr.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
eeh-pci-error-recovery.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
elfnote.rst docs: powerpc: Add missing documentation reference 2019-09-17 23:59:34 +10:00
firmware-assisted-dump.rst docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
hvcs.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
imc.rst powerpc/imc: Add documentation for IMC and trace-mode 2020-01-06 16:25:27 +11:00
index.rst Documentation/powerpc: VAS API 2020-04-20 16:53:14 +10:00
isa-versions.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
kaslr-booke32.rst powerpc/fsl_booke/32: Document KASLR implementation 2019-11-13 19:27:58 +11:00
mpc52xx.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
papr_hcalls.rst powerpc: Document details on H_SCM_HEALTH hcall 2020-06-15 18:22:43 -07:00
pci_iov_resource_on_powernv.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
pmu-ebb.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
ptrace.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
qe_firmware.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
syscall64-abi.rst docs: powerpc: convert docs to ReST and rename to *.rst 2019-07-17 06:57:51 -03:00
transactional_memory.rst powerpc/tm: Document h/rfid and mtmsrd quirk 2020-05-20 23:39:57 +10:00
ultravisor.rst docs: prevent warnings due to autosectionlabel 2020-03-20 17:01:29 -06:00
vas-api.rst powerpc/vas: Report proper error code for address translation failure 2020-07-15 23:09:55 +10:00
vcpudispatch_stats.txt powerpc/pseries: Add documentation for vcpudispatch_stats 2019-07-04 22:27:25 +10:00