Commit 33a989a1 authored by Sudeep Holla's avatar Sudeep Holla Committed by Huisong
Browse files

mailbox: pcc: Consolidate subspace doorbell register parsing

mainline inclusion
from mainline-v5.16-rc1
commit 4e3c96ff
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=4e3c96ff950ed2bf0f8ef24bd54ec134e2717c55



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

Extended PCC subspaces(Type 3 and 4) differ from generic(Type 0) and
HW-Reduced Communication(Type 1 and 2) subspace structures. However some
fields share same offsets and same type of structure can be use to
extract the fields. In order to simplify that, let us move all the doorbell
register parsing into pcc_parse_subspace_db_reg and consolidate there.
It will be easier to extend it if required within the same.

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