dm: pci: Various fixes and test cases update
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest21 patches 0 repliesNew
- v221 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Change commit title to use "440ep-specific"
- Update commit message to mention removing redundant asserts
- Update doc to describe the "sandbox,dev-info" encodings
- Describe test configuration in the commit message
Patches in v3 No applies recorded yet
Reviews trailers per patch
All 21 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/21 | R-b |
| 2/21 | R-b |
| 3/21 | R-b |
| 4/21 | R-b |
| 5/21 | R-b |
| 6/21 | R-b |
| 7/21 | R-b |
| 8/21 | R-b |
| 9/21 | R-b |
| 10/21 | R-b |
| 11/21 | R-b |
| 12/21 | R-b |
| 13/21 | R-b |
| 14/21 | R-b |
| 15/21 | R-b |
| 16/21 | R-b |
| 17/21 | R-b |
| 18/21 | R-b |
| 19/21 | R-b |
| 20/21 | R-b |
| 21/21 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v3 00/21] dm: pci: Various fixes and test cases update
This fixes several bugs in dm pci driver, as well as updating test cases running on Sandbox to test dm pci.
It turns out adding test cases for v1 (3 commits) reveals more design limitations/bugs of sandbox pci driver. Now the v2/v3 series contains 20+ patches!
This series is available for testing at u-boot-x86/pci branch.
Changes in v3:
- Change commit title to use "440ep-specific"
- Update commit message to mention removing redundant asserts
- Update doc to describe the "sandbox,dev-info" encodings
- Describe test configuration in the commit message
Changes in v2:
- Mask header_type with 0x7f
Bin Meng (21):
pci: Remove 440ep-specific macros
dm: Correct typos in uclass_first/next_device_check()
dm: core: Add ofnode function to read PCI vendor and device id
dm: pci: Extract vendor/device id in child_post_bind()
dm: pci: Fix scanning multi-function device
test: dm: pci: Remove unnecessary steps in dm_test_pci_swapcase()
test: dm: pci: Test more than one device on the same bus
pci: sandbox: swap_case: Preserve space indicator bit in BAR registers
test: dm: pci: Test more than one PCI host controller
test: dm: pci: Add tests for configuration space access
pci: sandbox: emul: Fix the call to pci_bus_find_devfn()
dm: pci: Assign correct driver data when binding a driver
pci: sandbox: Support dynamically binding device driver
pci: sandbox: swap_case: Declare dynamic driver matching
sandbox: Update test.dts for dynamic PCI device driver matching
test: dm: pci: Test driver binding with driver data provided
pci: sandbox: emul: Rename priv structure
test: dm: pci: Add tests for mixed static and dynamic devices on the
same bus
pci: Add all known capability and extended capability ids
dm: pci: Add APIs to find capability and extended capability
test: dm: pci: Add cases for finding PCI capability APIs
arch/sandbox/dts/test.dts | 41 +++++++++- arch/sandbox/include/asm/test.h | 12 +++ doc/driver-model/pci-info.txt | 28 +++++++ drivers/core/ofnode.c | 36 +++++++++ drivers/misc/swap_case.c | 36 ++++++++- drivers/pci/pci-emul-uclass.c | 24 +++--- drivers/pci/pci-uclass.c | 83 ++++++++++++++++++-- drivers/pci/pci_sandbox.c | 78 ++++++++++++++++-- include/dm/ofnode.h | 13 +++ include/dm/uclass.h | 4 +- include/pci.h | 84 ++++++++++++++++---- test/dm/pci.c | 170 ++++++++++++++++++++++++++++++++++++++-- 12 files changed, 556 insertions(+), 53 deletions(-)
Signature · 1 line
2.7.4