Ohad Sharabi e8458e20e0 habanalabs: make sure device mem alloc is page aligned
Working with MMU that supports multiple page sizes requires that mapping
of a page of a certain size will be aligned to the same size (e.g. the
physical address of 32MB page shall be aligned to 32MB).

To achieve this the gen_poll allocation is now using the "align" variant
to comply with the alignment requirements.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2022-02-28 14:22:05 +02:00
..
2022-02-14 09:00:38 +01:00
2021-09-27 15:39:40 +02:00
2021-10-29 13:17:21 +01:00
2021-05-13 17:03:20 +02:00
2021-10-05 15:47:18 +02:00
2021-03-02 22:41:23 +11:00
2021-05-21 15:05:08 +02:00