Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1043646pxk; Fri, 25 Sep 2020 04:56:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWsqpR13qthd0EnZLmR20pOwZmS4Cwh7afyTZqo4XpHp2bXYJbG+b7IYTRHhgM302B1/uQ X-Received: by 2002:a05:6402:8:: with SMTP id d8mr845669edu.15.1601034977504; Fri, 25 Sep 2020 04:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601034977; cv=none; d=google.com; s=arc-20160816; b=U3sEI04NwTyXy0R+25yZwDV6VL7FiS1+UEOAoL6nofMA25QuTY2Q6+QdImNWMw5vF8 LIeUPaPg6LxOgSGcNwop0QM69HdRtCnotnVU0ru3IWItAAAWvMeLMDfhlmFGvloBiRUa R/eoeRf2NT0IuUnxbxHMtv4TpxnTf0Md61FMJmVXlVJJCFp5RHcdobUhIuzXfcFiWFh6 yhxEJu1lV9LVxPbHqfqpo0Cz+XAUJGOmj8E8R3wjgvHu8sRA1j5IULE8h7qfm/i78kso NN0rgXckNWgglFbOrWEfDVSKwMw+igyOxQhgkwXfRHXw9xK8+diF9Ij9nT6i0gcekT0n UIgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=fJiQtctcNXBXh9qT9CsxSpdBmaOAAcN7q8VKxTKjhaU=; b=duRInCZ04pC8nkAvtr0UenLfME6ApFczErLrQdY8XToYLB/Ltfj8DtvHyi8KeXH8T9 Qi/oG/wAAD2sAA1cA0oAZ6+3eQgbFMKYVWs6A3rCYwlYLbTee9H7Zcp5CzVJX1DrVY8J GToIPCoI0lLVAFw36MseuBFxBYS3uCbzT6kRfZh+K9VOH1Az/mVHFUoC2SrljwhovLQ8 00L3miWd4NFwTyCtMmV8ulEha0ZKagvUXOa4byt3mFjm1M2biMqwDfDoV6JiRbvpnBm7 u3EXGADX0YLra4cukFy9RbXpl/owTEdVHwmdfhA3fRBddS7NeEQH4lDz3LmmSppDs+oa 3Fow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S/0MsNcB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si1607561edi.129.2020.09.25.04.55.54; Fri, 25 Sep 2020 04:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S/0MsNcB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728171AbgIYLyw (ORCPT + 99 others); Fri, 25 Sep 2020 07:54:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728056AbgIYLyv (ORCPT ); Fri, 25 Sep 2020 07:54:51 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69181C0613CE for ; Fri, 25 Sep 2020 04:54:51 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id y15so2994154wmi.0 for ; Fri, 25 Sep 2020 04:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=fJiQtctcNXBXh9qT9CsxSpdBmaOAAcN7q8VKxTKjhaU=; b=S/0MsNcBf6z9nBBvhntFcfWhRa8Njb3YJt+R7C91VoWSkZIdBuCIRQEjM/nBmsrQVi G53IB3NSvKjEBH/XC5d854Q+FH1fw4FwDZkBq7xco39cbCmxfAZEnZTcFr7ajynYZcvz 1VLnxXrUZoikLnOXqq0yRpmb4f0UZvmtscFX2CGlgl4YEKWkq359mKzLRiqSW+d0MBJo yitugr4cZxKEgXQJEsccq3LMYRx8mznOvlat24ZUUzZB9Xwp3R+uitpcz/fjxkUysy2d E3S9m2XHjQHcO07TcX32i3KToMN+yfvqjO7wR0G9BNzQtLOCO5oCoU4VtNuD2WXM+h0G fWQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=fJiQtctcNXBXh9qT9CsxSpdBmaOAAcN7q8VKxTKjhaU=; b=YLNUnyvQAr49f6fCyZWHG8mqZI26oKNhgSLIX8HzKNZzGgSqi34Cm1vd7N2UhDCcR+ YID9M/gjjRx3su9HURCLfCdg5F7Kq6Y9tpQZdD/p9fSYzek4lgYUF77Ly2xt7hMCpvHx NSeuXwZNVWovsBI4Uy44cPqOEd5scfKIR1m3UHHYWuUcSHc2c/sRZ70+BbXxtrJ1AC3M 1hYOn5gSMVTbtsBKNuGwZXKa3wBVHPcKRhNRy+yapjdzPyobdm3dyh6K0nlsErCXwO/U JuIO65lQBAtZ7/p6nrqgJ86pwtieGmMVX/lBXKK3mtjRlfFmW0WhfvIoFCdyYd3wBrDO oAcw== X-Gm-Message-State: AOAM533DVuc40gHFUmu4OrlyVMXaD2dfom/OCvezwuWxwoIkHQZ53h7q i6A8yJr+Pu5RLekdddStz7UaoktV5zg= X-Received: by 2002:a1c:6607:: with SMTP id a7mr2736836wmc.142.1601034889924; Fri, 25 Sep 2020 04:54:49 -0700 (PDT) Received: from ogabbay-VM.habana-labs.com ([213.57.90.10]) by smtp.gmail.com with ESMTPSA id q18sm2586075wre.78.2020.09.25.04.54.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Sep 2020 04:54:48 -0700 (PDT) Date: Fri, 25 Sep 2020 14:54:47 +0300 From: Oded Gabbay To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [git pull] habanalabs second pull request for kernel 5.10-rc1 Message-ID: <20200925115447.GA2256@ogabbay-VM.habana-labs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Greg, This is habanalabs second pull request for the merge window of kernel 5.10. It contains an important fix to our ASIC reset flow and a few other minor changes. Details are in the tag. Thanks, Oded The following changes since commit 9eb29f2ed95edda511ce28651b1d7cdef3614c12: Merge tag 'icc-5.10-rc1' of https://git.linaro.org/people/georgi.djakov/linux into char-misc-next (2020-09-24 15:15:11 +0200) are available in the Git repository at: git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2020-09-25 for you to fetch changes up to 25121d9804b8421851e3ccb88d1d35a5d93692b8: habanalabs/gaudi: configure QMAN LDMA registers properly (2020-09-25 14:44:21 +0300) ---------------------------------------------------------------- This tag contains the following changes for kernel 5.10-rc1: - release the kernel context object after we reset the device. This is needed to prevent a race where the firmware still has some in-flight transcations that require the kernel context (and its memory mappings) to be alive. - replace constant numbers with defines in QMAN initialization of GAUDI - correct an error message text and add a few debug messages to help debug issues that happen during context open and close. ---------------------------------------------------------------- Oded Gabbay (4): habanalabs: correct an error message habanalabs: release kernel context after hw_fini habanalabs: add debug messages for opening/closing context habanalabs: add notice of device not idle Ofir Bitton (1): habanalabs/gaudi: configure QMAN LDMA registers properly drivers/misc/habanalabs/common/context.c | 13 +++++++ drivers/misc/habanalabs/common/device.c | 13 ++++--- drivers/misc/habanalabs/common/memory.c | 4 +-- drivers/misc/habanalabs/gaudi/gaudi.c | 62 +++++++++++++++++++++----------- drivers/misc/habanalabs/gaudi/gaudiP.h | 8 +++++ 5 files changed, 70 insertions(+), 30 deletions(-)