Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp91666lqo; Thu, 9 May 2024 13:39:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTQkLm6Aq87D2FIzRMfQ+NeGnXtqhY3yUMvrk4JUedTE/BfW+P3kpKiI05+Wx0yo9KOF3dpcjBkFEn2NQxIUNxnv3Bwa0wMeCyqel1JA== X-Google-Smtp-Source: AGHT+IFcltBnEr5sUzCc2MnrS0uh7R65dhE6mpWn8rEuh4KG0zYf6u0B/oF8QLaglmTEaOzEA8Tq X-Received: by 2002:a17:906:b097:b0:a5a:15b6:25ab with SMTP id a640c23a62f3a-a5a2d665454mr37176566b.61.1715287161018; Thu, 09 May 2024 13:39:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715287161; cv=pass; d=google.com; s=arc-20160816; b=HiSCjU45Z/51kkcy6rgngA7Ol2kkKv4legwxOuj8AzSsdUiEk2DQ3pux8H/mzKW0s/ AWdkxAd37p5BxKzQx7XKewNXDwomGoTsCJFERSPeC+n59DDHuaL4Vo7nuDqNe/49XDjH bNTHNs5ZJYh2PKWgOh0Izc066dV45z2Mu1wEO2go3EwP6qe4mH/7WY/ZuZoLaiSeI0kl /nHfzV3+tR8AewbEMmEDor1jP4dLQdn4qDTDfhiBfEJ/T2mJ9zkEGIxdcga+wrrk1HAS 4nrccYWSzutXOoMW/puiAcR9jDwMyVXhrg5oN2I5sWdeH4vJQw6Uv/UgPP8JNOYjZQ7h SGCg== 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=8H0foUzLc+DNKUibRdC2bbcsFy9WZnKfOBJjcXN9vjM=; fh=Qh2dD/HWTm5eDBxcPvQeQoNdFrsLrb/oiOoa2WbUQhk=; b=TcnoOypFAjqXWIIDwryAjr/gXw6YWTJt4akO+if6oQ2KRTfML1wQI/WVlUAi/6AZu0 jAksmWe/6u+ajF6BvTycZFHTnzVXIq2qL5e6K9wfHAGsT/LJknMWd5OfmxhKOWYPlR2i tD+7NTrzSHOD400UElYCtKKR2FINKGTYKbPXsF2OUIqVqLZJBjgTA2o0Rb5XRj/KaNa4 uz5/5MFwMIhFO9pORowVbp/aCsKoz/pnqi73UvPQiHHOHDJbjgBueM2ps09Sjww2auw9 4PjYuzEvs+J+UWvVsp5h1AlA8OIbJJkNTz+tM5v2aAPpMZ/jsrvxGkcSY+VDD8y5s2YC J7IA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vNJnzrOL; 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-174937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c043e2si111764466b.895.2024.05.09.13.39.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vNJnzrOL; 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-174937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174937-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BC1EF1F215C2 for ; Thu, 9 May 2024 20:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 303A980022; Thu, 9 May 2024 20:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vNJnzrOL" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (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 EC3C578C98 for ; Thu, 9 May 2024 20:39:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715287154; cv=none; b=PETkZgSKlra9xIf5daTAbt7ZLLKCv1f2E/XaznE1eSxfAu2yg0wv1li4BE5NXITU+UyVj5BY330CN1OyonbxXSLKHADj8a9YTvn9M0vhP4ZvqKwQ3AqLIxEA3Ru+fmpokVximpBzJMcxhHr6VInQIzN0ZqgmLHtWxrDIuDF5pN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715287154; c=relaxed/simple; bh=OFtfeZMgbGqPFPCcL0g1X880SGx7GmE9rDbCocfF/LE=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=IYGGJTW3phKlFtv83XkEADenhzrGfmcFzG2PkuQ+kf2ZnImaJuPmhu9BCWTJ41+erG7dBf53CeVwwLmmTIcTWOFtxTKRnLjzT38wg6SXDg9WdDe8s3brVADQyLfYhui2aCKld307a+qhRpVxtJhnAikL8n9CCRvnbRtEaKYlCHM= 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=vNJnzrOL; arc=none smtp.client-ip=209.85.219.202 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-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b26783b4so1776963276.0 for ; Thu, 09 May 2024 13:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715287152; x=1715891952; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=8H0foUzLc+DNKUibRdC2bbcsFy9WZnKfOBJjcXN9vjM=; b=vNJnzrOLy9dtBOv0ba9LKcFPEXHLb4vETgVR1+DEnxWA/2Llp7054SwpVxOLMTmmch yrgmndLe62SmbpnRH4RUmyezYwCTxXBMzKF3reMCANWkNbsCxb3Auc8PKLsAOSUFSf1A KkG0PRBghKW285bglVQrD5gaNbQfMFoh0PMyWJNp5LzZHtzBSJxyGWTdVx1YdcA74nex zfePHah3PkGaorYayqFAkEK9HcUuXk8yaEqSsKMwZ3D1HaGsrH7nXH9cPvRXk+85/40m NB4WWBWgKorq3JwwPq83xH3zeRrvG7JcwqFioXglU1mS3zok1r72/MNjzmGo6+bb5g72 KQqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715287152; x=1715891952; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8H0foUzLc+DNKUibRdC2bbcsFy9WZnKfOBJjcXN9vjM=; b=naq17/l0Mxf2qC3U5ymzDO0VGahBu73RpRF14Dsh4Zqs3nv90TA+HMH5w7qb31RcxN k8egsuu/U8ffNLieUQr6o+xc+GGohqksUMR7BYtWuGuCG3D8Gayk5f3F1friTiTHBVSK uobYZWtx3MiR9Ag87EN3wXkHFalz5UoGxlFKyNxBgk/Hgq62GyugRAMN2aTJLgJJFK0n d/MOEKSJytbDkYd25QVfbA4fNjcm6PsvQU41iWetnEAQHz65SAydTeDD6kdc5KaSYzVP l6gxoVzm28BlPcfZrUiObDL5AANYPDmhOxJMsMvmzQfuzLgKsUfDSqFPxkJ9kZ9HvUuq ALvg== X-Forwarded-Encrypted: i=1; AJvYcCUkiIO17EVT2P3skYN5gJBdh04S/8P6+/B/V/p8UnD7pqsjD+fLs/tx/SqHbCRmQJ1DPehppX32vMtrRrGxJvW6fdAaV+f2fue6n/pf X-Gm-Message-State: AOJu0Yzka5lzBf3TDirryZwoJYLO0+R2zykuj51SKHzZDbvJbZaCSifp F29P5gDjZHl05IICdfOjnaqAtL5AwZxf88eLzIuk2CoDx6QwSEqs+wVYk8u+7zn3NdubeVHoMGB TXD9+CKiR6j/I6cZcxW0ov5fFXmla8g== X-Received: from axel.svl.corp.google.com ([2620:15c:2a3:200:22b1:9c9e:3544:83b8]) (user=axelrasmussen job=sendgmr) by 2002:a25:1982:0:b0:dcd:2f3e:4d18 with SMTP id 3f1490d57ef6-dee4f364f84mr62533276.12.1715287151918; Thu, 09 May 2024 13:39:11 -0700 (PDT) Date: Thu, 9 May 2024 13:39:06 -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: <20240509203907.504891-1-axelrasmussen@google.com> Subject: [PATCH 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 expects to be applied on top of both of the following related fixes: - x86/fault: speed up uffd-unit-test by 10x: rate-limit "MCE: Killing" logs https://lore.kernel.org/r/20240507022939.236896-1-jhubbard@nvidia.com - [0/2] Minor fixups for hugetlb fault path https://lore.kernel.org/r/20240509100148.22384-1-osalvador@suse.de The latter is in mm-unstable currently, but the former is not (yet?). It would need to be taken before this patch for it to apply cleanly. Axel Rasmussen (1): arch/fault: don't print logs for simulated 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 | 5 +++++ mm/hugetlb.c | 3 ++- mm/memory.c | 2 +- 6 files changed, 21 insertions(+), 8 deletions(-) -- 2.45.0.118.g7fe29c98d7-goog