From patchwork Thu Oct 13 21:06:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guilherme G. Piccoli" X-Patchwork-Id: 83 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp483097wrs; Thu, 13 Oct 2022 14:12:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FGdWy01XDDnth8GzI2YpYdzuP6waOzA95Zw6SNnIcnlqf7+Z4ZxD3mdYpQKXHoi0bpO35 X-Received: by 2002:a17:907:2d1f:b0:78e:174d:2ce0 with SMTP id gs31-20020a1709072d1f00b0078e174d2ce0mr1224088ejc.638.1665695527039; Thu, 13 Oct 2022 14:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665695527; cv=none; d=google.com; s=arc-20160816; b=deivx8Jytq63ZuRPzuPWKWcN1KuvfpDzAs/935d5YcjR8UicRtAbONXBWfkySl8xtX 1vCafMnGQ3qxJSm+GrlN1gGfA/kwEkSFOg4DIbDg0IVRIrrOTXVinFfnR/k/Jm57PxN7 tC1gHhtlV3/drR3KgSd3GJy8k80CoJrREZhJzlojisieUtvGAXsYAzdGNBAs37IuB0GR eDtLhgrib8am2/7jmw2AyRMEkzT26WkE3qSxQ2rjbdVUDEQnhTnCT1r3YO9Qql8EnW9H 7eFWvEFK7PYWK3RhqS9u9Sjr3ARgVCKnsSg8cTmHHf678WBf+dYgPvdCPvNZTgiSIQUW PQjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tRw94o76Jt1YDr6z4Zx8zuKiI+Bw9m67g8hCPngyLQs=; b=sh/KlljZBxtT+K9MI1Zq5KiSz+l8s40xKNVAAhe8CkWX+HOUT7q9abycnjETGT/4ij gv6v1ICvXeL90kLRLUz858dMvydK2lC3VuQJgKCHrNHOKFwbrmPKkqouI5D26uYUKemL uBPEguwgmCK7Ju8HwGj3quIfUBtfoRdE8YkOJtRDtFiJWn7vdjox8fXEjKhNDklNl2fa 26v0JigJBthiTmOLB4X2tXd2+gF6QBuwkJ1h7Bemb7nJ/zKHz2gVaH44rpy4G1LtL+UV RGR6o9nXZzGu2mINNrXxuZh4qfkqlYPIb1ltCU7B5/jQAw5E5xbXTt3xe/kKogDqNTn1 lIag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=LMUJeCEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm10-20020a170907948a00b007825892f9edsi626093ejc.656.2022.10.13.14.11.40; Thu, 13 Oct 2022 14:12:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=LMUJeCEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229550AbiJMVHU (ORCPT + 99 others); Thu, 13 Oct 2022 17:07:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiJMVHR (ORCPT ); Thu, 13 Oct 2022 17:07:17 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 029D4183DBE; Thu, 13 Oct 2022 14:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=tRw94o76Jt1YDr6z4Zx8zuKiI+Bw9m67g8hCPngyLQs=; b=LMUJeCEMyRlUbeAPvkVlgfgC3Y J0ImZQLdztclRIrtZRhNYcKGSCwf4jHxzGBcFk8GyL3JEHA3yfS/w51khU7KWKiV9JnQSMU0J4Zz0 07NslbqgGAT4K1jUekF8KsqsLuA2w+WPRuTssnlGsfGwBn1w1nQ0Z0yJe4bTB/1VojJLJLEQ+GxLS KHBxtg2zEkrwKNi5TopwhRC9n2b4tOpqrxqT9d6NYZUO8Pka9EOc1+51IdYpgdezmONL/+NcdusnB BzFRbZ/dt1nupkRAyUF+eez1g0NGkcDT+cAzPRo5lmbUgYN6ZTF6ZJ0PJpfNIWgeYXoCE1voaPxUE JxNGhq8g==; Received: from 201-43-120-40.dsl.telesp.net.br ([201.43.120.40] helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1oj5Q1-0010sn-R8; Thu, 13 Oct 2022 23:07:06 +0200 From: "Guilherme G. Piccoli" To: linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-efi@vger.kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com, ardb@kernel.org, "Guilherme G. Piccoli" Subject: [PATCH V2 0/3] Some pstore improvements V2 Date: Thu, 13 Oct 2022 18:06:45 -0300 Message-Id: <20221013210648.137452-1-gpiccoli@igalia.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746608352997212857?= X-GMAIL-MSGID: =?utf-8?q?1746608352997212857?= Hi Kees / Ard and all pstore/efi folks, this is the second iteration of the patchset with modifications in some patches, one patch dropped and applied on top of the first 3 patches in the old series [0] (since they were already picked by Kees). I've tested this with QEMU guest using OVMF and both ramoops and efi-pstore backends. Reviews and comments are greatly appreciated! Cheers, Guilherme [0] https://lore.kernel.org/lkml/20221006224212.569555-1-gpiccoli@igalia.com/ Guilherme G. Piccoli (3): pstore: Alert on backend write error efi: pstore: Follow convention for the efi-pstore backend name efi: pstore: Add module parameter for setting the record size drivers/firmware/efi/efi-pstore.c | 25 ++++++++++++++++++------- fs/pstore/platform.c | 10 ++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-)