driver.c (446279168e030fd0ed68e2bba336bef8bb3da352) driver.c (d01387fc16421cbbf95d1fda8fe1258195396c64)
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

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

683 for (idx = 0, tpbuf = pbuf; idx < count; idx++, tpbuf++) {
684 /* Note that the &uuid_null parameter will require
685 * ffa_device_match() to find the UUID of this partition id
686 * with help of ffa_device_match_uuid(). Once the FF-A spec
687 * is updated to provide correct UUID here for each partition
688 * as part of the discovery API, we need to pass the
689 * discovered UUID here instead.
690 */
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

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

683 for (idx = 0, tpbuf = pbuf; idx < count; idx++, tpbuf++) {
684 /* Note that the &uuid_null parameter will require
685 * ffa_device_match() to find the UUID of this partition id
686 * with help of ffa_device_match_uuid(). Once the FF-A spec
687 * is updated to provide correct UUID here for each partition
688 * as part of the discovery API, we need to pass the
689 * discovered UUID here instead.
690 */
691 ffa_dev = ffa_device_register(&uuid_null, tpbuf->id);
691 ffa_dev = ffa_device_register(&uuid_null, tpbuf->id, &ffa_ops);
692 if (!ffa_dev) {
693 pr_err("%s: failed to register partition ID 0x%x\n",
694 __func__, tpbuf->id);
695 continue;
696 }
697 }
698 kfree(pbuf);
699}

--- 81 unchanged lines hidden ---
692 if (!ffa_dev) {
693 pr_err("%s: failed to register partition ID 0x%x\n",
694 __func__, tpbuf->id);
695 continue;
696 }
697 }
698 kfree(pbuf);
699}

--- 81 unchanged lines hidden ---