arch: arm: mach-socfpga: smc: Add dcache flushing and invalidation in smc_send_mailbox()
authorBoon Khai Ng <boon.khai.ng@altera.com>
Thu, 14 Aug 2025 03:17:39 +0000 (11:17 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 30 Sep 2025 06:29:54 +0000 (14:29 +0800)
commit8d28f121d3794613a2ab6799d54f743e439763ab
treeb997bba5ad93466b4ae7cf3108328a548a253b13
parent36e013490ed40af227f206b2906e30ad877a7854
arch: arm: mach-socfpga: smc: Add dcache flushing and invalidation in smc_send_mailbox()

Adding the dcache flushing and invalidation in the smc_send_mailbox()
At the same time replace the use of u64 with uintptr_t to ensure
compatibility across different architectures and correct the
pointer arithmetic for buffer end address calculation.

Signed-off-by: Mahesh Rao <mahesh.rao@altera.com>
Signed-off-by: Boon Khai Ng <boon.khai.ng@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/mach-socfpga/smc_api.c