mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
This tag contains the following bug fixes:
- Fix the dma address that is passed to dma_mmap_coherent. We passed an address that includes an offset that is needed by our device and that caused dma_mmap_coherent to do an errounous mapping. - Fix the reset process in case failures happen during the reset process. Without this fix, if the user would have asked to perform reset after the previous reset failed he would get a kernel panic - WA to prevent soft lockup BUG during unmap of host memory. In case of tens of thousands of mappings, the unmapping can take a long time that exceeds the soft lockup timeout. This WA adds a small sleep every 32K page unmappings to prevent that. -----BEGIN PGP SIGNATURE----- iQFHBAABCgAxFiEE7TEboABC71LctBLFZR1NuKta54AFAl/+pRETHG9nYWJiYXlA a2VybmVsLm9yZwAKCRBlHU24q1rngIZxB/9hwFFwYovh0j8X+e+pAjluPaejzRH0 RrpuUXdqXCgh1YPYN9LxDbp98CQ7T0g74SShtbTKlwcHHrZeKzh6ej6j2YhfrWbL CveSF3QP/pJw6OLVqmTDXcn/G6fbP3E3oHA5Tvx59aQtc6soezDkt2vF7TuN/3AQ O7STzlUSStDDl0F6nYsnSGfbDcY5jy9a8jcMS3qW5GN1LR39IPaosvEYLhzRL5KA holnOHeTC0smCLJdh/6cgZ5NnOOVI7EXzGaJT+q4BBDlryjef0hQUn1ZZ194mmDc Ez+8CsgxVnxhVjP56ba8wfvKYT+6K/ZML54SixDj3Nj3kDTaN3eACFXq =1i/h -----END PGP SIGNATURE----- Merge tag 'misc-habanalabs-fixes-2021-01-13' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into char-misc-linus Oded writes: This tag contains the following bug fixes: - Fix the dma address that is passed to dma_mmap_coherent. We passed an address that includes an offset that is needed by our device and that caused dma_mmap_coherent to do an errounous mapping. - Fix the reset process in case failures happen during the reset process. Without this fix, if the user would have asked to perform reset after the previous reset failed he would get a kernel panic - WA to prevent soft lockup BUG during unmap of host memory. In case of tens of thousands of mappings, the unmapping can take a long time that exceeds the soft lockup timeout. This WA adds a small sleep every 32K page unmappings to prevent that. * tag 'misc-habanalabs-fixes-2021-01-13' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux: habanalabs: prevent soft lockup during unmap habanalabs: fix reset process in case of failures habanalabs: fix dma_addr passed to dma_mmap_coherent
This commit is contained in:
commit
02039b1723
7 changed files with 27 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue