lkml.org 
[lkml]   [2020]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 06/10] microblaze: Add sync to tlb operations
From
Date
On 12. 02. 20 14:00, Arnd Bergmann wrote:
> On Wed, Feb 12, 2020 at 9:58 AM Michal Simek <michal.simek@xilinx.com> wrote:
>> diff --git a/arch/microblaze/kernel/misc.S b/arch/microblaze/kernel/misc.S
>> index 6759af688451..1228a09d8109 100644
>> --- a/arch/microblaze/kernel/misc.S
>> +++ b/arch/microblaze/kernel/misc.S
>> @@ -39,7 +39,7 @@ _tlbia_1:
>> rsubi r11, r12, MICROBLAZE_TLB_SIZE - 1
>> bneid r11, _tlbia_1 /* loop for all entries */
>> addik r12, r12, 1
>> - /* sync */
>> + mbar 1 /* sync */
>> rtsd r15, 8
>> nop
>> .size _tlbia, . - _tlbia
>
> Is there any effect on non-SMP systems?

not - it is just nop.

M



\
 
 \ /
  Last update: 2020-02-12 14:03    [W:0.069 / U:31.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site