fpfn and lpfn in struct ttm_place are 32-bit page numbers. With 4KB page size this can support up to 44-bit physical addressing. Grow these to 64-bit (uint64_t) to support larger physical addresses.
Unified · Split
| @@ -81,8 +81,8 @@ · 80 unmodified lines | |||
| 81 | * Structure indicating a possible place to put an object. | 81 | * Structure indicating a possible place to put an object. |
| 82 | */ | 82 | */ |
| 83 | struct ttm_place { | 83 | struct ttm_place { |
| 84 | unsigned fpfn; | 84 | uint64_t fpfn; |
| 85 | unsigned lpfn; | 85 | uint64_t lpfn; |
| 86 | uint32_t mem_type; | 86 | uint32_t mem_type; |
| 87 | uint32_t flags; | 87 | uint32_t flags; |
| 88 | }; | 88 | }; |