diff mbox series

[impish:azure,hirsute:azure,focal:azure,focal-azure-5.8,1/1] UBUNTU: [Config] linux-azure: CONFIG_ANDROID_BINDERFS=m

Message ID 20210908230303.702657-2-marcelo.cerri@canonical.com
State New
Headers show
Series LP:#1925246 - Enable binderfs support in the Azure kernels | expand

Commit Message

Marcelo Henrique Cerri Sept. 8, 2021, 11:03 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/

Enable binderfs to support Anbox Cloud.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
---
 debian.azure/config/annotations          | 3 +++
 debian.azure/config/config.common.ubuntu | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Kamal Mostafa Sept. 8, 2021, 11:23 p.m. UTC | #1
Please fix the bogus BugLink:, otherwise LGTM.

Acked-by: Kamal Mostafa <kamal@canonical.com>

 -Kamal

On Wed, Sep 08, 2021 at 08:03:03PM -0300, Marcelo Henrique Cerri wrote:
> BugLink: https://bugs.launchpad.net/bugs/
> 
> Enable binderfs to support Anbox Cloud.
> 
> Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
> ---
>  debian.azure/config/annotations          | 3 +++
>  debian.azure/config/config.common.ubuntu | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.azure/config/annotations b/debian.azure/config/annotations
> index a80c639b8f18..ad577543014d 100644
> --- a/debian.azure/config/annotations
> +++ b/debian.azure/config/annotations
> @@ -25,6 +25,9 @@ CONFIG_ASHMEM                                      mark<ENFORCED> note<LP:#19145
>  CONFIG_ANDROID_BINDER_IPC                          policy<{'amd64': 'm'}>
>  CONFIG_ANDROID_BINDER_IPC                          mark<ENFORCED> note<LP:#1914568>
>  
> +CONFIG_ANDROID_BINDERFS                            policy<{'amd64': 'm'}>
> +CONFIG_ANDROID_BINDERFS                            mark<ENFORCED> note<LP:#1925246>
> +
>  CONFIG_MLX5_CORE                                   policy<{'amd64': 'm'}>
>  CONFIG_MLX5_CORE                                   mark<ENFORCED> note<LP:#1837397>
>  
> diff --git a/debian.azure/config/config.common.ubuntu b/debian.azure/config/config.common.ubuntu
> index 1dbe1e1efe2d..b7dafb019e79 100644
> --- a/debian.azure/config/config.common.ubuntu
> +++ b/debian.azure/config/config.common.ubuntu
> @@ -152,7 +152,7 @@ CONFIG_AMD_NUMA=y
>  CONFIG_AMIGA_PARTITION=y
>  # CONFIG_AMILO_RFKILL is not set
>  CONFIG_ANDROID=y
> -# CONFIG_ANDROID_BINDERFS is not set
> +CONFIG_ANDROID_BINDERFS=m
>  CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
>  CONFIG_ANDROID_BINDER_IPC=m
>  # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Thadeu Lima de Souza Cascardo Sept. 8, 2021, 11:26 p.m. UTC | #2
On Wed, Sep 08, 2021 at 08:03:03PM -0300, Marcelo Henrique Cerri wrote:
> BugLink: https://bugs.launchpad.net/bugs/

The bug is missing here, but I suppose it is 1925246.

Well, given BINDER is already enabled for these kernels, and Anbox Cloud
uses these, given the BugLink is fixed:

Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>

> 
> Enable binderfs to support Anbox Cloud.
> 
> Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
> ---
>  debian.azure/config/annotations          | 3 +++
>  debian.azure/config/config.common.ubuntu | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.azure/config/annotations b/debian.azure/config/annotations
> index a80c639b8f18..ad577543014d 100644
> --- a/debian.azure/config/annotations
> +++ b/debian.azure/config/annotations
> @@ -25,6 +25,9 @@ CONFIG_ASHMEM                                      mark<ENFORCED> note<LP:#19145
>  CONFIG_ANDROID_BINDER_IPC                          policy<{'amd64': 'm'}>
>  CONFIG_ANDROID_BINDER_IPC                          mark<ENFORCED> note<LP:#1914568>
>  
> +CONFIG_ANDROID_BINDERFS                            policy<{'amd64': 'm'}>
> +CONFIG_ANDROID_BINDERFS                            mark<ENFORCED> note<LP:#1925246>
> +
>  CONFIG_MLX5_CORE                                   policy<{'amd64': 'm'}>
>  CONFIG_MLX5_CORE                                   mark<ENFORCED> note<LP:#1837397>
>  
> diff --git a/debian.azure/config/config.common.ubuntu b/debian.azure/config/config.common.ubuntu
> index 1dbe1e1efe2d..b7dafb019e79 100644
> --- a/debian.azure/config/config.common.ubuntu
> +++ b/debian.azure/config/config.common.ubuntu
> @@ -152,7 +152,7 @@ CONFIG_AMD_NUMA=y
>  CONFIG_AMIGA_PARTITION=y
>  # CONFIG_AMILO_RFKILL is not set
>  CONFIG_ANDROID=y
> -# CONFIG_ANDROID_BINDERFS is not set
> +CONFIG_ANDROID_BINDERFS=m
>  CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
>  CONFIG_ANDROID_BINDER_IPC=m
>  # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

diff --git a/debian.azure/config/annotations b/debian.azure/config/annotations
index a80c639b8f18..ad577543014d 100644
--- a/debian.azure/config/annotations
+++ b/debian.azure/config/annotations
@@ -25,6 +25,9 @@  CONFIG_ASHMEM                                      mark<ENFORCED> note<LP:#19145
 CONFIG_ANDROID_BINDER_IPC                          policy<{'amd64': 'm'}>
 CONFIG_ANDROID_BINDER_IPC                          mark<ENFORCED> note<LP:#1914568>
 
+CONFIG_ANDROID_BINDERFS                            policy<{'amd64': 'm'}>
+CONFIG_ANDROID_BINDERFS                            mark<ENFORCED> note<LP:#1925246>
+
 CONFIG_MLX5_CORE                                   policy<{'amd64': 'm'}>
 CONFIG_MLX5_CORE                                   mark<ENFORCED> note<LP:#1837397>
 
diff --git a/debian.azure/config/config.common.ubuntu b/debian.azure/config/config.common.ubuntu
index 1dbe1e1efe2d..b7dafb019e79 100644
--- a/debian.azure/config/config.common.ubuntu
+++ b/debian.azure/config/config.common.ubuntu
@@ -152,7 +152,7 @@  CONFIG_AMD_NUMA=y
 CONFIG_AMIGA_PARTITION=y
 # CONFIG_AMILO_RFKILL is not set
 CONFIG_ANDROID=y
-# CONFIG_ANDROID_BINDERFS is not set
+CONFIG_ANDROID_BINDERFS=m
 CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
 CONFIG_ANDROID_BINDER_IPC=m
 # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set