summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2017-05-16 17:13:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-13 19:50:09 +0200
commit121ed59565ed80023f7efbd49459eb1501b416b1 (patch)
tree8cfa7e57d4ab5fb12d22d39ae7a050808452ba15 /security/selinux/hooks.c
parent0850cb7b028b6b57ca72843ff7d4ad6d7858c068 (diff)
ARM: davinci: da8xx: Create DSP device only when assigned memory
[ Upstream commit f97f03578b997a8ec2b9bc4928f958a865137268 ] The DSP device on Davinci platforms does not have an MMU and requires specific DDR memory to boot. This memory is reserved using the rproc_mem kernel boot parameter and is assigned to the device on non-DT boots. The remoteproc core uses the DMA API and so will fall back to assigning random memory if this memory is not assigned to the device, but the DSP remote processor boot will not be successful in such cases. So, check that memory has been reserved and assigned to the device specifically before even creating the DSP device. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions