lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 24 Jan 2017 16:47:22 -0200
From:   Paulo Zanoni <paulo.r.zanoni@...el.com>
To:     intel-gfx@...ts.freedesktop.org
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        Paulo Zanoni <paulo.r.zanoni@...el.com>,
        Ingo Molnar <mingo@...nel.org>,
        "H . Peter Anvin" <hpa@...or.com>,
        Ander Conselvan de Oliveira 
        <ander.conselvan.de.oliveira@...el.com>
Subject: [PATCH] x86/gpu: GLK uses the same GMS values as SKL

So don't forget to reserve its stolen memory bits.

Cc: Ingo Molnar <mingo@...nel.org>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@...el.com>
Cc: x86@...nel.org
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@...el.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@...el.com>
---
 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),
 };
 
 static void __init
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ