Skip to content

PCI: of: Load extra data only from compatible DT nodes

[email protected] ath10k linux-pci linux-wireless lkml oe-kbuild-all 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 1 replyIn review
  2. v53 patches 4 repliesSuperseded
  3. v43 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches0 repliesSuperseded
v23 patches0 repliesSuperseded

Changes in v6 from the cover letter

3, handle generic "qcom,ath10k" via of_device_get_match_data()

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: of: Match pci devices or drivers against OF DT nodesdrivers/pci/of.c drivers/pci/pci-driver.c drivers/pci/pci.h +2 more+386 -50 replies
2/3wifi: ath9k: stop loading incompatible DT cal datadrivers/net/wireless/ath/ath9k/ath9k.h drivers/net/wireless/ath/ath9k/init.c drivers/net/wireless/ath/ath9k/pci.c+29 -10 replies
3/3wifi: ath10k: only load compatible DT cal datadrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/hw.h drivers/net/wireless/ath/ath10k/pci.c +1 more+54 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 0/3] PCI: of: Load extra data only from compatible DT nodes

From: Edward Chow <[email protected]>

In order to solve the issue reported in
https://github.com/openwrt/openwrt/pull/11345 , this patchset attempt to add mechanisms to ckeck whether an OF DT node is compatible to the PCI device installed on the corresponding location or the driver for it, and make ath9k and ath10k only load extra data from compatible nodes.

V5 -> V6:
3, handle generic "qcom,ath10k" via of_device_get_match_data()

Edward Chow (3):
PCI: of: Match pci devices or drivers against OF DT nodes
wifi: ath9k: stop loading incompatible DT cal data
wifi: ath10k: only load compatible DT cal data

 drivers/net/wireless/ath/ath10k/core.c |  31 +++
 drivers/net/wireless/ath/ath10k/hw.h   |   4 +
 drivers/net/wireless/ath/ath10k/pci.c  |  18 +-
 drivers/net/wireless/ath/ath10k/pci.h  |   2 +
 drivers/net/wireless/ath/ath9k/ath9k.h |   1 +
 drivers/net/wireless/ath/ath9k/init.c  |  27 +++
 drivers/net/wireless/ath/ath9k/pci.c   |   2 +-
 drivers/pci/of.c                       | 299 +++++++++++++++++++++++++
 drivers/pci/pci-driver.c               |   5 -
 drivers/pci/pci.h                      |  56 +++++
 include/linux/of_pci.h                 |  25 +++
 include/linux/pci.h                    |   6 +
 12 files changed, 469 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.1