From patchwork Sun Mar 10 23:53:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054064 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdQG3BLtz9s47 for ; Mon, 11 Mar 2019 10:55:01 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38HT-0004OC-IM for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:54:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Gq-0004N8-4U for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38Gp-0002CX-EQ for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42856) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38Gp-0002CC-81 for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:19 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D081308338F; Sun, 10 Mar 2019 23:54:18 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0BA115F9D5; Sun, 10 Mar 2019 23:54:10 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:44 +0100 Message-Id: <20190310235351.1863-2-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Sun, 10 Mar 2019 23:54:18 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI 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: Aleksandar Rikalo , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Aleksandar Markovic Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Philippe Mathieu-Daudé --- hw/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig index ef1caa6d89..ec62909fa1 100644 --- a/hw/i2c/Kconfig +++ b/hw/i2c/Kconfig @@ -17,6 +17,7 @@ config VERSATILE_I2C config ACPI_SMBUS bool select I2C + depends on ACPI config BITBANG_I2C bool From patchwork Sun Mar 10 23:53:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054066 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdQW3JPBz9s3l for ; Mon, 11 Mar 2019 10:55:15 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Hh-0004W9-Er for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:55:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38H0-0004Uc-4A for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38Gz-0002GC-EC for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38Gz-0002Fu-7n for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:29 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 76180309174E; Sun, 10 Mar 2019 23:54:28 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1D6A65F9D5; Sun, 10 Mar 2019 23:54:18 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:45 +0100 Message-Id: <20190310235351.1863-3-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Sun, 10 Mar 2019 23:54:28 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig 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: Aleksandar Rikalo , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Aleksandar Markovic Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The Intel 8042 chipset also includes some functions unrelated to the keyboard, such the A20-Gate. Signed-off-by: Philippe Mathieu-Daudé --- hw/input/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/input/Kconfig b/hw/input/Kconfig index e2e66f0858..83e4546a28 100644 --- a/hw/input/Kconfig +++ b/hw/input/Kconfig @@ -10,6 +10,10 @@ config PCKBD default y depends on ISA_BUS +config I8042 + bool + select PCKBD + config PL050 bool From patchwork Sun Mar 10 23:53:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054067 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdSg0d3mz9s3l for ; Mon, 11 Mar 2019 10:57:07 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38JV-0006FO-2C for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:57:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38HI-0004gB-H3 for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38HH-0002P3-Il for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44140) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38H9-0002JY-N0; Sun, 10 Mar 2019 19:54:40 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 771EA85365; Sun, 10 Mar 2019 23:54:37 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 01F978BE65; Sun, 10 Mar 2019 23:54:28 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:46 +0100 Message-Id: <20190310235351.1863-4-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sun, 10 Mar 2019 23:54:37 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 3/8] hw/southbridge: Add the PIIX chipset to Kconfig 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: Eduardo Habkost , "open list:IDE" , Aleksandar Rikalo , =?utf-8?q?Philippe_Mathieu-?= =?utf-8?b?RGF1ZMOp?= , Aleksandar Markovic , John Snow , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The PIIX (Intel 82371FB) is a bridge between PCI <-> ISA. It contains: - IDE interface (PIO and burst transfers) - one 82c54 timer (and speaker tone output) - two 82c59 interrupts controllers - two 8237 DMA controllers - Power Management (programmable SMI) - NMI Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/Kconfig | 1 + hw/isa/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/hw/ide/Kconfig b/hw/ide/Kconfig index ab47b6a7a3..1d997240c1 100644 --- a/hw/ide/Kconfig +++ b/hw/ide/Kconfig @@ -17,6 +17,7 @@ config IDE_ISA config IDE_PIIX bool + select IDE_ISA select IDE_PCI select IDE_QDEV diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 57e09a0cb8..681e6f1bce 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -24,6 +24,19 @@ config PC87312 select FDC select IDE_ISA +config PIIX + bool + select PCI_PIIX + select IDE_PIIX + select I8254 + select I8259 + select PCSPK + select I8257 + #select PM_PIIX + #select SMI_PIIX + #select NMI_PIIX + select ISA_BUS + config PIIX4 bool # For historical reasons, SuperIO devices are created in the board From patchwork Sun Mar 10 23:53:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054069 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdVm60vZz9s47 for ; Mon, 11 Mar 2019 10:58:56 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38LG-0007Y5-Sa for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:58:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38HI-0004gU-Sl for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38HH-0002PR-W3 for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56768) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38HH-0002Ol-MU for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:47 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DE12D3081244; Sun, 10 Mar 2019 23:54:46 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2E67D5F9D5; Sun, 10 Mar 2019 23:54:37 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:47 +0100 Message-Id: <20190310235351.1863-5-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 10 Mar 2019 23:54:46 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 4/8] hw/southbridge: Add the PIIX3 chipset to Kconfig 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: Aleksandar Rikalo , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Aleksandar Markovic Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The PIIX3 (Intel 82371SB) is a bridge between PCI <-> ISA. It is an exhanced PIIX, thus contains the same features. It also contains: - separate Master/Slave IDE mode - compliant to PCI rev 2.1 specifications - IOAPIC - USB UHCI (2 ports) - USB Legacy Support (emulated devices): - 8042 Keyboard Controller - A20-Gate Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 681e6f1bce..f8494edd67 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -37,6 +37,15 @@ config PIIX #select NMI_PIIX select ISA_BUS +config PIIX3 + bool + select PIIX + #select PCI_PIIX3 + #select IDE_PIIX3 + select IOAPIC + select USB_UHCI + select I8042 + config PIIX4 bool # For historical reasons, SuperIO devices are created in the board From patchwork Sun Mar 10 23:53:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054071 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdXj0Dcfz9s47 for ; Mon, 11 Mar 2019 11:00:36 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Mq-0000UN-KI for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 20:00:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38HO-0004nf-PQ for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38HO-0002Te-2M for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57260) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38HN-0002TK-Sd for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:54:54 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22E593688B; Sun, 10 Mar 2019 23:54:53 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9215E4A4; Sun, 10 Mar 2019 23:54:47 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:48 +0100 Message-Id: <20190310235351.1863-6-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sun, 10 Mar 2019 23:54:53 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 5/8] hw/southbridge: Cleanup the PIIX4 chipset in Kconfig 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: Aleksandar Rikalo , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Aleksandar Markovic Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The PIIX4 (Intel 82371AB) is a bridge between PCI <-> ISA. It is an exhanced PIIX3, thus contains the same features. It also contains: - Power Management (ACPI rev 1.0) - IDE UDMA/33 - SMBus interface (host and slave) - RTC Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index f8494edd67..1c923dfd07 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -48,9 +48,13 @@ config PIIX3 config PIIX4 bool + select PIIX3 + #select ACPI_PIIX4 + #select IDE_PIIX4 + select ACPI_SMBUS + select MC146818RTC # For historical reasons, SuperIO devices are created in the board # for PIIX4. - select ISA_BUS config VT82C686 bool From patchwork Sun Mar 10 23:53:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054068 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdSw1BtKz9s3l for ; Mon, 11 Mar 2019 10:57:20 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Ji-0006QZ-3l for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:57:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38HV-0004t8-DK for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38HU-0002WP-HH for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51640) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38HU-0002W7-8o for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:00 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7838E308425A; Sun, 10 Mar 2019 23:54:59 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A59AC665E2; Sun, 10 Mar 2019 23:54:53 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:49 +0100 Message-Id: <20190310235351.1863-7-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Sun, 10 Mar 2019 23:54:59 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 6/8] hw/southbridge: Add ACPI_PIIX4 to Kconfig 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: Eduardo Habkost , Aleksandar Rikalo , Aleksandar Markovic , =?utf-8?q?Philippe_Math?= =?utf-8?q?ieu-Daud=C3=A9?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Since the default-configs/mips-softmmu-common.mak is not yet ported to the Kconfig format, we have to select this variable there (used by the MIPS Malta machine). Signed-off-by: Philippe Mathieu-Daudé --- default-configs/mips-softmmu-common.mak | 1 + hw/acpi/Kconfig | 7 +++++++ hw/acpi/Makefile.objs | 3 ++- hw/i386/Kconfig | 2 ++ hw/isa/Kconfig | 2 +- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak index 0795d522db..61cc3d2c6b 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -20,6 +20,7 @@ CONFIG_ACPI_X86=y CONFIG_ACPI_MEMORY_HOTPLUG=y CONFIG_ACPI_NVDIMM=y CONFIG_ACPI_CPU_HOTPLUG=y +CONFIG_ACPI_PIIX4=y CONFIG_APM=y CONFIG_I8257=y CONFIG_PIIX4=y diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index eca3beed75..627f5e9768 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -8,6 +8,13 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG +config ACPI_PIIX4 + bool + select ACPI + select ACPI_NVDIMM + select ACPI_CPU_HOTPLUG + select ACPI_MEMORY_HOTPLUG + config ACPI_X86_ICH bool select ACPI_X86 diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs index 2d46e3789a..2ef78175cb 100644 --- a/hw/acpi/Makefile.objs +++ b/hw/acpi/Makefile.objs @@ -1,5 +1,6 @@ ifeq ($(CONFIG_ACPI),y) -common-obj-$(CONFIG_ACPI_X86) += core.o piix4.o pcihp.o +common-obj-$(CONFIG_ACPI_X86) += core.o pcihp.o +common-obj-$(CONFIG_ACPI_PIIX4) += piix4.o common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 78fd70396a..f6b74e2dc0 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -69,6 +69,8 @@ config ISAPC # FIXME: it is in the same file as i440fx, and does not compile # if separated depends on I440FX + # QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4 + select ACPI_PIIX4 config Q35 bool diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 1c923dfd07..d3f03ef7d5 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -49,7 +49,7 @@ config PIIX3 config PIIX4 bool select PIIX3 - #select ACPI_PIIX4 + select ACPI_PIIX4 #select IDE_PIIX4 select ACPI_SMBUS select MC146818RTC From patchwork Sun Mar 10 23:53:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054070 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdW15HX2z9s3l for ; Mon, 11 Mar 2019 10:59:09 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38LT-0007fs-N2 for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 19:59:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Hk-0005Bd-1O for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38Hi-0002is-UR for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38Hi-0002iL-O6 for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:14 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F1B6481F0C; Sun, 10 Mar 2019 23:55:13 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 20DC88BE65; Sun, 10 Mar 2019 23:54:59 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:50 +0100 Message-Id: <20190310235351.1863-8-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 10 Mar 2019 23:55:14 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 7/8] hw/i386: The 'isapc' machine is built around a PIIX3 southbridge 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: Eduardo Habkost , Aleksandar Rikalo , Aleksandar Markovic , =?utf-8?q?Philippe_Math?= =?utf-8?q?ieu-Daud=C3=A9?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index f6b74e2dc0..56e72abb8c 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -52,8 +52,6 @@ config I440FX select PC_PCI select PC_ACPI select ACPI_SMBUS - select PCI_PIIX - select IDE_PIIX select DIMM select SMBIOS select VMPORT @@ -62,13 +60,12 @@ config I440FX config ISAPC bool - select ISA_BUS select PC - select IDE_ISA select VGA_ISA # FIXME: it is in the same file as i440fx, and does not compile # if separated depends on I440FX + select PIIX3 # QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4 select ACPI_PIIX4 From patchwork Sun Mar 10 23:53:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1054072 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=209.51.188.17; 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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HdZM42fxz9s3l for ; Mon, 11 Mar 2019 11:02:03 +1100 (AEDT) Received: from localhost ([127.0.0.1]:52718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38OH-0001Ix-L7 for incoming@patchwork.ozlabs.org; Sun, 10 Mar 2019 20:02:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h38Hn-0005Er-Vi for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h38Hn-0002l3-9v for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42992) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h38Hn-0002kf-3f for qemu-devel@nongnu.org; Sun, 10 Mar 2019 19:55:19 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 55B1830832C5; Sun, 10 Mar 2019 23:55:18 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-18.brq.redhat.com [10.40.204.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 83760665E2; Sun, 10 Mar 2019 23:55:14 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: "Michael S . Tsirkin" , Thomas Huth , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Date: Mon, 11 Mar 2019 00:53:51 +0100 Message-Id: <20190310235351.1863-9-philmd@redhat.com> In-Reply-To: <20190310235351.1863-1-philmd@redhat.com> References: <20190310235351.1863-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Sun, 10 Mar 2019 23:55:18 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 8/8] hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig) 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: Eduardo Habkost , Aleksandar Rikalo , Aleksandar Markovic , =?utf-8?q?Philippe_Math?= =?utf-8?q?ieu-Daud=C3=A9?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The SMBus interface is a slow bus not related to the i440fx northbridge, it comes from the PIIX3 southbridge. Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 56e72abb8c..9ac833b930 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -51,7 +51,6 @@ config I440FX bool select PC_PCI select PC_ACPI - select ACPI_SMBUS select DIMM select SMBIOS select VMPORT @@ -68,6 +67,7 @@ config ISAPC select PIIX3 # QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4 select ACPI_PIIX4 + select ACPI_SMBUS config Q35 bool