commit | b984bc4591c2d37a07807a9f9476f902fec3f854 | [log] [tgz] |
---|---|---|
author | johpow01 <john.powell@arm.com> | Wed Oct 13 13:56:51 2021 -0500 |
committer | John <john.powell@arm.com> | Tue Nov 16 17:41:43 2021 +0100 |
tree | 76f0107b4638acbe61c4aa61bd359a84b4af1deb | |
parent | 288669d46c5eb59ae602f3b8b4f036b8f6409e9d [diff] |
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