Commit 55d7ee6b authored by Sudeep Holla's avatar Sudeep Holla Committed by Huisong
Browse files

mailbox: pcc: Refactor all PCC channel information into a structure

mainline inclusion
from mainline-v5.16-rc1
commit 80b2bdde
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6Z91B
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.3-rc2&id=80b2bdde002c521284ce472a849784f599626276



--------------------------------

Currently all the PCC channel specific information are stored/maintained
in global individual arrays for each of those information. It is not
scalable and not clean if we have to stash more channel specific
information. Couple of reasons to stash more information are to extend
the support to Type 3/4 PCCT subspace and also to avoid accessing the
PCCT table entries themselves each time we need the information.

This patch moves all those PCC channel specific information into a
separate structure pcc_chan_info.

Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 2c0ef634
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment