提交 f46580a5 编写于 作者: M Michael Neuling 提交者: Michael Ellerman

powerpc: Add cxl context to device archdata

Add cxl context pointer to archdata.  We'll want to create one of these for cxl
PCI devices.  Put them here until we can get a pci_dev specific private data.

This location was suggested by benh.
Signed-off-by: NMichael Neuling <mikey@neuling.org>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 10e79630
...@@ -46,6 +46,9 @@ struct dev_archdata { ...@@ -46,6 +46,9 @@ struct dev_archdata {
#ifdef CONFIG_FAIL_IOMMU #ifdef CONFIG_FAIL_IOMMU
int fail_iommu; int fail_iommu;
#endif #endif
#ifdef CONFIG_CXL_BASE
struct cxl_context *cxl_ctx;
#endif
}; };
struct pdev_archdata { struct pdev_archdata {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册