From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796385134; b=15V1UgQHS9j0LkloqkV0LpwFNAUCfiywmscTh5Y6gnmmj3srLW1MXu4awQ/OoV8Aodzv LIXrYbOcIMdcVrb4yO5k1ikl47IjTatd0Gu+hryGeO41LcZaVutYSNNgQJYF4+igBY8L2 LBsSdKJf4qb35H2Vb3PKnSqwpSeX/SDqZoi+OuHWyW6o2hao1QvfA/VLrHqEel1Azh0Ze UywFMfUjdKkyqRokO5Ax9MnsDGDGljveVXRruh9QlJj3nh8h5AiKhhYCziF4jsDuIxTsu QqrBjs+RPkoodSe5JCb2b4scpq+yr8xiqx/MF9dKQxXHq6NuO5apNACOEZoHRYvZtyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796385134; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=FrDEW0xrtnBX4xETu6co37FrYbgICMZ6ohSiC7dx6kc=; b=V205SAZ1DZkAOmoivyEVhXenp+VWFoIpfip0zNT+xAeXTsSQgu0oBeb7zJrVA1TmvsT7 LhC3l7mIW9Jc8YHpgsUcAnA5+5DovVZhdRtsp6cMZ6fSGi0qCTgbTC/HL3WlK4GW0MBwG Tbtu/guuJTEBpf3bbMMxDbRh8w5UvSaDozm3TKyvtfILY+LyIh+xJrSDzpcOIc9Xrju/s MScwXnoSUe2lo2LxuwbUz7192WP6NXw4+CA5dedfDHVhyKE/rWfGjsnhNQlWDlIE7zQ6/ WqVCuWQqZmjlHoE2NDCX2Fd2/ZZ0oYZRQBtO7KMDZO/M3MOvLMH9afYrWJl8inhyi3w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=MGBpMPDx; arc=none smtp.remote-ip=192.198.163.11 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2CEB606A32C; Fri, 4 Dec 2026 11:52:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A2CEB606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=MGBpMPDx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796385134; x=1827921134; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FrDEW0xrtnBX4xETu6co37FrYbgICMZ6ohSiC7dx6kc=; b=MGBpMPDxN61TOCuxYNKy23afRb3CyL+dyubBGndAi8K9JqS/9EpI+W9N 7Tbi3nkV8CsZ9587Fdet8UgntvYuNDbXrDQpZDguZu8z1CquY4EaTZyWH 4NmkTXBbhH+zkCqizn4VMVVeG/ruBISQtEgUA81pvx9p9nxtYp5vrezDl yxb6YGswcPR0Y9IARIUxucE3oklLfpea5RXNGOGGRjCXYpL87fi8xVEVG HFGwDGtPgHnItThMMzc1+rsS50w8d4pJjQINpD60W1qNgU1xv5guCj3s4 q9PJX7mQxybDQ7iaae96eCudfort0r2k725xNTibd0kubEsJQkWh3/AEY A==; X-CSE-ConnectionGUID: laLevcmRSVyAxt2OmCctew== X-CSE-MsgGUID: tLTgiN53S9i0mgRkX4wZYw== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5270155" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5270155" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 03:52:13 -0800 X-CSE-ConnectionGUID: G/AIhk27Q5y2ShusBm+A4g== X-CSE-MsgGUID: Z49PNW8TQqen94CcaOl99A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="13927634" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa003.jf.intel.com with ESMTP; 04 Dec 2026 03:52:08 -0800 Received: by black.igk.intel.com (Postfix, from userid 1003) id 7419898; Fri, 04 Dec 2026 12:52:06 +0100 (CET) Date: Fri, 4 Dec 2026 12:52:06 +0100 From: Andy Shevchenko To: Daniel Golle Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Stephen Boyd , Brian Masney , Jerome Brunet , Kees Cook , John Crispin , Songjun Wu , Yi xin Zhu , Rahul Tanwar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Message-ID: References: X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Dec 02, 2026 at 08:55:45PM +0000, Daniel Golle wrote: > The MaxLinear (formerly Intel) Lightning Mountain SoCs, such as the > URX641, are network processors built around Atom Airmont cores. They > have no ACPI and no BIOS or UEFI: a U-Boot based boot loader passes a > device tree to the kernel. Drivers for several of their peripherals > have been in the tree for years (clk-lgm, reset-intel-gw, the Lantiq > ASC UART, pinctrl-equilibrium, ...), while the tree has no device tree > for any board using them. > > This series adds what is needed to boot the MxL25641-HDK-6 reference > board (URX641, two cores) into a shell on the serial console: > > - clk-lgm probes with a clock controller node which follows its > binding, which only allows the "intel,cgu-lgm" compatible > - the "intel,lgm-asc" compatible, matched by the ASC driver, is > documented > - the HPET binding is converted to DT schema, so that the new device > tree passes dtbs_check without warnings > - root node compatibles, a platform Kconfig option and the device > trees themselves, in arch/x86/boot/dts > > The x86 device tree code already sets up the local APIC, the I/O APIC, > the HPET and the secondary CPU from this device tree, no change is > needed there. > > Booting: the vendor U-Boot (2022.01-MXL) starts a bzImage with the > standard boot protocol and passes the device tree as SETUP_DTB: > > tftpboot 0x8000000 mxl25641-hdk-6.dtb > tftpboot 0x8200000 bzImage > setenv fdtaddr 0x8000000 > setenv bootargs mem=4G > zboot 0x8200000 > > mem=4G is required with this boot loader, its e820 map reports RAM > from 4 GiB to 17 GiB which the board does not have. The console is > taken from stdout-path. > > Tested on a MxL25641-HDK-6 on top of next-20261127: boots into a > busybox shell from an initramfs with both CPUs online, serial console > input and output work, reboot resets the board through the RCU restart > handler. dt_binding_check and dtbs_check are clean for the touched > bindings and the new device tree. Wow! Nice to see a more or less modern x86 HW with DT! Please, Cc me on this series in the future. > Known limitations, to be addressed separately: > - a panic or emergency restart hangs, as > native_machine_emergency_restart() never reaches the restart > handler of the reset controller > - the kernel probes for a CMOS RTC which the SoC does not have, which > costs about a second during boot The similar case I believe is for Intel MID. Perhaps we may find a common solution for it? > Tool use: An LLM coding assistant (Claude Code) was used to find out > which of our downstream changes mainline still needs for a console > boot, by booting unmodified linux-next on the board and analysing the > failures, and it drafted the patches and changelogs of this series. > I personally review every line of code before submission, and test > manually on the hardware, then add my SoB. LLM is producing drafts > queued for human review and submission. -- With Best Regards, Andy Shevchenko