From patchwork Wed Jan 10 21:05:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13516570 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 31260C4707B for ; Wed, 10 Jan 2024 21:08:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TTcUgfKzAT3MvAa4E9NJ2V7DMk5lpJ7vIDhoYIJ5Mk8=; b=Mc08yjxra7Z36K hGg56uPQZQeP44UczCpFhmls3SMn9gURKJ1KJwGGg5SReYDY5eX1ypGyC7zGXryHCAjAA/vavy48D 4BT2rXkGxcbgP1f4Q/Jy3+Nr3PWaS0x1QMZG0C9bAKh4eyaTF5kfVOmDo0fbpRVolMHtKL4f8YJMj Cz+WNwYBi0ove7hURB5ZcYZ7/8oeQfeRo5LF+1mP9gQb7a+y6SLSjr456KHyC1RBllqKAAOQKyYll SdWY7V4EHrmVw+gv9khQ3K5H5f8W01de/xbJQkR3AirBgZmkJo3fU3YIV66A9C4xecvntg7UcuYHO xqOlXjqL4lB6sRoLCsYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNfoK-00EBZe-0E; Wed, 10 Jan 2024 21:08:28 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNfoD-00EBVZ-1E for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 21:08:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704920900; bh=noDFINTUJw7LAeahmfm3fQbOwo432AdB3LzyaJ+7kRs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fATdJl5Obq39/BQX/tzMPIr9P1qEn2ATIxmvZ12H1B7w2KNZ6XkA7mq7STR8tszwD 3VsWoUuKq+O4JRpj38WWpljzEGFDwHwGMH0H1LDrYS0tGZv+yvTro8mk9YVbXV0map XK2UdZ/Ryu7R9D/bq8Eh8GHSdPmnOSmtOFTF96mnnXo7+SHPxGEo2+e+284jSOK0O4 /qRyBTuDTz9FaESOA6TqXMi07k5A8B+0PInSYOLB8X3OEZHQJ8XahsKWyNGIdydVuz f2fxWMe5elCLj8EYlhErwL5SOqLMtHj/Jt1weedGa1IhePKoncPQZmCJQ5xySYeaiP EaE0Bv9x0wC+g== Received: from localhost.localdomain (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E6D8D378148C; Wed, 10 Jan 2024 21:08:13 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Kees Cook Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Arnd Bergmann , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Geert Uytterhoeven , "Guilherme G. Piccoli" , Konrad Dybcio , Krzysztof Kozlowski , Marek Szyprowski , Neil Armstrong , Tony Luck , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: defconfig: Enable PSTORE_RAM Date: Wed, 10 Jan 2024 18:05:03 -0300 Message-ID: <20240110210600.787703-3-nfraprado@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240110210600.787703-1-nfraprado@collabora.com> References: <20240110210600.787703-1-nfraprado@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240110_130821_555784_64DD6E6F X-CRM114-Status: UNSURE ( 8.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: David Heidelberg --- 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