From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id ED49A81EA2 for ; Fri, 9 Dec 2016 07:04:41 -0800 (PST) Received: by mail-wm0-x22a.google.com with SMTP id f82so29792103wmf.1 for ; Fri, 09 Dec 2016 07:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=MoZvHB6rTRmAUWiOZ2xvWTvrXXVN9XrrOaGM588yF2U=; b=GmwpuRRKN/HkrnrI919cg69KIliig6S1kOQ0FKEtwYUZ+hOR+2WHf0U+e2MipnYwNI p8Kn/+vnCNlUJlHIYArx4nfZbjfT0+PKDpnt23GuBVUS0JfC1kIlPfeeOda1RFoP66vu bYbQn07gGrXQWXZXH3sFvvJP6JNwHeTTQ39UE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MoZvHB6rTRmAUWiOZ2xvWTvrXXVN9XrrOaGM588yF2U=; b=kfxCWizyxjX5/uFrVGnW3CXzLDVJKwlKcxzFLm7cbSzUQddo361dvAFwr/20WCKYJx X1tUoovexuAjoDs3fPYuuvsQRwqcbTfpVKhB0cCiT2uBOUw914TGb4e0R71FYNVQOrCl 6LbdiTky4bSMjpisuIrm7sjnEjd19FrbjQqh5rgB+IEyR72CmzvtGBUd107lgbYqV0nY tTUPRhKjipoIaUrtnIRXS5A2+bYY/CCKZMkkgT5pipaANbV8S71KbSKn2pHzYAEgAVWR /wytjySmgOMy7RzQafHrFmRS7KYBZT7E3sf7GcVVv4E/6PDmT+7M8rhEhaJMP6ntVMdh eDhQ== X-Gm-Message-State: AKaTC00Ar43cdTB3gS/xQJ4umNpVlp87HLTP6gZuujv7KDxb7m+Mm+c8nB0lahd4blaA6Kqt X-Received: by 10.28.182.70 with SMTP id g67mr7580705wmf.90.1481295880032; Fri, 09 Dec 2016 07:04:40 -0800 (PST) Received: from localhost.localdomain ([105.144.52.243]) by smtp.gmail.com with ESMTPSA id x140sm20975515wme.19.2016.12.09.07.04.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Dec 2016 07:04:38 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, ruiyu.ni@intel.com Cc: feng.tian@intel.com, liming.gao@intel.com, Ard Biesheuvel Date: Fri, 9 Dec 2016 15:04:33 +0000 Message-Id: <1481295875-32499-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v6 0/2] MdeModulePkg/NonDiscoverablePciDeviceDxe: non-coherent DMA support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2016 15:04:42 -0000 These are the two patches that remain from the series 'MdeModulePkg: add support for non-discoverable devices', whose v5 I have partially merged. What remains is: - a patch that enhances NonDiscoverablePciDeviceDxe to support non-coherent DMA masters, which are not uncommon on ARM platforms - a patch that replaces the existing BeagleBoard PciEmulation code with a slim driver that builds on top of NonDiscoverablePciDeviceDxe to drive the non-coherent non-PCI EHCI controller on the OMAP 3630. Changes since v5: - add missing EFIAPI modifiers to non-coherent PCI I/O protocol methods Ard Biesheuvel (2): MdeModulePkg/NonDiscoverablePciDeviceDxe: add support for non-coherent DMA Omap35xxPkg/PciEmulation: port to new non-discoverable device infrastructure BeagleBoardPkg/BeagleBoardPkg.dsc | 2 + BeagleBoardPkg/BeagleBoardPkg.fdf | 1 + MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.c | 14 +- MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf | 2 + MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c | 329 +++++++++++ MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.h | 29 + Omap35xxPkg/Omap35xxPkg.dsc | 2 +- Omap35xxPkg/PciEmulation/PciEmulation.c | 578 +------------------- Omap35xxPkg/PciEmulation/PciEmulation.h | 292 ---------- Omap35xxPkg/PciEmulation/PciEmulation.inf | 16 +- Omap35xxPkg/PciEmulation/PciRootBridgeIo.c | 306 ----------- 11 files changed, 403 insertions(+), 1168 deletions(-) delete mode 100644 Omap35xxPkg/PciEmulation/PciEmulation.h delete mode 100644 Omap35xxPkg/PciEmulation/PciRootBridgeIo.c -- 2.7.4