Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1577645ybk; Sat, 16 May 2020 16:10:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUEK4ecEc6D6SAnyNlNzbEcntdx9Kt88eXAcY5jOFQgVsaQlCRG8p+u2CuJS01PeZlDNUT X-Received: by 2002:a17:906:bb07:: with SMTP id jz7mr8809578ejb.317.1589670649371; Sat, 16 May 2020 16:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589670649; cv=none; d=google.com; s=arc-20160816; b=JhzVrwyO6ekUXFzQl3548Uc1nGkYHn6BAc+TycOOP9TDBZmUVE2uU1KqoN/1Lo21SL 297oJnNOEvV8F9zRERaPQc/5WuclZh88ImAziAtjJd3d6ozcAXTyW6xWitJybUrlEDsB 27KUkHoOOFrvNHAviI9Dcg0wtwMbM8CX2+zn6Ja7h/EQISLPVKLomxVP62fua6rDm4C5 mvMkxetQvuBIMY9bzxbpy5J10J2HEmVNz9vusQcIqqjBwQQXGca6jZ0ov5wC0l7hVNC1 jPhT0fdrgk3O2Tlwi9C1aaLKP/X8651oH6g+BA+8I3LPXNXOk0KaBYtank+BiIQY+EUo fOeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nhJafJ/UBJNRSbmSrPRnrT/6Y2DdQCie6GXhsklk4cQ=; b=lVlREH2KAVDq91fJGl9j2b2zqE4hoEsXszulwIhb0O1VgzMszdlQe+2G1ALMk4X+6C JvT6B/XT8qDb7qHIEwl90Mdtk90uDJw7r/quBFu1x02KZWY/24Db17a6YysYA32yfXST u2mE71jkZcbtw+C4lRHmP5+ELPEOf3fkKQdagVAXe/Kms+WectY3vz9A1k062swsm3mo uYaJ1ccZnvfMZwU9ARq6YpO3pLUTpmOSHhtj9rn7tTUq5t04ELeF0MBjZ0xkzNTO56Q+ LBkgIl1I27dQJwFllmQXE2dX7YsgsMN1Zyw12eMo8Q16YULRgCqaHr6htUjtVEnVMwSv 7OZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lp2MEMtf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si3760897edn.349.2020.05.16.16.10.12; Sat, 16 May 2020 16:10:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Lp2MEMtf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726729AbgEPXIM (ORCPT + 99 others); Sat, 16 May 2020 19:08:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:36814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbgEPXIM (ORCPT ); Sat, 16 May 2020 19:08:12 -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 A20AE206F9; Sat, 16 May 2020 23:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589670491; bh=aSDJYt65gfHwTP2ldHRow9dEQtOjPVrtphZuiHCOv+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lp2MEMtfg1F7hSlTTWsT0/U06cieH89hqYRyiJX6PSkA2VCB92yBtD+eKPWMMxYuU fO+rHmXGcbez1FqhKZS9cSfijfPSp/W7CEyA6MC7e1i9xgf7E/glxoiLQp24ft7SOP B9FiTVUu+5i0kfjksRcPG62OaosFduiLT1l2ga9g= Date: Sat, 16 May 2020 19:08:10 -0400 From: Sasha Levin To: Michel =?iso-8859-1?Q?D=E4nzer?= Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Pierre-Eric Pelloux-Prayer , Marek =?utf-8?B?T2zFocOhaw==?= , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= Subject: Re: [PATCH AUTOSEL 5.6 33/50] drm/amdgpu: bump version for invalidate L2 before SDMA IBs Message-ID: <20200516230810.GH29995@sasha-vm> References: <20200507142726.25751-1-sashal@kernel.org> <20200507142726.25751-33-sashal@kernel.org> <349b2cb9-71f9-a0cd-aceb-308512d7501a@daenzer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <349b2cb9-71f9-a0cd-aceb-308512d7501a@daenzer.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 06:11:17PM +0200, Michel Dänzer wrote: >On 2020-05-07 4:27 p.m., Sasha Levin wrote: >> From: Marek Olšák >> >> [ Upstream commit 9017a4897a20658f010bebea825262963c10afa6 ] >> >> This fixes GPU hangs due to cache coherency issues. >> Bump the driver version. Split out from the original patch. >> >> Signed-off-by: Marek Olšák >> Reviewed-by: Christian König >> Tested-by: Pierre-Eric Pelloux-Prayer >> Signed-off-by: Alex Deucher >> Signed-off-by: Sasha Levin >> --- >> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> index 42f4febe24c6d..8d45a2b662aeb 100644 >> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c >> @@ -85,9 +85,10 @@ >> * - 3.34.0 - Non-DC can flip correctly between buffers with different pitches >> * - 3.35.0 - Add drm_amdgpu_info_device::tcc_disabled_mask >> * - 3.36.0 - Allow reading more status registers on si/cik >> + * - 3.37.0 - L2 is invalidated before SDMA IBs, needed for correctness >> */ >> #define KMS_DRIVER_MAJOR 3 >> -#define KMS_DRIVER_MINOR 36 >> +#define KMS_DRIVER_MINOR 37 >> #define KMS_DRIVER_PATCHLEVEL 0 >> >> int amdgpu_vram_limit = 0; >> > >This requires the parent commit fdf83646c0542ecfb9adc4db8f741a1f43dca058 >"drm/amdgpu: invalidate L2 before SDMA IBs (v2)". KMS_DRIVER_MINOR is >bumped to signal to userspace the fix in that commit is present. I've grabbed the commit you've pointed out as well as ce73516d42c9 ("drm/amdgpu: simplify padding calculations (v2)") to make the backport apply cleanly, thank you! -- Thanks, Sasha