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
Unknown Object (File)
Thu, Nov 21, 6:33 AM
Unknown Object (File)
Oct 7 2024, 7:51 PM
Unknown Object (File)
Oct 4 2024, 6:50 PM
Unknown Object (File)
Oct 4 2024, 2:00 AM
Unknown Object (File)
Oct 3 2024, 7:47 AM
Unknown Object (File)
Sep 29 2024, 11:28 AM
Unknown Object (File)
Sep 29 2024, 9:37 AM
Unknown Object (File)
Sep 28 2024, 1:11 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