On 3/31/21 3:50 PM, Michael Ellerman wrote:
"Aneesh Kumar K.V" <aneesh.kumar(a)linux.ibm.com>
> Shivaprasad G Bhat <sbhat(a)linux.ibm.com> writes:
>> 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.
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar(a)linux.ibm.com>
Do we need an ack from nvdimm folks on this?
Or is it entirely powerpc internal (seems like it from the diffstat)?
This is within powerpc and we are implementing details w.r.t PAPR spec.
There is a Qemu implementation that is getting reviewed here
But with respect to this patch, we can take that independent of the Qemu