------- Comment From <email address hidden> 2015-10-02 05:56 EDT-------
In addition to the cxlflash fixes, we also have a handful of fixes to the core cxl driver. I've backported these on the wily tree and put them on github here:
The list of patches are:
* cxl: Workaround malformed pcie packets on some cards
* 5f81b95 cxl: fix leak of ctx->mapping when releasing kernel API contexts
* 52adee5 cxl: fix leak of ctx->irq_bitmap when releasing context via kernel API
* 8dde152 cxl: fix leak of IRQ names in cxl_free_afu_irqs()
* d6eb71a cxl: Fix lockdep warning while creating afu_err_buff attribute
* 2cd55c6 cxl: Fix build failure due to -Wunused-variable behaviour change
* 7d1647d cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline
Most of these patches are already upstream - up to d6eb71a are already in Linus' tree, and up to 5f81b95 are currently in powerpc/fixes and will be pushed to Linus shortly.
The final patch (cxl: Workaround malformed pcie packets on some cards) must have got lost in transit somewhere as it never made it to linuxppc-dev and therefore hasn't gone upstream yet. I've resent it to the list as we will need it for cxlflash: https://patchwork.ozlabs.org/patch/525383/
------- Comment From <email address hidden> 2015-10-02 05:56 EDT-------
In addition to the cxlflash fixes, we also have a handful of fixes to the core cxl driver. I've backported these on the wily tree and put them on github here:
<email address hidden> :DarkStarSword/ linux cxl/wily
The list of patches are: enable_ device_ hook() if PCI channel is offline
* cxl: Workaround malformed pcie packets on some cards
* 5f81b95 cxl: fix leak of ctx->mapping when releasing kernel API contexts
* 52adee5 cxl: fix leak of ctx->irq_bitmap when releasing context via kernel API
* 8dde152 cxl: fix leak of IRQ names in cxl_free_afu_irqs()
* d6eb71a cxl: Fix lockdep warning while creating afu_err_buff attribute
* 2cd55c6 cxl: Fix build failure due to -Wunused-variable behaviour change
* 7d1647d cxl: abort cxl_pci_
Most of these patches are already upstream - up to d6eb71a are already in Linus' tree, and up to 5f81b95 are currently in powerpc/fixes and will be pushed to Linus shortly.
The final patch (cxl: Workaround malformed pcie packets on some cards) must have got lost in transit somewhere as it never made it to linuxppc-dev and therefore hasn't gone upstream yet. I've resent it to the list as we will need it for cxlflash: /patchwork. ozlabs. org/patch/ 525383/
https:/