-
Notifications
You must be signed in to change notification settings - Fork 108
fastrpcdlkm: Add recipe to support fastrpc DLKM #857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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}:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
|
||
EXTRA_OEMAKE += "M=${S}" | ||
|
||
RPROVIDES:${PN} += "kernel-module-fastrpc-kernel" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
FastRPC DLKM carries additional features like static PD restart and enhanced invocation support. Add recipe to support fastrpc DLKM.