From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [RFC PATCH kernel] vfio-pci: Allow write combining Date: Thu, 30 Nov 2017 14:06:39 -0600 Message-ID: <1512072399.2224.22.camel@kernel.crashing.org> References: <7ad2ee73-80dc-69ef-c98a-63b020f2f48b@ozlabs.ru> <20171016060043.GC2776@umbus.fritz.box> <67742d45-a267-0363-7448-7f8945f84c95@ozlabs.ru> <20171016080135.GF2776@umbus.fritz.box> <672c7172-addd-a0ca-f810-5a8deca67ff5@ozlabs.ru> <20171114022350.GA20747@umbus.fritz.box> <1510626542.2397.8.camel@kernel.crashing.org> <20171114092835.046c5d61@t450s.home> <20171129114746.45d18a09@t450s.home> <20171130042003.GW3023@umbus.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Alexey Kardashevskiy , kvm@vger.kernel.org, Eric Auger To: David Gibson , Alex Williamson Return-path: Received: from gate.crashing.org ([63.228.1.57]:58548 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbdK3UGy (ORCPT ); Thu, 30 Nov 2017 15:06:54 -0500 In-Reply-To: <20171130042003.GW3023@umbus.fritz.box> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2017-11-30 at 15:20 +1100, David Gibson wrote: > > > > This isn't at the top of my priority list to figure out the solution, > > > > so whoever implements it will need to provide justification as they > > > > move down the list from more to less preferred solutions. Thanks, > > > > > > I am trying... I was really counting on you guys having this discussed in > > > Prague :( > > > > Should have been there to push your agenda... Thanks, > > We discussed it briefly, BenH seemed to think there wasn't a big > difficulty, IIRC, which is why we didn't spend much time on this > (compared to the other issues). So, talk to him. Well, first we established that this wasn't an issue for KVM, so the importance/urgency went down. It's still useful for DPDK. Then we discussed quickly the various options, none of them is particularily *difficult* as in the implementation is rather trivial, the question is to chose which interface to provide userspace. I don't have a strong opinion there. The mm guys might object to hijacking MAP_NONBLOCK, otherwise that seems like the best approach, so we should run that past them. Cheers, Ben.