Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2505224pxf; Sat, 27 Mar 2021 13:41:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW+0HEUzZXiKMwbdvXa6nC3Bgwbac0uNRVJGp1vWm6HHTPZ5TjfTOoR2UD/SmY18u586UG X-Received: by 2002:a50:cdd1:: with SMTP id h17mr21759486edj.178.1616877696624; Sat, 27 Mar 2021 13:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616877696; cv=none; d=google.com; s=arc-20160816; b=KgnBAypPfiJfAma2JdLObYOum1kpPMFvtUUx1Cci6RiaEVPGyrId+aIMAjbAqsykCZ 03yGXeFPADKb+7licCT41B7ZAz7Ck95bMA2vcQDtoMLhNZVhiwxjdzo089BibQ9iEJzT hebFzCAHniDfIWbaxdiYQYFhB4AEOFqtUS1RS3cmnwSsFKSTedG6NS62VM9sbTL0lPcf 28YjfVlbi/fbK4sHO9SiypIRDJ2XftexB5GuyRBplCPjMk1dbZCRxt7Tr7F5LQjjfvG7 k8MCwWdG58P1qU8ze5xV6tAgmjioLacz56sCOthFTjANA0H1MExFUNQQCuWKuu9/0inB BJRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JuabIowwXjMlE1i/TVQ4jxLohpJBzzcBMU6nptsqkFo=; b=rWDY7rgxCBaIof+ssTbUgh3+thpvtU4Y1t/FGjsusgVW+/K2ZxrCCkN5p14nC8+L2r XgMR2PvA+DGYYgvkbDNGnyuFIEM18dOChsyeusVXUziQvcApnnmFnftOxHJ8vdGOmFz3 WWffwMKO70+dRdN5hPP4fusWTTybYyGEPmPVuykvn+bJj7CwsqtDhGMfc+2JkekORVF0 VIIqQN79JcL9dDsJ6PMJ5k0AaM3x/yn/lEGBfCCY89H+fs8GkmmAyB0x0BGBo/oahynR qi8M0s/4E0iChFB2JelCCru0gkdN/WYrXOcuCIIoB3T3STqUUVjQ+TwtCT8M9yd61x5X QWlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=EXIWs+Q8; 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=o2.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb15si9771728ejb.147.2021.03.27.13.41.13; Sat, 27 Mar 2021 13:41:36 -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=pass (test mode) header.i=@o2.pl header.s=1024a header.b=EXIWs+Q8; 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=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbhC0Uj7 (ORCPT + 99 others); Sat, 27 Mar 2021 16:39:59 -0400 Received: from mx-out.tlen.pl ([193.222.135.145]:59884 "EHLO mx-out.tlen.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhC0Ujp (ORCPT ); Sat, 27 Mar 2021 16:39:45 -0400 X-Greylist: delayed 396 seconds by postgrey-1.27 at vger.kernel.org; Sat, 27 Mar 2021 16:39:45 EDT Received: (wp-smtpd smtp.tlen.pl 4720 invoked from network); 27 Mar 2021 21:33:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1616877184; bh=JuabIowwXjMlE1i/TVQ4jxLohpJBzzcBMU6nptsqkFo=; h=From:To:Cc:Subject; b=EXIWs+Q80PxXhQyGfJFZQsLp+Q5aidrONoqtDorKudjRNEN3mdKAzKHnfXkhlH/r6 nbLgSdWMlThdiGg/mfh6qq5vU1DMc2UCxHRr+xo6qapccS1UxXHKzy2l/ZHVq4Uq+e crbGCwZjiruaz0jcMWSNbNz8oNPTV8Ar0Z+ZJFwI= Received: from aclp172.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.10.117.172]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 27 Mar 2021 21:33:03 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Subject: Testers wanted: Atom netbooks with x86_64 disabled by BIOS Date: Sat, 27 Mar 2021 21:32:18 +0100 Message-Id: <20210327203218.119372-1-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: c87522c42fe7c5357912513f254d7fc5 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [gQPk] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, There are some netbooks with Intel Atom processors that have 64-bit support disabled by BIOS. Theoretically, the processor supports 64-bit operation, but BIOS allows only 32-bit code to run. I wonder whether the 64-bit mode is really disabled in the CPU or only hidden in the CPUID flags. If the latter, the computer could be made to run a 64-bit kernel. Similarly, there are some Pentium M processors that support PAE (Physical Address Extensions), but do not show this in CPUID. They could be made to run distributions that require PAE with the "forcepae" kernel command line parameter. I would like to ask people with such netbooks to try to run a 64-bit kernel with this patch applied. When a patched 64-bit kernel is run in `qemu-system-i386`, the virtual machine restarts instantly. Without this patch in such a case a 64-bit kernel hangs indefinitely (inside .Lno_longmode in head_64.S). CC: Thomas Gleixner CC: Ingo Molnar CC: Borislav Petkov CC: Signed-off-by: Mateusz Jończyk --- arch/x86/boot/compressed/head_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S index e94874f4bbc1..23c376d0b221 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S @@ -112,7 +112,7 @@ SYM_FUNC_START(startup_32) call verify_cpu testl %eax, %eax - jnz .Lno_longmode + #jnz .Lno_longmode /* * Compute the delta between where we were compiled to run at -- 2.25.1