mbox series

[SRU,F:linux-bluefield,v1,0/1] Enable CONFIG_EFI_VARS_PSTORE as build-in

Message ID 20230808163407.169567-1-witu@nvidia.com
Headers show
Series [SRU,F:linux-bluefield,v1,1/1] UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in | expand

Message

William Tu Aug. 8, 2023, 4:34 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1978079

There is an issue that pstore doesn't get loaded so it doesn't clean up stale
logs when system boots, causing EFI-back storage overflow. This problem affects
Ubuntu 20.04 and 22.04. A quick fix would be to configure CONFIG_EFI_VARS_PSTORE=y
so that it's always available.

Note that Jammy and Focal have its own patch, due to different way of
config setup. Focal needs to update the two files below.

William Tu (1):
  UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in

 debian.bluefield/config/annotations          | 1 +
 debian.bluefield/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Tim Gardner Aug. 9, 2023, 12:27 p.m. UTC | #1
On 8/8/23 10:34 AM, William Tu wrote:
> BugLink: https://bugs.launchpad.net/bugs/1978079
> 
> There is an issue that pstore doesn't get loaded so it doesn't clean up stale
> logs when system boots, causing EFI-back storage overflow. This problem affects
> Ubuntu 20.04 and 22.04. A quick fix would be to configure CONFIG_EFI_VARS_PSTORE=y
> so that it's always available.
> 
> Note that Jammy and Focal have its own patch, due to different way of
> config setup. Focal needs to update the two files below.
> 
> William Tu (1):
>    UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in
> 
>   debian.bluefield/config/annotations          | 1 +
>   debian.bluefield/config/config.common.ubuntu | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
> 
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Bartlomiej Zolnierkiewicz Aug. 28, 2023, 2 p.m. UTC | #2
Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz@canonical.com>

> On 8/8/23 10:34 AM, William Tu wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/1978079
>
> There is an issue that pstore doesn't get loaded so it doesn't clean up stale
> logs when system boots, causing EFI-back storage overflow. This problem affects
> Ubuntu 20.04 and 22.04. A quick fix would be to configure CONFIG_EFI_VARS_PSTORE=y
> so that it's always available.
>
> Note that Jammy and Focal have its own patch, due to different way of
> config setup. Focal needs to update the two files below.
>
> William Tu (1):
>    UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in
>
>   debian.bluefield/config/annotations          | 1 +
>   debian.bluefield/config/config.common.ubuntu | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
>
Bartlomiej Zolnierkiewicz Aug. 28, 2023, 2:05 p.m. UTC | #3
Applied to focal:linux-bluefield/master-next. Thanks.

--
Best regards,
Bartlomiej

> On 8/8/23 10:34 AM, William Tu wrote:
> BugLink: https://bugs.launchpad.net/bugs/1978079
>
> There is an issue that pstore doesn't get loaded so it doesn't clean up stale
> logs when system boots, causing EFI-back storage overflow. This problem affects
> Ubuntu 20.04 and 22.04. A quick fix would be to configure CONFIG_EFI_VARS_PSTORE=y
> so that it's always available.
>
> Note that Jammy and Focal have its own patch, due to different way of
> config setup. Focal needs to update the two files below.
>
> William Tu (1):
>    UBUNTU: [Config] bluefield: Enable CONFIG_EFI_VARS_PSTORE as build-in
>
>   debian.bluefield/config/annotations          | 1 +
>   debian.bluefield/config/config.common.ubuntu | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
>