From nobody Sat May 10 07:04:14 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1500761795912669.3974494767627; Sat, 22 Jul 2017 15:16:35 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coresystems.de) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1dZ2fC-0000Ej-4B; Sun, 23 Jul 2017 00:14:18 +0200 Received: from mail-lf0-f67.google.com ([209.85.215.67]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1dZ2f2-0000AI-PN for seabios@seabios.org; Sun, 23 Jul 2017 00:14:15 +0200 Received: by mail-lf0-f67.google.com with SMTP id t128so760781lff.3 for ; Sat, 22 Jul 2017 15:16:08 -0700 (PDT) Received: from localhost.localdomain (broadband-178-140-16-138.moscow.rt.ru. [178.140.16.138]) by smtp.gmail.com with ESMTPSA id t10sm757832lja.47.2017.07.22.15.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Jul 2017 15:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KSaFQzNV0QFdrzwoAK/epXxc95Td8lwlHfcY3kBhmBw=; b=N9Bf3z/6Q2XNPYtglk+kttwJqmkCAZuie1QSwxrmk+uoX6UnQINSVqZYkvNHjycPAz V0lLlrmwyLJ9H7W1vQV8+zksEEF3Rdqyo/MwXUGOw0K1n5tEeIz3Oduhjad4A4hGaZ0u bdxZDqlf6h2FTVPH9pwTbnsRu6S+q/E+MwZ/L/Jth93HTV7519puX10NBxdjyW915AfE Yjb7zoAH3Rs5IaGPCSTQWKCyzvBiNCQN5bfGAVoT49e435PEfql2jND9YD3Ia+cnItGi HAQbo+vNQU2gecBrq2c4CIde6wMsW3maxepwOaco/XJDtr6yj53xmcGMv8g6YddS73Q0 1GXw== 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:in-reply-to :references; bh=KSaFQzNV0QFdrzwoAK/epXxc95Td8lwlHfcY3kBhmBw=; b=gZSXWQtAr3iRta3JWrF9kJVYe85jd7WPHxL5oIxRGxuOqphHL6NzsmWF3DwYnm3DWm wrkE36/CGjR3z+05Xz8VbTU+tveD1ThjAIxnh+3ypPrEpags2jwKv0k8E+uacfQy5/1w zH4GnG5vtbBm7O03OK799pS6K6zvbDrytO3eT4a/FF/GKH0yHv0+pToJ97hXFq9MGCDY l/P2ECpuD9/pxJWpCrR6dzzpHa2uD0oIzb1Jlk61u1l1cjX5NQSc/RuALOE0pdn894fz I2BtORblQ+5I0LYZTdxgnX2ACngZqD2Wx7uNlvKzFXkUlg8Le+UwUsmbaKCcaVrdnUkz wOeA== X-Gm-Message-State: AIVw110LuvGOWDI575FdUVHyRZT3jBhy5V2UkRYFIS4n9Mogthjr0Fgw sg4XK5RF+s6CLQ== X-Received: by 10.46.70.17 with SMTP id t17mr1391930lja.128.1500761767256; Sat, 22 Jul 2017 15:16:07 -0700 (PDT) From: Aleksandr Bezzubikov To: qemu-devel@nongnu.org Date: Sun, 23 Jul 2017 01:15:43 +0300 Message-Id: <1500761743-1669-7-git-send-email-zuban32s@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500761743-1669-1-git-send-email-zuban32s@gmail.com> References: <1500761743-1669-1-git-send-email-zuban32s@gmail.com> X-Spam-Score: -2.6 (--) Subject: [SeaBIOS] [RFC PATCH v2 6/6] hw/pci: add hint capabilty for additional bus reservation to pcie-root-port X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mst@redhat.com, seabios@seabios.org, kraxel@redhat.com, pbonzini@redhat.com, marcel@redhat.com, rth@twiddle.net MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Aleksandr Bezzubikov --- hw/pci-bridge/pcie_root_port.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/pci-bridge/pcie_root_port.c b/hw/pci-bridge/pcie_root_port.c index b0e49e1..ca92d85 100644 --- a/hw/pci-bridge/pcie_root_port.c +++ b/hw/pci-bridge/pcie_root_port.c @@ -106,6 +106,11 @@ static void rp_realize(PCIDevice *d, Error **errp) pcie_aer_root_init(d); rp_aer_vector_update(d); =20 + rc =3D pci_bridge_help_cap_init(d, 0, p->bus_reserve, 0, 0, 0, errp); + if (rc < 0) { + goto err; + } + return; =20 err: --=20 2.7.4 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios