From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web10.72158.1673565245164858004 for ; Thu, 12 Jan 2023 15:14:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DWW2nOCA; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: pedro.falcato@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id q10so237852wrs.2 for ; Thu, 12 Jan 2023 15:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZB//E9pqI5r/z3pbWZzARV9I4GFOLysZP1W258lB1Dk=; b=DWW2nOCA7UQT3KFjZaE/Z9iKsA24tA+dnoYlZlWzVF/iMU2XKkKEuexcUqGuuUgc7p VqZimD0wJKPHMIAQBF0G478cgQ//H2pmT2TI+nib1gON1AsiLZW0NipXuD6MKAJzpXl4 IldZ4CVwvtm1NqdtY44MMTcoqCHw4jHi50oEps+c2PPF0lha7mhfTO3OzwNetpr6p54F YVv6oqFx7wZVC9h9ucRif6I2xoukLAdI63oRYO0qpgvKvmLoKGRmsG4QAah/mHT9uSS6 UpD0LxtA3jgR+uWqiKeryKblvxpJ1b/4Ghzr8nFyMYeN8PhkcAb7Vuw5YUBXbTG3AWBq P0XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZB//E9pqI5r/z3pbWZzARV9I4GFOLysZP1W258lB1Dk=; b=wS34pP3155k4YMHIpzlRle85IahW+1bB9vW+kU47NF7lLb/oHb2tLjhHQaLGvf/xy2 1HW89fwJsdPhGuZfEs7vlgSu/07Y3yJelrp1TK7SZVC1xZl6l0wpXy2PoZyhtwwcJTjW LczqP2mCPCLuz13uMfsLoXCyzdv0v6GShk/30uxsBhqnds+aA0WJH8EZ6TF0WeH05yXy pQEOx13xly+QqDSL2C3Pg7V488/rZv9UkxxPG4TdE3E7EYAV5sJsa76+EV85P4E9MRip J5IZWgcfCrFOO2mxcVz4wxGM+OwfWL/zYPlRwiF9bWa0Z9T2jJK2tx2yMFZDT+5ZXApX N6SQ== X-Gm-Message-State: AFqh2kpbYfcSlM34vqsbVkRbbXJHceeiwyojHSofJP8p3QCsRwHXgoe3 alGRfFlc1zLuyYEViUaxTtrcO1H101Timblx X-Google-Smtp-Source: AMrXdXv7zlaVtAsA/WbCgYwtCnlXNmEqqm5UoP8hvd12VvBRjODypc6tiQEwvPWhhk1ZU/d+qpQisA== X-Received: by 2002:a05:6000:985:b0:295:a475:64f2 with SMTP id by5-20020a056000098500b00295a47564f2mr34166584wrb.17.1673565243325; Thu, 12 Jan 2023 15:14:03 -0800 (PST) Return-Path: Received: from PC-PEDRO-ARCH.lan ([2001:8a0:7280:5801:9441:3dce:686c:bfc7]) by smtp.gmail.com with ESMTPSA id l7-20020a5d6747000000b002b57bae7174sm17472396wrw.5.2023.01.12.15.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 15:14:02 -0800 (PST) From: "Pedro Falcato" To: devel@edk2.groups.io Cc: Pedro Falcato , Isaac Oram , Theo Jehl Subject: [PATCH edk2-platforms 0/2] QemuOpenBoardPkg: PCI rework and small fixes Date: Thu, 12 Jan 2023 23:13:57 +0000 Message-Id: <20230112231359.452800-1-pedro.falcato@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch-set contains a large rework of PCI (including migration to MinPlatformPkg's PCI host bus driver) and trivial code cleanup (some of it included in the PCI patch). More details about the changes themselves in the commit messages and code comments. Cc: Isaac Oram Cc: Theo Jehl Pedro Falcato (2): QemuOpenBoardPkg: Redo PCI bus initialization QemuOpenBoardPkg: Trivial code cleanup .../Include/Dsc/Stage2.dsc.inc | 4 +- .../QemuOpenBoardPkg/PlatformInitPei/Cpu.c | 2 +- .../QemuOpenBoardPkg/PlatformInitPei/Memory.c | 31 ++- .../QemuOpenBoardPkg/PlatformInitPei/Pci.c | 227 +++++++++++++++--- .../QemuOpenBoardPkg/PlatformInitPei/Pcie.c | 106 -------- .../PlatformInitPei/PlatformInit.c | 17 +- .../PlatformInitPei/PlatformInit.h | 60 +++-- .../PlatformInitPei/PlatformInitPei.inf | 18 +- .../QemuOpenBoardPkg/QemuOpenBoardPkg.dsc | 17 +- 9 files changed, 299 insertions(+), 183 deletions(-) delete mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/Pcie.c -- 2.39.0