[PATCH v5 5/9] powerpc/mm/book3s64: Update tlb flush routines to take a page walk cache flush argument
Guenter Roeck
linux at roeck-us.net
Sun May 16 09:05:02 AEST 2021
On 5/15/21 1:41 PM, Andrew Morton wrote:
> On Sat, 15 May 2021 09:35:25 -0700 Guenter Roeck <linux at roeck-us.net> wrote:
>
>>>
>>> #define __HAVE_ARCH_FLUSH_PMD_TLB_RANGE
>>> static inline void flush_pmd_tlb_range(struct vm_area_struct *vma,
>> ^^^^
>>> unsigned long start, unsigned long end)
>>> +{
>>> + return flush_pmd_tlb_pwc_range(vma, start, end, false);
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Doesn't that cause build warnings/errors all over the place ?
>
> It will, thanks. I queued a fix.
>
Also in mm/mremap.c, in case you didn't see it:
#ifndef flush_pte_tlb_pwc_range
#define flush_pte_tlb_pwc_range flush_pte_tlb_pwc_range
static inline void flush_pte_tlb_pwc_range(struct vm_area_struct *vma,
^^^^
unsigned long start,
unsigned long end)
{
return flush_tlb_range(vma, start, end);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}
More information about the Linuxppc-dev
mailing list