Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2555822pxb; Sat, 28 Aug 2021 19:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4nIRqY8sqPVDdXlJRrzEg/mUD+AUsQ5NAZt6nypflkGdExGVHyrRMzEdXwxZHSBFUi7kc X-Received: by 2002:a17:906:ae4f:: with SMTP id lf15mr17363459ejb.124.1630202756827; Sat, 28 Aug 2021 19:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630202756; cv=none; d=google.com; s=arc-20160816; b=OxOTDsnehx7GRB4kSBGavZObp/GkQpZm7d4P9GfmiAhdB3SpQHQeVpHGZVWrQxXYfb wZUzimJvijpU3s+6rFts3cbBui8AImkuzURtkhYrAwoYRgoh0Hd4i1l2KU4dYVrWBBZb Bdzk3mKnY3rjAU5KW8738Dl9fO9dq6bhbzItdAd2L7FO7KShCIt6BsBXXcI3VpS7ZRU/ ED8q6Z6ZH6CXUmmSJG4CuNg2sCYEP/+ZfaS2opfLCuuT+9Kdgz8QISAAIWCwcCpCYV/G jL1ZZZ4gqMBz3SHt2o08KY5arPCTTztD1WAr8cGtZxgr+spMMmoSPUvp1EobSJdZD0GV EBJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1D5EGfupOlC5GqXdjCeuhAggzcMXpUvnLDnEOSPMg0A=; b=whY/O88sGK/JoxJx/yaTRYt+31ad9VfhYbL0cQxKyZfvr6RNKSRDChZuIQBgPcT2eH z3D0mk6ZaqZ+VUokISLcXAydDWVwQhQcUZNpC+3VfoZKNmf8v/cRjLzgahG/ErxTCZlN wipXvq1WWfOt8r0IoX4ZKGXTs+NdmATbXxJr4QTQIwsCVRhHkxC25sO+43bdeXc1tYAh 0wQYdy85JGUABxJBpYCrQ1i/GUozlmnfork2xdHoJl6HKWDn0DqO51J8xV00narGSzPa NvGpzGsd0yj7+BPBR7thaGWosEEoNaRq4+Gv3LAAIkArYhKKK8zZiKlfuQl5jNQ5C8Es Xu2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=CfZFhe2G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si11578790edz.49.2021.08.28.19.05.32; Sat, 28 Aug 2021 19:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=CfZFhe2G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbhH2Boo (ORCPT + 99 others); Sat, 28 Aug 2021 21:44:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhH2Bon (ORCPT ); Sat, 28 Aug 2021 21:44:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C7BC061756; Sat, 28 Aug 2021 18:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=1D5EGfupOlC5GqXdjCeuhAggzcMXpUvnLDnEOSPMg0A=; b=CfZFhe2GiPX4PN6UO2V2uIqyF2 iD2aTOc8ot5LEr+95DYV24ounFidh6ICrJ73jJZaNHC7fh/pO0W4UOv+rwvHNNkEVN23atyiQ2YMj xE6DHWkD+sh+/g51kNKBoMHzu9HJO+PiOxZTfUDM6pNFfJPM88G5hsktwBuu7UGlxKstcT8mf7Kq+ N/Pn2bA3BwRHppMZvfKDafduCD4/AHMKQn40Hun2qtnIwoJxup+1gJ5fR5Af/ngzGx3iQn9o2X8dQ 2sAOBSHG5iS2sSQOR0mrPLgmGdX6atdTdIHNouIFd0vktF/CHHLyCnpKoO3WDTpYrBfHwTbundNSD mhwV3AGg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mK9oh-00G4HC-HA; Sun, 29 Aug 2021 01:41:13 +0000 Date: Sun, 29 Aug 2021 02:40:59 +0100 From: Matthew Wilcox To: Tony Luck Cc: Al Viro , Thomas Gleixner , Linus Torvalds , Andreas Gruenbacher , Christoph Hellwig , "Darrick J. Wong" , Jan Kara , cluster-devel , linux-fsdevel , Linux Kernel Mailing List , ocfs2-devel@oss.oracle.com, Borislav Petkov , X86-ML Subject: Re: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable Message-ID: References: <20210827232246.GA1668365@agluck-desk2.amr.corp.intel.com> <87r1edgs2w.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 28, 2021 at 03:20:58PM -0700, Tony Luck wrote: > On Sat, Aug 28, 2021 at 3:12 PM Al Viro wrote: > > BTW, is #MC triggered on stored to a poisoned cacheline? Existence of CLZERO > > would seem to argue against that... > > No #MC on stores. Just on loads. Note that you can't clear poison > state with a series of small writes to the cache line. But a single > 64-byte store might do it (architects didn't want to guarantee that > it would work when I asked about avx512 stores to clear poison > many years ago). Dave Jiang thinks MOVDIR64B clears poison. http://archive.lwn.net:8080/linux-kernel/157617505636.42350.1170110675242558018.stgit@djiang5-desk3.ch.intel.com/