Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2808766pxj; Mon, 10 May 2021 11:10:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGNjoVzTtcAHdJqTJFLCl8OQ9HsFNIB9xorqOL/LI0DZ37VaEREBrpqXwyz5GDhNDXsDwG X-Received: by 2002:a92:4b0b:: with SMTP id m11mr22420503ilg.58.1620670248929; Mon, 10 May 2021 11:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620670248; cv=none; d=google.com; s=arc-20160816; b=oPF9cc72nV22jGDnaDBN1e2wUzfcG7xauQKaeQwWsC0Xd06Fm7AvhuMQGrJ4aoe7hA JeslVa32ieOCpzyPgdPr8vGBnde8wlyQFD+V1vVH+/IFZRLJg6ZOtqMGX2/ZKrFZAJah u4QSR27r6yMfxOC2wOCwJFeZpvJ/dvklLPer/zq6vDDc6SAYdv2r2tRQOTCVzKrlqHlD FpdY7KeRfAth308neNpqLipdjTPABWZs4HA4EYqkU08wg/Qq9VhNg3C+dW+QaF5C1K4E 7hEUcUuSCZ0axrNmUa+pQNDh6pGgOK+tTMg4WJT6Q9mw024hPLn8ahsXfxm+uQZOlvRa aT/g== 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=mWPrNb69nyGWKI0m9pPGW0IsoOENSpHi4HuteUPIllA=; b=rvXPHcjWvP2JfzcMHuRG6qeE4lsKMJpqIPcW50/PZLCqsizqw7JOXb61kUgBMbrXxh Ycx+AIuYEP1fHvdLd9OyivI9sPZadEbd/Qd8wAjRPYFyGI1lSlAs+P5P4rsP4kCeVjT6 dNoBu9kKe/JOF4GvBQUu+Qn8vG+EnkhgjH7tccRE0ZJAvPKJcJdDuv/gkXcRB21QKVOo FrXpNYw1DLqBZ8+Qde3Jb5crVIaenC8vdHLmszA98ohCPJB+bKoX3dfGBu/+6WvCZe6w yMRxg7G+Qg1K5u+jPeXCka6Pzekjs1G9QmZ/xpA4SPo0h/g66T6BEsZCl5H2eKKohmL/ ztDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WDir0qDO; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si13871672ion.8.2021.05.10.11.10.36; Mon, 10 May 2021 11:10:48 -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=@google.com header.s=20161025 header.b=WDir0qDO; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233315AbhEJR6Z (ORCPT + 99 others); Mon, 10 May 2021 13:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233312AbhEJR6Y (ORCPT ); Mon, 10 May 2021 13:58:24 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 442E0C061574 for ; Mon, 10 May 2021 10:57:19 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id z16so13901603pga.1 for ; Mon, 10 May 2021 10:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mWPrNb69nyGWKI0m9pPGW0IsoOENSpHi4HuteUPIllA=; b=WDir0qDOMsL25iK8wuf0VwNf0hPuuhOqUjjIVr1hs7XzcxFvbzfzYbFkdx/sh9mljA 1j3r5+a480WbR1tiGdAGMc75YHoI0pWIg1rBqEVgUfMYWxjA8ZHrhNHj2pd2/8iAlJB3 sfcnzbav23KQ6dzUy2Z0rWCgkThAw+d2CBVFPzYeT8htkYT+muYNLyNGbzHzWUMRWPUf 9tdzV2Im41JBWIiZLskLQGpj0ERl0rBZNSWHYrwPKUQD8N2F23w1M3xGeP8qAW2tMSoZ GUP5y2jtRz6EtzZTPRO0KyFrNDU+cJ0rqnkbYZuw1wJeYbmYfrrKCXk9NNQmDdnhDo8N GaNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mWPrNb69nyGWKI0m9pPGW0IsoOENSpHi4HuteUPIllA=; b=IOFABZ+SrgKPnl4hMkXgy4LdDPV+vWPvs5uMNfVd9SfiRMsUo9QyZldTdskQzkLG4K /MThqKDcEa8pQccVgXlosHl20VApIHcMHVfv2wbQ6yXdAMkRoKc9teTfkj+8P9sue9qT 5mM9XhmMylmVzxNvQ/DpUe/KC0kZg91NJ4QuWRo064iPQVeQBeB7RroLY0W2+uhQCJUg O7A+nnaKjGS6rByLczDD9v0LCNbzNVHWLBmg4nB+EhPUf8kUOspv9tq9CkZQXI7u+wvg nhcu1LcA8a+fwPwe+vRoCIEHre36zXIRfsDWqkLhCE4OO5U5Ail4gczlWSobYzzBgzIB zC9A== X-Gm-Message-State: AOAM530bDT6c/jKBaMc21Q5QDOm7xcy8vrnkfA+vMIUt35/3Ao50odVE w6oQ6ia7WCMlMuGNfWWGy8GYew== X-Received: by 2002:a62:d108:0:b029:25d:497e:2dfd with SMTP id z8-20020a62d1080000b029025d497e2dfdmr26602164pfg.29.1620669438673; Mon, 10 May 2021 10:57:18 -0700 (PDT) Received: from google.com (240.111.247.35.bc.googleusercontent.com. [35.247.111.240]) by smtp.gmail.com with ESMTPSA id s21sm11918766pjn.29.2021.05.10.10.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 10:57:18 -0700 (PDT) Date: Mon, 10 May 2021 17:57:14 +0000 From: Sean Christopherson To: 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 , Paolo Bonzini Subject: Re: [PULL] topic/iomem-mmap-vs-gup Message-ID: References: <20210510135031.GF2047089@ziepe.ca> <20210510153412.GG2047089@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510153412.GG2047089@ziepe.ca> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +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.