Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2124029pxb; Sat, 7 Nov 2020 10:00:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkPJZz7jlid5SRu5MJFqxtsqdzDUE+dPT+1VZSXdE8daWu3+ue0Nx19cOKXHzoZKQmJzOn X-Received: by 2002:a05:6402:28e:: with SMTP id l14mr7681236edv.157.1604772059739; Sat, 07 Nov 2020 10:00:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604772059; cv=none; d=google.com; s=arc-20160816; b=o9anO1Cylu0x93atekrr5ffvr/T4SSTQz9mVm51BOfOnQK5iCKm3i3KTrERVMq6Vls kizUHDXY0JNMeXpPyJNVTjvStx5eZ0HxIVyjzfOGRTrxHq/HR8RVDgW4vM9Ge+kyZXR8 plPHvlRhPSFWJn5wLkhYBp8Wodbrt4T6LJY//OriZthjw24gxgcjMqNsHF48lYbJ3N6N lvv4m7GL7mjlWwc6N05I8wunmV9Cbl2749PMxi36LsAiCgo6BcqQ1IhECK1JPMw3xo70 Gf4tUp/yaJq8Dn5VFNw80gNa1tBtsVf8F/VKgHRawvE1CB/2/WTYje+Nk6j4oDbXhdTh 4WsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:reply-to:message-id:subject:cc:to :from:date:dkim-signature; bh=19AOhJSg8287gbPV9wDB4l5dczCLNW+uqRNvFL42X6U=; b=vT/EAvus6Az0UkMH0MpH8lbteD2uNqKGnmVAOrzMmYOuJIuBPpiPIODAQsRMVyjSMH 7l8u7fsp4AjT74yNjmRjX6eYHAQAHR0jyD9zoG0bVMJV+xNGjzy51hSPyVwgvbKxxpy8 ydHin4b4SDjVgRZp4VZw1/jwO1uKm9hkW66ZBZrLneXmNISTiKjJYwMBbnUVO7fjTEKi qS0pGvHwINm5cPwXxP+8fHJENC6R5pFIEEHBiQpfqYF50bhZHnOC0b6ez+q+BF6NMpC9 8nXc0PpxTmonpBXFh488GI8/4oo2iqJsppqmLr/Z18EG9M2de/78h+Cfx/oKVl95Yuy1 /mZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=bigOhbIa; 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=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nw19si3438421ejb.586.2020.11.07.10.00.35; Sat, 07 Nov 2020 10:00:59 -0800 (PST) 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=@hpe.com header.s=pps0720 header.b=bigOhbIa; 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=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728527AbgKGR6Q (ORCPT + 99 others); Sat, 7 Nov 2020 12:58:16 -0500 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:15900 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbgKGR6P (ORCPT ); Sat, 7 Nov 2020 12:58:15 -0500 Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A7HpUIT030820; Sat, 7 Nov 2020 17:57:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=date : from : to : cc : subject : message-id : reply-to : references : content-type : in-reply-to : mime-version; s=pps0720; bh=19AOhJSg8287gbPV9wDB4l5dczCLNW+uqRNvFL42X6U=; b=bigOhbIaNPut4w8m9qKIQWF7/d+s3mOe5gd3a+QTMpO9bczduiadQLGoik5NmVu61jT9 Hvrv/wsJoD8DNgSzPdP7IWBJjzibeZzQF7bw5Y8kS0jmlXCPMyC+dMaZk54aXtfTfLr2 B0KNJDg5R+W6M1nQ3Omo8Gj+BApLmqfP17OaiHRkXrKNvyS0MDbYeelwsM4lBqZFYfS3 QBwUaJ1sJuP1hbyQ4KRvT4t2viCotSyHmUm3uXHGsbyWWzk79UJtBOvebZ6zkaJwa7Fl x7TWo7W4xL0X4yo0lQF8Z9chviFzJNWY68XJ8P9Jibk5ids/kDaAMk25O49fkH+tCjKc TQ== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 34nmm4awuf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 07 Nov 2020 17:57:57 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 2F66081; Sat, 7 Nov 2020 17:57:56 +0000 (UTC) Received: from rfwz62 (rfwz62.americas.hpqcorp.net [10.33.237.8]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 513553A; Sat, 7 Nov 2020 17:57:54 +0000 (UTC) Date: Sat, 7 Nov 2020 10:57:54 -0700 From: rwright@hpe.com To: Hans de Goede Cc: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch, sumit.semwal@linaro.org, christian.koenig@amd.com, wambui.karugax@gmail.com, chris@chris-wilson.co.uk, matthew.auld@intel.com, akeem.g.abodunrin@intel.com, prathap.kumar.valsan@intel.com, mika.kuoppala@linux.intel.com, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v3 0/3] Reduce context clear batch size to avoid gpu hang Message-ID: <20201107175754.GA13311@rfwz62> Reply-To: rwright@hpe.com References: <20201101174132.10513-1-rwright@hpe.com> <8cdf0dd0-2a2f-bae9-71ea-89a88fdb14a5@redhat.com> <20201102195710.GA12790@rfwz62> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201102195710.GA12790@rfwz62> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-07_09:2020-11-05,2020-11-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 mlxlogscore=690 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011070129 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 02, 2020 at 12:57:10PM -0700, rwright@hpe.com wrote: > On Mon, Nov 02, 2020 at 10:48:54AM +0100, Hans de Goede wrote: > > Hi, > > > ... > That said, if the i915 maintainers respond in favor of the simpler > unconditional reduction of the batch size, I will be glad to > propose a much simpler version of my patch. > ... I received a suggestion from Mika Kuoppala to test https://patchwork.freedesktop.org/patch/399174/?series=83531&rev=1 as a solution for the GPU hang I observed, and the test was successful. I recommend this patch as a better approch than my own, as it addresses more general cases without introducing a new quirk. -- Randy Wright Usmail: Hewlett Packard Enterprise Email: rwright@hpe.com Servers Linux Enablement Phone: (970) 898-0998 3404 E. Harmony Rd, Mailstop 36 Fort Collins, CO 80528-9599