From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9BD3EE49A4 for ; Tue, 22 Aug 2023 11:36:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B455110E30B; Tue, 22 Aug 2023 11:36:28 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB26310E300; Tue, 22 Aug 2023 11:36:24 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4610E64506; Tue, 22 Aug 2023 11:36:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38DEFC433C9; Tue, 22 Aug 2023 11:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692704183; bh=75J9/pni/vfFweNHQD5uWW1Hmst6YLx5pwNV2EOSED4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ad7FixdyXfGcfqpMK1tym9KJjRt4U3sBQrbUtVia8EZKagXb3RJkDKXTLIvv1BwU7 3uGG4tG1ia/MWdfhNM9JurAuQpbXa4JUvoBC0c3FYebet35Ty5KoGViivMMpGwEaxP QlFrtSoF0zsZSVkAFv8uiF50UceWjY5JlTQ/KvNwf1hFO8qIFwLSNZfpHr5Hz+o+QC fheUJpvuDsNF0/GnXPfX/XDSRcZvlZGioPyhmiqeSWV27azx0xUK8s0ueUAGprW6X3 xVCOV9aGw63Z5ykO7ZTEMpEJmRMshs9GRHOfLMPip7QHL1ul+TNGcCUraqEz/CHH6/ S05PknCnIIfPw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 6.4 09/11] drm/amdkfd: ignore crat by default Date: Tue, 22 Aug 2023 07:35:51 -0400 Message-Id: <20230822113553.3551206-9-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230822113553.3551206-1-sashal@kernel.org> References: <20230822113553.3551206-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.4.11 Content-Transfer-Encoding: 8bit X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Mike Lothian , Felix Kuehling , Xinhui.Pan@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, daniel@ffwll.ch, Alex Deucher , airlied@gmail.com, =?UTF-8?q?Christian=20K=C3=B6nig?= Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" From: Alex Deucher [ Upstream commit a6dea2d64ff92851e68cd4e20a35f6534286e016 ] We are dropping the IOMMUv2 path, so no need to enable this. It's often buggy on consumer platforms anyway. Reviewed-by: Felix Kuehling Acked-by: Christian König Tested-by: Mike Lothian Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c index 475e470273540..ee0cc35d68a84 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c @@ -1543,11 +1543,7 @@ static bool kfd_ignore_crat(void) if (ignore_crat) return true; -#ifndef KFD_SUPPORT_IOMMU_V2 ret = true; -#else - ret = false; -#endif return ret; } -- 2.40.1