From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8841AC433B4 for ; Mon, 10 May 2021 18:13:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 60C3161469 for ; Mon, 10 May 2021 18:13:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230436AbhEJSOp (ORCPT ); Mon, 10 May 2021 14:14:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50610 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbhEJSOl (ORCPT ); Mon, 10 May 2021 14:14:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620670416; 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; bh=7Wf8f/F8o0r8V5l27inB82r07nwwlRw1f5EgRtSutt0=; b=OLin48gIDARfIXedv1cMTiMQSQvh7e839XPLDLvsZtVHnYlIOGwbdpw0PsVLts4veF9yZR 48zksMwJ8QGGQ+LA1XEyuCKS8V1dGP1DaNAYK4woN7ixbSra+P3fafUmrG78up36fTQahO JcJCETjxOlM+KQPmpThk9IWCqvz9CnY= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-199-84QrnUWPPzmK9s7R3FiHmg-1; Mon, 10 May 2021 14:13:34 -0400 X-MC-Unique: 84QrnUWPPzmK9s7R3FiHmg-1 Received: by mail-wr1-f69.google.com with SMTP id t5-20020adfb7c50000b029010dd0bb24cfso7800813wre.2 for ; Mon, 10 May 2021 11:13:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7Wf8f/F8o0r8V5l27inB82r07nwwlRw1f5EgRtSutt0=; b=WSdt6Ms8H+hTDpOtrNrwifi55XikQnpnwBfSOoGekNhWGsfQkDk7dPu0mDOLTrENby S8lsYtkEN+QU8geIyNExd2EA9EtAk7TpAoGFZzVwzl43cZhJYTpJZSJj/COS0Qk9jzII qAZhNhhL8D3vEvumW8ZFp7bFBL4irjS9P1+40V50LhCP6m9zyEIzh9/+uw+Jv+TxdTtg +2Ox6VVNwvdEoMBDRximxp+4lF/6sFhuPaUiL/7uwSqbX8Iz4PzFJGmDeh4jOEb80yPU dRB/oqriP+F0OZRTm/7IWYtrlzSVWe7Jk/+x1DXzHlqYhdiTu0LsnTsAE30IKAHJY7k6 S9KQ== X-Gm-Message-State: AOAM530nEdVyXHrdejkiG3F1rABZRJh84q/QYRU5fGJytF5I/zTZ3AzG 2aQUBViPZnL6cx66N9zsRJYhB1xKPIvbN0MpjWyVipTi/13TX0cmLRdzyFphPdndI5Expi/OxnC Kn/KgCm+pYEnnDRhgtlPFEHWi X-Received: by 2002:adf:fc11:: with SMTP id i17mr32538513wrr.368.1620670413555; Mon, 10 May 2021 11:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGvjeRTScdahfNDHcrMa8YC+8YvhVA4fNTrW6yB7yOb/uXjCn86kTNe8u7Q2MyqQ4FAIUnCg== X-Received: by 2002:adf:fc11:: with SMTP id i17mr32538485wrr.368.1620670413383; Mon, 10 May 2021 11:13:33 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id j7sm20597281wmi.21.2021.05.10.11.13.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 May 2021 11:13:32 -0700 (PDT) Subject: Re: [PULL] topic/iomem-mmap-vs-gup To: Sean Christopherson , Jason Gunthorpe Cc: Daniel Vetter , Linus Torvalds , Tomasz Figa , Marek Szyprowski , Mauro Carvalho Chehab , DRI Development , LKML , Linux-MM , Linux ARM , Linux Media Mailing List , linux-samsung-soc References: <20210510135031.GF2047089@ziepe.ca> <20210510153412.GG2047089@ziepe.ca> From: Paolo Bonzini Message-ID: Date: Mon, 10 May 2021 20:13:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/21 19:57, Sean Christopherson wrote: > +Paolo > > On Mon, May 10, 2021, Jason Gunthorpe wrote: >> On Mon, May 10, 2021 at 04:55:39PM +0200, Daniel Vetter wrote: >> >>> yeah vfio is still broken for the case I care about. I think there's >>> also some questions open still about whether kvm really uses >>> mmu_notifier in all cases correctly, >> >> IIRC kvm doesn't either. > > Yep, KVM on x86 has a non-trivial number of flows that don't properly hook into > the mmu_notifier. Paolo is working on fixing the problem, but I believe the > rework won't be ready until 5.14. Yeah, I like the way it's coming, but I'm at 20-ish patches and counting. Paolo