From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-f66.google.com ([209.85.222.66]:46149 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727401AbeJZBuy (ORCPT ); Thu, 25 Oct 2018 21:50:54 -0400 Received: by mail-ua1-f66.google.com with SMTP id z8so3533440uap.13 for ; Thu, 25 Oct 2018 10:17:13 -0700 (PDT) MIME-Version: 1.0 References: <20181025091823.20571-1-chris@chris-wilson.co.uk> <20181025091823.20571-2-chris@chris-wilson.co.uk> In-Reply-To: <20181025091823.20571-2-chris@chris-wilson.co.uk> From: Matthew Auld Date: Thu, 25 Oct 2018 18:16:46 +0100 Message-ID: Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: Compare user's 64b GTT offset even on 32b To: Chris Wilson Cc: Intel Graphics Development , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: stable-owner@vger.kernel.org List-ID: On Thu, 25 Oct 2018 at 10:18, Chris Wilson wrote: > > Beware mixing unsigned long constants and 64b values, as on 32b the > constant will be zero extended and discard the high 32b when used as > a mask! > > Reported-by: Sergii Romantsov > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108282 > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen > Cc: stable@vger.kernel.org Reviewed-by: Matthew Auld