Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3551708ybt; Tue, 23 Jun 2020 05:17:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdlLqSQRRyfbdHv/GtwsCFxsYv01TUKmMdfh4AJTh+fU9rfzc6lIOV1B5Qpz5Cz69HaDA9 X-Received: by 2002:a17:906:1e92:: with SMTP id e18mr20865792ejj.254.1592914627878; Tue, 23 Jun 2020 05:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592914627; cv=none; d=google.com; s=arc-20160816; b=UoHGyarzis5x+NwoTQBrpD7Fm0AlgfnTATTnCdiuwjrVJE7wT3xpL9JNRTA9TtmhWS x9rIzBUgqYw/474zmJF8sz0mnKpoFPnL2qiSZWHbJ1h7MYqKBpWixCBa+0E9e/tEz1xz O9UIK5lE+JuyA5BGC2vwezRGy/aQLLyPzPQw+KGkiZS5vZxUupQhkfiYnh2GF2Tt1B/h cAqtMBMPtJrRBhYgAXkcxpBLrcD9EU/xT05o73wwCiVyV2siQWdfFzbNv4WfmpIeG2b/ ApkHIu9lvHQUhLgq27Qxhy/SmzPYHWjsc0A+x4Mp7YbD8uxdTxapphWiQMRS/dgAtjbZ Xhhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Brk4LGXrKU3YUJzoHVHNxfajwH00rCwufsvNHxUlwhk=; b=kMSVMRT+0uq+JI8w4Rz7GXw+T1Y+egSxW1sW2Ao0p/NAIOvy2u51HdGSuY3WqOdjNO aB4G2PJdkbwdbJ5BdotcO6Um3Buh6D2KBkN0m6WklVo9r8JDzSnvFgknsgN3p3N5hb+e nWwpjay+rWVxRr8P9nJUZVcaw5xW5iTY9qIbft5rfHdcKjXvgi4MtFbCuWKMgEEmfly1 r9VV6jLMughWDJPqnjQjfWeRmf8NWpNw8nOREKtMd1lAQbQQ5gSodFDx0WjpPzrlqlpA WBIMoOaPCbWhg1OM+yBWaT6sBhQ4Vc1o9oBHyCebcnQZDjI/KFjhAj1Z8+Ym+ezoFG/3 IHkg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si6930815edx.269.2020.06.23.05.16.45; Tue, 23 Jun 2020 05:17:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732574AbgFWMNI (ORCPT + 99 others); Tue, 23 Jun 2020 08:13:08 -0400 Received: from verein.lst.de ([213.95.11.211]:39101 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732518AbgFWMNI (ORCPT ); Tue, 23 Jun 2020 08:13:08 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id B182C68AEF; Tue, 23 Jun 2020 14:13:04 +0200 (CEST) Date: Tue, 23 Jun 2020 14:13:04 +0200 From: Christoph Hellwig To: Eric Auger Cc: eric.auger.pro@gmail.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, peterz@infradead.org, akpm@linux-foundation.org, jean-philippe@linaro.org, bbhushan2@marvell.com Subject: Re: [PATCH v2] dma-remap: Align the size in dma_common_*_remap() Message-ID: <20200623121304.GA20261@lst.de> References: <20200623120755.27710-1-eric.auger@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200623120755.27710-1-eric.auger@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 23, 2020 at 02:07:55PM +0200, Eric Auger wrote: > Running a guest with a virtio-iommu protecting virtio devices > is broken since commit 515e5b6d90d4 ("dma-mapping: use vmap insted > of reimplementing it"). Before the conversion, the size was > page aligned in __get_vm_area_node(). Doing so fixes the > regression. > > Fixes: 515e5b6d90d4 ("dma-mapping: use vmap insted of reimplementing it") > Signed-off-by: Eric Auger Thanks, I've applied this locally, waiting for git.infradead.org to be back up.