[v2] ffa-debugfs-mod: Do not build for TI SOCs

Message ID 20220503160949.1685272-1-raj.khem@gmail.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [v2] ffa-debugfs-mod: Do not build for TI SOCs | expand

Commit Message

Khem Raj May 3, 2022, 4:09 p.m. UTC
The module can not be compiled without patching kernel 5.10
This helps meta-ti to live in multi-BSP envs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend             | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend

Comments

Denys Dmytriyenko May 4, 2022, 7:18 p.m. UTC | #1
On Tue, May 03, 2022 at 09:09:49AM -0700, Khem Raj wrote:
> The module can not be compiled without patching kernel 5.10
> This helps meta-ti to live in multi-BSP envs

Besides couple minor typos in the comment, looks good to me.


> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>


> ---
>  .../linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend             | 5 +++++
>  1 file changed, 5 insertions(+)
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend b/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend
> new file mode 100644
> index 00000000..67fcf6ec
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend
> @@ -0,0 +1,5 @@
> +# Added my meta-arm, this needs ceetain backports in 5.10
> +# Disable until kernel upgrades to newer than 5.10 where it
> +# is already upstreamed
> +# Revisit when kernel is upgraded to 5.15 or newer e.g.
> +COMPATIBLE_HOST:ti-soc = "null"
> -- 
> 2.36.0
>

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend b/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend
new file mode 100644
index 00000000..67fcf6ec
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ffa-debugfs/ffa-debugfs-mod_%.bbappend
@@ -0,0 +1,5 @@ 
+# Added my meta-arm, this needs ceetain backports in 5.10
+# Disable until kernel upgrades to newer than 5.10 where it
+# is already upstreamed
+# Revisit when kernel is upgraded to 5.15 or newer e.g.
+COMPATIBLE_HOST:ti-soc = "null"