diff options
author | Marc Jones <marcj303@gmail.com> | 2018-01-10 16:41:46 -0800 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2018-01-12 01:46:58 +0000 |
commit | ca966f9a2df171848e57f4deac0dda6ce24cc938 (patch) | |
tree | d31505e79bb3c3e0264f541ab2260343c923d388 /src/mainboard/google/nyan/sdram_configs.c | |
parent | 3441292ecda5e76a98ff63f55fc45d010fc76188 (diff) |
soc/amd/common/pi: Fix issue in AGESA heap allocator
The heap allocator would try to split a buffer node that
was too small for another node. In the failing case, the buffer
node was 0x140 bytes and the requested size was 0x133 bytes.
The logic would check that there was room for the header and
buffer and try to split the buffer node. The buffer node header
is 0xC bytes, so 0x13F bytes are need. The problem is that it didn't
leave room for another node header and a little space for a buffer.
BUG=b:71764350
TEST= Boot grunt.
BRANCH=none
Change-Id: Iece5e12d5787415a335bb953985331a5dc312152
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/23211
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Daniel Kurtz <djkurtz@google.com>
Diffstat (limited to 'src/mainboard/google/nyan/sdram_configs.c')
0 files changed, 0 insertions, 0 deletions