Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp254125rdb; Mon, 29 Jan 2024 00:42:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZU5rZNcUKf+q5I5NiDBRSuNBPlCWrRIOVzBhMyZFhz6CKpiUtP5UjufN8zSfc72p9hvH4 X-Received: by 2002:a05:6a00:230b:b0:6db:bd8f:bf90 with SMTP id h11-20020a056a00230b00b006dbbd8fbf90mr5001146pfh.13.1706517762743; Mon, 29 Jan 2024 00:42:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706517762; cv=pass; d=google.com; s=arc-20160816; b=nH8kn+XnfLnc/PprAsVxlAK+aIhE40THUcvcjZs1MySUK51alBjomOTYeqvcaN/atC QmSdsbPkGoxhxOLICYv5yTquvD5Mn+gDXrRn2QbloDf/3HWvW3E+WEUO0eLSOkZRold+ LGzaL3NVLTpt6uozwXohmtht7XReaEZREesSm+QzxczxcvFVzS6z6BzyCqkgx9wyCa6P S+QPsxmUT62doaLyaRk7N+AOFdd17AHAHP2pFdoedHt/sng44zFhCziGQDRsmRMEdYiR u8004w1E5J65ynaRBPEmT8tBVZqdMOx+I5YCjdNZO5/M2boE3hvRlxS0qFpIuHVRPPma HGjQ== 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=AoZzcD8yQFdfSPoawmg+c3rmcX1FZjxsxZ9aNCOQS0s=; fh=/JzMobMOARvtyvX6HwKIwpb+TGLHU4ViyjCvkbeVgjo=; b=RNn48Ah7YAbuMIsIC5TzGRbg/f9gJKoIT8TvdXw2q74acBDXlhVQdiEClWkYZU74vh qVr616r9+5BdrrslakoWlgWKamRboGcZUSkkpUd6TP1oNwr+endhzFr3WS3XBcxYdbvR R26YVSKxUNjh/VjY/o9/hkbuXz4/UtrHKocAiiytv7JaHPNh3NfxIE7HIYjyw78zuzHR GWgZ2gZqW0Swcer4co2f3vMV4pql3luOQA80whcQicclKflZ2GDxcgR5eRLkRDao3yTq PN+6ev8QPW9iLjpFHvSg+7ieGs9LvwPd4p0UYCpi8Du6sCBYcByO3F+dxnwzS3FXWxU5 +6Yg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mbYV9foc; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-42280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42280-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 fb7-20020a056a002d8700b006db62c4e73asi5453419pfb.223.2024.01.29.00.42.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 00:42:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42280-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=mbYV9foc; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-42280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42280-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 A836D281B9F for ; Mon, 29 Jan 2024 07:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C23D04EB22; Mon, 29 Jan 2024 07:25:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mbYV9foc" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (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 7D2364E1C8 for ; Mon, 29 Jan 2024 07:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.88 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706513107; cv=none; b=FAVXkckluQYcfRokSjdq5zp6BKzuCtJ5AWiyIl8Isjdf86jEfK2BAKZmhVw/ypXFo5+gJp24wFiffkEL52BbHeYjfSpsuhafvjp8DAWHCi6EomP0Hs6gz/52gfulg6UEyEV9toBxGqT85Dl6a3p6xBFzf2bSsCWZK/Zs5jW89zM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706513107; c=relaxed/simple; bh=oYcxImTQq+1tjT/wwyYicNP+ut2AE6+9OGh0Vd1KEv4=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=Nzyhfmi0n1bTZrM2egIX71QISo3YrusGdr/+YGmTgJLn6tFj1NUO4iDkhm2ti/9x2wd0clokUmae9nC3LJ3I8mcOOWlpekFYVwdnWtjptW4V0v3emvL6GYYn+z5qrzsNam1X+PdEZ+6wTXSbgF3EY6j7nyx165a7WWoOaaroqNc= 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=mbYV9foc; arc=none smtp.client-ip=192.55.52.88 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=1706513105; x=1738049105; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=oYcxImTQq+1tjT/wwyYicNP+ut2AE6+9OGh0Vd1KEv4=; b=mbYV9foctAZHUYmBnvPpoGjCcR39ZtweXlKbaR95NKgz/2HS8JAB2LZZ IfOI8uCD22UK1B/JOV6nfmt2ORtr91q8gJQ/us7gixDFwXxCzVwtO2kR3 1O19v0gJaQMtrQoY4y8E16gfnRz2QCo4TX5WLfNsrTUr2FDoyFs4+3tAi G+lGdrwfEXYvCbtXs8viSpt4QK+SYlqGuvkGQljfbFd5GeF84SVq8Kgft isPiMlcPvGJQMz1Vbh09ChbmHoCkambp50IqOwAB+gewTChn3YiBGCsAx veUr3uO0ba0WoiZ1480pBki3kly5A4KClBT409nWKOHacEJpjevHzkko/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10967"; a="434033273" X-IronPort-AV: E=Sophos;i="6.05,226,1701158400"; d="scan'208";a="434033273" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2024 23:24:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,226,1701158400"; d="scan'208";a="3288660" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.249.174.51]) ([10.249.174.51]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2024 23:24:42 -0800 Message-ID: Date: Mon, 29 Jan 2024 15:24:39 +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, Joerg Roedel , Will Deacon , Robin Murphy , Jason Gunthorpe , "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/1] iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WA To: "Tian, Kevin" , Christoph Hellwig References: <20240127064512.16744-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/29 14:08, Tian, Kevin wrote: >> From: Christoph Hellwig >> Sent: Monday, January 29, 2024 2:03 PM >> >> On Sat, Jan 27, 2024 at 02:45:12PM +0800, Lu Baolu wrote: >>> 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. >> >> How about you Cc the intel graphics maintainers and get a confirmation? >> > > in the worst case there is still "igfx_off" option available to achieve the > same effect. > > there is really no good reason to keep this config option so long while it > was intended to be removed in 2.6.32. > > but yes the Intel graphics maintainers should be CCed. > You both are right. I will add above in the commit message and Cc graphic guys with a new upgraded version. Best regards, baolu