From patchwork Thu Oct 18 20:31:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 986274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="auq272Qd"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bhBd5yqkz9s8F for ; Fri, 19 Oct 2018 07:55:05 +1100 (AEDT) Received: from localhost ([::1]:44620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDFJv-0001BI-EM for incoming@patchwork.ozlabs.org; Thu, 18 Oct 2018 16:55:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDEyJ-0007JL-Ck for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:32:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDEyF-0006Ji-GW for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:32:43 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:43225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDEy9-0006AR-Gz for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:32:37 -0400 Received: by mail-wr1-x434.google.com with SMTP id n1-v6so35101387wrt.10 for ; Thu, 18 Oct 2018 13:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=R1wPodUAtuSo7rRynHn1i1L3sydhJMz9w9Y7a4yez5w=; b=auq272Qd/5i6MHuaxDriD6Y4hu+N/5XAutOU0NCQ3ZKjW14p1ME71cUGNRaIcZYliA Rhud13TbUENQKGEYp/ycPZWx2kWzLJAt6lN9GaUu7bF1GRv46vKQHHaJyd7s/96hlAP1 69A6/UANf8ITmQDT/vYpK3TuJFThBxr+rsQecA8mX36bi5t/2Aob9JRI42zzIhgiGVdL 0yXxBIPip8ikXPsOdiXgwzT0agTxCv11aD+VwwVyb9PVuUUxkRHWzInX2n/Oyvn4AOKn hj1jbJCdXOKbh8RNmzlJGvsVhEMznyx8JeAQDYrblsZAK9/6X3j8hN0GaX0liuiQ3yhW b+dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=R1wPodUAtuSo7rRynHn1i1L3sydhJMz9w9Y7a4yez5w=; b=h7oIdF8kTBnUPIAvIXYwWpssOKBblzDY4P7vEEj7H6ppu/JP9ELg3I7lrAIPsXbJpJ lxQjGf8ppmDNobLuNPkxqtJii/ISPWwXvT1Sx/P0NaCGEK8n+fJ9SnpKX8b4+EO2ANvS 4RRSQlS3ayAfUyS99rJAapld2s23FyDo6Qq4zVtrXEkf05Z+XSHjdwzwc/pvyR9jRaqc Yjt1fM9SyhRu4o0jGLlJZEKSKbGRVwMXqKJAacqryBUBdB3Feok4B+FHiJ6WS5iwG1Cj tDqA8GOyHU6QAI6QhH986YjjBLIO/TRu+14xpW4+SngojCSQUrcvIGKru3lzTUNbQcYe vj8A== X-Gm-Message-State: ABuFfogQgg9+Gxqq/jkn2Cw/7aC0oEyT0bNHTJi2gY2Zynct9XK/fEzD U0lqfijIMH+uplngbzQrw612IEKI X-Google-Smtp-Source: ACcGV61OfpNO0PJSarGuuBBcK/phLw2zjg/On/Ob2hm3qZSgdq3BP6/n6aGNVLbQv8nXXCqX7wUPgw== X-Received: by 2002:adf:8547:: with SMTP id 65-v6mr30680386wrh.69.1539894748588; Thu, 18 Oct 2018 13:32:28 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-231-174.clienti.tiscali.it. [78.12.231.174]) by smtp.gmail.com with ESMTPSA id a12-v6sm14270952wrr.71.2018.10.18.13.32.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 13:32:27 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 18 Oct 2018 22:31:37 +0200 Message-Id: <1539894735-14232-11-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1539894735-14232-1-git-send-email-pbonzini@redhat.com> References: <1539894735-14232-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 Subject: [Qemu-devel] [PULL 10/48] target-i386: add i440fx 0xcf8 port as coalesced_pio X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peng Hao Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Peng Hao Signed-off-by: Peng Hao Message-Id: <1539795177-21038-5-git-send-email-peng.hao2@zte.com.cn> Signed-off-by: Paolo Bonzini --- hw/pci-host/piix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index 0e60834..da73743 100644 --- a/hw/pci-host/piix.c +++ b/hw/pci-host/piix.c @@ -327,6 +327,10 @@ static void i440fx_pcihost_realize(DeviceState *dev, Error **errp) sysbus_add_io(sbd, 0xcfc, &s->data_mem); sysbus_init_ioports(sbd, 0xcfc, 4); + + /* register i440fx 0xcf8 port as coalesced pio */ + memory_region_set_flush_coalesced(&s->data_mem); + memory_region_add_coalescing(&s->conf_mem, 0, 4); } static void i440fx_realize(PCIDevice *dev, Error **errp)