From patchwork Wed Mar 18 22:15:29 2020 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: 1257815 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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 Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=AtLkud5F; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48jPYM6QC2z9sPF for ; Thu, 19 Mar 2020 09:17:43 +1100 (AEDT) Received: from localhost ([::1]:58974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEh0P-00088h-PU for incoming@patchwork.ozlabs.org; Wed, 18 Mar 2020 18:17:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60832) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEgyx-0006wT-PG for qemu-devel@nongnu.org; Wed, 18 Mar 2020 18:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEgyu-0001zF-Vq for qemu-devel@nongnu.org; Wed, 18 Mar 2020 18:16:10 -0400 Received: from us-smtp-delivery-74.mimecast.com ([216.205.24.74]:36533) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jEgyt-0001oH-Dp for qemu-devel@nongnu.org; Wed, 18 Mar 2020 18:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584569766; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RqF9REAd7/gJMfA82uLkk0CM27eAOuw3vU7rX/MVoi0=; b=AtLkud5FhNeG45Q2VtoAWiFhi531zVg3aN15Xx4Jmdppwp8H9YKd5D0cz3aIQAbtzoItJJ hY1VomG/5FSokI58hplTNtvVKD3p96JSEsKLO42ztEWbiJUZnvRaq9HmR0glXFPuQD+t6L 9hzaeqBbDVVRPK0VtQCRH4pBjWKwa14= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-399-ZP4T9YQSMGOJNowHJ9H9bg-1; Wed, 18 Mar 2020 18:16:04 -0400 X-MC-Unique: ZP4T9YQSMGOJNowHJ9H9bg-1 Received: by mail-wm1-f69.google.com with SMTP id x7so175249wmi.4 for ; Wed, 18 Mar 2020 15:16:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+w58ng0FC1YIuq7fEP/4sQboxKnH2dQVp9VBYKvGc/A=; b=o1RmhV62Wn2aae7yuCSc2xdq8nQVzNjHBcWFHNVfbEQoxqIWY3e2F0R1OeVWT9568+ TdJELXr4TIBTpRPPDrVhGQkm6mPXOSXs0nkLtZ1JVrl7x4Y76A17W2cwvT3LILdr9B7w TpwJbieDj5h+1sah7PAYfv4HxkLiqdNf2EzXt8HjV1zPgqP/W1wksbjb2SUxzeh0I4wO r2lQPrWAPSN9wV5tysgh2M90Qf31+mcgbgYkx6fcpTHUPbrPYcO3cTV2usBC2QEbNrWT Uar2WnG/jxF4myI1dldHr0SD4LdRp3HfiL1QatiH+VeYnZHtMOTS5M7WWfNvPBJq9/gM AvPg== X-Gm-Message-State: ANhLgQ0/79Nb8RFBOiTozpYehDhEgnPPpe6Y4siCzV32p1N3STIxVWgR ZPdBbGlJI3hLeqfa30ydQuuNrW/ODAXizBzAaF2LkTW2bdstlnePMSGVvE9uo+8Quh6M2ggBp27 OwwSXpw4VwpazwdM= X-Received: by 2002:a7b:cc04:: with SMTP id f4mr7314396wmh.134.1584569763206; Wed, 18 Mar 2020 15:16:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsYil6uVpODLlXaZj/FDh1UnsG40YjsypwA8NgVAU7GEg2LYFdqsKWtvqyWzON6HGIzINZNnQ== X-Received: by 2002:a7b:cc04:: with SMTP id f4mr7314370wmh.134.1584569762906; Wed, 18 Mar 2020 15:16:02 -0700 (PDT) Received: from localhost.localdomain (37.red-83-52-54.dynamicip.rima-tde.net. [83.52.54.37]) by smtp.gmail.com with ESMTPSA id n1sm287466wrj.77.2020.03.18.15.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Mar 2020 15:16:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH-for-5.0 0/2] hw/acpi/piix4: Restrict 'system hotplug' feature to i440fx PC machine Date: Wed, 18 Mar 2020 23:15:29 +0100 Message-Id: <20200318221531.22910-1-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 216.205.24.74 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , "Michael S. Tsirkin" , Marcelo Tosatti , Aleksandar Markovic , =?utf-8?q?Herv=C3=A9_Pous?= =?utf-8?q?sineau?= , Paolo Bonzini , Igor Mammedov , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This feature is not documented in the PIIX4 datasheet. It appears to be only used on the i440fx PC machine. Add a property to the PIIX4_PM device to restrict its use. This fixes MIPS guest crashing QEMU when accessing ioport 0xaf00. Philippe Mathieu-Daudé (2): hw/acpi/piix4: Add 'system-hotplug-support' property hw/acpi/piix4: Restrict system-hotplug-support to x86 i440fx PC machine include/hw/southbridge/piix.h | 3 ++- hw/acpi/piix4.c | 13 ++++++++++--- hw/i386/pc_piix.c | 1 + hw/isa/piix4.c | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-)