diff mbox series

[1/1] x86/gpu: Add Alderlake-S stolen memory support

Message ID 20210126001744.29442-2-aditya.swarup@intel.com (mailing list archive)
State New, archived
Headers show
Series Add Alderlake-S stolen memory changes. | expand

Commit Message

Aditya Swarup Jan. 26, 2021, 12:17 a.m. UTC
From: Caz Yokoyama <caz.yokoyama@intel.com>

Alderlake-S is a Gen 12 based hybrid processor architecture. As it
belongs to Gen 12 family, it uses the same GTT stolen memory settings
like its predecessors - ICL(Gen 11) and TGL(Gen 12). Inherit gen11
and gen 9 quirks for determining base and size of stolen memory.

v2: Fix typos in commit message.(Boris Petkov)

Bspec: 52055
Bspec: 49589
Bspec: 49636

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: x86@kernel.org
Cc: Ingo Molnar <mingo@redhat.com>,
Cc: Thomas Gleixner <tglx@linutronix.de>,
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 arch/x86/kernel/early-quirks.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Borislav Petkov Jan. 26, 2021, 10:28 a.m. UTC | #1
On Mon, Jan 25, 2021 at 04:17:44PM -0800, Aditya Swarup wrote:
> From: Caz Yokoyama <caz.yokoyama@intel.com>
> 
> Alderlake-S is a Gen 12 based hybrid processor architecture. As it
> belongs to Gen 12 family, it uses the same GTT stolen memory settings
> like its predecessors - ICL(Gen 11) and TGL(Gen 12). Inherit gen11
> and gen 9 quirks for determining base and size of stolen memory.
> 
> v2: Fix typos in commit message.(Boris Petkov)

For the future: patch changelog information goes...

> Bspec: 52055
> Bspec: 49589
> Bspec: 49636
> 
> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> Cc: Jani Nikula <jani.nikula@intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Imre Deak <imre.deak@intel.com>
> Cc: x86@kernel.org
> Cc: Ingo Molnar <mingo@redhat.com>,
> Cc: Thomas Gleixner <tglx@linutronix.de>,
> Cc: Borislav Petkov <bp@suse.de>
> Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
> Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---

<--- ... here, under those lines. But no need to resend now, I believe
the committer of this will fix it up.

Acked-by: Borislav Petkov <bp@suse.de>

Thx.
Lucas De Marchi Jan. 26, 2021, 2:59 p.m. UTC | #2
On Tue, Jan 26, 2021 at 11:28:02AM +0100, Borislav Petkov wrote:
>On Mon, Jan 25, 2021 at 04:17:44PM -0800, Aditya Swarup wrote:
>> From: Caz Yokoyama <caz.yokoyama@intel.com>
>>
>> Alderlake-S is a Gen 12 based hybrid processor architecture. As it
>> belongs to Gen 12 family, it uses the same GTT stolen memory settings
>> like its predecessors - ICL(Gen 11) and TGL(Gen 12). Inherit gen11
>> and gen 9 quirks for determining base and size of stolen memory.
>>
>> v2: Fix typos in commit message.(Boris Petkov)
>
>For the future: patch changelog information goes...
>
>> Bspec: 52055
>> Bspec: 49589
>> Bspec: 49636
>>
>> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>> Cc: Jani Nikula <jani.nikula@intel.com>
>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> Cc: Imre Deak <imre.deak@intel.com>
>> Cc: x86@kernel.org
>> Cc: Ingo Molnar <mingo@redhat.com>,
>> Cc: Thomas Gleixner <tglx@linutronix.de>,
>> Cc: Borislav Petkov <bp@suse.de>
>> Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
>> Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
>> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
>> ---
>
><--- ... here, under those lines. But no need to resend now, I believe
>the committer of this will fix it up.
>
>Acked-by: Borislav Petkov <bp@suse.de>

Thanks, I fixed that up and applied to drm-intel topic/adl-s-enabling
branch.

Lucas De Marchi

>
>Thx.
>
>-- 
>Regards/Gruss,
>    Boris.
>
>https://people.kernel.org/tglx/notes-about-netiquette
>_______________________________________________
>Intel-gfx mailing list
>Intel-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox series

Patch

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index a4b5af03dcc1..6edd1e2ee8af 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -551,6 +551,7 @@  static const struct pci_device_id intel_early_ids[] __initconst = {
 	INTEL_EHL_IDS(&gen11_early_ops),
 	INTEL_TGL_12_IDS(&gen11_early_ops),
 	INTEL_RKL_IDS(&gen11_early_ops),
+	INTEL_ADLS_IDS(&gen11_early_ops),
 };
 
 struct resource intel_graphics_stolen_res __ro_after_init = DEFINE_RES_MEM(0, 0);