From nobody Fri Nov 15 20:52:03 2024 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xqq2g5BfLz5dYYg for ; Fri, 15 Nov 2024 20:52:11 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xqq2f60CLz4gQd for ; Fri, 15 Nov 2024 20:52:10 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk; dmarc=none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 7C3DB8928B for ; Fri, 15 Nov 2024 20:52:03 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 4AFKq3ug016228; Fri, 15 Nov 2024 20:52:03 GMT (envelope-from phk) Message-Id: <202411152052.4AFKq3ug016228@critter.freebsd.dk> To: hackers@freebsd.org Subject: First impressions: Lenovo T14s with Qualcomm Snapdragon ARM64 CPU From: Poul-Henning Kamp List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16226.1731703923.1@critter.freebsd.dk> Date: Fri, 15 Nov 2024 20:52:03 +0000 X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[phk]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.dk]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Xqq2f60CLz4gQd X-Spamd-Bar: -- Those of you how know me, know that I am not a big fan of the X86 architecture, which I think is a bad mess, mangled by market power considerations, rather than the CPU architecture this world actually needs, in particular in terms of performance/energy ratio. So when my regular HW-pusher had a T14s G6 with Qualcomm Snapdragon ARM64 CPU, for only EUR1000 + VAT, and I couldn't resist. Physical: --------- Lenovo T-series as we know it. FreeBSD-current status: ----------------------- -CURRENT needed some patches to ARM64-specific interrupt stuff, that too half a day or so, patches are in transit. A lot of my time were spent trying to slow down the EFI console enough to be able to capture the boot messages with my mobile phone's camera. One particular note here is that the VT console switches to a 25Hz timer driven screen update once interupts are supposed to work, and if they dont, you wont see why on the screen. I think we ought to have a loader-tunable, settable to a number, which slows down the console proportional to that number, and if non-zero, the VT console should not rely on the timer. That would have saved me some trouble and confusion yesterday. With those pending patches: What works: Screen, NVME, the two USB-A ports and that's probably about it. What does not work: Keyboard, mouse, TB & USB-C ports, thermal/freq mgt. What is not tested: Everything else Worldstone: ----------- >>> World built in 3210 seconds, ncpu: 12, make -j12 ... using 24 Wh of energy, measured with a proper power-meter. Likely explanation: Twelve real CPUs and none of that HTT-crap ? Conclusion: ----------- Highly recommended. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.