Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp731340ybb; Fri, 3 Apr 2020 10:46:03 -0700 (PDT) X-Google-Smtp-Source: APiQypIqWSsuJfyP7IApNRlB3nd4HUltPe9Y8enJmD3mmaMY9LXH4R1vXafzk0OO6Wt48/j02NIP X-Received: by 2002:a9d:1e82:: with SMTP id n2mr7367799otn.356.1585935963818; Fri, 03 Apr 2020 10:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585935963; cv=none; d=google.com; s=arc-20160816; b=AWy9P6wIx6RxPuo+/m/HmTgsIIYgdY/JzSzdYeClWd57yGvYWJEO65UtYubAwxBZHb SsgnmF6A4tg6nnuoB+sqt5y4O8+vRUDoolBh0cGJAVuaZBjjz2q/ctzYD5KYpLXxx8JH 70I6FilD53LhW/X2ynm7FSrAsbp/Lz6VwPnwSI5OK9xs96sgpJmaYUSy/YIv7QNslPhz 8SdFfbWPt7GtdjyPyiXj1sPPjos07nyvU9e396uBdgO1eloL2ZwJutieXECbS8Gz9Cin KDSxUsSd628NMJFC12MyyHFOiEo/frWqv5eyQQi1dGOKyxeVohNpgI8g3O9AlWa8t16a FzZA== 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=Lctl7I09zhnrc16vIbyVgC4BJIrPWPpZwMZxngQgQLE=; b=0OV7QtVLuSbRC70JQzksCJrK2guOmsRDBnE18DJn7t/98gCqpe7KpcL/qT1dVAi6bK WyaYoZj1CrlA5LeYnmDFONLw5lCTU49Co18Ar8fooRutZ+XZUykDREQBaxDEW82jgt/+ q962jt7ojP+U3QeIwUEPKjik6wQbFfh0exXVYHxF8Z/3+Ye+a0bldlDgBH5ZnAalYqre k4kGRgEwP5i7X6S71dlCMM1JI+iR5ZdcGtjgkShPSfuiln++tL3R/qIkOo3crW6ZVhKy yaMCEOhPArIIYHCHGndRZJdyb9MGjFLiixbLyBsEL1QPdXxMa7kM5Sm8gKNgr83nwDBf VBnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=RNTWbP11; 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 h7si4301952oia.277.2020.04.03.10.45.50; Fri, 03 Apr 2020 10:46:03 -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=@ffwll.ch header.s=google header.b=RNTWbP11; 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 S2404018AbgDCRQl (ORCPT + 99 others); Fri, 3 Apr 2020 13:16:41 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42835 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728023AbgDCRQl (ORCPT ); Fri, 3 Apr 2020 13:16:41 -0400 Received: by mail-ot1-f68.google.com with SMTP id z5so8006918oth.9 for ; Fri, 03 Apr 2020 10:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Lctl7I09zhnrc16vIbyVgC4BJIrPWPpZwMZxngQgQLE=; b=RNTWbP11QdyS+t9Dpc7fBrb1h5ml9B4pyvLPEREV4GD6pDlEyfUy15pUiIluTwIhSE 1T5Ep+MgXgokKnU3mVLwRslwm/lqQdkT4wcoAt0oYDYrtc9ZqOywd7OZ6l4AfDWezX8h 3FYXVYuXtk+5ima4Qcao7qAvoY8BEYbHOE9u8= 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=Lctl7I09zhnrc16vIbyVgC4BJIrPWPpZwMZxngQgQLE=; b=EdlxGBQNY0mPhT3lq9qaoFmuM2OCqZU6/DkmOfSbG/p2aATDGEj/8AQLrqeH9RHOfG fbg51oPc0+bxnMIUrarq+FSgNyTZk97GAI7kO2YrT2mtvGH/Xb14YV3CJXYzR3u11CSa CP1vNmrsJ0Pzb1yYAUuBaSmNNRJjquw9iEBFYSP50Ji3Z1FgmShZWHE431brDno2PQZ+ kPfL1GuRqWVxivzvY5wE17fTQRfdV62l2YX7FJJudVWR2wR0kWrPUQYdF+h9IaUrthc2 3/H8tCROWMWckid5Y8fZTAh2XpGL6hnHkEd+vk5CAiBdgnETD8G+q4jukIuo/g+qBxN2 vFeQ== X-Gm-Message-State: AGi0Pubn61npNetNfD8kc/1wo6dCnX1cxLk5RFMIcEjRt+luWMoNAD4b zopcQN2Y8PiXBjxNLuLmfR5wiJDqPW2znxPsWEonrg== X-Received: by 2002:a9d:2056:: with SMTP id n80mr7599742ota.281.1585934199272; Fri, 03 Apr 2020 10:16:39 -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: Daniel Vetter Date: Fri, 3 Apr 2020 19:16:28 +0200 Message-ID: Subject: Re: [PATCH] drm/legacy: Fix type for drm_local_map.offset To: Linus Torvalds 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 7:14 PM Linus Torvalds wrote: > > 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. Ok, sounds good. Chris can you pls push this to drm-misc-next-fixes? That should be enough for the pull request train next week. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch