!636 backport some PCC driver patches
Merge Pull Request from: @li-huisong
Our team want to upload HCCS driver on Kunpeng SoC, but PCC related codes in ACPI and mailbox
has never been backported from linux master. So we have to backport these codes as belows:
-->
mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe failure
i2c: xgene-slimpro: Fix wrong pointer passed to PTR_ERR()
mailbox: pcc: Fix spelling mistake "Plaform" -> "Platform"
mailbox: pcc: Fix an invalid-load caught by the address sanitizer
mailbox: pcc: Handle all PCC subtypes correctly in pcc_mbox_irq
mailbox: pcc: Avoid using the uninitialized variable 'dev'
mailbox: pcc: Move bulk of PCCT parsing into pcc_mbox_probe
mailbox: pcc: Add support for PCCT extended PCC subspaces(type 3/4)
mailbox: pcc: Drop handling invalid bit-width in {read,write}_register
mailbox: pcc: Avoid accessing PCCT table in pcc_send_data and pcc_mbox_irq
mailbox: pcc: Add PCC register bundle and associated accessor functions
mailbox: pcc: Rename doorbell ack to platform interrupt ack register
mailbox: pcc: Use PCC mailbox channel pointer instead of standard
mailbox: pcc: Add pcc_mbox_chan structure to hold shared memory region info
mailbox: pcc: Consolidate subspace doorbell register parsing
mailbox: pcc: Consolidate subspace interrupt information parsing
mailbox: pcc: Refactor all PCC channel information into a structure
mailbox: fix various typos in comments
Link:https://gitee.com/openeuler/kernel/pulls/636
Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by:
Jialin Zhang <zhangjialin11@huawei.com>
Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment