Page MenuHomeFreeBSD

powerpc64: Avoid calling isync twice
ClosedPublic

Authored by breno.leitao_gmail.com on Mar 4 2018, 9:41 PM.
Tags
None
Referenced Files
F123141064: D14583.diff
Fri, Jul 11, 1:31 PM
Unknown Object (File)
Sun, Jul 6, 9:29 AM
Unknown Object (File)
Sat, Jul 5, 7:25 AM
Unknown Object (File)
Wed, Jul 2, 8:18 PM
Unknown Object (File)
Tue, Jul 1, 4:22 AM
Unknown Object (File)
Mon, Jun 23, 10:46 AM
Unknown Object (File)
Tue, Jun 17, 3:38 PM
Unknown Object (File)
Mon, Jun 16, 6:50 AM
Subscribers

Details

Summary

It is not necessary to call isync() after calling mtmsr() function, mainly
because the mtmsr() calls 'isync' internally to synchronize the machine state
register. Other than that, isync() just calls the 'isync' instruction, thus,
the 'isync' instruction is being called twice, and that seems to be unnecessary.

This patch just remove the unecessary calls to isync() after mtmsr().

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15368
Build 15420: arc lint + arc unit