From nobody Tue Oct 28 12:16:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1515379684872580.5373886404049; Sun, 7 Jan 2018 18:48:04 -0800 (PST) Received: from localhost ([::1]:59326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYNTn-0007Wm-Ve for importer@patchew.org; Sun, 07 Jan 2018 21:48:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYNS1-0006TG-Sa for qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYNS1-00028r-0y for qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:13 -0500 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:34503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYNS0-000287-SJ for qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:12 -0500 Received: by mail-qt0-x244.google.com with SMTP id 33so12077970qtv.1 for ; Sun, 07 Jan 2018 18:46:12 -0800 (PST) Received: from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id d10sm7156245qkg.16.2018.01.07.18.46.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Jan 2018 18:46:11 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=6wxBBs/03Mo+0EhVUUEo7md83HLIefz8urcf7Y9mnVU=; b=ahrF5M6Ur0gdbbYSNt5lVTZbP3FxeGVfdc/1y5pwElWy22/QtV86n17m4InXk81uuO jR5xcY4g+JbsmSNCaSh4OfVDHmW+f8kNyhUBAdySx73w5l8HMLqEPdsbd9JU3nLq3KlU KaYoxPdCR9vW4Su46jd1BqMT0U0iwPS03AKd+YzNlzLrg7bulVruK6cgshU8cJKu1sI+ qVZ9QtOfZEO6Oq4/vzjzqAer1hsZClpvR/hAjxHH/IUD1kXa82GLg3z1vU4N8bx0vSq8 XkP8aCfdQqte2HXPE/auy1F70Q5JePaxFW6i2vZnSjALh0OjaSYhJ9DSRqmgg6CTZ/Gb 2t0Q== 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:mime-version:content-transfer-encoding; bh=6wxBBs/03Mo+0EhVUUEo7md83HLIefz8urcf7Y9mnVU=; b=OqeOlV+V5T+5PHw4PlEGqSaj37Kf7G+EeYtOchqGF+aLXKkq9y/6dGos1IA6HPpoyf 822TRrB0fZXCXDUmEc0gbCChHs1lPJ1vauzv9NLvBRewSHk0ka9fOR6d4Rn/m6bnzShe KsIFXsC0I/R91IRkwT54aMbktCxQdSaZ1k9PwQ4HtsiKtk0clqi+pe7F10MRpjX+YvkK l0zfJhtQ0akmy4e4pfm2NGMszNwQGBRoggwmNzib15Na1Mt1DK5eaos1jEwqBqdYrSPo aQ+Gt8m8+SxaV/2UuBr63J7e4PtIDbp4ncSVwQLfHuPuqQTL/PkN6WgZIhHt5gejrUuL OceA== X-Gm-Message-State: AKwxyteznhKlg0WXJEvBeoPw5TJWGfg3/EjpztuppcIgYENRMevSmS8d lVfHdkcDF9ElPeUS3YX8oVc= X-Google-Smtp-Source: ACJfBosVSxDwpQ7Aa/ETOaHXrW/X6N0e62xrnf/f3720BLUQWZ7FG5r8bYy+rrmfdMze53D+Aw8QnA== X-Received: by 10.200.52.171 with SMTP id w40mr14652662qtb.205.1515379572335; Sun, 07 Jan 2018 18:46:12 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Paolo Bonzini , "Michael S. Tsirkin" , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aurelien Jarno , Eduardo Habkost , Marcel Apfelbaum Date: Sun, 7 Jan 2018 23:45:31 -0300 Message-Id: <20180108024558.17983-3-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180108024558.17983-1-f4bug@amsat.org> References: <20180108024558.17983-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH 02/29] pci/pci_host: move generic definitions out of i386/pc.h 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: Igor Mammedov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/i386/pc.h | 9 --------- include/hw/pci/pci_host.h | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 6f77eb0665..780fa049d7 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -218,15 +218,6 @@ void pc_acpi_init(const char *default_dsdt); =20 void pc_guest_info_init(PCMachineState *pcms); =20 -#define PCI_HOST_PROP_PCI_HOLE_START "pci-hole-start" -#define PCI_HOST_PROP_PCI_HOLE_END "pci-hole-end" -#define PCI_HOST_PROP_PCI_HOLE64_START "pci-hole64-start" -#define PCI_HOST_PROP_PCI_HOLE64_END "pci-hole64-end" -#define PCI_HOST_PROP_PCI_HOLE64_SIZE "pci-hole64-size" -#define PCI_HOST_BELOW_4G_MEM_SIZE "below-4g-mem-size" -#define PCI_HOST_ABOVE_4G_MEM_SIZE "above-4g-mem-size" - - void pc_pci_as_mapping_init(Object *owner, MemoryRegion *system_memory, MemoryRegion *pci_address_space); =20 diff --git a/include/hw/pci/pci_host.h b/include/hw/pci/pci_host.h index ba31595fc7..5239adf7e6 100644 --- a/include/hw/pci/pci_host.h +++ b/include/hw/pci/pci_host.h @@ -56,6 +56,14 @@ typedef struct PCIHostBridgeClass { const char *(*root_bus_path)(PCIHostState *, PCIBus *); } PCIHostBridgeClass; =20 +#define PCI_HOST_PROP_PCI_HOLE_START "pci-hole-start" +#define PCI_HOST_PROP_PCI_HOLE_END "pci-hole-end" +#define PCI_HOST_PROP_PCI_HOLE64_START "pci-hole64-start" +#define PCI_HOST_PROP_PCI_HOLE64_END "pci-hole64-end" +#define PCI_HOST_PROP_PCI_HOLE64_SIZE "pci-hole64-size" +#define PCI_HOST_BELOW_4G_MEM_SIZE "below-4g-mem-size" +#define PCI_HOST_ABOVE_4G_MEM_SIZE "above-4g-mem-size" + /* common internal helpers for PCI/PCIe hosts, cut off overflows */ void pci_host_config_write_common(PCIDevice *pci_dev, uint32_t addr, uint32_t limit, uint32_t val, uint32_t l= en); --=20 2.15.1