Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp318952rdb; Mon, 29 Jan 2024 03:24:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3VFRFubI8ytYgFQU/LNOUjlTrMd7C1G62gXaBZFdzAZdIMEs3kWyffXwTDwm+CKqzCoru X-Received: by 2002:a17:906:1d03:b0:a35:499b:9644 with SMTP id n3-20020a1709061d0300b00a35499b9644mr3958175ejh.15.1706527486107; Mon, 29 Jan 2024 03:24:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706527486; cv=pass; d=google.com; s=arc-20160816; b=AHd0OHfpYAZ389G2puxR7XdUrXDN3DnukRtI+1PoDBzwRnLBXMr4mQCpcle2ZZ6ANL 4N771UB8WPsBpWf9bAnCWhwhGpV0rufqNbelyHleAPG64J30RxpB3/Fn3RmhfnlBAhV0 h0cpB337X8gPXsGDvwZfTv5/sDkcBb1R/V/19DWVpbdk0h/j3On+E+RbFl49VQ54u6nL HxO56KIhLjbXG4HLSvz1MuUU2T3cbLec9cxRMsnS7/E9JfkxWRf/EvSrGvBxBbi5r8zG C6wuGQ0ghCXYJP9IgGjLyKrPiXLJ9O76dsAO+l5pHbeds2KSmbK+MCUo6QIhDJklnGzc IWow== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=4dM8Kx22DBVrbGbpbAW1uRnV3oSg4Xibp5J6fzagpt4=; fh=S2wYVmd25QG2IcU8R7R06lG4vSMdD2m5bUKuBiBWehs=; b=Bwqeli+aQTUvwy5dnKKcjqzzpaZ6vfZFcL9AsuP3SDgEkidWaAwwnfM8/f2C8O8VkK QQNnPgz16TNX3bDLzCMKVhuhzioddoN5enYvExJs7zqATyVN4Odt9RlvfmwBPzuvVwFf x+2j9zAhJFrmFRHvXCC4bCBvrd8tCYvfpDnPkzdGnBzyQatYYepYQQNMIyzfwbKpcEy9 7VuGz+mntD8m+VXIvcdPwfZjBjjxII1iwA/pNyPJyrSuOR2uPqG+y7YD90KhBfhRJf+t SsShhH6sqH9C0c1wgff4G8GZtrneM7Nbj41CpKbFZGY34rxrOUy19y4KS5df2nt066xO oDBQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-42609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ch5-20020a170906c2c500b00a34e303e91esi3163723ejb.621.2024.01.29.03.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 03:24:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-42609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 am.mirrors.kernel.org (Postfix) with ESMTPS id D7E611F23969 for ; Mon, 29 Jan 2024 11:24:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2086D5BADE; Mon, 29 Jan 2024 11:24:18 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C6445FBB1 for ; Mon, 29 Jan 2024 11:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706527457; cv=none; b=AeMwbOfUsyVG8b5OYincpDWsrWYp9buQSmJ5IrE8EGz2axGAFxolVTNVmj5M1i1nQkg7RfyfKz7kzR9bXtrgJg0+BSXWOf0L3hZ8dOhODLN2Ntkx4AfqMDCWlCovcOQilbkvl2180wDpQYQJ1HLwoe0w9Wop0CthexTgnsCAiiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706527457; c=relaxed/simple; bh=WH7PYjaSBNnuD+pJLor2J13V+w5N5SZnUqFkJocu1Hk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cl0wcZvEL1UT4LLGrVZFsukKO/OUCBVA1LqfswpBtqp+hu72SaASFY++1f9Tbe1wQYQNpZC+TfVf6MkAb9m/2sHdHu4T3o0SR3dgEMfFoDX6nc0ewXp++34EGMRK0IMUP9c+ZHfQjZtsXPF3dX61afLvPFP38b89HYtPv1XHYWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 478D91FB; Mon, 29 Jan 2024 03:24:58 -0800 (PST) Received: from [10.57.77.253] (unknown [10.57.77.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3DAF23F7D8; Mon, 29 Jan 2024 03:24:13 -0800 (PST) Message-ID: Date: Mon, 29 Jan 2024 11:24:10 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WA Content-Language: en-GB To: Baolu Lu , "Tian, Kevin" , Christoph Hellwig Cc: Joerg Roedel , Will Deacon , Jason Gunthorpe , "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <20240127064512.16744-1-baolu.lu@linux.intel.com> From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-01-29 7:24 am, Baolu Lu wrote: > 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. Right, you're not removing the actual workaround at all, you're only removing the Kconfig option to force it on by default, which clearly nobody is using since it's been dead code since 2009 with 0c02a20ff769 ("intel-iommu: Kill DMAR_BROKEN_GFX_WA option.") Cheers, Robin.