From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77BE6C2BA19 for ; Thu, 16 Apr 2020 02:47:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 41EC620725 for ; Thu, 16 Apr 2020 02:47:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587005229; bh=4rIGtmj1gKnc8/8rtXwi2OobHsa1XZd91NdJ9tq4Bbw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=AULBrLkZKObHDyASysmyG+NhURSsC6kRzidsnJO9Hsq14Q3jstQDE0Ji4FRp15NS+ hFwo+HaeaaPDgLDIIDwVcvu8t/NV0oRgeKMTq0lLlup5zLhbmgRarFZ6+6p4IJPt+v 4lbKGrD47OqvwTDDVC97cwrZnUv3a4RckDqS/H6I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388316AbgDPCrI (ORCPT ); Wed, 15 Apr 2020 22:47:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:38526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732153AbgDPCrF (ORCPT ); Wed, 15 Apr 2020 22:47:05 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 35AB620771; Thu, 16 Apr 2020 02:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587005225; bh=4rIGtmj1gKnc8/8rtXwi2OobHsa1XZd91NdJ9tq4Bbw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=acySgP3k1FOb00dSEITL0O0E4K/5znuxHnokkzIEXdra374RaFXZdTZMasgSCo1Ru +ONf+46FKXIGj9UFs5dfOREPB2M017HY/inTSxuyz/6kD5IJa/LmJ6RmP9kKe3WHYH yYvp2Dp5/L9hK4asraL6HaM2SUEsJ9gWQiqV9Mo8= Date: Wed, 15 Apr 2020 22:47:04 -0400 From: Sasha Levin To: gregkh@linuxfoundation.org Cc: chris@chris-wilson.co.uk, imre.deak@intel.com, matthew.auld@intel.com, rodrigo.vivi@intel.com, stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] drm/i915/gt: Fill all the unused space in the GGTT" failed to apply to 5.6-stable tree Message-ID: <20200416024704.GB1068@sasha-vm> References: <1586950539224114@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1586950539224114@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Apr 15, 2020 at 01:35:39PM +0200, gregkh@linuxfoundation.org wrote: > >The patch below does not apply to the 5.6-stable tree. >If someone wants it applied there, or to any other stable or longterm >tree, then please email the backport, including the original git commit >id to . > >thanks, > >greg k-h > >------------------ original commit in Linus's tree ------------------ > >>From 0b72a251bf92ca2378530fa1f9b35a71830ab51c Mon Sep 17 00:00:00 2001 >From: Chris Wilson >Date: Tue, 31 Mar 2020 16:23:48 +0100 >Subject: [PATCH] drm/i915/gt: Fill all the unused space in the GGTT > >When we allocate space in the GGTT we may have to allocate a larger >region than will be populated by the object to accommodate fencing. Make >sure that this space beyond the end of the buffer points safely into >scratch space, in case the HW tries to access it anyway (e.g. fenced >access to the last tile row). > >v2: Preemptively / conservatively guard gen6 ggtt as well. > >Reported-by: Imre Deak >References: https://gitlab.freedesktop.org/drm/intel/-/issues/1554 >Signed-off-by: Chris Wilson >Cc: Matthew Auld >Cc: Imre Deak >Cc: stable@vger.kernel.org >Reviewed-by: Matthew Auld >Reviewed-by: Imre Deak >Link: https://patchwork.freedesktop.org/patch/msgid/20200331152348.26946-1-chris@chris-wilson.co.uk >(cherry picked from commit 4d6c18590870fbac1e65dde5e01e621c8e0ca096) >Signed-off-by: Rodrigo Vivi I've also grabbed 69edc390a542 ("drm/i915/ggtt: do not set bits 1-11 in gen12 ptes"). -- Thanks, Sasha