Searched hist:"322 b344e30cb87b9293060d5946b3c17fe3b9133" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/lib/gpt_rme/ |
| H A D | gpt_rme_private.h | 322b344e30cb87b9293060d5946b3c17fe3b9133 Wed Oct 13 18:56:51 UTC 2021 johpow01 <john.powell@arm.com> fix(rme): fixes a shift by 64 bits bug in the RME GPT library
Under certain configurations of PPS and L0GPTSZ a macro could result in a right shift by 64 bits. This patch removes that possibility by limiting the total size of each shift to the maximum width of the L0 or L1 index field in a physical address. In addition, it adds more detail about how these values are calculated.
Signed-off-by: John Powell <john.powell@arm.com> Change-Id: Ie71c8e6f922a5bb522a6169701bfc36fc99f765a
|