summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/smm
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2024-08-19 13:37:35 -0700
committerJérémy Compostella <jeremy.compostella@intel.com>2024-08-21 15:55:11 +0000
commit69686564ec5d34efd63d5c06557cb3b2753b5673 (patch)
treea489e0d38a331938901cda6c17af40407f6ca1d4 /src/soc/intel/common/block/smm
parent58dc892bbeb28a9cb14796f3bf6af779ae4fbe89 (diff)
soc/intel/common/block/cpu: Round up the number of ways
`CONFIG_DCACHE_RAM_SIZE' is not necessarily a multiple of way size. As a result, when the `div' instruction is called to compute the needed number of ways, there could be a remainder. When there is, one extra way should be added to cover `CONFIG_DCACHE_RAM_SIZE'. BUG=b:360332771 TEST=Verified on PTL Intel reference platform Change-Id: I5cb66da0aa977eecb64a0021268a6827747c521e Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83982 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/smm')
0 files changed, 0 insertions, 0 deletions