Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp687115lqo; Fri, 10 May 2024 11:29:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRwQyB9RneUGbhsPjFE/I9C456w5vb8FZoZcPIASfy7VB2GT8xiyHaTRu3g+sC+rrTNeEo5iMQIeZSMyEuBT1sLdBDXqPkXYBFcinUkw== X-Google-Smtp-Source: AGHT+IEn+bpBC0EojHzLzQzPXGqyCTiPEBNkuKK35BXNCIGS6TRzd4cA70tYIrk6Y3DK5L37PC6N X-Received: by 2002:a05:6102:c4a:b0:47b:9fd6:233b with SMTP id ada2fe7eead31-48077eae71cmr3830968137.31.1715365781823; Fri, 10 May 2024 11:29:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715365781; cv=pass; d=google.com; s=arc-20160816; b=YIKd89vAFAKGIufy8pJLdmXkjSwgHMyb3id0wX3D/5EXS7DOWglBm6VVNvpQraiLv7 Kj18P5DCjm5Fk27iRWjy6r6gKLtboOTKdR9d1//A3UIDqte7pdaZQKxmym1F19EmTMCX QoVmnci7+f1/qEJx1dj4mPrRH/+/NyAS9fgP/cit7T0/ZLn/LIMp+LXP8einGbQ9t8V6 zdTlfPN4jfzQr1g2FJxuy3NLp9KV0cA2bzuPE064Pv9bh5MpWd/qttrsvAXklYTTcBqv BNlvGp4G5qnT0EUSYk/fu3emTZV6fhcZ8FIXrrLzyz4GEohzjr2Jy0s3oXms0LF/vMjh pYtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=A4aKdJv+GXjhmJVck0xZk4SxA4FMRyhRNdrsSEfRwe8=; fh=DtOIFzNuFe5jkVLMdGZb5Nc3HqhmExvKeAoxTcmwK9M=; b=kvB2Woy2+KFyl9TVhknNP3RZQpL5iAnicZHOT1T/TRrF41Yb5NPsOdV3AuGiBcHvk/ +X+vGroxITXEttEJNFxA1dkidMqNrZgTN1O/gpswYGXHAXGBrwNGW1pSZhFURleMd8W/ 5OH4Uemjng3pWW7ce4Y0fgjhmBnH0dHF/X59R1q0bvNh9+00bNWpsgvYNTZ3PPnO1i8K wO2LkeevF+QEUErnmEeVuYvNC/c6gpF+0V9iPhR7lL9KZnuBdav0EK5zcZMTcw+q6SDg B4OJsSQf3Z3gimWWl0N17GtWUUaocfaTNwuoM2jSuvypihyjejrZsWt3QTPuDQe5TX00 PzOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=iS9TWGmb; arc=pass (i=1 spf=pass spfdomain=flex--axelrasmussen.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-176100-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df549f6ecsi43112471cf.42.2024.05.10.11.29.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 11:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176100-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=iS9TWGmb; arc=pass (i=1 spf=pass spfdomain=flex--axelrasmussen.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-176100-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B16A1C2224B for ; Fri, 10 May 2024 18:29:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BCA63BB21; Fri, 10 May 2024 18:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iS9TWGmb" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D46429CF4 for ; Fri, 10 May 2024 18:29:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365774; cv=none; b=R9OkiRB6R6W4SB4FlN0VVawCCRaQnDn9UdKxkqJqyZ3Vp4PKkdV43YNegYbaMz1tQ+SwusvIWwZBMPsIa/z7g+tcF60NkCGH2P7JY9Gb5HlzHWRAgzcJIJ+EGa4s323NbWy2yanFwoMYSf7c8cBkMts5pgKf/0ZbSULMHKAP/bA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365774; c=relaxed/simple; bh=/ilr/2ns1waKekXdvvpwjHWrlHEH9ZBcNGzimJ7jUN8=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=JJ9idWSetjEsOj4Rh2HPttkW4BBG+Ew+4bWY5qegiYbgPNk7UKdZtVTJuwtZLZTe60AyZFi5XdzN1PwmM7uEfot8vF6kc6yTrFCCyxcVFibip8Sr4GA86tzCwsSrW5JupbEthiev9vx54fLm/Y6T4J9hruoKG/hUav6ldhcLSq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--axelrasmussen.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=iS9TWGmb; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--axelrasmussen.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61be530d024so38060557b3.2 for ; Fri, 10 May 2024 11:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715365772; x=1715970572; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=A4aKdJv+GXjhmJVck0xZk4SxA4FMRyhRNdrsSEfRwe8=; b=iS9TWGmbBTIbEUapJtkdRk8ydrpSZHHJ1xhvlYRQupciF7ZH34wt+QS4L6VL0vmcMH YD1+uuiSFqs02dvbI9VpxCPp+w2hOv17zZqyjEnsrgqPl6Ck1t7tYGQ89/dCMk5bCk3g 8KOCjPvykL8HiKNirZRZ3uvcqYHafreODlJ/Qb1f5dOk4yKFvpUbgzuZeIc5EON+xb0M Ud3bOgHwCokjUh0zQZSbCG2TwtGE6YXJDk807pY+d2V5x51CFEuLaef/oyLiFtcMRtdH Rv7w6M2h7tZTvWAlXTeDobLD/6jdCjcg6ZxxfH4w//VsxnrXktBb4/Wk/GR1ABDP8r1q DMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715365772; x=1715970572; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A4aKdJv+GXjhmJVck0xZk4SxA4FMRyhRNdrsSEfRwe8=; b=iyYgg2d4FVwhekL0G1yTdHctDwSAf14codS0JkF07tZkbt7xdyeT19YEe++o5gWxqz pCHHJdsQy4herzE3B+hYXQaDLPLAN8g2ZLkoopHz1xrVZISIMhKRf9amztvRdqTJpsWo FTuvJQ1zGK3W40bRwjHxGOayx+rxmSZhp2vgEEm8wxUJxZ4SWXEAKtQ5+2T7vLK3gbEp Q4WTQNY7xlNEFgRiZDheBCILkb07fuNeGWo95Nt+w/7lhD9vV7WuJlJKQop9AklSZcwG W95JdR87DE2AenurJVlKTUecYXjztLyM9MkZXkvFjO+CJ8CSxnaVKvutB6lf21QyEqsT NeTA== X-Forwarded-Encrypted: i=1; AJvYcCVQDpQEXWPEvXfkAjL45zo4+cmOhrtgC4fUj2iINCgemYo7E5/p4o5LsbHjilE+7qRYGIhUDfDaz0mDJv3Wlf3Z3413dRbSwa6ODQh7 X-Gm-Message-State: AOJu0YxOAcGgvXpoYzx2AqXmJZDCwzC4QwI/xpOY+oudE0vDbzISsIan uAdd6JbcSa8B9fUBUJhlzoMC2mHqFsq+ozF4BNuiNjF6wIhchl2bR9DBz3OHQg/BDbHoo2mLo7t hfmR7Ewcfb9JhBRoKdtuImhHf4jW2Qw== X-Received: from axel.svl.corp.google.com ([2620:15c:2a3:200:6f94:7fe7:5ca2:5501]) (user=axelrasmussen job=sendgmr) by 2002:a05:690c:6211:b0:618:8bdf:9d56 with SMTP id 00721157ae682-622afffb2b1mr8008447b3.7.1715365771987; Fri, 10 May 2024 11:29:31 -0700 (PDT) Date: Fri, 10 May 2024 11:29:25 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510182926.763131-1-axelrasmussen@google.com> Subject: [PATCH v2 0/1] arch/fault: don't print logs for simulated poison errors From: Axel Rasmussen To: Andrew Morton , Andy Lutomirski , "Aneesh Kumar K.V" , Borislav Petkov , Christophe Leroy , Dave Hansen , David Hildenbrand , "H. Peter Anvin" , Helge Deller , Ingo Molnar , "James E.J. Bottomley" , John Hubbard , Liu Shixin , "Matthew Wilcox (Oracle)" , Michael Ellerman , Muchun Song , "Naveen N. Rao" , Nicholas Piggin , Oscar Salvador , Peter Xu , Peter Zijlstra , Suren Baghdasaryan , Thomas Gleixner Cc: Axel Rasmussen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" This patch is based on mm-unstable as of 2024-05-10. In particular it needs this somewhat related fix to apply cleanly: [0/2] Minor fixups for hugetlb fault path https://lore.kernel.org/r/20240509100148.22384-1-osalvador@suse.de Changes since v1: - Rename flag from VM_FAULT_HWPOISON_SIM to VM_FAULT_HWPOISON_SILENT. - Rebase onto mm-unstable, to remove dependency on another patch which it appears will not get merged. - Update comments / commit message to mention swapin errors in addition to UFFDIO_POISON. Axel Rasmussen (1): arch/fault: don't print logs for pte marker poison errors arch/parisc/mm/fault.c | 7 +++++-- arch/powerpc/mm/fault.c | 6 ++++-- arch/x86/mm/fault.c | 6 ++++-- include/linux/mm_types.h | 34 ++++++++++++++++++++-------------- mm/hugetlb.c | 3 ++- mm/memory.c | 2 +- 6 files changed, 36 insertions(+), 22 deletions(-) -- 2.45.0.118.g7fe29c98d7-goog