Commit 09d065d
cxl: Make region type based on endpoint type
Current code is expecting Type3 or CXL_DECODER_HOSTONLYMEM devices only.
Support for Type2 implies region type needs to be based on the endpoint
type HDM-D[B] instead.
Signed-off-by: Alejandro Lucero <alucerop@amd.com>
Reviewed-by: Zhi Wang <zhiw@nvidia.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ben Cheatham <benjamin.cheatham@amd.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Davidlohr Bueso <daves@stgolabs.net>
Reviewed-by: Gregory Price <gourry@gourry.net>
Tested-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://patch.msgid.link/20260228173603.1125109-2-alejandro.lucero-palau@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>1 parent d537d95 commit 09d065d
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2650 | 2650 | | |
2651 | 2651 | | |
2652 | 2652 | | |
2653 | | - | |
| 2653 | + | |
| 2654 | + | |
2654 | 2655 | | |
2655 | 2656 | | |
2656 | 2657 | | |
| |||
2672 | 2673 | | |
2673 | 2674 | | |
2674 | 2675 | | |
2675 | | - | |
| 2676 | + | |
2676 | 2677 | | |
2677 | 2678 | | |
2678 | 2679 | | |
| |||
2686 | 2687 | | |
2687 | 2688 | | |
2688 | 2689 | | |
2689 | | - | |
| 2690 | + | |
2690 | 2691 | | |
2691 | 2692 | | |
2692 | 2693 | | |
| |||
3902 | 3903 | | |
3903 | 3904 | | |
3904 | 3905 | | |
3905 | | - | |
| 3906 | + | |
| 3907 | + | |
3906 | 3908 | | |
3907 | 3909 | | |
3908 | 3910 | | |
| |||
0 commit comments