Patch "PCI: Add quirks to generate device tree node for Xilinx Alveo U50" has been added to the 6.5-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    PCI: Add quirks to generate device tree node for Xilinx Alveo U50

to the 6.5-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     pci-add-quirks-to-generate-device-tree-node-for-xili.patch
and it can be found in the queue-6.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1bd7f29a9d50fe2ce66158e7e4c6892218dd70f0
Author: Lizhi Hou <lizhi.hou@xxxxxxx>
Date:   Tue Aug 15 10:19:58 2023 -0700

    PCI: Add quirks to generate device tree node for Xilinx Alveo U50
    
    [ Upstream commit ae9813db1dc5ac987a09889791155a7b8c527f8d ]
    
    The Xilinx Alveo U50 PCI card exposes multiple hardware peripherals on
    its PCI BAR. The card firmware provides a flattened device tree to
    describe the hardware peripherals on its BARs. This allows U50 driver to
    load the flattened device tree and generate the device tree node for
    hardware peripherals underneath.
    
    To generate device tree node for U50 card, add PCI quirks to call
    of_pci_make_dev_node() for U50.
    
    Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
    Signed-off-by: Lizhi Hou <lizhi.hou@xxxxxxx>
    Link: https://lore.kernel.org/r/1692120000-46900-4-git-send-email-lizhi.hou@xxxxxxx
    Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
    Stable-dep-of: c9260693aa0c ("PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 9fa3c9225bb30..3ec7bcfbf4dc0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -6161,3 +6161,14 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x9a2d, dpc_log_size);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x9a2f, dpc_log_size);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x9a31, dpc_log_size);
 #endif
+
+/*
+ * For a PCI device with multiple downstream devices, its driver may use
+ * a flattened device tree to describe the downstream devices.
+ * To overlay the flattened device tree, the PCI device and all its ancestor
+ * devices need to have device tree nodes on system base device tree. Thus,
+ * before driver probing, it might need to add a device tree node as the final
+ * fixup.
+ */
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_XILINX, 0x5020, of_pci_make_dev_node);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_XILINX, 0x5021, of_pci_make_dev_node);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux