ACK: [SRU][K/Unstable][PATCH 1/1] UBUNTU: [Config] Set CONFIG_PWM_SIFIVE=m for riscv64

Dimitri John Ledkov dimitri.ledkov at canonical.com
Mon Oct 10 11:14:46 UTC 2022


Acked-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>

WIll apply to kinetic:linux-riscv ahead of generic.

On Mon, 10 Oct 2022 at 11:46, Emil Renner Berthing
<emil.renner.berthing at canonical.com> wrote:
>
> BugLink: https://launchpad.net/bugs/1988984
>
> Only the SoCs on the SiFive Unleashed and Unmatched boards use this
> driver, but none of them needs it at boot time. So compile it as a
> module to save memory on other systems.
>
> This also works around a bug in the UART driver fixed by
> 643792048ee8 ("serial: sifive: enable clocks for UART when probed")
>
> Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
> ---
>  debian.master/config/annotations          | 2 +-
>  debian.master/config/config.common.ubuntu | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/debian.master/config/annotations b/debian.master/config/annotations
> index 238dc035176f..3e6d4e97e1ba 100644
> --- a/debian.master/config/annotations
> +++ b/debian.master/config/annotations
> @@ -7698,7 +7698,7 @@ CONFIG_PWM_RCAR                                 policy<{'arm64': 'm', 'armhf': '
>  CONFIG_PWM_RENESAS_TPU                          policy<{'arm64': 'm', 'armhf': 'm'}>
>  CONFIG_PWM_ROCKCHIP                             policy<{'arm64': 'm', 'armhf': 'm'}>
>  CONFIG_PWM_SAMSUNG                              policy<{'armhf': 'n'}>
> -CONFIG_PWM_SIFIVE                               policy<{'riscv64': 'y'}>
> +CONFIG_PWM_SIFIVE                               policy<{'riscv64': 'm'}>
>  CONFIG_PWM_SL28CPLD                             policy<{'arm64': 'm'}>
>  CONFIG_PWM_SPRD                                 policy<{'arm64': 'm'}>
>  CONFIG_PWM_STMPE                                policy<{'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y'}>
> diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
> index d45b478131bb..ff893afbd938 100644
> --- a/debian.master/config/config.common.ubuntu
> +++ b/debian.master/config/config.common.ubuntu
> @@ -8673,7 +8673,7 @@ CONFIG_PWM_RCAR=m
>  CONFIG_PWM_RENESAS_TPU=m
>  CONFIG_PWM_ROCKCHIP=m
>  # CONFIG_PWM_SAMSUNG is not set
> -CONFIG_PWM_SIFIVE=y
> +CONFIG_PWM_SIFIVE=m
>  CONFIG_PWM_SL28CPLD=m
>  CONFIG_PWM_SPRD=m
>  CONFIG_PWM_STMPE=y
> --
> 2.37.2
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



-- 
okurrr,

Dimitri



More information about the kernel-team mailing list