Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp831183rdb; Mon, 29 Jan 2024 22:39:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDYbNo/bWcAvbLSAUZTdJkO8GQqUVzByHrZV3iRrZ3ajhKe6t5NF/t+qGBVFASSAEMgVHD X-Received: by 2002:a05:6122:46a8:b0:4b6:c6b6:ae33 with SMTP id di40-20020a05612246a800b004b6c6b6ae33mr3439427vkb.14.1706596759607; Mon, 29 Jan 2024 22:39:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706596759; cv=pass; d=google.com; s=arc-20160816; b=HLEP4YFrmwhH0Xsc1x9l0pLea21Xvda4PkBTYHg6zN0MZclSE5fHzKkwfHFu06Ry7a t3uKPvysnWWOFSBBqoPmu8Z6lDaFDO78Y8YDOCFkMaIXu7QvYu+BIdZzjEOBJulwgYsT 6Dl0RX6n8UajVlZRRZ6vhROBGBklvYfE65LijyRDfqhk+oZ06d4247Yx3BX+zpT5q+Wa W0MvfHSsDSfAtgEfvwD5dqBlG3SmrJE8dHqpomVkDx+G46K+8wDYABG6ny7196TwCPcH 1BoGd7+Fy4DjxYvVmB21/vmjbW3smH2nU02QXJUX+4oS7KgBiOx/6O3CJqGmpxGgE1pw zgtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=aW3pSppmQb8g+cMT3GqJUqKdzLgy18nM+5zHd9lAAeE=; fh=mPzZfkg5b2mRYV1+dJZVsLNS8+QzxCk/dqBOwBXhXPI=; b=Ya1RiUH2D96pv6E4kPscWJ++e2w4Bv+AdfSstg4oEsgP283SLt+3Iz36usKic//heo Q/Y0sc++DcGEs145StlVJkAJo9tfJ4DwDQR2QcoaMhAUrmwgLsNUNUN/J5TaQqSqoaT9 4sw3vYZkDPJaEAxDNqsr0tMHjDm0GppzAOPKLvj7H3UukX6koMnbOkSqZ9hV8Tu77Lx3 8eWRrH6Akhb0ZkH21sfPKXPExIDIXR96cdgIYW1KUllaFyuTzo6/0C8tMexO/+vfFbg2 Nl1iFv8mk73xYPSktIgW91HEg6fzNu85UrDNZK25f38qE3KQmUnZDHBzVwuCrRnqF1HA C6NA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NwhTjqAc; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-44000-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t13-20020a65608d000000b005d8ad5a4d2csi5655196pgu.677.2024.01.29.22.39.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 22:39:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44000-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NwhTjqAc; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-44000-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 0A23F28442F for ; Tue, 30 Jan 2024 06:39:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB6DA383B8; Tue, 30 Jan 2024 06:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NwhTjqAc" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 82252383A2 for ; Tue, 30 Jan 2024 06:39:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706596753; cv=none; b=XlMCAfpNKoqc9NyGeGtXuoB/qALLWT73YLqv7zBc9TprV7w8j0lON9tQn+mFv/IBVhoNWzjHlWVdG2/nGp2aZdTECMEtpfin+QvNOlDD+AxWRgNuxqihLpSGx6AiI2ZC0JVINMKX+PFNem3nZwqTrWVfBKBQgB13gAMXC4EdBYU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706596753; c=relaxed/simple; bh=ql8JyOqXu4hDbI4cy8/jf9zI9M1di9RVCr3fSSdMWeE=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=ssJMK0Dnxm+yJfANDYuLg4kaBoIHLCKOyRQu/dZza1Rx1rPgxgf9qAiEq+kSVJgeyzm/rGUSOU8aKUPcFRK+xovalT2cR7a2cxvJIR8zFxPWDIejt3Fv7RxDvItMrJk706dh6AGrO8qV3yGdfVDgbD4UbGmIFs2WUt13eKi0QZY= 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=NwhTjqAc; arc=none smtp.client-ip=192.198.163.7 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706596751; x=1738132751; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=ql8JyOqXu4hDbI4cy8/jf9zI9M1di9RVCr3fSSdMWeE=; b=NwhTjqAc0GCVieCAS1FSnqaajcJl42FRE1QBhcZkeCLMu3EpSV2TJ0Ud OSrRZBuCAMPBwkgoNNaADsZKkGzBLV0C7r01F82J/G/++M7tdUkNRQNvi MD/RnK6dFrx4GvtLwm3TgfgX8ML46ljedoRK+JRJNPA55G3S1fkeOEV63 QTpq1y8h67rYgJ5jRjv2OLDdD7R/WKKrwcLCu9la4WtrbvM9hdpizYSRV Ez/SCQ5FxJ9Vk7XQYWnDJNDx2lDWKhUy7DtiMoIskFWAXx1I8goQkTH9l VCLrDuuRkJ7L9ZcMt/Az2vwL+dBoduAmGTpQ6+0YNRa2q41tQy7PZZnBm A==; X-IronPort-AV: E=McAfee;i="6600,9927,10968"; a="24662706" X-IronPort-AV: E=Sophos;i="6.05,707,1701158400"; d="scan'208";a="24662706" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 22:39:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,707,1701158400"; d="scan'208";a="36394744" Received: from unknown (HELO [10.249.174.186]) ([10.249.174.186]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 22:39:08 -0800 Message-ID: <757c6b52-628c-4d73-8e66-43a06e1cd982@linux.intel.com> Date: Tue, 30 Jan 2024 14:39:04 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: baolu.lu@linux.intel.com, Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" , Tvrtko Ursulin , "iommu@lists.linux.dev" , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/1] iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WA To: "Tian, Kevin" , Joerg Roedel , Will Deacon , Robin Murphy , Jason Gunthorpe References: <20240130060823.57990-1-baolu.lu@linux.intel.com> Content-Language: en-US From: Baolu Lu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/1/30 14:24, Tian, Kevin wrote: >> From: Lu Baolu >> Sent: Tuesday, January 30, 2024 2:08 PM >> >> Commit 62edf5dc4a524 ("intel-iommu: Restore DMAR_BROKEN_GFX_WA >> option for >> broken graphics drivers") was introduced 24 years ago as a temporary >> workaround for graphics drivers that used physical addresses for DMA and >> avoided DMA APIs. This workaround was disabled by default. >> >> As 24 years have passed, it is expected that graphics driver developers >> have migrated their drivers to use kernel DMA APIs. Therefore, this >> workaround is no longer required and could been removed. >> >> The Intel iommu driver also provides a "igfx_off" option to turn off >> the DAM translation for the graphic dedicated IOMMU. Hence, there is >> really no good reason to keep this config option. >> > > s/DAM/DMA/ Fixed. :-) Best regards, baolu