diff options
| author | Oleksandr Tyshchenko <[email protected]> | 2022-10-08 15:10:13 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2022-10-14 12:22:23 +0000 |
| commit | a383dcb1cca8305497877119fba0a320f41fe853 (patch) | |
| tree | b6097f63f7d4606f40338d86f86a7401e9aa06cf /lib/debugobjects.c | |
| parent | xen/virtio: Handle cases when page offset > PAGE_SIZE properly (diff) | |
| download | kernel-a383dcb1cca8305497877119fba0a320f41fe853.tar.gz kernel-a383dcb1cca8305497877119fba0a320f41fe853.zip | |
xen/virtio: Convert PAGE_SIZE/PAGE_SHIFT/PFN_UP to Xen counterparts
Currently, a grant ref is always based on the Xen page granularity
(4KB), and guest commonly uses the same page granularity.
But the guest may use a different page granularity (i.e 64KB).
So adopt the code to be able to deal with it.
Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Acked-by: Stefano Stabellini <[email protected]>
Reviewed-by: Xenia Ragiadakou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
