linux/drivers/misc/habanalabs/common
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
..
mmu habanalabs: make some MMU functions common 2022-02-28 14:22:01 +02:00
pci habanalabs: rephrase error messages in PCI initialization 2022-02-28 14:22:04 +02:00
asid.c habanalabs: replace WARN/WARN_ON with dev_crit in driver 2021-01-27 21:03:49 +02:00
command_buffer.c habanalabs: avoid using an uninitialized variable 2022-02-28 14:22:05 +02:00
command_submission.c habanalabs: Timestamps buffers registration 2022-02-28 14:22:04 +02:00
context.c habanalabs: keep control device alive during hard reset 2021-12-26 08:59:09 +02:00
debugfs.c habanalabs: enable stop-on-error debugfs setting per ASIC 2022-02-28 14:22:05 +02:00
device.c habanalabs: set max power on device init per ASIC 2022-02-28 14:22:05 +02:00
firmware_if.c habanalabs: prevent false heartbeat failure during soft-reset 2022-02-28 14:22:03 +02:00
habanalabs_drv.c habanalabs: Timestamps buffers registration 2022-02-28 14:22:04 +02:00
habanalabs_ioctl.c habanalabs: expose number of user interrupts 2022-02-28 14:22:03 +02:00
habanalabs.h habanalabs: allow user to set allocation page size 2022-02-28 14:22:05 +02:00
hw_queue.c habanalabs: save ctx inside encaps signal 2021-12-26 08:59:08 +02:00
hwmon.c habanalabs: fix hwmon handling for legacy f/w 2021-12-26 08:59:09 +02:00
irq.c habanalabs: change function to static 2022-02-28 14:22:04 +02:00
Makefile habanalabs: remove hwmgr.c 2022-02-28 14:22:01 +02:00
memory.c habanalabs: make sure device mem alloc is page aligned 2022-02-28 14:22:05 +02:00
state_dump.c habanalabs: state dump monitors and fences infrastructure 2021-08-29 09:47:46 +03:00
sysfs.c habanalabs: add missing error check in sysfs max_power_show 2022-02-28 14:22:03 +02:00