Searched hist:"8 c5fe0b5b9f1666b4ddd8f5849de80249cdebe40" (Results 1 – 5 of 5) sorted by relevance
| /rk3399_ARM-atf/lib/locks/bakery/ |
| H A D | bakery_lock_coherent.c | 8c5fe0b5b9f1666b4ddd8f5849de80249cdebe40 Thu Jan 08 18:02:19 UTC 2015 Soby Mathew <soby.mathew@arm.com> Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory. This implies that the lock information needs to be placed on a separate cache line for each cpu. Hence the bakery_lock_info_t structure is allocated in the per-cpu data so as to minimize memory wastage. A similar platform per-cpu data is introduced for the platform locks.
As a result of the above changes, the bakery lock api is completely changed. Earlier, a reference to the lock structure was passed to the lock implementation. Now a unique-id (essentially an index into the per-cpu data array) and an offset into the per-cpu data for bakery_info_t needs to be passed to the lock implementation.
Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
|
| H A D | bakery_lock_normal.c | 8c5fe0b5b9f1666b4ddd8f5849de80249cdebe40 Thu Jan 08 18:02:19 UTC 2015 Soby Mathew <soby.mathew@arm.com> Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory. This implies that the lock information needs to be placed on a separate cache line for each cpu. Hence the bakery_lock_info_t structure is allocated in the per-cpu data so as to minimize memory wastage. A similar platform per-cpu data is introduced for the platform locks.
As a result of the above changes, the bakery lock api is completely changed. Earlier, a reference to the lock structure was passed to the lock implementation. Now a unique-id (essentially an index into the per-cpu data array) and an offset into the per-cpu data for bakery_info_t needs to be passed to the lock implementation.
Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
|
| /rk3399_ARM-atf/include/lib/ |
| H A D | bakery_lock.h | 8c5fe0b5b9f1666b4ddd8f5849de80249cdebe40 Thu Jan 08 18:02:19 UTC 2015 Soby Mathew <soby.mathew@arm.com> Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory. This implies that the lock information needs to be placed on a separate cache line for each cpu. Hence the bakery_lock_info_t structure is allocated in the per-cpu data so as to minimize memory wastage. A similar platform per-cpu data is introduced for the platform locks.
As a result of the above changes, the bakery lock api is completely changed. Earlier, a reference to the lock structure was passed to the lock implementation. Now a unique-id (essentially an index into the per-cpu data array) and an offset into the per-cpu data for bakery_info_t needs to be passed to the lock implementation.
Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
|
| /rk3399_ARM-atf/bl31/ |
| H A D | bl31.mk | 8c5fe0b5b9f1666b4ddd8f5849de80249cdebe40 Thu Jan 08 18:02:19 UTC 2015 Soby Mathew <soby.mathew@arm.com> Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory. This implies that the lock information needs to be placed on a separate cache line for each cpu. Hence the bakery_lock_info_t structure is allocated in the per-cpu data so as to minimize memory wastage. A similar platform per-cpu data is introduced for the platform locks.
As a result of the above changes, the bakery lock api is completely changed. Earlier, a reference to the lock structure was passed to the lock implementation. Now a unique-id (essentially an index into the per-cpu data array) and an offset into the per-cpu data for bakery_info_t needs to be passed to the lock implementation.
Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
|
| /rk3399_ARM-atf/ |
| H A D | Makefile | 8c5fe0b5b9f1666b4ddd8f5849de80249cdebe40 Thu Jan 08 18:02:19 UTC 2015 Soby Mathew <soby.mathew@arm.com> Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory. This implies that the lock information needs to be placed on a separate cache line for each cpu. Hence the bakery_lock_info_t structure is allocated in the per-cpu data so as to minimize memory wastage. A similar platform per-cpu data is introduced for the platform locks.
As a result of the above changes, the bakery lock api is completely changed. Earlier, a reference to the lock structure was passed to the lock implementation. Now a unique-id (essentially an index into the per-cpu data array) and an offset into the per-cpu data for bakery_info_t needs to be passed to the lock implementation.
Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
|