Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2122472lqb; Mon, 27 May 2024 08:31:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/mJO5WhwjA01v3xdAEPfY3NoIi9NLd+Uv/h8eR6SUofPHL8rT56VzrROY2otpOJVCkN+AuPdsYchVhG4tP8NAdefcbBglgobXutGQ9w== X-Google-Smtp-Source: AGHT+IGDE1femHEot3VSqswnrwuzvmuzAsWcC5XPdhFD5ir11YBkyVZK+CV4Vpsl8xKyssy1OzDk X-Received: by 2002:a05:6a00:8c11:b0:6f0:b53c:dfb4 with SMTP id d2e1a72fcca58-6f8f3e7d47emr10924310b3a.22.1716823907869; Mon, 27 May 2024 08:31:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716823907; cv=pass; d=google.com; s=arc-20160816; b=ANyh992LSVRO+rsblqd5ZiFa7zqXebvlrqNnXMcvxOjfRJuhQiuP3dOznxMYk15EmU HnveiWaOnfdzLA9ht8bokLEZIZwiGCbeaOVP7mAtFvTTpH/RKvsjCPfXyfpdhpY3qwGk KkstaZTMxZavpHz6AzvSMnwL9jMNEIKvd6KR4rpn3mAlwcTbOzT7V2+SIpXLidXjYF08 b3DqSIPr4y+yqXPSvd8WzwzqJa4HjIPZadVJta8hpIdAXESbbF7th2BdV2+gJhpZBeEM NQAWCXJngwtbtsAL2KNeXc+fMo0cuY0MaFPO3kslNaFvPxqKjCIb7snhFCbqr3Ww15T2 eiNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eAY0zLF+o9ZK/b2kWW5SJJSbD6sUEfx3TE8kV5BJTGo=; fh=AKsasYLo4Zljh1B0WFwHlJdFlOS2wu4SN3DmPAjSIro=; b=pkuUT4pZ9gh6C7VLJEC2jn5/1E5RYy06u3sp7xHZ7DRTreqLmEDOWnfYHGS5I0/qeC 7THCJjykmKnbhCcxZoXkZnFF0L4Gg404igj0Evu5nIRa69azXsLLffXbBEiwEbGVp8bh 92wyT4pmlZDZNvl8rFm1Lzm0/uZxCRyErWpTY6uQwjaGpbw8nYUuyNk7SFaCqiT6SoNZ 3iktAek6tOoYTSuHOWPDQfvAjcBKZ98nZqEChsx3TavfPxctzxRE2MEWSgSJ9tjDhDpF +tvZqm4e1tmrp5NszGWXjp2x5Wn6+2KbPXuymK3CSa6rTnyynzKAGhSXpEvnb7hLbHW6 fSJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@habana.ai header.s=default header.b=wel+q3Hg; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); spf=pass (google.com: domain of linux-kernel+bounces-191030-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=habana.ai Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fcee2713si6212966b3a.176.2024.05.27.08.31.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:31:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191030-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@habana.ai header.s=default header.b=wel+q3Hg; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); spf=pass (google.com: domain of linux-kernel+bounces-191030-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=habana.ai Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F0FA2284AC5 for ; Mon, 27 May 2024 15:17:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 585F616C85B; Mon, 27 May 2024 15:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=habana.ai header.i=@habana.ai header.b="wel+q3Hg" Received: from mail02.habana.ai (habanamailrelay02.habana.ai [62.90.112.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC93615F3FC for ; Mon, 27 May 2024 15:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.90.112.121 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716822161; cv=none; b=u2X6ZRwJqDUiO8IuLxKfwEUI+dR20zyg2dA3i2cQc/PUn3W0sw5G61R1m2wvYwNtdXTODywlc3EwGU8VpMAUe/KncK9M0Mn14qWMHcOXrNXBMLA7nDDKFPRpwgZzHtBZTorjAbtFUbEY1aU725LZru4Fo9S/Pe5nSxv/yYzvHrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716822161; c=relaxed/simple; bh=RWXMU3GyJCU75uomT+8y1qOi6l/HEYh3drr95SCacsU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=g1v3TVY0LOZMDBsRJF8bYHfDqyPBvdHAXg3vBRASBgMEXFa2EpzbSv8LURA2rPsUQfaeWqszKROA+TYu0mRGxx28kR6OScMCaRofkqzkMSs6BXRF3EXFckaThyoblvFEhmudaMEtk7uz+craM4EOf3sMz2Kcv/H7t4PxgZza9BY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=habana.ai; spf=pass smtp.mailfrom=habana.ai; dkim=pass (2048-bit key) header.d=habana.ai header.i=@habana.ai header.b=wel+q3Hg; arc=none smtp.client-ip=62.90.112.121 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=habana.ai Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=habana.ai Received: internal info suppressed DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=habana.ai; s=default; t=1716822151; bh=RWXMU3GyJCU75uomT+8y1qOi6l/HEYh3drr95SCacsU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wel+q3HgXrc/bEV8os0BtkKGeV5x5N2XLFJBMj19VHjQ916hKFtUmleHzdcXnHMft BfEciLuwqXQXqoPcLSAU9uny37EyszoqQNda/5nhP5Z469ckni8EpZg/wqgabsP9Wk QTVXAvgBzlDf0dLvMTIdhhlINzU66hqYA1RdkmYzwo/kD7WpbfoMRwExgHWVvp5p05 XRcQmSQC+vcMjbr6e3VeRr29J4s/x/6Ukrtm4ekTT9aVRRmoteyHAFDk3FFm3JX67S C5Mtjios1KjfHAlOOY3iRwmYz34ruxKWcrk2+Ks0pWNpVVyNk46Fc0LufiKkBfSe6+ cxyhkKoWeTFmw== Received: from obitton-vm-u22.habana-labs.com (localhost [127.0.0.1]) by obitton-vm-u22.habana-labs.com (8.15.2/8.15.2/Debian-22ubuntu3) with ESMTP id 44RF2PiX1954007; Mon, 27 May 2024 18:02:26 +0300 From: Ofir Bitton To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Rakesh Ughreja Subject: [PATCH 6/8] accel/habanalabs/gaudi2: unsecure edma max outstanding register Date: Mon, 27 May 2024 18:02:22 +0300 Message-Id: <20240527150224.1953969-6-obitton@habana.ai> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240527150224.1953969-1-obitton@habana.ai> References: <20240527150224.1953969-1-obitton@habana.ai> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Rakesh Ughreja Netowrk EDMAs uses more outstanding transfers so this needs to be programmed by EDMA firmware. Signed-off-by: Rakesh Ughreja Reviewed-by: Ofir Bitton --- drivers/accel/habanalabs/gaudi2/gaudi2_security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c index 34bf80c5a44b..307ccb912ccd 100644 --- a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c +++ b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c @@ -479,6 +479,7 @@ static const u32 gaudi2_pb_dcr0_edma0_unsecured_regs[] = { mmDCORE0_EDMA0_CORE_CTX_TE_NUMROWS, mmDCORE0_EDMA0_CORE_CTX_IDX, mmDCORE0_EDMA0_CORE_CTX_IDX_INC, + mmDCORE0_EDMA0_CORE_WR_COMP_MAX_OUTSTAND, mmDCORE0_EDMA0_CORE_RD_LBW_RATE_LIM_CFG, mmDCORE0_EDMA0_QM_CQ_CFG0_0, mmDCORE0_EDMA0_QM_CQ_CFG0_1, -- 2.34.1