diff options
| author | Julien Grall <[email protected]> | 2019-05-21 18:21:38 +0100 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2019-06-04 13:17:30 +0100 |
| commit | 54b8c7cbc57c1ce21f4e35101f2609092c4af49a (patch) | |
| tree | 5ba2f0513a106313eb6881669a7694480090585d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 6fa9b41f6f15d79666e1fbcb7a8c122bea58d9cb (diff) | |
arm64/fpsimd: Introduce fpsimd_save_and_flush_cpu_state() and use it
The only external user of fpsimd_save() and fpsimd_flush_cpu_state() is
the KVM FPSIMD code.
A following patch will introduce a mechanism to acquire owernship of the
FPSIMD/SVE context for performing context management operations. Rather
than having to export the new helpers to get/put the context, we can just
introduce a new function to combine fpsimd_save() and
fpsimd_flush_cpu_state().
This has also the advantage to remove any external call of fpsimd_save()
and fpsimd_flush_cpu_state(), so they can be turned static.
Lastly, the new function can also be used in the PM notifier.
Reviewed-by: Dave Martin <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Julien Grall <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions