linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [git pull v2] habanalabs fixes for 5.1-rc3
@ 2019-03-26  8:13 Oded Gabbay
  2019-03-27  1:09 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Oded Gabbay @ 2019-03-26  8:13 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hi Greg,

A couple of important fixes for habanalabs driver:

- Fix host crash upon resume after suspend
- Fix MMU related bugs which result in user's jobs getting stuck
- Fix race between user context cleanup and hard-reset which results in
  host crash
- Fix sparse warning

Thanks,
Oded

The following changes since commit 8c2ffd9174779014c3fe1f96d9dc3641d9175f00:

  Linux 5.1-rc2 (2019-03-24 14:02:26 -0700)

are available in the Git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-fixes-2019-03-26

for you to fetch changes up to 7c22278edd0a931c565a8511dfc1bc57ffbb9166:

  habanalabs: cast to expected type (2019-03-03 10:23:29 +0200)

----------------------------------------------------------------
The following bug fixes are included in this tag:

- Fix host crash upon resume after suspend
- Fix MMU related bugs which result in user's jobs getting stuck
- Fix race between user context cleanup and hard-reset which results in
  host crash
- Fix sparse warning

----------------------------------------------------------------
Oded Gabbay (3):
      habanalabs: perform accounting for active CS
      habanalabs: prevent host crash during suspend/resume
      habanalabs: cast to expected type

Omer Shpigelman (4):
      habanalabs: fix MMU number of pages calculation
      habanalabs: fix bug when mapping very large memory area
      habanalabs: complete user context cleanup before hard reset
      habanalabs: fix mapping with page size bigger than 4KB

 drivers/misc/habanalabs/command_submission.c |  6 +++
 drivers/misc/habanalabs/debugfs.c            |  7 +--
 drivers/misc/habanalabs/device.c             | 71 ++++++++++++++++++++++++++--
 drivers/misc/habanalabs/goya/goya.c          | 65 +------------------------
 drivers/misc/habanalabs/habanalabs.h         | 21 ++++----
 drivers/misc/habanalabs/hw_queue.c           |  5 +-
 drivers/misc/habanalabs/memory.c             | 38 ++++++++-------
 drivers/misc/habanalabs/mmu.c                |  6 ++-
 8 files changed, 117 insertions(+), 102 deletions(-)

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

* Re: [git pull v2] habanalabs fixes for 5.1-rc3
  2019-03-26  8:13 [git pull v2] habanalabs fixes for 5.1-rc3 Oded Gabbay
@ 2019-03-27  1:09 ` Greg KH
  2019-03-28  6:09   ` Oded Gabbay
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2019-03-27  1:09 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: linux-kernel

On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote:
> Hi Greg,
> 
> A couple of important fixes for habanalabs driver:
> 
> - Fix host crash upon resume after suspend
> - Fix MMU related bugs which result in user's jobs getting stuck
> - Fix race between user context cleanup and hard-reset which results in
>   host crash
> - Fix sparse warning

Much better, thanks, now pulled and pushed out.

greg k-h

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

* Re: [git pull v2] habanalabs fixes for 5.1-rc3
  2019-03-27  1:09 ` Greg KH
@ 2019-03-28  6:09   ` Oded Gabbay
  2019-03-28  6:29     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Oded Gabbay @ 2019-03-28  6:09 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux-Kernel@Vger. Kernel. Org

On Wed, Mar 27, 2019 at 3:09 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote:
> > Hi Greg,
> >
> > A couple of important fixes for habanalabs driver:
> >
> > - Fix host crash upon resume after suspend
> > - Fix MMU related bugs which result in user's jobs getting stuck
> > - Fix race between user context cleanup and hard-reset which results in
> >   host crash
> > - Fix sparse warning
>
> Much better, thanks, now pulled and pushed out.
>
> greg k-h

Hi Greg,
In which branch do I see that ? I tried to find it in your char-misc
repo but couldn't find it.

Thanks,
Oded

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

* Re: [git pull v2] habanalabs fixes for 5.1-rc3
  2019-03-28  6:09   ` Oded Gabbay
@ 2019-03-28  6:29     ` Greg KH
  2019-03-28  6:55       ` Oded Gabbay
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2019-03-28  6:29 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: Linux-Kernel@Vger. Kernel. Org

On Thu, Mar 28, 2019 at 08:09:13AM +0200, Oded Gabbay wrote:
> On Wed, Mar 27, 2019 at 3:09 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote:
> > > Hi Greg,
> > >
> > > A couple of important fixes for habanalabs driver:
> > >
> > > - Fix host crash upon resume after suspend
> > > - Fix MMU related bugs which result in user's jobs getting stuck
> > > - Fix race between user context cleanup and hard-reset which results in
> > >   host crash
> > > - Fix sparse warning
> >
> > Much better, thanks, now pulled and pushed out.
> >
> > greg k-h
> 
> Hi Greg,
> In which branch do I see that ? I tried to find it in your char-misc
> repo but couldn't find it.

It should be in the char-misc-linus branch of the char-misc.git repo on
git.kernel.org.  Note, I was in the air for a long time yesterday, so
the emails probably went out 8 hours before I was able to push out the
git repo, but it should all be synced up now.  Sorry for any confusion
there.

greg k-h

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

* Re: [git pull v2] habanalabs fixes for 5.1-rc3
  2019-03-28  6:29     ` Greg KH
@ 2019-03-28  6:55       ` Oded Gabbay
  0 siblings, 0 replies; 5+ messages in thread
From: Oded Gabbay @ 2019-03-28  6:55 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux-Kernel@Vger. Kernel. Org

On Thu, Mar 28, 2019 at 8:29 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Thu, Mar 28, 2019 at 08:09:13AM +0200, Oded Gabbay wrote:
> > On Wed, Mar 27, 2019 at 3:09 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> > >
> > > On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote:
> > > > Hi Greg,
> > > >
> > > > A couple of important fixes for habanalabs driver:
> > > >
> > > > - Fix host crash upon resume after suspend
> > > > - Fix MMU related bugs which result in user's jobs getting stuck
> > > > - Fix race between user context cleanup and hard-reset which results in
> > > >   host crash
> > > > - Fix sparse warning
> > >
> > > Much better, thanks, now pulled and pushed out.
> > >
> > > greg k-h
> >
> > Hi Greg,
> > In which branch do I see that ? I tried to find it in your char-misc
> > repo but couldn't find it.
>
> It should be in the char-misc-linus branch of the char-misc.git repo on
> git.kernel.org.  Note, I was in the air for a long time yesterday, so
> the emails probably went out 8 hours before I was able to push out the
> git repo, but it should all be synced up now.  Sorry for any confusion
> there.
>
> greg k-h
ah, ok. no problem, just wanted to make sure I'm looking at the right location.

Oded

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

end of thread, other threads:[~2019-03-28  6:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  8:13 [git pull v2] habanalabs fixes for 5.1-rc3 Oded Gabbay
2019-03-27  1:09 ` Greg KH
2019-03-28  6:09   ` Oded Gabbay
2019-03-28  6:29     ` Greg KH
2019-03-28  6:55       ` Oded Gabbay

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