linux/Documentation/powerpc
Shivaprasad G Bhat 75b7c05ebf powerpc/papr_scm: Implement support for H_SCM_FLUSH hcall
Add support for ND_REGION_ASYNC capability if the device tree
indicates 'ibm,hcall-flush-required' property in the NVDIMM node.
Flush is done by issuing H_SCM_FLUSH hcall to the hypervisor.

If the flush request failed, the hypervisor is expected to
to reflect the problem in the subsequent nvdimm H_SCM_HEALTH call.

This patch prevents mmap of namespaces with MAP_SYNC flag if the
nvdimm requires an explicit flush[1].

References:
[1] https://github.com/avocado-framework-tests/avocado-misc-tests/blob/master/memory/ndctl.py.data/map_sync.c

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
[mpe: Use unsigned long / long instead of uint64_t/int64_t]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/161703936121.36.7260632399582101498.stgit@e1fbed493c87
2021-04-14 23:04:07 +10:00
..
booting.rst dt: Remove booting-without-of.rst 2020-10-13 13:33:16 -05:00
bootwrapper.rst powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
cpu_families.rst docs: powerpc: Clarify book3s/32 MMU families 2020-07-15 12:04:38 +10: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
features.rst docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07: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 docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
isa-versions.rst powerpc: Update documentation of ISA versions for Power10 2020-09-08 22:57:11 +10:00
kaslr-booke32.rst powerpc/fsl_booke/32: Document KASLR implementation 2019-11-13 19:27:58 +11:00
mpc52xx.rst powerpc: Replace HTTP links with HTTPS ones 2020-07-22 00:01:23 +10:00
papr_hcalls.rst powerpc/papr_scm: Implement support for H_SCM_FLUSH hcall 2021-04-14 23:04:07 +10: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 powerpc/watchpoint/ptrace: Introduce PPC_DEBUG_FEATURE_DATA_BP_ARCH_31 2020-09-15 22:13:20 +10: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: Fix tables in syscall64-abi.rst 2021-02-25 13:04:24 -07:00
transactional_memory.rst powerpc/tm: Document h/rfid and mtmsrd quirk 2020-05-20 23:39:57 +10:00
ultravisor.rst KVM: PPC: Book3S HV: In H_SVM_INIT_DONE, migrate remaining normal-GFNs to secure-GFNs 2020-07-28 12:34:52 +10:00
vas-api.rst It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
vcpudispatch_stats.rst docs: powerpc: convert vcpudispatch_stats.txt to ReST 2020-06-19 14:09:48 -06:00