From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751363AbdAYH3J (ORCPT ); Wed, 25 Jan 2017 02:29:09 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33500 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdAYH3I (ORCPT ); Wed, 25 Jan 2017 02:29:08 -0500 Date: Wed, 25 Jan 2017 08:29:03 +0100 From: Ingo Molnar To: Paulo Zanoni Cc: intel-gfx@lists.freedesktop.org, x86@kernel.org, linux-kernel@vger.kernel.org, "H . Peter Anvin" , Ander Conselvan de Oliveira , Rodrigo Vivi , Dhinakaran Pandiyan Subject: Re: [PATCH] x86/gpu: GLK uses the same GMS values as SKL Message-ID: <20170125072903.GA20432@gmail.com> References: <1485283642-14401-1-git-send-email-paulo.r.zanoni@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485283642-14401-1-git-send-email-paulo.r.zanoni@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Paulo Zanoni wrote: > So don't forget to reserve its stolen memory bits. > > Cc: Ingo Molnar > Cc: H. Peter Anvin > Cc: Ander Conselvan de Oliveira > Cc: x86@kernel.org > Reviewed-by: Ander Conselvan de Oliveira > Signed-off-by: Paulo Zanoni > --- > arch/x86/kernel/early-quirks.c | 1 + > 1 file changed, 1 insertion(+) > > Found by code inspection. This is completely untested since I don't have > GLK hardware. > > diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c > index 6a08e25..23c4f1c 100644 > --- a/arch/x86/kernel/early-quirks.c > +++ b/arch/x86/kernel/early-quirks.c > @@ -526,6 +526,7 @@ static const struct pci_device_id intel_early_ids[] __initconst = { > INTEL_SKL_IDS(&gen9_early_ops), > INTEL_BXT_IDS(&gen9_early_ops), > INTEL_KBL_IDS(&gen9_early_ops), > + INTEL_GLK_IDS(&gen9_early_ops), > }; There's no INTEL_GLK_IDS() upstream - is there any dependency here on other changes to the i915 GPU driver? Thanks, Ingo