Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp609417ybm; Mon, 20 May 2019 23:58:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhkVKhusbmjBa1UMdtfYjygT5X68KYXG+jWdCP+5kH/LSSqrevuwsB+orxKe6Lny/WiI96 X-Received: by 2002:a63:fa16:: with SMTP id y22mr40617998pgh.15.1558421924329; Mon, 20 May 2019 23:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558421924; cv=none; d=google.com; s=arc-20160816; b=OR4wMnNpAB8RF0dR8iNxhanYf72LGvtbr38i26B6YotyITfIYZDF4YsoM9/boYtefN v5NS3PMdUDAHRRxue80zojCJ8SzwgyKoidEu11gpWK3RBelJ3KgEbEp7steASJv/cSyK UkIfTPdpcyQ/aIdDpzlRzSBHHXsosdmB/jeOkCIhl5EqOl5kQEEylzvTayERLOk3+Qm3 E4NfFkXPnDp4UI4XaHozZEsFVXMGrV1A4UMjI4pXPWgMgJ6K03hFi9jDxEljN/X+7/6A rsyDu7qZ7YKBvju4YEY9hxAHwXEOyZvY6wmas8PxfUkceisqB6JgMFIgEqN5FMG/U+md H8PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version; bh=rt7XUoFVCDhJWGxIEJSf5KxlrEW7rIRI9sy4J32XlAQ=; b=GPpNuBHO+BwL4rXMopObH8LnE08rOF8TxQ0ByOthtGTCXVHTLT/1kFotgXIld9B5QE l3NzIiNMAaV4QX+fuEtP9LJOUi4FMX3UaBzXIuHe/FEUKGvjSUCvj4wpNsM0ZFKlv8Jv vMWLREEvvQnR1JVGnW06Gf4M8YMLKirTx0FOO0z0rtdTKGJDTM6fM13YNdv9ruS8EDvh snVg8M62IKlEMrHuRKr4J45t69aJz7ft0GX+0Ypzlg1bv4WqQ78G0hSdlKg7gNY3ZEjC HTNR2UmqRp3ldrYV6H5RRclKoATyVDdOw2309PQFGLgnvF5VZujpNAISbgFyU4UG5reA gIwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12si20919283pgg.531.2019.05.20.23.58.28; Mon, 20 May 2019 23:58:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfEUG5Y convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 May 2019 02:57:24 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:57086 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726028AbfEUG5Y (ORCPT ); Tue, 21 May 2019 02:57:24 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 16623319-1500050 for multiple; Tue, 21 May 2019 07:56:58 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Dongli Zhang , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org From: Chris Wilson In-Reply-To: <1558413639-22568-1-git-send-email-dongli.zhang@oracle.com> Cc: linux-kernel@vger.kernel.org, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch, dongli.zhang@oracle.com References: <1558413639-22568-1-git-send-email-dongli.zhang@oracle.com> Message-ID: <155842181579.23981.15462387194555705539@skylake-alporthouse-com> User-Agent: alot/0.6 Subject: Re: [PATCH 1/1] drm/i915: remove unused IO_TLB_SEGPAGES which should be defined by swiotlb Date: Tue, 21 May 2019 07:56:55 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Dongli Zhang (2019-05-21 05:40:39) > This patch removes IO_TLB_SEGPAGES which is no longer used since > commit 5584f1b1d73e ("drm/i915: fix i915 running as dom0 under Xen"). > > As the define of both IO_TLB_SEGSIZE and IO_TLB_SHIFT are from swiotlb, > IO_TLB_SEGPAGES should be defined on swiotlb side if it is required in the > future. It would be wise to refer to commit 5584f1b1d73e9cc95092734c316e467c6c4468f9 Author: Juergen Gross Date: Thu Feb 2 10:47:11 2017 +0100 drm/i915: fix i915 running as dom0 under Xen so the reader can have the history to trawl through. References: 5584f1b1d73e ("drm/i915: fix i915 running as dom0 under Xen") > Signed-off-by: Dongli Zhang Reviewed-by: Chris Wilson -Chris