linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [git pull] habanalabs fixes for 5.11-rc4
@ 2021-01-13  7:52 Oded Gabbay
  2021-01-13  9:52 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Oded Gabbay @ 2021-01-13  7:52 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hi Greg,

This pull request contains three important bug fixes for 5.11-rc4.
Basically the driver won't work without the dma address fix, and 
IMO the two other fixes are also improtant enough to be included 
at this stage.

Thanks,
Oded

The following changes since commit f970d1d01af8606233f47901c1cf39f3ae21fd74:

  Merge tag 'phy-fixes-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-next (2021-01-11 15:37:40 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git tags/misc-habanalabs-fixes-2021-01-13

for you to fetch changes up to 9488307a5559255f2fc9a3ab61e1c31e243ca7c6:

  habanalabs: prevent soft lockup during unmap (2021-01-12 15:00:10 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Oded Gabbay (3):
      habanalabs: fix dma_addr passed to dma_mmap_coherent
      habanalabs: fix reset process in case of failures
      habanalabs: prevent soft lockup during unmap

 drivers/misc/habanalabs/common/device.c     |  2 +-
 drivers/misc/habanalabs/common/habanalabs.h |  1 +
 drivers/misc/habanalabs/common/memory.c     | 10 ++++++++--
 drivers/misc/habanalabs/common/mmu.c        |  6 +++---
 drivers/misc/habanalabs/common/mmu_v1.c     | 12 ++++++++++--
 drivers/misc/habanalabs/gaudi/gaudi.c       |  3 ++-
 drivers/misc/habanalabs/goya/goya.c         |  3 ++-
 7 files changed, 27 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [git pull] habanalabs fixes for 5.11-rc4
  2021-01-13  7:52 [git pull] habanalabs fixes for 5.11-rc4 Oded Gabbay
@ 2021-01-13  9:52 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-01-13  9:52 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: linux-kernel

On Wed, Jan 13, 2021 at 09:52:53AM +0200, Oded Gabbay wrote:
> Hi Greg,
> 
> This pull request contains three important bug fixes for 5.11-rc4.
> Basically the driver won't work without the dma address fix, and 
> IMO the two other fixes are also improtant enough to be included 
> at this stage.
> 
> Thanks,
> Oded
> 
> The following changes since commit f970d1d01af8606233f47901c1cf39f3ae21fd74:
> 
>   Merge tag 'phy-fixes-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-next (2021-01-11 15:37:40 +0100)
> 
> are available in the Git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git tags/misc-habanalabs-fixes-2021-01-13

Pulled and pushed out, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-13  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  7:52 [git pull] habanalabs fixes for 5.11-rc4 Oded Gabbay
2021-01-13  9:52 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).