Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1610975rdb; Tue, 20 Feb 2024 01:13:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXk4QTzJNT/WTXh2KJmXrvCyYk/ayRbgN26HEGuTmKRJDDtGfowRTfvlJC6fseDN4W/IZpXckL2d6IdbKzsxr2OSYTfs9IA2R0odMW5bQ== X-Google-Smtp-Source: AGHT+IGJip54XWoC+NihNfbV5o/oOasHObbK11Q01Wq4xrndnmv0kcKpsEr7lOlfNd35RIMAB3tz X-Received: by 2002:a17:906:c319:b0:a3e:d251:f5d7 with SMTP id s25-20020a170906c31900b00a3ed251f5d7mr2454904ejz.33.1708420397054; Tue, 20 Feb 2024 01:13:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708420397; cv=pass; d=google.com; s=arc-20160816; b=cEBTF3CXW0DN6mL+15H+xvZubpLl/7o5ROnaxDpRIzBEMK6FZUd10ngSJSUqyZ+v8e 2mZNlGtq/0dcnejjKR5uBjw5X5U/ctajf+/wQftDrgCNoCbHhB0jdbqfFak1qvHp2QkT usS7OgisxNrVEUl1Ea5IA7TRHOnE47656lqSf+hbzVJeozNEwGZbvi8c2YYUQkyou04q lxOXhZ1rlcPOhB96WS3hlMS34XxxdGfzkl3cGsjifsL7Pa9940B2RVFTLu+JduWXKO91 Tp9Z4MYiGGuEReVr8CsW9Qx7B631RmzrDnE0dmQmXmvqffaSJgSKAaVfwk5fwHb+c+AK vCyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=6DQPV7gTixXT9lbsSTfg24G8z4KqnnNWdVLghcppC70=; fh=JrDqUsFKLzNOEeuo75uoViKZfCv8uZW3Jvt2jWv598M=; b=CZpUV4TH2owxXNg2Uumzfjrm6mI5n1eWZ7vbvqvvpg2N7flA0Z3I2cr2/K62Pe/kv3 Vb4fgRCZodn+0AqoWyllkMaE1fsa9ltlWFy9EwWcYz1Q21lGHt9V2QtloVBxtXEfebai qls/bczX9PnMnQRdKvRJCAMMpgCnPh2u1x6R4wdzxRRXc4WhScee3nVEeJgrVudU/5gL oX3H5BEdafF3GMNJdijBr5KXh50A1BTP7+RxrvfII1oJ/iwRaUYxmaytUg5d8wloNxbG PTf8RLMd22syzU0A86eDFr2RZ8qE1nvQVt4za9yxiqJm1G5gNkxcAoEUewln77enQV5W nHSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IHIAHm2i; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-72664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x27-20020a170906711b00b00a3e607805a4si2185725ejj.988.2024.02.20.01.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:13:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72664-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=@redhat.com header.s=mimecast20190719 header.b=IHIAHm2i; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-72664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 B74111F21A77 for ; Tue, 20 Feb 2024 09:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 615F0612DA; Tue, 20 Feb 2024 09:09:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IHIAHm2i" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA3885FB93 for ; Tue, 20 Feb 2024 09:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420187; cv=none; b=t0p0ycDIvp8aLQfK2qgUtoa6IedxbdcW0a+b584Puq7qM5OBDxKwKK2qfQWTBLJPeUrLFLSZ/twhTKcRmLh/suil1K1KcRG9OduLKb+Vq7QOpcVftFPB9jSycx9mYQRUY8EJ7FxtHXy8D7Mx6kE5WVednk1Az1eDmWNMjuMo6VQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420187; c=relaxed/simple; bh=iBDWGDV0zPhBcBSJ5xAuwrcwqoC42vEH3/Vd0rAbGyU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OG7obv6haD4AXx+1A6IKm3rHQiI9LYEQimC2jfBY0rG4gPOD1NsoXyP+V0cQanuzcBAB3i6J83/A+UWNNjpJiRPEwzRvjWX22xAimdpiHVGkxoOfzcUrbFzKqwQDZaS3/tkMmSjF3P/DgYQbDdD3e5oR/WDM08Z+I6snzSK6oVQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IHIAHm2i; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708420184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=6DQPV7gTixXT9lbsSTfg24G8z4KqnnNWdVLghcppC70=; b=IHIAHm2imSxu0QbY35ZPsp9ScPNRzSoCQlKieljuRTcwP2sXtpvLtkLrF309te9iiNCCID Dq2LXwmkD1u3MFG+4mRFwM2mMQnoMZIM1Y0Mm8iqvUh6XPUXi8mE1LX+Hr10JjIUIjTxxq lKtXIheR4aNXorm91Y+THEr9Gg2cO3A= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-473-4s6ls3_gNySoCSU0-CXc8w-1; Tue, 20 Feb 2024 04:09:42 -0500 X-MC-Unique: 4s6ls3_gNySoCSU0-CXc8w-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2d22ff0aad9so21576231fa.2 for ; Tue, 20 Feb 2024 01:09:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708420181; x=1709024981; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6DQPV7gTixXT9lbsSTfg24G8z4KqnnNWdVLghcppC70=; b=XzrguiEScH62BBXony4ESbshgPC/QoK+jCNzbewBQQ5tF5dmcGWQ257Fs9Rpc4fNX+ 96jECrrnu5XCiM+UumHKBx3BwgEhrrAzFfKaS9WsD9+DolO0pTnqEsjLZycNENRi91F8 l48w6hHzbcO5zpWAx6nKmlPbNJA0jZUzoE32/l/GQuK9h5i7E0k8nqsRZThqauS2r74y p6dI0J5K5bddMykkMIN/BeY7kUUBZYfj+eVRX5ndGq4IlRMsvfgTtliask5F/nWH5WNJ eadvNmGLVK/gEzgVQHOABiOqL4hbOGbMh0SHTKdqJyh7kx7bc6MXyM+AKC//ofM1wW+K YOJA== X-Forwarded-Encrypted: i=1; AJvYcCVBlO83CnROtegT743fZVMDJkkpmTPKfBLF8TwoBFkQxXRJOZL0AZvuVSR34PcjXRGfSRv/SkfaJwvn4+Ffzo6xQ6JUWaXKpfMhkCN8 X-Gm-Message-State: AOJu0YyYnwYSQKmQJqehMnvVtm7Xu5Yn1Ph1y4AUVTJZM1IjEjmj5O6n 56laqP7BBMUm2PiLx2UpOZ1l4G8q9qTVYs2U6h0uuOZoMHv6DR5IPOHacgh8MedyDYufsZTKB3o X5vxAJrPGY9DiCt30Gv4P5emkjCpgmQOhdX7k90sG1lNW4UuJhFsGSC5TK7CUbw== X-Received: by 2002:a2e:a60a:0:b0:2d2:38ff:8b6 with SMTP id v10-20020a2ea60a000000b002d238ff08b6mr3691698ljp.49.1708420180898; Tue, 20 Feb 2024 01:09:40 -0800 (PST) X-Received: by 2002:a2e:a60a:0:b0:2d2:38ff:8b6 with SMTP id v10-20020a2ea60a000000b002d238ff08b6mr3691658ljp.49.1708420180463; Tue, 20 Feb 2024 01:09:40 -0800 (PST) Received: from ?IPV6:2003:cb:c72a:bc00:9a2d:8a48:ef51:96fb? (p200300cbc72abc009a2d8a48ef5196fb.dip0.t-ipconnect.de. [2003:cb:c72a:bc00:9a2d:8a48:ef51:96fb]) by smtp.gmail.com with ESMTPSA id bj4-20020a0560001e0400b0033b68556c38sm13191661wrb.70.2024.02.20.01.09.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 01:09:40 -0800 (PST) Message-ID: <6ca94bf1-68b4-4a81-8cd0-d86683e0b12c@redhat.com> Date: Tue, 20 Feb 2024 10:09:37 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 2/4] mm: introduce new flag to indicate wc safe Content-Language: en-US To: Ankit Agrawal , Zhi Wang , Jason Gunthorpe , "maz@kernel.org" , "oliver.upton@linux.dev" , "james.morse@arm.com" , "suzuki.poulose@arm.com" , "yuzenghui@huawei.com" , "reinette.chatre@intel.com" , "surenb@google.com" , "stefanha@redhat.com" , "brauner@kernel.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "mark.rutland@arm.com" , "alex.williamson@redhat.com" , "kevin.tian@intel.com" , "yi.l.liu@intel.com" , "ardb@kernel.org" , "akpm@linux-foundation.org" , "andreyknvl@gmail.com" , "wangjinchao@xfusion.com" , "gshan@redhat.com" , "shahuang@redhat.com" , "ricarkol@google.com" , "linux-mm@kvack.org" , "lpieralisi@kernel.org" , "rananta@google.com" , "ryan.roberts@arm.com" , "linus.walleij@linaro.org" , "bhe@redhat.com" Cc: Aniket Agashe , Neo Jia , Kirti Wankhede , "Tarun Gupta (SW-GPU)" , Vikram Sethi , Andy Currid , Alistair Popple , John Hubbard , Dan Williams , "kvmarm@lists.linux.dev" , Matt Ochs , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <20240220072926.6466-1-ankita@nvidia.com> <20240220072926.6466-3-ankita@nvidia.com> From: David Hildenbrand Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjcdBDPLHvriq7kGjt WhVhdl0qEYB8lkBEU7V2Yb+SYhmhpDrti9Fq1EsmhiHSkxJcGREoMK/63r9WLZYI3+4W2rAc UucZa4OT27U5ZISjNg3Ev0rxU5UH2/pT4wJCfxwocmqaRr6UYmrtZmND89X0KigoFD/XSeVv jwBRNjPAubK9/k5NoRrYqztM9W6sJqrH8+UWZ1Idd/DdmogJh0gNC0+N42Za9yBRURfIdKSb B3JfpUqcWwE7vUaYrHG1nw54pLUoPG6sAA7Mehl3nd4pZUALHwARAQABzSREYXZpZCBIaWxk ZW5icmFuZCA8ZGF2aWRAcmVkaGF0LmNvbT7CwZgEEwEIAEICGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheAAhkBFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAl8Ox4kFCRKpKXgACgkQTd4Q 9wD/g1oHcA//a6Tj7SBNjFNM1iNhWUo1lxAja0lpSodSnB2g4FCZ4R61SBR4l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reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20.02.24 09:51, Ankit Agrawal wrote: >>> To safely use VFIO in KVM the platform must guarantee full safety in the >>> guest where no action taken against a MMIO mapping can trigger an >>> uncontained failure. We belive that most VFIO PCI platforms support this >> >> A nit, let's use passive voice in the patch comment. Also belive is mostly >> a typo. > > Sure, will do. > s/we expect/the expectation is that/ s/We belive/The assumption is/ If it's just that, likely no need to resend. Maintainers usually can fix that up when applying (otherwise, they'll let you know :) ). -- Cheers, David / dhildenb