OSDN Git Service

mailbox: pcc: Consolidate subspace interrupt information parsing
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 17 Sep 2021 13:33:47 +0000 (14:33 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 30 Oct 2021 03:46:38 +0000 (22:46 -0500)
commit319bfb35bd1dbc1b67e577c9893b9e8b29650b19
tree294c9994b33750ac3bb0a99a880e7b1d1cd5b28e
parent80b2bdde002c521284ce472a849784f599626276
mailbox: pcc: Consolidate subspace interrupt information parsing

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 IRQ related
information parsing into pcc_parse_subspace_irq and consolidate there.
It will be easier to extend it if required within the same.

Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/pcc.c