[RFC PATCH] powerpc/papr_scm: Implement scm async flush
Aneesh Kumar K.V
aneesh.kumar at linux.ibm.com
Tue Dec 1 23:57:36 AEDT 2020
On 12/1/20 6:17 PM, Pankaj Gupta wrote:
>> Tha patch implements SCM async-flush hcall and sets the
>> ND_REGION_ASYNC capability when the platform device tree
>> has "ibm,async-flush-required" set.
>
> So, you are reusing the existing ND_REGION_ASYNC flag for the
> hypercall based async flush with device tree discovery?
>
> Out of curiosity, does virtio based flush work in ppc? Was just thinking
> if we can reuse virtio based flush present in virtio-pmem? Or anything
> else we are trying to achieve here?
>
Not with PAPR based pmem driver papr_scm.ko. The devices there are
considered platform device and we use hypercalls to configure the
device. On similar fashion we are now using hypercall to flush the host
based caches.
-aneesh
More information about the Linuxppc-dev
mailing list