fastrpcdlkm: Add recipe to support fastrpc DLKM#857
fastrpcdlkm: Add recipe to support fastrpc DLKM#857ekanshibu wants to merge 1 commit intoqualcomm-linux:masterfrom
Conversation
FastRPC DLKM carries additional features like static PD restart and enhanced invocation support. Add recipe to support fastrpc DLKM. Signed-off-by: Ekansh Gupta <[email protected]>
Test jobs for commit 3ed4f50 |
|
@quic-ekangupt need the corresponding change to include this in the CI |
|
@quic-ekangupt as discussed in #854 (comment) as this is a kernel module recipe, place it under recipes-kernel/fastrpc-module. |
|
|
||
| RPROVIDES:${PN} += "kernel-module-fastrpc-kernel" | ||
|
|
||
| FILESPATH =+ "${WORKSPACE}:" |
|
|
||
| EXTRA_OEMAKE += "M=${S}" | ||
|
|
||
| RPROVIDES:${PN} += "kernel-module-fastrpc-kernel" |
There was a problem hiding this comment.
Why to use an additional RPROVIDES? Which other recipe is referring this module as "fastrpc-kernel" ?
|
|
||
| MAKE_TARGETS = "modules" | ||
|
|
||
| MODULES_INSTALL_TARGET = "modules_install" |
There was a problem hiding this comment.
No need. modules.bbclass already defaults to this.
|
|
||
| SRC_URI = "git://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/dsp-kernel.git;protocol=https;branch=dsp-kernel.lnx.3.3;destsuffix=vendor/qcom/opensource/dsp-kernel" | ||
|
|
||
| S = "${WORKDIR}/vendor/qcom/opensource/dsp-kernel" |
There was a problem hiding this comment.
remove destsuffix in SRC_URI and set S = "${WORKDIR}/git"
|
Definite NAK. Please include the relevant patches into the linux-yocto / linux-qcom rather than pulling full DKML. |
|
Didn't compare the sources, but is this a fork of the upstream driver? If so I'm also aligned with @lumag, should be proposed as kernel patches instead. |
I have 1 question regarding maintaining patches into linux-yocto / linux-qcom, what are the expectations for any patch carrying uAPI change? |
I'm seeking details for this, please help with your comments. @lumag, @ricardosalveti |
|
if the uAPI change has been discussed and reviewed upstream it's not a problem. If it's a custom never-going-upstream uAPI, we are going to push back on it. Please note that we are moving soon away from linux-yocto-dev, and we will be using a QCOM hosted kernel (qcom-next). At this point we will no longer carry any kernel patches in meta-qcom. |
Thanks for the explanation. I have 2 follow-up questions:
|
That's when we get into issues :) and when we need to deep dive a bit more. Note that with the 'clean overlay' approach and ongoing discussions, this will be no longer acceptable anyway. e.g. any of our QCOM 'value add' (or non upstream, proprietary, ...) solutions will need to work with a vanilla upstream kernel.
Yes, if the uAPI change is actively being upstream and with some hints that it will eventually get merged, then it will be accepted in qcom-next, and then we will accept corresponding user space changes in meta-qcom, of course. |
|
@quic-ekangupt for the sake of it. No, adding extra uAPI to fastrpc driver is not possible. If I read it correctly, it was vetoed by Simona. |
|
Closing the PR as this dlkm change is dropped and the polling feature is discussed to be brought from upstream. |
FastRPC DLKM carries additional features like static PD restart and enhanced invocation support. Add recipe to support fastrpc DLKM.