From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdfGx-0006JM-41 for qemu-devel@nongnu.org; Mon, 13 Oct 2014 09:02:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdfGo-0002DV-4A for qemu-devel@nongnu.org; Mon, 13 Oct 2014 09:02:47 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:39661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdfGn-0002DQ-TV for qemu-devel@nongnu.org; Mon, 13 Oct 2014 09:02:38 -0400 Received: by mail-wg0-f41.google.com with SMTP id b13so8714560wgh.24 for ; Mon, 13 Oct 2014 06:02:36 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <543BCD67.2080100@redhat.com> Date: Mon, 13 Oct 2014 15:02:31 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5437C7C1.2010106@redhat.com> <1412942996-29645-1-git-send-email-jslaby@suse.cz> <5437F313.7080007@huawei.com> <543B8E0D.9070201@suse.cz> In-Reply-To: <543B8E0D.9070201@suse.cz> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/1] pci-host: add educational driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiri Slaby , Claudio Fontana , qemu-devel@nongnu.org Cc: Peter Maydell , Alvise Rigo Il 13/10/2014 10:32, Jiri Slaby ha scritto: > No, the DMA addresses are on purpose 32-bit: to teach the people always > set the dma mask properly in the driver. This driver copies COMBO6x > devices (liberouter.org) behaviour which I used until the cards got > obsoleted (hard to find PCI-X slots nowadays). > > I can make this configurable if you wish. Yeah, that would help (to avoid setting a bad example). You could have extra commands to switch between 32- and 64-bit DMA masks. Paolo