Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3706285pxb; Mon, 30 Aug 2021 08:46:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaIdbDysmcgRgBSylo4MXCXfP85WaqdxC+RDZ2GpMYtfQTkqGNCvTxC1s2lwH3UVC/bpYm X-Received: by 2002:a17:906:1416:: with SMTP id p22mr25065406ejc.364.1630338370464; Mon, 30 Aug 2021 08:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630338370; cv=none; d=google.com; s=arc-20160816; b=c1qy/A+y6vSBPyCDmx3UV1bUJLBsr7qS0EzpjamsvnKgrG2LX2M3Ivk2QEXyNpeNrh g9ypURnTTj+XIR8zgRQipAhD2FD+l2k0X7HL6mK7k1IA1BjyOLCe00od1CgTuNTb/lB1 Yu+Yg1dOJsITIovwYskA7Fq0Y2bS/0GhNPlxW22WSmCrPXPfTdN67fXwN+XvyOvHhite VS43VmjpaYH9g+LNrowhBi3uZB9EQQfLsnnXW6vUq1QhpgtYc9B/L0BhC2WmeZXPlpl9 kQWtUSsiZbB+LnOeoKOUdrG5beTtL9b/szmHYn0smAlGETal4VWbirt04yX7ufKTDdUc hoYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=pBKNP5VUiJ9zp23PmqoEVYS87xK4K1ZleEWOZlHoJpU=; b=xsdLS3oaoCfwOSXovQO1haE3BA/Z4bXohSzQtWd6C5/lXrCYAyw0bXaBk5+GEjzoGX joSPd1mpwd8rKwTuRPXg7Sj1Ic5Yn8Q6HHejK4beHIXXvHcsFj47igsL7DtmNQUGG/0z eEhHhpYZaAWxhZLlqfsFVgldW9NC2GERzUvlD91KpfQKi5p4Dj/RvHKs5y6FV7w5AMNw 57ArfiWapb0JNQ1ExW+x19XrHmesXMVmqU/2yiulXrr0BwOytFDKRlNcK3whDKm3SK7O R5AoEVfV0UQlAu3hB6sjI+eomAPyqEnUE4l5dOjgtrfRSLIFKdxKa5XlYx42+docAT92 Clew== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp38si3354210ejc.327.2021.08.30.08.45.38; Mon, 30 Aug 2021 08:46:10 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237643AbhH3Pml convert rfc822-to-8bit (ORCPT + 99 others); Mon, 30 Aug 2021 11:42:41 -0400 Received: from mga12.intel.com ([192.55.52.136]:48073 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237460AbhH3Pmk (ORCPT ); Mon, 30 Aug 2021 11:42:40 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10092"; a="197860326" X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="197860326" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2021 08:41:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="427871610" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 30 Aug 2021 08:41:46 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 30 Aug 2021 08:41:45 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 30 Aug 2021 08:41:45 -0700 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2242.010; Mon, 30 Aug 2021 08:41:45 -0700 From: "Luck, Tony" To: Matthew Wilcox 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 Thread-Topic: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable Thread-Index: AQHXm5pzAH4qSaa/BkWiD/swcmZu0auJ6p2AgAAE7YCAAAHvAP//xYSWgAJ7rdA= Date: Mon, 30 Aug 2021 15:41:45 +0000 Message-ID: <65cdd5f19431423dac13fbb13719ba55@intel.com> References: <20210827232246.GA1668365@agluck-desk2.amr.corp.intel.com> <87r1edgs2w.ffs@tglx> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> 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/ MOVDIR64B has some explicit guarantees (does a write-back invalidate if the target is already in the cache) that a 64-byte avx512 write doesn't. Of course it would stop working if some future CPU were to have a longer than 64 bytes cache line. -Tony