Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp731843ybb; Fri, 3 Apr 2020 10:46:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIA2cQtn0sxP0d2gMItouhKMksrzsRqHK2AVulPvBP0PCHDUMBmLf/IvwXHKdQRJ6TJ/W0M X-Received: by 2002:aca:75d5:: with SMTP id q204mr4068129oic.9.1585935993116; Fri, 03 Apr 2020 10:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585935993; cv=none; d=google.com; s=arc-20160816; b=dzDP95WegGV69kojSehAi8pofHD/PagNI4zJCZyQ9wBBIj4dg49Is8UBX2HZSR5BDs t3wdmLdIroLISsIcnOeEHO1yBf/nTpE0D6zeZOeRYXj4rL2DTRHvDk2CfpMBl+kt4FGl QdkfxmH40THiTOSsZStJZB/+lpw7SwIydoFijiRqMybdlPfxpPY6MrhmH2PvbUgm2L3v kVgjZs2Zi1Qn9b9rsS1EvjQAMDgGJBpYWPlCglvMQFFVQrSdlEqz6SxXMU1phKWRgbQS 2kEpaeHrTUogB+xc/+Gy71OHdXgaV1tsttWC/WgZynn2TtoMK2Zms4HGg7do/BcB0K5a HelQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=grpj0ioyBlxfvZVIhSHFEGbyw0eKO0PYVgnSLJ1Zi5U=; b=sUMlNnqBCnto06OGSoGd2D50QZsUBbK23WLuIj6krZab6DiXYub4w6geMhyjLxEtwe bTOGxhYSWGEXAJ3axyjGWugaMd2Zcf0YkAtHLAUh74stxmcIBhgDsnJZ2da4iY0dOBEL c+EZS5SAbb6VuonenIEpxuepr/YXRVNaZOk2loTC4nGd7tRl+jqUGwFp63Hjx2joD0w9 zTgEjloRr8vjHJD9ScUtNAghUSI2Qe9c/auixo6hRJYHNRLtkb+LF3iQVf3RKX+fRqfV a1LjmjNUHYABO1Tn1hqFTSs2ESjOu+y3PPFE5GgqRMpV1SjWg7vjZoTFr3C9WB57/9lq p+pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=USJaYqvn; 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 c9si5518546ots.110.2020.04.03.10.46.19; Fri, 03 Apr 2020 10:46:33 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=USJaYqvn; 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 S2391045AbgDCRO5 (ORCPT + 99 others); Fri, 3 Apr 2020 13:14:57 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:39272 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbgDCRO5 (ORCPT ); Fri, 3 Apr 2020 13:14:57 -0400 Received: by mail-lf1-f65.google.com with SMTP id h6so6433448lfp.6 for ; Fri, 03 Apr 2020 10:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=grpj0ioyBlxfvZVIhSHFEGbyw0eKO0PYVgnSLJ1Zi5U=; b=USJaYqvnjKaYaTBS/r/rCBpDSvrybarlYMXWDZ4smu5ERFEX76FwO8PSUnqIvXBDHe fxU4v99KZWfszXYDthM2Yxwm11W54+ODFUUnSQdz/wdNZcFZpMrve1HEMLaUSB3rdylF gxpS2dTMAeiwybUkwx/+2QdK0J9IwYNihRNs4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=grpj0ioyBlxfvZVIhSHFEGbyw0eKO0PYVgnSLJ1Zi5U=; b=SZAimZ6a/fXCtfOLMgAPIslSEWwHd9GSVMSoYBQJt6Y02AyEj5FHz435ZRdjYdDOlh VWOYblJbc0K0MJuhTzi26Y4gPUB1PBiUNo62uBQzd1J6xlmL6fSJkGmp9f4OsOBr6JiB SXfoo1q/9Nrisvg4VRSdeJFeoXGrcj6pn+6XcVhuFJAxQbXIYnSH+ZpJFTCitQHMi92w U37f+PpblQU5VwXAJq3pnXoqbrjR1UM0AW5RgoS257Eg5EEbFLsh+masFX1hex4QNv71 T0YM9/XmEVKHTExo2VYWufaMzEhxaGOYudFR8HtOup1x0GIgnRG55Gy0Bn0pRpbiBVjr 1eCQ== X-Gm-Message-State: AGi0PuZ5RHpQjJvMvCsjMMyxAkWnn7YFHicd3Jq9XXTRkRUDaxGHljYj 8VsOtc31d0ePgoUF1QtbOmsXZHztqJg= X-Received: by 2002:ac2:46ed:: with SMTP id q13mr6176560lfo.176.1585934092413; Fri, 03 Apr 2020 10:14:52 -0700 (PDT) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id b16sm6357424lfq.34.2020.04.03.10.14.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Apr 2020 10:14:51 -0700 (PDT) Received: by mail-lf1-f50.google.com with SMTP id w145so6431703lff.3 for ; Fri, 03 Apr 2020 10:14:50 -0700 (PDT) X-Received: by 2002:a19:7706:: with SMTP id s6mr2379958lfc.31.1585934090257; Fri, 03 Apr 2020 10:14:50 -0700 (PDT) MIME-Version: 1.0 References: <20200402203317.GA34560@ubuntu-m2-xlarge-x86> <20200402215926.30714-1-chris@chris-wilson.co.uk> <20200403013420.GA11516@ubuntu-m2-xlarge-x86> In-Reply-To: From: Linus Torvalds Date: Fri, 3 Apr 2020 10:14:34 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/legacy: Fix type for drm_local_map.offset To: Daniel Vetter Cc: Nathan Chancellor , Chris Wilson , Linux Kernel Mailing List , dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 3, 2020 at 1:29 AM Daniel Vetter wrote: > > > Tested-by: Nathan Chancellor # build > > This works too, missed it when replying to Linus > > Reviewed-by: Daniel Vetter > > Linus I guess this one is better, but like I explained it really > doesn't matter what we do with drm legacy code, it's a horror show > that should be disabled on all modern distros anyway. We just keep it > because of "never break old uapi". Ok, That patch from Chris looks fine to me too. dma_addr_t and resource_size_t aren't the same, but at least dma_addr_t should always be the bigger one. And it does look like nothing else ever takes the address of this field, so the ones that might want just the resource_size_t part will at least have enough bits. So I think Chris' patch is the way to go. I'm assuming I'll get it through the normal drm tree channels, this doesn't sound _so_ urgent that I'd need to expedite that patch into my tree and apply it directly. Thanks, Linus