mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 15:50:53 +07:00
d6de5b0294
Support Sigma Designs ARM-based (specifically, Cortex-A9 MPCore r3p0) Tango4 "Secure Media Processor" platforms: smp8756, smp8758, smp8759 (8756 is single-core, the latter are dual-core). Note: 8758 vs 8759: same chip, different package. Support for older MIPS-based platforms can be found elsewhere: https://github.com/mansr/linux-tangox Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
10 lines
153 B
ArmAsm
10 lines
153 B
ArmAsm
#include <linux/linkage.h>
|
|
|
|
ENTRY(tango_smc)
|
|
push {lr}
|
|
mov ip, r1
|
|
dsb /* This barrier is probably unnecessary */
|
|
smc #0
|
|
pop {pc}
|
|
ENDPROC(tango_smc)
|