driver.c (8c3812c8f74f050278d734ec4b90149d84bdbefb) driver.c (7aa7a97989557011f762a4b7c2e4e3b061b638e4)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Arm Firmware Framework for ARMv8-A(FFA) interface driver
4 *
5 * The Arm FFA specification[1] describes a software architecture to
6 * leverages the virtualization extension to isolate software images
7 * provided by an ecosystem of vendors from each other and describes
8 * interfaces that standardize communication between the various software

--- 652 unchanged lines hidden (view full) ---

661 * falls to the calling kernel driver to prevent access.
662 */
663 if (drv_info->mem_ops_native)
664 return ffa_memory_ops(FFA_FN_NATIVE(MEM_LEND), args);
665
666 return ffa_memory_ops(FFA_MEM_LEND, args);
667}
668
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Arm Firmware Framework for ARMv8-A(FFA) interface driver
4 *
5 * The Arm FFA specification[1] describes a software architecture to
6 * leverages the virtualization extension to isolate software images
7 * provided by an ecosystem of vendors from each other and describes
8 * interfaces that standardize communication between the various software

--- 652 unchanged lines hidden (view full) ---

661 * falls to the calling kernel driver to prevent access.
662 */
663 if (drv_info->mem_ops_native)
664 return ffa_memory_ops(FFA_FN_NATIVE(MEM_LEND), args);
665
666 return ffa_memory_ops(FFA_MEM_LEND, args);
667}
668
669static const struct ffa_dev_ops ffa_ops = {
669static const struct ffa_ops ffa_ops = {
670 .api_version_get = ffa_api_version_get,
671 .partition_info_get = ffa_partition_info_get,
672 .mode_32bit_set = ffa_mode_32bit_set,
673 .sync_send_receive = ffa_sync_send_receive,
674 .memory_reclaim = ffa_memory_reclaim,
675 .memory_share = ffa_memory_share,
676 .memory_lend = ffa_memory_lend,
677};

--- 128 unchanged lines hidden ---
670 .api_version_get = ffa_api_version_get,
671 .partition_info_get = ffa_partition_info_get,
672 .mode_32bit_set = ffa_mode_32bit_set,
673 .sync_send_receive = ffa_sync_send_receive,
674 .memory_reclaim = ffa_memory_reclaim,
675 .memory_share = ffa_memory_share,
676 .memory_lend = ffa_memory_lend,
677};

--- 128 unchanged lines hidden ---