From mboxrd@z Thu Jan 1 00:00:00 1970 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 5D5E6C47077 for ; Thu, 11 Jan 2024 18:24:26 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UOdBCalEL4QPMBwBIpPKnWlamL7pBGSJatCGmC1CGqU=; b=rPivdOW87ee88L XcgZsiBT04uJ4zV6cdkbzcvgpKmNPAIY2rqXPmFEX3wCJ0772q5P+Eiz3cBXANOJIw5NXReX9/h+K m8MUoHk6/pDUI9qgytjdnzRjvedklq/rv8NdSo2gBJ9j52B7d75PQA+AJNx4smFzjh3jFUcb/X2gR bgOi6VkgQReQu+/efk5cG9hupP2edXY4ccNMgLg7pErkAHU5XA17OYKLzlgtKBI3FCWalvtOWGV+j 6nQ9xwsG7zk3sM+ZFLo3TzgjN/R2p3ik6qTWx6m0/3Qb35wv1ZZ9cJI4eFic3AfUbg5eSIg66b1I6 cnHtAA6u7RrXPvsuMB1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNzif-000qQ6-0n; Thu, 11 Jan 2024 18:23:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNzid-000qOS-2q for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Jan 2024 18:23:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=erWBIThr9pC54q09KuNFGdP6PgPpSW4ZP4DGU/8aLhU=; b=fpGGp0OQu43JJmT4Nl9kb0xJlB b2Tu2nTq8aZ/PK4gvxF3m708OMGoQAgxSgPBjrK8XLpXG6uM07wi2NnfLCncfZn0oQFSip+862mDn 7V6ZtUBSo+FDT1m2UfXnGh4LUpqhmTCDe/iQx4bFCF6iO0xQJ/MIxZd+Ro4dcWhz2XaXvIhuPmQzS UQa0Db7NUWKOQIYAHHu4y5Sxnins83gELAPHaMSFmVfXXCZ1nBdfC2Dy3mWhHG8sgiy2z6GbDd4/d zlt5z4XXemsD0i2Y4ERHYXOXTLsBq6V7U7rXwJHl7l9ZZ7DFgW5eaR+9K6vkaLsfS6p+mlCtgSP9s PA31XpSg==; Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNziY-00APr4-21 for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 18:23:54 +0000 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-28ca8a37adeso4747809a91.3 for ; Thu, 11 Jan 2024 10:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704997428; x=1705602228; darn=lists.infradead.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=erWBIThr9pC54q09KuNFGdP6PgPpSW4ZP4DGU/8aLhU=; b=E/ou+8thEGapW8aAEQML2/AEw+Ce1aKoBJWNpvOBM23Yeicx6AnuNTgA1wvgALxBdI /K5OkDK5S6U9gQA9/FVHunFGzbSq8uFtkipys0jaQpYF8JWk9bL0JKt4qzlDis2Vef+J 0INBE4eeY9Kzhm+HNdhD5H6sJYD2Rrtxv9Yes= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704997428; x=1705602228; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=erWBIThr9pC54q09KuNFGdP6PgPpSW4ZP4DGU/8aLhU=; b=sAeV+hO6c71LHPFOj7yDQsxla5qgZsM3GTlgBq9O6B76LMWW208qRp9ec+TS26pOx5 eGfJpULbQfHz523nYdNAtNrKozM1Lv05FlTTqP/QqUn6zR65trIHmM1L/jn2MsaaQ8dK AwxnWBrKUilG7lVd6Uabuw9Ns9W5fIDCrXyC5eIR/xIdp3whgBiGpn7amEdK8lWGlt2H RB0V4MWm/oVVe4DuzT61QZhr+YlPiQxHrxg7kbs0gEHJTFPFAH46FNjCaSH6UsQ0z700 cKhe3w5zQnPNhcwpGZg1kL+jVxuVT4D0ZXZplbU7RNeH0/YwAPR5jhmr88x1F96Qoz71 GSfQ== X-Gm-Message-State: AOJu0Yz9WMGb+kIIJZ/0K1FObJJSoqnHeN3sFR//AIhWHbq7X6YFDGT5 ptG1X1knxtv9isJFoN8YDmqp9S+SxLsf X-Google-Smtp-Source: AGHT+IGvW0yIx5ljSzS3sufxQ/rHe6TAkzXMS6U3SJGZ0bBAabBRpnvyEKuj4PMv9IQKDknOw1i24w== X-Received: by 2002:a17:90b:3447:b0:28d:dbd9:e8e1 with SMTP id lj7-20020a17090b344700b0028ddbd9e8e1mr226082pjb.1.1704997428272; Thu, 11 Jan 2024 10:23:48 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id sl5-20020a17090b2e0500b0028ae9cb6ce0sm4282609pjb.6.2024.01.11.10.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 10:23:47 -0800 (PST) Date: Thu, 11 Jan 2024 10:23:47 -0800 From: Kees Cook To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado Cc: kernel@collabora.com, AngeloGioacchino Del Regno , 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: Re: [PATCH 2/2] arm64: defconfig: Enable PSTORE_RAM Message-ID: <202401111022.DAF55CF8@keescook> References: <20240110210600.787703-1-nfraprado@collabora.com> <20240110210600.787703-3-nfraprado@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240110210600.787703-3-nfraprado@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240111_182350_795543_A8F633E2 X-CRM114-Status: GOOD ( 16.71 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 10, 2024 at 06:05:03PM -0300, N=EDcolas 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=EDcolas F. R. A. Prado 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=3Dy > CONFIG_CONFIGFS_FS=3Dy > CONFIG_EFIVAR_FS=3Dy > CONFIG_SQUASHFS=3Dy > +CONFIG_PSTORE_RAM=3Dm > CONFIG_NFS_FS=3Dy > CONFIG_NFS_V4=3Dy > CONFIG_NFS_V4_1=3Dy > -- = > 2.43.0 > = -- = Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel