sonyxperiadev / kernel

Other
353 stars 362 forks source link

[K.P.1.0] Enable support for Secure Subsystem's access-control restriction #2592

Closed bartcubbins closed 11 months ago

bartcubbins commented 11 months ago

Due to change in access control policy in Waipio, qcom_spss driver will no longer be able to mask or clear SP2SOC interrupts. Driver writes to SP2SOC registers are replaced by logic in root of trust firmware and secure process unit firmware. All the IRQs from secure processor unit are masked before root of trust entity brings the SPSS out of reset and SPSS firmware unmasks those IRQs after boot completion.

Case SPU is loaded before the driver (device boot):

Change-Id: I547eb0962e0055e8357e289ae8b04b5d76cf91fe