From patchwork Fri Dec 23 18:38:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 36322 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp460247wrn; Fri, 23 Dec 2022 10:42:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXuadm1F6EnFhqccVzWtr68ONPwIE7rTkO/mCsUDBV6sdX2o4ribRifUgLEb/fmrenPfDnzT X-Received: by 2002:a17:902:ec89:b0:186:b063:32e with SMTP id x9-20020a170902ec8900b00186b063032emr15493784plg.62.1671820935749; Fri, 23 Dec 2022 10:42:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671820935; cv=none; d=google.com; s=arc-20160816; b=G1BT7Ka4HrTx8ppfG/+Bn7ny/r53HOjbqxc+XRM2j2K/qv45HkcGldp4Ngz/4if2Vr 8gEbeF9ivyMWRQ4GK+GdNWSK3Zj+4tNLLWceMMmydonhmZwzBsOzW9BkHrLHwSY+TtmX Y5v3sWPlqZ3z1usDJuU2trrprHCkyQwLZZtOwv1BUh9qu6ErYG5RRpzen8H/irfsyFFi 7MACazaT04M4P2bXYaric7bfvPE+IwnMAmNwF8LLJxRqNaNIXiCelHtyQpZanGJE3qa1 lUvX2amI/mJAzVzvF1AQWPM2+k7wRO9xjTlIdUKAhoLf5PKnw9lrK4enpWpNDsCj/sfv hKYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=CW9ynGpyjmuCezhF9Kq7f7NKurQgILbHoK/L47Sljak=; b=EAlfke5vJGYP43hG2+GMf223aOoZz2Mx7SckMnThdl+9kLN1587n27ihLDkZX8fGvS cfszc9sDhD3+GhdxXYyiESZstby1jxy7jgo/d+hTbdIJ0rvsuboKd91EbbofAV99RYhi Jk8bve6ko9Fu4Tjb9GgGKd+yn9A+rfCo3xpaH6dsMKpvw+hpAesLE4btTnbPsj8saWlp t9xzC92euATyspBm9B7uhIlxtFCiA4Oc4O+RJp8T76B2KFxFAYkMh6C1Mqigs+z8OohN 1IeEM2PZ+jO+tpOzFGxrco0eVw40V+lEiHFP4212ZuuWXN7gWlW3D/h16envfRCfZ/M4 bH6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Tg+yTmrU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a170902eb8a00b0018863dbf3b1si3952995plg.284.2022.12.23.10.42.03; Fri, 23 Dec 2022 10:42:15 -0800 (PST) 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=pass header.i=@chromium.org header.s=google header.b=Tg+yTmrU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231214AbiLWSiU (ORCPT + 99 others); Fri, 23 Dec 2022 13:38:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbiLWSiS (ORCPT ); Fri, 23 Dec 2022 13:38:18 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72F2C1572D for ; Fri, 23 Dec 2022 10:38:17 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id 6so1080692pfz.4 for ; Fri, 23 Dec 2022 10:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=CW9ynGpyjmuCezhF9Kq7f7NKurQgILbHoK/L47Sljak=; b=Tg+yTmrUOpub9jPzeOSe/knrEZ6RY3m9OQ5CK6BDl4jQKCl6Q+hnVuatiSQPkW3rPp 48SrWGvZK6bcFcbAM0V1l5XeI+vADV5TFkpscYA4JxxWNVmi1d4Yq3MMRlFhA4fhdnIR 2TTXWuQyrnThJzg2nf/7WyB4vXTi9I157zx7E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CW9ynGpyjmuCezhF9Kq7f7NKurQgILbHoK/L47Sljak=; b=F97mnlJZCs0p+xkGCkLlLz+WU1+Uymhdnn39is8jdFiFzHxgMK/faaAl+wR/knUCEH /+6VuJGCbc0fRDvmiePtDzAh9tdf1TKQApf11Re7P0MdgvWuv//4Gh/b4REcaNnikBi4 EcYIgC+jIfVGzhgJrIXqJT2QGGfc7UGxs6r3oiKC046eXuiCkCoNQOCgYcQcSIHe8oCI a+uUEGxxi5J9y/LJgr5EX4DWlJpfPPYWQVRAP2vVFzgGyEB/11a7JP6bm4UufpSdy7Om ObPqQ0lf+8MtIZF4RG9izKeHx7pRzZFtfGN9fZQPIXRXFrD9X71+BXMIATdZ9HuX9ZFF AH9Q== X-Gm-Message-State: AFqh2kql7NImtgiqrCILhdG6QbLL7V9kX5B4tO57eMZI21D0ejffRiVq sbTaC/mGDHbjFj7C+1qfq8sdrA== X-Received: by 2002:a62:1c52:0:b0:577:ac84:cf8f with SMTP id c79-20020a621c52000000b00577ac84cf8fmr11560802pfc.34.1671820696951; Fri, 23 Dec 2022 10:38:16 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i184-20020a6287c1000000b00574ee8d8779sm2843186pfe.65.2022.12.23.10.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 10:38:16 -0800 (PST) Date: Fri, 23 Dec 2022 10:38:15 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Anton Vorontsov , Colin Cross , Connor O'Brien , John Stultz , Kees Cook , kernel-team@android.com, kernel test robot , Luca Stefani , Midas Chien , Tony Luck , Wei Wang Subject: [GIT PULL] pstore updates for v6.2-rc1-fixes Message-ID: <202212231038.955181AC@keescook> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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?1753031309741289525?= X-GMAIL-MSGID: =?utf-8?q?1753031309741289525?= Hi Linus, Please pull these pstore fixes for v6.2-rc1. Thanks! -Kees The following changes since commit e6b842741b4f39007215fd7e545cb55aa3d358a2: pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP (2022-12-05 16:15:09 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v6.2-rc1-fixes for you to fetch changes up to beca3e311a49cd3c55a056096531737d7afa4361: pstore: Properly assign mem_type property (2022-12-23 10:34:25 -0800) ---------------------------------------------------------------- pstore updates for v6.2-rc1-fixes - Switch pmsg_lock to an rt_mutex to avoid priority inversion (John Stultz) - Correctly assign mem_type property (Luca Stefani) ---------------------------------------------------------------- John Stultz (2): pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES Luca Stefani (1): pstore: Properly assign mem_type property fs/pstore/Kconfig | 1 + fs/pstore/pmsg.c | 7 ++++--- fs/pstore/ram.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-)