Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2042193ybg; Fri, 5 Jun 2020 04:12:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNNQC1yhVI9mn/EGERClRnvN7Yo+e2fhGwiBSFYpt6TrQQswYN2JEnWmpAnXYr5YpHuFas X-Received: by 2002:aa7:c486:: with SMTP id m6mr6538615edq.234.1591355564939; Fri, 05 Jun 2020 04:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591355564; cv=none; d=google.com; s=arc-20160816; b=oMhnfwp1LxiIIjSh1RYIGMcJM1o4VDaSJJ2Kc30r+JUffIBDZhP5vHLnevOBdTsNm2 N1G4wwrKRiP4jGWBUzgR+uNdn0fAssAO3O3jCACGCQSdLL4R97CiSUYAyijqAGewNF5W Ob7KMYJpFv5avwSPip5TuSLVRbq4JXDRSYreDqsslx8sFWYKp5HOJ/TK6EkJ3DF7MOsc /G+j2zlmAm4YNfbDalXiXPdIDfdnWSN+GMWD88480Mbky7vje6l500vMfRKgNl1n3s0e xDGf26kii4MDJmbLHVT7rePKwUejP2jrM//ZJkhB6NePWqDgov0/0tDJfYG1FG0AeR04 4KoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=3NH0uxciW9wNmCNchpq6bM+XDejEEyxzy2dajdLeTWo=; b=J8VRZD0sHQz5o1VeEsGeOr8/WWyiKmE2Vuc6ead6Cwf//sUgB+oVQL7+TpECgWynCf haMv7zw2kEGANZGVFItu9FRM1JGNXtxujKX4qmWbAk4YtC4cU7muNKN1uXI1JB1p7qde KczqB5IgX3Hbvu7XrViSy4OZ5AlZXvXjY1FoC0H0JkxVUan9rUs6v7jyARtMlEEXA1VF tP4jJZsKOzI4y08Kf5mGIJbMMW99wyPcbCcvu3walJn5XBNw53Br9ztk9woZOq5SvwGE +Va43/CfXoIybHsciyibWq4z8DASstGLus3VzmHsEEespd2jvW6PhcnoAICUKw1drdXW LBmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cyberus-technology.de header.s=default1911 header.b=RLBZLCNn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i90si3441085edd.55.2020.06.05.04.12.21; Fri, 05 Jun 2020 04:12:44 -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=fail header.i=@cyberus-technology.de header.s=default1911 header.b=RLBZLCNn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726446AbgFELIg (ORCPT + 99 others); Fri, 5 Jun 2020 07:08:36 -0400 Received: from www413.your-server.de ([88.198.28.140]:37706 "EHLO www413.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgFELIg (ORCPT ); Fri, 5 Jun 2020 07:08:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cyberus-technology.de; s=default1911; h=Content-Transfer-Encoding: MIME-Version:Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject: Message-ID:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3NH0uxciW9wNmCNchpq6bM+XDejEEyxzy2dajdLeTWo=; b=RLBZLCNnSMgKapiRRH0snatQ9 7hWvpFAqDlDO/6hY0S3n1zww8LPaufZjRi69WpU2U9fD/aYUcP1xk7PJe3v9/kcZ0W1PTQddayhmW L3B1rg7BEWjG38nnXKuA5UsVYwKI7DfJkkjkZWWRTSHvYMSMUJnSoxk4tGKj1uKugSaQbHmx8XLpR dzCjXFVT/n3uG5vBmyIowx3tBTerdgF9VGapd8LQmu6oMmTAFo5j9kFC8p8IeBvLrzSQsR3mm5B66 nH5FwNMz8ulminYxmJM5+11f1wd81YnpUU0e4F8m7DDBmVu42FQfAwTb4ow24fKn6yGLGqGFro6+c 3/0FVlvuA==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www413.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jhADB-0004sx-PN; Fri, 05 Jun 2020 13:08:33 +0200 Received: from [2001:16b8:57f2:b00:9e42:55f5:e968:2436] (helo=linux.fritz.box) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhADB-0006U5-H8; Fri, 05 Jun 2020 13:08:33 +0200 Message-ID: <15677f9958dfe4dfdbb3dda978c84a64427fa00f.camel@cyberus-technology.de> Subject: Re: [PATCH] drm/i915/gvt: print actionable error message when gm runs out From: Julian Stecklina To: Zhenyu Wang Cc: intel-gvt-dev@lists.freedesktop.org, Thomas Prescher , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 05 Jun 2020 13:08:32 +0200 In-Reply-To: <20200605045430.GS5687@zhen-hp.sh.intel.com> References: <20200603123321.263895-1-julian.stecklina@cyberus-technology.de> <20200605045430.GS5687@zhen-hp.sh.intel.com> Organization: Cyberus Technology GmbH Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.2 (3.36.2-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: julian.stecklina@cyberus-technology.de X-Virus-Scanned: Clear (ClamAV 0.102.3/25833/Thu Jun 4 14:45:29 2020) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-06-05 at 12:54 +0800, Zhenyu Wang wrote: > On 2020.06.03 14:33:21 +0200, Julian Stecklina wrote: > > + gvt_err("vgpu%d: failed to allocate %s gm space from host\n", > > + vgpu->id, high_gm ? "high" : "low"); > > + gvt_err("vgpu%d: destroying vGPUs, decreasing vGPU memory size > > or increasing GPU aperture size may resolve this\n", > > + vgpu->id); > > Currently we can't decrease vGPU mem size as defined by mdev type, > so actually you may try different vGPU type. Yes, that's what I meant. > And aperture size is > also handled for supported vGPU mdev types, so assume user should > already be awared of that too. I just don't want us to be too chatty. :) Our users typically hit this particular error message when they haven't configured the GPU aperture size in the system BIOS correctly. Many laptops we see have the aperture set to 256MB and this is simply not enough. I don't cling to the specific wording of the error message, but any hint in the error message that this is not an obscure, internal error or bug, but something that the user can actually fix, would be helpful. Julian