habanalabs fixes for 5.2-rc4/5
Hi Greg,
This is a pull request containing fixes to be merged to 5.2-rc4/5.
It contains 3 bug fixes. See the tag comment for more details.
Thanks,
Oded
The following changes since commit 8aa75b72e3e6f0f566cd963606ec5da11b195c0b:
Merge tag 'misc-habanalabs-fixes-2019-05-24' of git://people.freedesktop.org/~gabbayo/linux into char-misc-linus (2019-05-31 09:19:42 -0700)
are available in the Git repository at:
git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-fixes-2019-06-06
for you to fetch changes up to 1f65105ffc472624b45aff8bedb819c10a85944d:
habanalabs: Read upper bits of trace buffer from RWPHI (2019-06-04 15:13:09 +0300)
----------------------------------------------------------------
This tag contains the following fixes:
- Fix the code that checks whether we can use 2MB page size when mapping memory in the ASIC's MMU. The current code had a "hole" which happened in architectures other then x86-64.
- Fix the debugfs interface to read/write from/to the device using device virtual addresses. There was a bug in the translation regarding addresses that were mapped using 2MB page size.
- Fix a bug in the debug/profiling code, where the code didn't read the full address but only the lower 32-bits of the address.
----------------------------------------------------------------
Oded Gabbay (1):
habanalabs: fix bug in checking huge page optimization
Tomer Tayar (2):
habanalabs: Fix virtual address access via debugfs for 2MB pages
habanalabs: Read upper bits of trace buffer from RWPHI
drivers/misc/habanalabs/debugfs.c | 5 ++++- drivers/misc/habanalabs/goya/goya_coresight.c | 14 ++++++++++++-- drivers/misc/habanalabs/memory.c | 6 ------ 3 files changed, 16 insertions(+), 9 deletions(-)
Quoted 9 lines · Oded Gabbay
Hi Greg,
This is a pull request containing fixes to be merged to 5.2-rc4/5.
It contains 3 bug fixes. See the tag comment for more details.
Thanks,
Oded
Quoted 7 lines
The following changes since commit
8aa75b72e3e6f0f566cd963606ec5da11b195c0b:Merge tag 'misc-habanalabs-fixes-2019-05-24' of
git://people.freedesktop.org/~gabbayo/linuxinto char-misc-linus (2019-05-31 09:19:42 -0700)are available in the Git repository at:
git://people.freedesktop.org/~gabbayo/linuxtags/misc-habanalabs-fixes-2019-06-06
Pulled and pushed out, thanks.
greg k-h