public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [git pull] habanalabs pull request for kernel 5.3
@ 2019-07-04  6:22 Oded Gabbay
  2019-07-04  6:40 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Oded Gabbay @ 2019-07-04  6:22 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

Hello Greg,

This is the pull request for habanalabs driver for kernel 5.3.

It mostly contains improvements to the existing code base. Nothing too
exciting this time.

Please see the tag message for details on what this pull request contains.

Thanks,
Oded

The following changes since commit 60e8523e2ea18dc0c0cea69d6c1d69a065019062:

  ocxl: Allow contexts to be attached with a NULL mm (2019-07-03 21:29:47 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2019-07-04

for you to fetch changes up to 4e2da0648c0def56103ac5af2df107c966865821:

  habanalabs: Add busy engines bitmask to HW idle IOCTL (2019-07-01 13:59:45 +0000)

----------------------------------------------------------------
This tag contains the following changes for kernel 5.3:

- Change the way the device's CPU access the host memory. This allows the
  driver to use the kernel API of setting DMA mask in a standard way (call
  it once).

- Add a new debugfs entry to show the status of the internal DMA and
  compute engines. This is very helpful for debugging in case a command
  submission get stuck.

- Return to the user a mask of the internal engines indicating their busy
  state.

- Make sure to restore registers that can be modified by the user to their
  default values. Only applies to registers that are initialized by the
  driver.

- Elimination of redundant and dead-code.

- Support memset of the device's memory with size larger then 4GB

- Force the user to set the device to debug mode before configuring the
  device's coresight infrastructure

- Improve error printing in case of interrupts from the device

----------------------------------------------------------------
Dalit Ben Zoor (3):
      habanalabs: make tpc registers secured
      habanalabs: clear sobs and monitors in context switch
      habanalabs: restore unsecured registers default values

Oded Gabbay (20):
      habanalabs: improve a couple of error messages
      habanalabs: force user to set device debug mode
      habanalabs: remove dead code in habanalabs_drv.c
      habanalabs: check to load F/W before boot status
      habanalabs: remove redundant CB size adjustment
      habanalabs: remove redundant memory clear
      habanalabs: change polling functions to macros
      habanalabs: pass device pointer to asic-specific function
      habanalabs: support device memory memset > 4GB
      habanalabs: don't limit packet size for device CPU
      habanalabs: remove simulator dedicated code
      habanalabs: add rate-limit to an error message
      docs/habanalabs: update text for some entries in sysfs
      habanalabs: initialize device CPU queues after MMU init
      habanalabs: de-couple MMU and VM module initialization
      habanalabs: initialize MMU context for driver
      habanalabs: add MMU mappings for Goya CPU
      habanalabs: set Goya CPU to use ASIC MMU
      habanalabs: remove DMA mask hack for Goya
      habanalabs: add WARN in case of bad MMU mapping

Omer Shpigelman (4):
      habanalabs: remove redundant CPU checks
      habanalabs: minor documentation and prints fixes
      habanalabs: increase PCI ELBI timeout for Palladium
      habanalabs: print event name for fatal and non-RAZWI events

Tomer Tayar (4):
      habanalabs: Allow accessing host mapped addresses via debugfs
      habanalabs: Update the device idle check
      habanalabs: Add debugfs node for engines status
      habanalabs: Add busy engines bitmask to HW idle IOCTL

 .../ABI/testing/debugfs-driver-habanalabs          |  18 +-
 Documentation/ABI/testing/sysfs-driver-habanalabs  |  42 +-
 drivers/misc/habanalabs/asid.c                     |   2 +-
 drivers/misc/habanalabs/command_submission.c       |  10 +-
 drivers/misc/habanalabs/context.c                  |  11 +-
 drivers/misc/habanalabs/debugfs.c                  |  54 +-
 drivers/misc/habanalabs/device.c                   | 189 +++---
 drivers/misc/habanalabs/firmware_if.c              |  51 +-
 drivers/misc/habanalabs/goya/goya.c                | 635 +++++++++++++++------
 drivers/misc/habanalabs/goya/goyaP.h               |  16 +-
 drivers/misc/habanalabs/goya/goya_security.c       |  16 +
 drivers/misc/habanalabs/habanalabs.h               |  93 ++-
 drivers/misc/habanalabs/habanalabs_drv.c           |  66 ++-
 drivers/misc/habanalabs/habanalabs_ioctl.c         |  11 +-
 drivers/misc/habanalabs/hw_queue.c                 |   2 +-
 .../include/goya/asic_reg/dma_ch_0_masks.h         | 418 ++++++++++++++
 .../habanalabs/include/goya/asic_reg/goya_regs.h   |   1 +
 drivers/misc/habanalabs/memory.c                   |  13 +-
 drivers/misc/habanalabs/mmu.c                      |  20 +-
 drivers/misc/habanalabs/pci.c                      |  10 +-
 drivers/misc/habanalabs/sysfs.c                    |   4 -
 include/uapi/misc/habanalabs.h                     |  30 +-
 22 files changed, 1249 insertions(+), 463 deletions(-)
 create mode 100644 drivers/misc/habanalabs/include/goya/asic_reg/dma_ch_0_masks.h

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

* Re: [git pull] habanalabs pull request for kernel 5.3
  2019-07-04  6:22 [git pull] habanalabs pull request for kernel 5.3 Oded Gabbay
@ 2019-07-04  6:40 ` Greg KH
  2019-07-04  6:41   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2019-07-04  6:40 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: linux-kernel

On Thu, Jul 04, 2019 at 09:22:59AM +0300, Oded Gabbay wrote:
> Hello Greg,
> 
> This is the pull request for habanalabs driver for kernel 5.3.
> 
> It mostly contains improvements to the existing code base. Nothing too
> exciting this time.
> 
> Please see the tag message for details on what this pull request contains.
> 
> Thanks,
> Oded
> 
> The following changes since commit 60e8523e2ea18dc0c0cea69d6c1d69a065019062:
> 
>   ocxl: Allow contexts to be attached with a NULL mm (2019-07-03 21:29:47 +0200)
> 
> are available in the Git repository at:
> 
>   git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2019-07-04

Pulled and pushed out, thanks.

greg k-h

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

* Re: [git pull] habanalabs pull request for kernel 5.3
  2019-07-04  6:40 ` Greg KH
@ 2019-07-04  6:41   ` Greg KH
  2019-07-04  6:46     ` Oded Gabbay
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2019-07-04  6:41 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: linux-kernel

On Thu, Jul 04, 2019 at 08:40:10AM +0200, Greg KH wrote:
> On Thu, Jul 04, 2019 at 09:22:59AM +0300, Oded Gabbay wrote:
> > Hello Greg,
> > 
> > This is the pull request for habanalabs driver for kernel 5.3.
> > 
> > It mostly contains improvements to the existing code base. Nothing too
> > exciting this time.
> > 
> > Please see the tag message for details on what this pull request contains.
> > 
> > Thanks,
> > Oded
> > 
> > The following changes since commit 60e8523e2ea18dc0c0cea69d6c1d69a065019062:
> > 
> >   ocxl: Allow contexts to be attached with a NULL mm (2019-07-03 21:29:47 +0200)
> > 
> > are available in the Git repository at:
> > 
> >   git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2019-07-04
> 
> Pulled and pushed out, thanks.

Oops, no, I got the following errors from my scripts when trying to
push:

Commit a8330ecebaee2703042b95b5437511c5b2876819
        committer SOB missing
        dbenzoor@habana.ai oded.gabbay@gmail.com
        Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Commit 5a0b645318fd96d2d9c65f9b39ef07562c83a494
        committer SOB missing
        dbenzoor@habana.ai oded.gabbay@gmail.com
        Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Commit 4a0fedfc20422d83edd874040a6a965cd55d27d5
        committer SOB missing
        dbenzoor@habana.ai oded.gabbay@gmail.com
        Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>

You "reviewed" these, but as you committed the patch, you also need to
sign off on them.

Can you fix up the tree and resend?

thanks,

greg k-h

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

* Re: [git pull] habanalabs pull request for kernel 5.3
  2019-07-04  6:41   ` Greg KH
@ 2019-07-04  6:46     ` Oded Gabbay
  0 siblings, 0 replies; 4+ messages in thread
From: Oded Gabbay @ 2019-07-04  6:46 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux-Kernel@Vger. Kernel. Org

On Thu, Jul 4, 2019 at 9:41 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Thu, Jul 04, 2019 at 08:40:10AM +0200, Greg KH wrote:
> > On Thu, Jul 04, 2019 at 09:22:59AM +0300, Oded Gabbay wrote:
> > > Hello Greg,
> > >
> > > This is the pull request for habanalabs driver for kernel 5.3.
> > >
> > > It mostly contains improvements to the existing code base. Nothing too
> > > exciting this time.
> > >
> > > Please see the tag message for details on what this pull request contains.
> > >
> > > Thanks,
> > > Oded
> > >
> > > The following changes since commit 60e8523e2ea18dc0c0cea69d6c1d69a065019062:
> > >
> > >   ocxl: Allow contexts to be attached with a NULL mm (2019-07-03 21:29:47 +0200)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2019-07-04
> >
> > Pulled and pushed out, thanks.
>
> Oops, no, I got the following errors from my scripts when trying to
> push:
>
> Commit a8330ecebaee2703042b95b5437511c5b2876819
>         committer SOB missing
>         dbenzoor@habana.ai oded.gabbay@gmail.com
>         Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
> Commit 5a0b645318fd96d2d9c65f9b39ef07562c83a494
>         committer SOB missing
>         dbenzoor@habana.ai oded.gabbay@gmail.com
>         Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
> Commit 4a0fedfc20422d83edd874040a6a965cd55d27d5
>         committer SOB missing
>         dbenzoor@habana.ai oded.gabbay@gmail.com
>         Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
>
> You "reviewed" these, but as you committed the patch, you also need to
> sign off on them.
>
> Can you fix up the tree and resend?
>
> thanks,
>
> greg k-h

Sure, np, 10 minutes.
I was never really 100% sure about whether I must put sign-off if I
reviewed it, but now I know :)

Sorry for the trouble.

Thanks,
Oded

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

end of thread, other threads:[~2019-07-04  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-04  6:22 [git pull] habanalabs pull request for kernel 5.3 Oded Gabbay
2019-07-04  6:40 ` Greg KH
2019-07-04  6:41   ` Greg KH
2019-07-04  6:46     ` Oded Gabbay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox