From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754931AbbCFPUa (ORCPT ); Fri, 6 Mar 2015 10:20:30 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:24392 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751418AbbCFPU2 (ORCPT ); Fri, 6 Mar 2015 10:20:28 -0500 Date: Fri, 6 Mar 2015 10:19:31 -0500 From: Konrad Rzeszutek Wilk To: "Wang, Xiaoming" Cc: Jan Beulich , "Liu@aserp2030.oracle.com" , "Zhang@aserp2030.oracle.com" , "chris@chris-wilson.co.uk" , "david.vrabel@citrix.com" , "lauraa@codeaurora.org" , "heiko.carstens@de.ibm.com" , "linux@horizon.com" , "Liu, Chuansheng" , "Zhang, Dongxing" , "takahiro.akashi@linaro.org" , "akpm@linux-foundation.org" , "linux-mips@linux-mips.org" , "ralf@linux-mips.org" , "xen-devel@lists.xenproject.org" , "boris.ostrovsky@oracle.com" , "d.kasatkin@samsung.com" , "pebolle@tiscali.nl" , "linux-kernel@vger.kernel.org" , "jkosina@suse.cz" Subject: Re: [PATCH v5] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU. Message-ID: <20150306151931.GC4808@l.oracle.com> References: <1425370269-29658-1-git-send-email-xiaoming.wang@intel.com> <20150304194237.GA12884@l.oracle.com> <54F8247B02000078000667AF@mail.emea.novell.com> <54F8292E02000078000667F9@mail.emea.novell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org . snip.. > Format: { ,force,,} is suitable I think. > And fixing "force" is follow the code design previously in setup_io_tlb_npages. It is a bug. It should have been smart enough to deal with the 'force' being in any order. If you are willing to make a patch to fix this - either folded into this patch I am responding to or as a seperate one - that would be most excellent! However, I can also do it - but my plate is full so it will take me some time to get to it.