ARM: davinci_all_defconfig: enable CMA options
PATCH 1/1 ARM: davinci_all_defconfig: enable CMA options
Enable the CMA and DMA_CMA Kconfig options by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.
---
Hi Sekhar,
Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
regards
Suman
arch/arm/configs/davinci_all_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/davinci_all_defconfig +2 -0
@@ -34,6 +34,7 @@ CONFIG_DAVINCI_MUX_WARNINGS=y CONFIG_DAVINCI_RESET_CLOCKS=y CONFIG_PREEMPT=y CONFIG_AEABI=y +CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0
@@ -56,6 +57,7 @@ CONFIG_NETFILTER=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set +CONFIG_DMA_CMA=y CONFIG_DA8XX_MSTPRI=y CONFIG_MTD=m CONFIG_MTD_TESTS=m
Signature · 1 line
2.13.1
Sekhar Nori
AppliedQuoted 11 lines · Suman Anna
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks,
Sekhar
Quoted 10 lines · Sekhar Nori
Quoted 9 lines · Suman Anna
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,
Quoted 5 lines
Quoted 2 lines
Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was not planning to enable it by default.
regards
Suman
Hi Suman,
Quoted 14 lines · Suman Anna
Quoted 13 lines · Sekhar Nori
Quoted 11 lines · Suman Anna
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Quoted 6 lines
Quoted 2 lines
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was not planning to enable it by default.
But the errors will show up only on DA850 LCDK where we have enabled the DSP by default in DT because its an important usecase there. I think it is important for users to see those errors.
(besides the usual benefits of having the module enabled to catch build and runtime issues easily).
Thanks,
Sekhar
Hi Sekhar,
Quoted 23 lines · Suman Anna
Quoted 14 lines · Sekhar Nori
Quoted 13 lines · Suman Anna
Quoted 11 lines
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Quoted 6 lines
Quoted 2 lines
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was not planning to enable it by default.
Quoted 5 lines
But the errors will show up only on DA850 LCDK where we have enabled the DSP by default in DT because its an important usecase there. I think it is important for users to see those errors.
(besides the usual benefits of having the module enabled to catch build and runtime issues easily).
Yeah, DSP node is enabled only for DA850 LCDK among the DT-supported boards, but I believe there are boards still using legacy boot, and it shows up on those platforms as well. FYI, we do not have any rpmsg drivers other than the kernel sample to make real usage of a booted remoteproc. Anycase, if you still prefer this to be added, I don't mind.
regards
Suman
Quoted 31 lines · Suman Anna
Hi Sekhar,
Quoted 23 lines · Suman Anna
Quoted 14 lines · Sekhar Nori
Quoted 13 lines · Suman Anna
Quoted 11 lines
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Quoted 6 lines
Quoted 2 lines
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was not planning to enable it by default.
Quoted 5 lines
But the errors will show up only on DA850 LCDK where we have enabled the DSP by default in DT because its an important usecase there. I think it is important for users to see those errors.
(besides the usual benefits of having the module enabled to catch build and runtime issues easily).
Quoted 9 lines
Yeah, DSP node is enabled only for DA850 LCDK among the DT-supported boards, but I believe there are boards still using legacy boot, and it shows up on those platforms as well. FYI, we do not have any rpmsg drivers other than the kernel sample to make real usage of a booted remoteproc. Anycase, if you still prefer this to be added, I don't mind.
regards
Suman
I am interested in using remoteproc on LEGO MINDSTORMS EV3 to implement I2C and UART in the PRU.
Quoted 31 lines · Suman Anna
Hi Sekhar,
Quoted 23 lines · Suman Anna
Quoted 14 lines · Sekhar Nori
Quoted 13 lines · Suman Anna
Quoted 11 lines
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Quoted 6 lines
Quoted 2 lines
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was not planning to enable it by default.
Quoted 5 lines
But the errors will show up only on DA850 LCDK where we have enabled the DSP by default in DT because its an important usecase there. I think it is important for users to see those errors.
(besides the usual benefits of having the module enabled to catch build and runtime issues easily).
Quoted 3 lines
Yeah, DSP node is enabled only for DA850 LCDK among the DT-supported boards, but I believe there are boards still using legacy boot, and it shows up on those platforms as well. FYI, we do not have any rpmsg
Thats right. Even there, my thinking is if a board is registering a platform device, its because it wants to use it. And so the driver should be enabled.
Quoted 2 lines
drivers other than the kernel sample to make real usage of a booted remoteproc. Anycase, if you still prefer this to be added, I don't mind.
I think its better to enable the driver too. Please submit a patch. Thanks!
Regards,
Sekhar
Hi David,
Quoted 39 lines · David Lechner
Quoted 38 lines · Suman Anna
Hi Sekhar,
Quoted 24 lines · Suman Anna
Quoted 14 lines · Sekhar Nori
Quoted 13 lines · Suman Anna
Quoted 11 lines
Enable the CMA and
DMA_CMAKconfigoptions by default for Davinci platforms. Davinci remoteproc driver is one of the modules that depends on these options, and this allows the driver to be made visible for selection with menuconfig.Signed-off-by Suman Anna <[email protected]>---
Hi Sekhar,Here's the patch that enables CMA as per your request. Patch based on your v4.15/defconfig branch.
Quoted 7 lines
Quoted 2 lines
Applied! I guess you will be sending another patch enabling the remoteproc driver itself?
Thanks. Well, one always needs a firmware image in their filesystem without which enabling the driver is meaningless (it would fail). So was
not planning to enable it by default.Quoted 5 lines
But the errors will show up only on DA850 LCDK where we have enabled the DSP by default in DT because its an important usecase there. I think it is important for users to see those errors.
(besides the usual benefits of having the module enabled to catch build and runtime issues easily).Yeah, DSP node is enabled only for DA850 LCDK among the DT-supported boards, but I believe there are boards still using legacy boot, and it shows up on those platforms as well. FYI, we do not have any rpmsg drivers other than the kernel sample to make real usage of a booted remoteproc. Anycase, if you still prefer this to be added, I don't mind.
Quoted 6 lines
Quoted 3 lines
regards
SumanI am interested in using remoteproc on LEGO MINDSTORMS EV3 to implement I2C and UART in the PRU.
Do note that the remoteproc driver being discussed here is the DSP remoteproc driver. TI releases have a remoteproc driver that talks to PRUSS[1], but that has not been used to talk to PRUSS on OMAP-L138. And AFAIK, there is no one working towards that in TI as well.
Thanks,
Sekhar
Quoted 12 lines · Sekhar Nori
Hi David,
Quoted 3 lines
I am interested in using remoteproc on LEGO MINDSTORMS EV3 to implement I2C and UART in the PRU.
Do note that the remoteproc driver being discussed here is the DSP remoteproc driver. TI releases have a remoteproc driver that talks to PRUSS[1], but that has not been used to talk to PRUSS on OMAP-L138. And AFAIK, there is no one working towards that in TI as well.
Quoted 6 lines
Thanks,
Sekhar
Darn. I've used pru_rproc on the BeagleBone. One more thing for the EV3 list ;-).