Message ID | 20240110210600.787703-3-nfraprado@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Enable PSTORE_RAM as a module in the arm64 defconfig | expand |
On Wed, Jan 10, 2024 at 06:05:03PM -0300, Nícolas F. R. A. Prado wrote: > Enable PSTORE_RAM, that is the ramoops driver, in the defconfig, to > allow logging and retrieving panics and oopses to/from RAM automatically > for platforms that have a ramoops reserved memory node in DT. > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> ARM maintainers, I can't speak to whether you want this defconfig change or not, but if you do and pick it up, please feel free to also grab patch 2. If you don't want this, I can carry patch 2 in the pstore tree. -Kees > > --- > > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index d48659217bb4..0b0ef6877a12 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -1589,6 +1589,7 @@ CONFIG_HUGETLBFS=y > CONFIG_CONFIGFS_FS=y > CONFIG_EFIVAR_FS=y > CONFIG_SQUASHFS=y > +CONFIG_PSTORE_RAM=m > CONFIG_NFS_FS=y > CONFIG_NFS_V4=y > CONFIG_NFS_V4_1=y > -- > 2.43.0 >
Useful stuff! Reviewed-by: David Heidelberg <david@ixit.cz> On 10/01/2024 22:05, Nícolas F. R. A. Prado wrote: > Enable PSTORE_RAM, that is the ramoops driver, in the defconfig, to > allow logging and retrieving panics and oopses to/from RAM automatically > for platforms that have a ramoops reserved memory node in DT. > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > > --- > > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index d48659217bb4..0b0ef6877a12 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -1589,6 +1589,7 @@ CONFIG_HUGETLBFS=y > CONFIG_CONFIGFS_FS=y > CONFIG_EFIVAR_FS=y > CONFIG_SQUASHFS=y > +CONFIG_PSTORE_RAM=m > CONFIG_NFS_FS=y > CONFIG_NFS_V4=y > CONFIG_NFS_V4_1=y
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d48659217bb4..0b0ef6877a12 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1589,6 +1589,7 @@ CONFIG_HUGETLBFS=y CONFIG_CONFIGFS_FS=y CONFIG_EFIVAR_FS=y CONFIG_SQUASHFS=y +CONFIG_PSTORE_RAM=m CONFIG_NFS_FS=y CONFIG_NFS_V4=y CONFIG_NFS_V4_1=y
Enable PSTORE_RAM, that is the ramoops driver, in the defconfig, to allow logging and retrieving panics and oopses to/from RAM automatically for platforms that have a ramoops reserved memory node in DT. Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)