feat(cpufeat): enable FEAT_CPA2 for EL3FEAT_CPA2 enables checked pointer arithmetic, which in the eventof an arithmetic overflow in pointer generation will result in anon-canonical pointer being
feat(cpufeat): enable FEAT_CPA2 for EL3FEAT_CPA2 enables checked pointer arithmetic, which in the eventof an arithmetic overflow in pointer generation will result in anon-canonical pointer being generated and subsequent address fault.Note that FEAT_CPA is a trivial implementation that exists insome hardware purely so it can run CPA2-enabled instructionswithout crashing but they don't actually have checked arithmetic,so FEAT_CPA is not explicitly enabled in TF-A.Change-Id: I6d2ca7a7e4b986bb9e917aa8baf8091a271c168bSigned-off-by: John Powell <john.powell@arm.com>
show more ...