Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2190594pxb; Mon, 23 Aug 2021 14:16:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1l/eNFpVkxbX5OZ6k2CXPswcM9Qmb7XvCuu5T/cpSQR1VTF5oOOmYX+8Rqj8iEriCL6zL X-Received: by 2002:a05:6402:424c:: with SMTP id g12mr39575167edb.121.1629753403452; Mon, 23 Aug 2021 14:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629753403; cv=none; d=google.com; s=arc-20160816; b=TkJo4kPDdKW6+E0+0DnQaLWmZ1x1FsSj8kCEseq7JbTWGzKdDWVSWaccN2A/lJ1cdU lhJcOygw0JiiObmPGoNAGr8XRtdEUO6z9nWH2b2dxxg/s7bxntyU+HiC6bkZothvxk5Y Pi0EpeQCJAECmAgMDPBIp6O3TIwC4TLQcO4YS8EVdSAgXyfCMExlVknaMLaH/TmaeSWt oRHYkzkbB4uPu9QVpdrkaVFOWXdOjDq1B0ZbX/LFX+K35UML8HcpgE3snh7M45XEOFSd +xdqATFGc/mDU/RqAZIyAAJnnLoB9RMehfNdUjZ+y4yr/G9J14CLeZ3g2+9WFwgxedR8 4w1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=jasvgiM8qP9KkP5jp6sSpwOrEeUFqGuY+4FHXstM1F0=; b=JTemABxzAs9yVqzxzt47aaP/sZ/pecJr6SPmziozbZtG95f2Ms0o2ZCn3IQmJIN+TK t5pgnZa/anTQisqFeRAHGkTJ5E5NkAcki/nFfYzFuC+foMb1gPmfKhawZvj3yciwYzlI c42bGYXuVB7Y7adJMty2m3RPO1j61ch+wK1A0YJznAt/9mEPYumYXCBPWAY32iR3pz28 1TXsczeBkzao4Q0oyFpu2lyGBaBeFMT8HKeCoQ3XjIUUm41YJbhs/iWFHQLGUS5ozApb bfQiGpoGt0mu27E1OD/zk9pMqMiSIaLlUGAvHogEoqEu4/spWwEbUbKQ4sT4cGgR18s7 l0wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si4832404edr.172.2021.08.23.14.16.20; Mon, 23 Aug 2021 14:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232782AbhHWVOn (ORCPT + 99 others); Mon, 23 Aug 2021 17:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232710AbhHWVOl (ORCPT ); Mon, 23 Aug 2021 17:14:41 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C65B7C061575; Mon, 23 Aug 2021 14:13:57 -0700 (PDT) Received: from maud (unknown [IPv6:2600:8800:8c06:1000::c8f3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: alyssa) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 957661F42654; Mon, 23 Aug 2021 22:13:52 +0100 (BST) Date: Mon, 23 Aug 2021 17:13:45 -0400 From: Alyssa Rosenzweig To: Steven Price Cc: Alyssa Rosenzweig , dri-devel@lists.freedesktop.org, Rob Herring , Tomeu Vizoso , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, Chris Morgan , stable@vger.kernel.org Subject: Re: [PATCH 3/3] drm/panfrost: Clamp lock region to Bifrost minimum Message-ID: References: <20210820213117.13050-1-alyssa.rosenzweig@collabora.com> <20210820213117.13050-4-alyssa.rosenzweig@collabora.com> <818b1a15-ddf4-461b-1d6a-cea539deaf76@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <818b1a15-ddf4-461b-1d6a-cea539deaf76@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > When locking a region, we currently clamp to a PAGE_SIZE as the minimum > > lock region. While this is valid for Midgard, it is invalid for Bifrost, > > While the spec does seem to state it's invalid for Bifrost - kbase > didn't bother with a lower clamp for a long time. I actually think this > is in many ways more of a spec bug: i.e. implementation details of the > round-up that the hardware does. But it's much safer following the spec > ;) And it seems like kbase eventually caught up too. Yeah, makes sense. Should I drop the Cc: stable in that case? If the issue is purely theoretical.