Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp570684pxu; Thu, 3 Dec 2020 07:28:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3nGGf5sXt1vGkrFZ0uZTKiuqXK7U4G3kcS34mhK6Pq5CCUrBwgpQmId8fdbJvqzMLSn6b X-Received: by 2002:aa7:cc8f:: with SMTP id p15mr3264898edt.240.1607009330046; Thu, 03 Dec 2020 07:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607009330; cv=none; d=google.com; s=arc-20160816; b=M7nMb/7v4OWubT5x3ZMY9vYRGszIL97fxUm0pBLmsg9inSY1RLbPqQif/20EWCfwoz SewyEkPqbZMu79VSBvwEPWmq1+Qfdru50QZz00eZZzBr7iwL9G2TkmFvjVCcybEpP1vi Nlxu7B9jr3Z9yzTQ1MUZ+9fhlBtMrYEf7Dr0fqGdy6townmMDQfc5jFBSUuudv6fvEK7 STW//yl1cmnc7DhXEQCnOLdvI6829LRdK6hk5KGr0KEN6Klb0pQftNhw4O90qlyFn8/3 0uyxMWiiV9kTrf8smPtmLGLNlkZl71tlN1YDT3R2YaInZO+Pkw8Xl757Ufqm4OOf8pHv 8TFA== 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 :message-id:subject:cc:to:from:dkim-signature:date; bh=IGsxLSg3TUgAGxnALU57oVX6Sc01ZRhuS8/6LPU4qgE=; b=jlAwm6aA+G9D076xPHmVzLPCraJR0w9MasfMT+Q/ulwgipiT8ljJCu+UVf+bPKzMxH yzAnJLxcxN88PBv/mr4DijnHcWomagADrQYylWUM60DM6xTHcUZdBCJSciMFF2KwXoJr 8rSRzhJd9ZuMVPD54YbkYBFXcRh78cApCOAjFa2oZTBoFfUtvNYViLheMWELKQIhuO3/ 00NQkI6KNzIbdeGZr6LO+5xZota7HHqmDeAoREt4uuPlsFUWSTbjCR0wU9k7qEJQHJU8 rFvwxw6ZqG6RFgr8xvlyjbBjLqToHnaJ/B097EAWSDo6Okk5puVJXcoE4v8IlQVzlRQd WBKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="u/5Zqnef"; 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 dx21si1400864ejb.627.2020.12.03.07.28.18; Thu, 03 Dec 2020 07:28:50 -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=@kernel.org header.s=k20201202 header.b="u/5Zqnef"; 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 S1730706AbgLCP0E (ORCPT + 99 others); Thu, 3 Dec 2020 10:26:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:58726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726820AbgLCP0D (ORCPT ); Thu, 3 Dec 2020 10:26:03 -0500 Date: Thu, 3 Dec 2020 09:25:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607009122; bh=t6uY6ro8Jkf/b2wDnMZ+UsDuM+Xx/9in/WQwjNSs57g=; h=From:To:Cc:Subject:In-Reply-To:From; b=u/5ZqneflBgpH/J0WPKQMiC+LH9J+ai3mPOlIWHp59+o8tsRBJgzZiDzzydEr3Rkv deVpHeb3/gSZZPXEJRRPRbRrRGY9JaP8GhRrNUlYqBq2xI7gT4xi4IGs9erolFT6mY 7zEZ7bs1Sp9uygmQTycQwcY0TewEZKqsQNPH4pi+tovI2v6hteMpGw5zmU8/BiP7UY brI5TnPCri/b98dDTmpVNGPVunYeOxYB+AzCY4Gq0yyT8acwzwYoAYQkv6/LCg5l/R oypADefLOyqgfyRIuldyzNfiJDHW1J8IgQ3XR1jcnLlZO9UyEKdHYzJKOFc3Psd6lp s6yt7DGusPWsQ== From: Bjorn Helgaas To: Joonas Lahtinen Cc: "Surendrakumar Upadhyay, TejaskumarX" , Jesse Barnes , Daniel Vetter , Linux PCI , Linux Kernel Mailing List , X86 ML , Borislav Petkov , "De Marchi, Lucas" , "Roper, Matthew D" , "Pandey, Hariom" , Jani Nikula , "Vivi, Rodrigo" , David Airlie Subject: Re: [PATCH] x86/gpu: add JSL stolen memory support Message-ID: <20201203152520.GA1554214@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160698518967.3553.11319067086667823352@jlahtine-mobl.ger.corp.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 10:46:29AM +0200, Joonas Lahtinen wrote: > Quoting Bjorn Helgaas (2020-12-02 22:22:53) > > On Wed, Dec 02, 2020 at 05:21:58AM +0000, Surendrakumar Upadhyay, TejaskumarX wrote: > > > Yes it fails all the tests which are allocating from this stolen > > > memory bunch. For example IGT tests like " > > > igt@kms_frontbuffer_tracking@-[fbc|fbcpsr].* | > > > igt@kms_fbcon_fbt@fbc.* " are failing as they totally depend to work > > > on stolen memory. > > That's just because we have de-duped the stolen memory detection code. > If it's not detected at the early quirks, it's not detected by the > driver at all. > > So if the patch is not merged to early quirks, we'd have to refactor the > code to add alternative detection path to i915. Before that is done, the > failures are expected. > > > I'm sure that means something to graphics developers, but I have no > > idea! Do you have URLs for the test case source, outputs, dmesg log, > > lspci info, bug reports, etc? > > The thing is, the bug reports for stuff like this would only start to > flow after Jasperlake systems are shipping widely and the less common > OEMs start integrating it to into strangely behaving BIOSes. Or that > is the assumption. > > If it's fine to merge this through i915 for now with an Acked-by, like > the previous patches, that'd be great. We can start a discussion on if > the new platforms are affected anymore. But I'd rather not drop it > before we have that understanding, as the previous problems have > included boot time memory corruption. > > Would that work? Like I said, I'm not objecting if somebody else wants to apply this. I'm just pointing out that there's a little bit of voodoo here because it's not clear what makes a BIOS strangely behaving or what causes boot-time memory corruption, and that means we don't really have any hope of resolving this stream of quirk updates. Bjorn