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 X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C357C48BE8 for ; Tue, 15 Jun 2021 21:21:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3091F60FE8 for ; Tue, 15 Jun 2021 21:21:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231444AbhFOVXf (ORCPT ); Tue, 15 Jun 2021 17:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbhFOVXa (ORCPT ); Tue, 15 Jun 2021 17:23:30 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C2ECC0613A4 for ; Tue, 15 Jun 2021 14:21:25 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id mj8-20020a17090b3688b029016ee34fc1b3so500064pjb.0 for ; Tue, 15 Jun 2021 14:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PfwRUU7eVNZsvc9b0Pp6xofj5lHce4If1zuLClVqHds=; b=k41872DXg9wkp86KhOxBvcu0Ci6VIoYHAyuQo8qqIykaP05jTvRdRw2iM4HROlZWB9 v/xBFRgNloNRzQQcKx3HdBPMzLzERLP/q43nxD2Z3VGshkG8KI6qgVYIawdS4aeRCUUN QY+xm4+6E8MDYk5JQid0hjit2pFbHdVbRZWXI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PfwRUU7eVNZsvc9b0Pp6xofj5lHce4If1zuLClVqHds=; b=nkQ8R8VOkmXcq96CCh0Uh4EU8QQ9ZBuWslMk64rib1KZgoI1VGtlYml7oPtw3RKEIr 2/jGFroeGROWyX0iA061+uX1YtFV8fRT6LXNjIIfgt/OSfgQKJQyc8TitgsUSSUrY8Ho dqJO7oo07xVHIHxoRg6ts0ZhRhPW0wEdfseYQ0ml4omSO6lPwqmTh7k4jiYIRc5dq9zi FYhO0ecpGx13dUaoYLB7ZK/00FPWLgugSu6MoNL7qFbayx3N9+Z46c8KKcPreryLdVJC WRmbClsatWMcOgTQDCx0v9EzR+eA104OhAFPfiXN2sqNfTQD/kNN8u0t5dGTN2q+7Ehl zvpA== X-Gm-Message-State: AOAM531GfO2vGugPuCsY2Y6anfH1LO1iaaC95BnONAk4hyInYH8ltXs3 VmOdZTPK75tG9VHBhn2gSJn9rA== X-Google-Smtp-Source: ABdhPJxpvHbLjArJ3owM3JpRLH76Noir2n39FVfDmLx1tALshgWOs9Zy3GRdpG3sW+GGql2IjG+4vA== X-Received: by 2002:a17:902:7c05:b029:11c:1e7d:c633 with SMTP id x5-20020a1709027c05b029011c1e7dc633mr4646731pll.48.1623792085105; Tue, 15 Jun 2021 14:21:25 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id v9sm96686pfn.22.2021.06.15.14.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 14:21:24 -0700 (PDT) From: Kees Cook To: linux-kernel@vger.kernel.org Cc: Kees Cook , Christoph Hellwig , Al Viro , gmpy.liaowx@gmail.com, Anton Vorontsov , Colin Cross , Tony Luck , Jonathan Corbet , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-doc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/4] Include zone in pstore_device_info Date: Tue, 15 Jun 2021 14:21:17 -0700 Message-Id: <20210615212121.1200820-1-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi, This fixes up pstore/blk to avoid touching block internals, and includes additional fixes. -Kees v1: https://lore.kernel.org/lkml/20210614200421.2702002-1-keescook@chromium.org Kees Cook (4): pstore/blk: Improve failure reporting pstore/blk: Use the normal block device I/O path pstore/blk: Include zone in pstore_device_info pstore/blk: Fix kerndoc and redundancy on blkdev param Documentation/admin-guide/pstore-blk.rst | 14 +- drivers/mtd/mtdpstore.c | 10 +- fs/pstore/blk.c | 371 ++++++++--------------- include/linux/pstore_blk.h | 27 +- 4 files changed, 141 insertions(+), 281 deletions(-) -- 2.25.1 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 X-Spam-Level: X-Spam-Status: No, score=-11.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23846C48BE5 for ; Tue, 15 Jun 2021 22:52:27 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D5F0A61246 for ; Tue, 15 Jun 2021 22:52:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D5F0A61246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=LneTOdsQ9J7d/039tiuh+NI1ijThCUbgH5JlFpPrpk4=; b=PE75/6rVj1/6Rd r8R4gQwsWQwIB+5u1CEyav5L4uIGgKFeK2bMo4z1gdgUqCSgpzZfvImUIYRg++GUW9k6l7TYzgcPu VfQhV6ivhcjd1g/GhzoZN/emaGlotwDIB72QypcJdKAvAHpKDEDJQmZ6Bji5CfvBTNRdTmWpk/sA5 VqiYBHQm/HTMSX3QQBUPveoPZ6ph1+6TGqZiI3UvsSLhkUB4Ap7p8CNezjbNMJOwHEoho5i4HJvz9 VkSX1qqz20r+Bjz9jT+0RQZUKdzNjRjNsLu2p53P8X3M8t+RnsC075djzenl9BZA1rIxCyd8EC8qQ PXUXqj7DRCZTBtyA/OQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltHuO-003hj2-0w; Tue, 15 Jun 2021 22:51:48 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltGUw-0036iB-Kp for linux-mtd@lists.infradead.org; Tue, 15 Jun 2021 21:21:29 +0000 Received: by mail-pj1-x102e.google.com with SMTP id 13-20020a17090a08cdb029016eed209ca4so478267pjn.1 for ; Tue, 15 Jun 2021 14:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PfwRUU7eVNZsvc9b0Pp6xofj5lHce4If1zuLClVqHds=; b=k41872DXg9wkp86KhOxBvcu0Ci6VIoYHAyuQo8qqIykaP05jTvRdRw2iM4HROlZWB9 v/xBFRgNloNRzQQcKx3HdBPMzLzERLP/q43nxD2Z3VGshkG8KI6qgVYIawdS4aeRCUUN QY+xm4+6E8MDYk5JQid0hjit2pFbHdVbRZWXI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PfwRUU7eVNZsvc9b0Pp6xofj5lHce4If1zuLClVqHds=; b=bOY0VRaDAORLockba0Zp+j9TVa+jmPmHJplVmEz5vdVU7M4VI2PtQZdz8QfquRY8Dy 4A5LzCsv2rlK4QHlTqu0UVxcyeYxvOPsyWh1xGvlPtXVuXVR8ILEG92kqc4jdJWNJus2 H34cN6lqW3vgtzWGe9KtWtgZlo6vonG75/GywmxMT3NLyzXBRltMw91i1p1qC0TwogRx LGLSmCHXfeX5QqIEUj7WWb2Y8donHufa2Yrg1FdvK3ZfSxtFjkXrDXi2knp2olbgjNzD 3fI7pEKv0XwRg10FFQMsQBq7y8J5Gpe1xsO338GFcfCfpIAZaZ6AwTXMvYZISMciE6fl RMKw== X-Gm-Message-State: AOAM532tE75ALiNUXO95wfy0HzkONFE1fs85KDDY1eZ/5Xoe5wISMJT6 kWybHSHS8UKnDEAm98acd5REbg== X-Google-Smtp-Source: ABdhPJxpvHbLjArJ3owM3JpRLH76Noir2n39FVfDmLx1tALshgWOs9Zy3GRdpG3sW+GGql2IjG+4vA== X-Received: by 2002:a17:902:7c05:b029:11c:1e7d:c633 with SMTP id x5-20020a1709027c05b029011c1e7dc633mr4646731pll.48.1623792085105; Tue, 15 Jun 2021 14:21:25 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id v9sm96686pfn.22.2021.06.15.14.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 14:21:24 -0700 (PDT) From: Kees Cook To: linux-kernel@vger.kernel.org Cc: Kees Cook , Christoph Hellwig , Al Viro , gmpy.liaowx@gmail.com, Anton Vorontsov , Colin Cross , Tony Luck , Jonathan Corbet , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-doc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/4] Include zone in pstore_device_info Date: Tue, 15 Jun 2021 14:21:17 -0700 Message-Id: <20210615212121.1200820-1-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_142126_752030_FE1BC12C X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org Hi, This fixes up pstore/blk to avoid touching block internals, and includes additional fixes. -Kees v1: https://lore.kernel.org/lkml/20210614200421.2702002-1-keescook@chromium.org Kees Cook (4): pstore/blk: Improve failure reporting pstore/blk: Use the normal block device I/O path pstore/blk: Include zone in pstore_device_info pstore/blk: Fix kerndoc and redundancy on blkdev param Documentation/admin-guide/pstore-blk.rst | 14 +- drivers/mtd/mtdpstore.c | 10 +- fs/pstore/blk.c | 371 ++++++++--------------- include/linux/pstore_blk.h | 27 +- 4 files changed, 141 insertions(+), 281 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/