[PATCH kernel 4/9] powerpc/powernv/iommu: Add real mode version of xchg()

Paul Mackerras paulus at ozlabs.org
Thu Mar 10 19:46:21 AEDT 2016


On Mon, Mar 07, 2016 at 02:41:12PM +1100, Alexey Kardashevskiy wrote:
> In real mode, TCE tables are invalidated using different
> cache-inhibited store instructions which is different from
> the virtual mode.

I suggest "In real mode, TCE tables are invalidated using special
cache-inhibited store instructions which are not available in
virtual mode".

Also, the subject could make people think it's about the kernel xchg()
function defined in <asm/cmpxchg.h>.

Paul.


More information about the Linuxppc-dev mailing list