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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 8C171C43460 for ; Mon, 10 May 2021 18:15:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10A776147E for ; Mon, 10 May 2021 18:15:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10A776147E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MqIsG5FxtnHDcNhI+oBO5yPQgxyGleriFRrhdaUkrnc=; b=TAyh3jS0HjaLU1vW6/bER9klc LO8GlQIXRc4zeRjJs4Zimjr0XHA9g42K9RR8E+DKY0HhtXbdlMqFHE13NEvCOJURcAtSCNkiYTSwN NObLMmJVnSV9WRxgy5l3u4L5omiG8X+XzKSHDUqUlb9vP7bLGgtr6w3I+BTGahZe+r032lQI+VWer 3G0s2ufLzbeTZI63fRwRmeE4BgEyYUu2uwHLl84G0P8cBIxtPR9967ngsQCDzPiR5FAfwQMfm+viV noFjvhTGGTDEvvOKTPpBme/B5FRgaDXjs9dAiik8sK7X4k40yldKxRTFF2gNcnWllKAOyXqKK0bfn VQf5fQibA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgAPd-00FOcf-0V; Mon, 10 May 2021 18:13:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgAPa-00FOcC-EH for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 18:13:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=7Wf8f/F8o0r8V5l27inB82r07nwwlRw1f5EgRtSutt0=; b=PuxR7EVT+hkrmbE3tdHhlJNPyu vqbyMlH1NggFQzCjLgDCYtJ3nNTJkyUP19bB+oCN3YsHl9nfIitUJ+kJnBiqr5k9JynCyihL1b1sz 4rDVr7Joyxg8FLMbo/LSKNMBZDtRreofLNB224J79P4uKkrM3GlrQHEbY5Kuvp7IXVsKG49uLszVI KGn+D9GV1XpUW2Zwxi8LPr/Wu83kTETT9gLcohNcukF4W5FMAI6xROk25UrJb1Ljf3aeXd/rglSL3 gm349HdPeCc9DCM0oDnCH+goxWj88bzmYWlTWqW/hj8RVLEMZNUDYeA92tBxFnmKGcFbeN4Om+p47 D5mv5GJg==; Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgAPX-0091fh-Tv for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 18:13:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620670418; 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=AoFtg8EwhaxsbsoUOJZKij5RNqjmeL1DETIQVD/8IEu1B/KRt7ZzfI5164NpvQuDVaonZE ZkqdOMHqmyhjgyqQb4/2X/ATszOB9DAbt7JI5A7wIBQHjscyM+GswLoLfEzQT9sasMnjic l0HXhbBI6n4HCxRAz4eZCwNW9mxcFEQ= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-qyBbkFNgOP-4UUJlnC9odw-1; Mon, 10 May 2021 14:13:36 -0400 X-MC-Unique: qyBbkFNgOP-4UUJlnC9odw-1 Received: by mail-wm1-f71.google.com with SMTP id o10-20020a05600c4fcab029014ae7fdec90so3773671wmq.5 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=ZW6zMsBiNh33YMdkU+PM3bBEn8Ux7argpI9cBm89JCw9vj1gOOK8nSD5x2x38nRfxT o7AytQE9rbeOTZT2/oFYvTk2eQhZPPT3ny8NYqq2Mr9Meu/m7BEOu3orEO4aRs669Yky /y3XIlXiqi7gzooP86aXfWuDCKePelZrpYh636eWsjW3MFSzC7/SoXQBskL2YmrtzdGB Th1OVg1vrZ41VTHxH7AO0739cT5D4HXTHk9puywMeTsim46Fgphgs64jAXoG7LScJHK5 dY4JaSBn5sHaUjDWM8TJvSrv37JjeV7KzjC65Y6bF1xO7O4DXCttbTdEMGUZ+BPZXVOy YrOQ== X-Gm-Message-State: AOAM532hUxjSu9IRb1uZLSJ3h6axbG9qt8G4EYq55bTvvXK1hgsFo2PM lMVH6Bm8PJEY3yAlmtEBGdfc8mKYfl2tBzxG3lNnIsXXDJg17jhmXCa+F+n3nhh/qGPqTU1N3Cm 2JgsWnF/Gf+UChk3R/9QaM2+dJLWT4F3UG+M= X-Received: by 2002:adf:fc11:: with SMTP id i17mr32538503wrr.368.1620670413539; 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: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_111344_049209_99A187F7 X-CRM114-Status: GOOD ( 14.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel