From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 7B49362178 for ; Tue, 20 Feb 2024 11:08:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708427317; cv=none; b=beBMKe0YetieqHRFfYAfLcLupzoxd7Ew+rxhI6Tl+SD/Usu+CATvchg1IkAKzJuRODLEe7yCxevWmIEuWF43Jcc6vnQB7mWDh5Z3brZev67OL1BJ4FgmpVcyCpVrkfvKr7LbBHUXVxVFXPkPztokleKunlVk+HozCD8TMuZQ8Rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708427317; c=relaxed/simple; bh=HIw9ATkvhWGFG9DqtWWojbNX03QxV3oGQ+1ulPbTphY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cRyMpG1HT5lUKq4hLt8R1Y2gY11rSVcP6nIWLsoiHxmvoWYgTDpzXNuMkUHOXLd1eDd7JSvc5u2Msq1wf/T3Lf+4eEm4gv2wUOJIqUrFrcNCuV5klgIfvFBOi975JN3FHlRjJ54ig34iLzCdYmulUxE+NLO6RJgqkQjVcSU0dC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hx3xf6iP; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hx3xf6iP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708427316; x=1739963316; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HIw9ATkvhWGFG9DqtWWojbNX03QxV3oGQ+1ulPbTphY=; b=hx3xf6iP9eZrJC2eTbmrJZjv6NJv85+7g2ChhcdRfx7afGQLXaoau+4U Dz1d6IpQr4l1K+fTEtTpgRD9IUMLR1PAZ+jflr2wysXES4xT7QwF39sOj EIUUbGMp960XtF4p6kPxynpQKVf0rm3eTpTOQmDSTsDQYJy7//UaIIK+r q1q8pdbof0P3vDuZGxqRlspXPJiIRysQnslS1CFZdHkrCoF7Qb7kNUmuW O7/fG0/UMGngfFhRvMGZ6kAPj3ONAurhF4FJQGJrUCihKjnLlztknWsVc 2SffsMc26AwpbZHD6wnBm/4PoBKEwEuvp+jnzfy/XEB056pDtMUhPU7xk g==; X-IronPort-AV: E=McAfee;i="6600,9927,10989"; a="13640640" X-IronPort-AV: E=Sophos;i="6.06,172,1705392000"; d="scan'208";a="13640640" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 03:08:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,172,1705392000"; d="scan'208";a="5112498" Received: from jlawryno.igk.intel.com ([10.91.220.59]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 03:08:32 -0800 From: Jacek Lawrynowicz To: dri-devel@lists.freedesktop.org Cc: oded.gabbay@gmail.com, quic_jhugo@quicinc.com, stable@vger.kernel.org, Andrzej Kacprowski , Jacek Lawrynowicz Subject: [PATCH] accel/ivpu: Don't enable any tiles by default on VPU40xx Date: Tue, 20 Feb 2024 12:08:30 +0100 Message-ID: <20240220110830.1439719-1-jacek.lawrynowicz@linux.intel.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Andrzej Kacprowski There is no point in requesting 1 tile on VPU40xx as the FW will probably need more tiles to run workloads, so it will have to reconfigure PLL anyway. Don't enable any tiles and allow the FW to perform initial tile configuration. This improves NPU boot stability as the tiles are always enabled only by the FW from the same initial state. Fixes: 79cdc56c4a54 ("accel/ivpu: Add initial support for VPU 4") Signed-off-by: Andrzej Kacprowski Signed-off-by: Jacek Lawrynowicz --- drivers/accel/ivpu/ivpu_hw_40xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/accel/ivpu/ivpu_hw_40xx.c b/drivers/accel/ivpu/ivpu_hw_40xx.c index 1c995307c113..a1523d0b1ef3 100644 --- a/drivers/accel/ivpu/ivpu_hw_40xx.c +++ b/drivers/accel/ivpu/ivpu_hw_40xx.c @@ -24,7 +24,7 @@ #define SKU_HW_ID_SHIFT 16u #define SKU_HW_ID_MASK 0xffff0000u -#define PLL_CONFIG_DEFAULT 0x1 +#define PLL_CONFIG_DEFAULT 0x0 #define PLL_CDYN_DEFAULT 0x80 #define PLL_EPP_DEFAULT 0x80 #define PLL_REF_CLK_FREQ (50 * 1000000) -- 2.43.0