| f73466e9 | 17-May-2023 |
Fengquan Chen <fengquan.chen@mediatek.corp-partner.google.com> |
fix(mediatek): support saving/restoring GICR registers
The GICR_IPRIORITYR[x] registers are not saved or restored in the original design. When the kernel tries to use them, such as the pseudo-NMI, i
fix(mediatek): support saving/restoring GICR registers
The GICR_IPRIORITYR[x] registers are not saved or restored in the original design. When the kernel tries to use them, such as the pseudo-NMI, it leads crashes and freezes. This patch adds support for saving/restoring GICR registers.
Change-Id: I9718a75a1410ca14826710dfdf5f3226299fa6e2 Signed-off-by: Jason Chen <Jason-ch.Chen@mediatek.com>
show more ...
|
| e9736a01 | 06-Jun-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "version/0.1-gic" into integration
* changes: feat(qemu-sbsa): handle GIC base feat(qemu-sbsa): handle platform version |
| 4c8e1f9a | 06-Jun-2023 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge changes I21d65a88,I949cfce9,If4249f22,Id0451bd1,I9e930070, ... into integration
* changes: feat(mediatek): add APU watchdog timeout control feat(mt8188): add emi mpu protection for APU sec
Merge changes I21d65a88,I949cfce9,If4249f22,Id0451bd1,I9e930070, ... into integration
* changes: feat(mediatek): add APU watchdog timeout control feat(mt8188): add emi mpu protection for APU secure memory feat(mt8188): add devapc setting of apusys rcx feat(mt8188): add backup/restore function when power on/off feat(mediatek): add APU bootup control smc call feat(mt8188): enable apusys mailbox mpu protect feat(mt8188): enable apusys domain remap feat(mt8188): add apusys ao devapc setting feat(mt8188): increase TZRAM_SIZE from 192KB to 256KB
show more ...
|
| baa0d45c | 12-May-2023 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mediatek): add APU watchdog timeout control
Add APU watchdog timeout control.
Change-Id: I21d65a88d20b6b2752a75f74487b5fe6596ebdf7 Signed-off-by: Chungying Lu <chungying.lu@mediatek.com> Signe
feat(mediatek): add APU watchdog timeout control
Add APU watchdog timeout control.
Change-Id: I21d65a88d20b6b2752a75f74487b5fe6596ebdf7 Signed-off-by: Chungying Lu <chungying.lu@mediatek.com> Signed-off-by: Karl Li <karl.li@mediatek.com>
show more ...
|
| 176846a5 | 25-Apr-2023 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mt8188): add emi mpu protection for APU secure memory
Add emi mpu protection of APU secure memory.
Change-Id: I949cfce97565d8a313caae4ea41af60a171042a6 Signed-off-by: Chungying Lu <chungying.l
feat(mt8188): add emi mpu protection for APU secure memory
Add emi mpu protection of APU secure memory.
Change-Id: I949cfce97565d8a313caae4ea41af60a171042a6 Signed-off-by: Chungying Lu <chungying.lu@mediatek.com> Signed-off-by: Karl Li <karl.li@mediatek.com>
show more ...
|
| 5986ae57 | 24-Apr-2023 |
Karl Li <karl.li@mediatek.corp-partner.google.com> |
feat(mt8188): add devapc setting of apusys rcx
Apusys rcx is a subsys in apusys, and it is a basic domain of APU and it connects several components in APU. The devapc control of apusys rcx is also i
feat(mt8188): add devapc setting of apusys rcx
Apusys rcx is a subsys in apusys, and it is a basic domain of APU and it connects several components in APU. The devapc control of apusys rcx is also inside APU and it can only be set when APU is powered on. Then apusys kernel driver will trigger rcx devapc init by ATF smc call.
Change-Id: If4249f22a08690b1e4f5aa5f0cbfb54ccacf90e1 Signed-off-by: Karl Li <karl.li@mediatek.com> Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| 233d604f | 04-May-2023 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mt8188): add backup/restore function when power on/off
Add APU backup/restore function when power on/off.
Change-Id: Id0451bd12f402e1acabeb5c12266a2e01836e9dd Signed-off-by: Chungying Lu <chun
feat(mt8188): add backup/restore function when power on/off
Add APU backup/restore function when power on/off.
Change-Id: Id0451bd12f402e1acabeb5c12266a2e01836e9dd Signed-off-by: Chungying Lu <chungying.lu@mediatek.com> Signed-off-by: Karl Li <karl.li@mediatek.com>
show more ...
|
| 94a9e624 | 19-Apr-2023 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mediatek): add APU bootup control smc call
Add APU bootup control smc call. The steps of bootup flow: 1. set up APU config. 2. reset APU. 3. set up APU boot config. 4. boot APU.
Change
feat(mediatek): add APU bootup control smc call
Add APU bootup control smc call. The steps of bootup flow: 1. set up APU config. 2. reset APU. 3. set up APU boot config. 4. boot APU.
Change-Id: I9e930070a64c7c4dcaa3a8b3d28b897823e9f53c Signed-off-by: Chungying Lu <chungying.lu@mediatek.com> Signed-off-by: Karl Li <karl.li@mediatek.com>
show more ...
|
| ad7673ad | 27-Apr-2023 |
Karl Li <karl.li@mediatek.corp-partner.google.com> |
feat(mt8188): enable apusys mailbox mpu protect
Enable apusys mailbox mpu protect.
Change-Id: Idbf67084037b7ecf4926f57a901075f98540ee57 Signed-off-by: Karl Li <karl.li@mediatek.com> Signed-off-by:
feat(mt8188): enable apusys mailbox mpu protect
Enable apusys mailbox mpu protect.
Change-Id: Idbf67084037b7ecf4926f57a901075f98540ee57 Signed-off-by: Karl Li <karl.li@mediatek.com> Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| b5900c92 | 27-Apr-2023 |
Karl Li <karl.li@mediatek.corp-partner.google.com> |
feat(mt8188): enable apusys domain remap
Enable apusys domain remap to protect no-protect memory. - Remap request which from domain 5 to domain 14. - Remap request which from domain 7 to domain
feat(mt8188): enable apusys domain remap
Enable apusys domain remap to protect no-protect memory. - Remap request which from domain 5 to domain 14. - Remap request which from domain 7 to domain 14.
Change-Id: Iccd188e3b8edbe916fa9767c841a844b66c6011f Signed-off-by: Karl Li <karl.li@mediatek.com> Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| 777e3b71 | 21-Apr-2023 |
Karl Li <karl.li@mediatek.corp-partner.google.com> |
feat(mt8188): add apusys ao devapc setting
Apusys ao devapc is a set of control registers inside APU, and it controls the access permission of APU ao domain. Moreover, apusys ao devapc must be set a
feat(mt8188): add apusys ao devapc setting
Apusys ao devapc is a set of control registers inside APU, and it controls the access permission of APU ao domain. Moreover, apusys ao devapc must be set after apusys power init, so we need to place the drivers in TF-A instead of coreboot.
Change-Id: Ife849c32d4dd9dca15432d4b8a51753fde61b148 Signed-off-by: Karl Li <karl.li@mediatek.com> Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| aa1cb279 | 06-Jun-2023 |
Karl Li <karl.li@mediatek.com> |
feat(mt8188): increase TZRAM_SIZE from 192KB to 256KB
Increase TZRAM_SIZE to 256KB for MT8188 APUSYS.
Change-Id: Iabe1a4aeb79ba23c3e963170a8eb9ce19f2925f3 Signed-off-by: Karl Li <karl.li@mediatek.c
feat(mt8188): increase TZRAM_SIZE from 192KB to 256KB
Increase TZRAM_SIZE to 256KB for MT8188 APUSYS.
Change-Id: Iabe1a4aeb79ba23c3e963170a8eb9ce19f2925f3 Signed-off-by: Karl Li <karl.li@mediatek.com>
show more ...
|
| a0239da9 | 15-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
refactor(el3-spmc): add emad_advance()
This will be needed later.
Change-Id: I396b5e1410268d98cf6bf00cd553a5d01123847c Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
| dd94372d | 15-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
fix(el3-spmc): validate shmem descriptor alignment
If the size of a shmem descriptor is not a multiple of 16, the descriptor would be unusable, but the problem would be caught much later.
Change-Id
fix(el3-spmc): validate shmem descriptor alignment
If the size of a shmem descriptor is not a multiple of 16, the descriptor would be unusable, but the problem would be caught much later.
Change-Id: I907f3862b55c6341e39a6b8b2e24784127230478 Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 1198ff84 | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
refactor(el3-spmc): avoid unneeded function call
The information is already available inline. No functional change intended.
Change-Id: I13d2ad62a9315b233d7a5fd3ffcaac3dd01b055c Signed-off-by: Dem
refactor(el3-spmc): avoid unneeded function call
The information is already available inline. No functional change intended.
Change-Id: I13d2ad62a9315b233d7a5fd3ffcaac3dd01b055c Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 48ffc74c | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
refactor(el3-spmc): move function call out of loop
Hopefully this will be a tiny speedup. No functional change intended.
Change-Id: Ia052c7f9b24d5ece6209a6fa2903b1271215ece7 Signed-off-by: Demi Ma
refactor(el3-spmc): move function call out of loop
Hopefully this will be a tiny speedup. No functional change intended.
Change-Id: Ia052c7f9b24d5ece6209a6fa2903b1271215ece7 Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 91567c38 | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
refactor(el3-spmc): avoid using EINVAL
Use proper FF-A return code instead.
Change-Id: Ie749ff06339bc137d3baa96f06f0a6160b35abed Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
| 9526282a | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
refactor(el3-spmc): crash instead of reading OOB
If it is called on an invalid mtd, out-of-bounds memory reads are likely. Checks elsewhere in the code ensure that the mtd has been validated before
refactor(el3-spmc): crash instead of reading OOB
If it is called on an invalid mtd, out-of-bounds memory reads are likely. Checks elsewhere in the code ensure that the mtd has been validated before calling this function.
Change-Id: If598680a5b79e1786a6e0a213779ec80cbf37494 Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 27c02425 | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
fix(el3-spmc): avoid descriptor size calc overflow
This ensures that descriptor size calculation does not overflow and removes a bounds check that does not actually work.
Change-Id: If8da2bb1b31294
fix(el3-spmc): avoid descriptor size calc overflow
This ensures that descriptor size calculation does not overflow and removes a bounds check that does not actually work.
Change-Id: If8da2bb1b312941b7f9d0debf3149b984fc3809a Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 2d4da8e2 | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
fix(el3-spmc): prevent total_page_count overflow
size_t is not guaranteed to be 64 bits, although it happens to be 64 bits on all systems that el3-spmc supports.
Change-Id: Ieae11722a15448641de5023
fix(el3-spmc): prevent total_page_count overflow
size_t is not guaranteed to be 64 bits, although it happens to be 64 bits on all systems that el3-spmc supports.
Change-Id: Ieae11722a15448641de50233597ac35869eab574 Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| 43318e4a | 12-Jan-2023 |
Demi Marie Obenour <demiobenour@gmail.com> |
fix(el3-spmc): use uint64_t for 64-bit type
Using uint64_t is cleaner, even though size_t is 64 bits on all platforms el3-spmc supports.
Change-Id: I457deb0b7f3df0749cb5368cceda1bb530d039de Signed-
fix(el3-spmc): use uint64_t for 64-bit type
Using uint64_t is cleaner, even though size_t is 64 bits on all platforms el3-spmc supports.
Change-Id: I457deb0b7f3df0749cb5368cceda1bb530d039de Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
show more ...
|
| b695b2f1 | 12-May-2023 |
laurenw-arm <lauren.wehrmeister@arm.com> |
refactor(fvp): nv ctr addr static helper function
Adding a static helper function plat_get_nv_ctr_addr() to be used by both plat_set_nv_ctr() and plat_get_nv_ctr() to return the non-volatile counter
refactor(fvp): nv ctr addr static helper function
Adding a static helper function plat_get_nv_ctr_addr() to be used by both plat_set_nv_ctr() and plat_get_nv_ctr() to return the non-volatile counter address stored in the platform.
Change-Id: I5124c19e4537bb369724aa0160cc55a3cb1ab7eb Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
show more ...
|
| a0f3b552 | 05-Jun-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "chore: rename Makalu to Cortex-A715" into integration |
| 2ce78bff | 24-Mar-2023 |
Boyan Karatotev <boyan.karatotev@arm.com> |
docs: add detail to assembly language guideline
Assembly language is rarely required and when it is, there are a lot of helpers available to reduce the amount needed. Update the guidelines to give p
docs: add detail to assembly language guideline
Assembly language is rarely required and when it is, there are a lot of helpers available to reduce the amount needed. Update the guidelines to give pointers to them.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ic484e4ba57242594c351a9185ecb625d6e5dc223
show more ...
|
| f8328853 | 10-Mar-2023 |
Boyan Karatotev <boyan.karatotev@arm.com> |
feat(aarch64): add stack debug information to assembly routines
Debugging assembly is painful as it is, and having no useful stack trace does not help. Code must emit CFI directives whenever the sta
feat(aarch64): add stack debug information to assembly routines
Debugging assembly is painful as it is, and having no useful stack trace does not help. Code must emit CFI directives whenever the stack moves to enable stack traces. Otherwise, the layout of the stack frame is ambiguous, the debugger gives up, and shows nothing. The compiler does this automatically for C but not assembly.
Add this information to the (currently unused) func_prologue macro.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ief5fd672285df8d9d90fa6a2214b5c6e45eddd81
show more ...
|