[PATCH 2/2] powerpc/mm/memtrace: Let the arch hotunplug code flush cache
Balbir Singh
bsingharora at gmail.com
Wed Apr 11 21:25:06 AEST 2018
On Wed, Apr 11, 2018 at 9:05 PM, Michael Ellerman <mpe at ellerman.id.au> wrote:
> Balbir Singh <bsingharora at gmail.com> writes:
>
>> Don't do this via custom code, instead now that we have support
>> in the arch hotplug/hotunplug code, rely on those routines
>> to do the right thing.
>>
>> Fixes: 9d5171a8f248 ("powerpc/powernv: Enable removal of memory for in memory tracing")
>
> That's not really right.
>
> This patch doesn't fix it, the previous patch did.
>
> If I just backport this patch then it's still broken.
>
> So I'll tag patch 1 with the above Fixes: tag and add stable, and then
> this just becomes a cleanup.
>
Fair point, the previous one does indeed fix things. I can do a minimal backport
fixing .size to .line_size if needed.
Cheers,
Balbir
More information about the Linuxppc-dev
mailing list