From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84B2918858E; Sat, 24 Aug 2024 05:51:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724478691; cv=none; b=EHGmKhaylOb/D5goHUUWBMt1KAAZzmobR1qEcpoqWcCoDxNe/VxrZEBVvEXt/xwG33ALCqn+KuxdTa19ta4eOrLL9iIGMFKt7SaPzkd9E52qo3pbW8dZfp6RQyCImlQ7P2J2wHrpXjb9IXYnkRTyuHqQmG8azrtNZaGIXSsuYS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724478691; c=relaxed/simple; bh=kisJaeF07B2iNDo4UN5LUpiQ8jfnmvdcW7qK5PAWhAo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XHHYK46i8muRiZKwfQRTet758lIm7LDUozk2Xw2AP1osi5xPFxT6sQJvqYFt0Tb82sApCLhU4FbkIc68unafKne915LoVtYO1Z09Sqaluk7f2AMfEWKR0SJcXXO19h7ESqFRKc/wM/eM98kze2dVbmfoDHJu/H2CkZpEoIb/wjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1oi78JfT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1oi78JfT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B92EC32781; Sat, 24 Aug 2024 05:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724478691; bh=kisJaeF07B2iNDo4UN5LUpiQ8jfnmvdcW7qK5PAWhAo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1oi78JfTt43Ynvw9yzOMZgpFOjEYrk7CZBHNV7YAvIjd5IMgFsikvJousUTS5g1QP PNdVTPoR+oe1WlwHVcK2n9RXsSJklWIrqW1a4gn1YRFmG/bZbue4aA2XeqbsYMBY69 4h6VnKLMnqwgWWdhS0o/fYjczuB6kDYIE4x8+u2w= Date: Sat, 24 Aug 2024 07:51:27 +0200 From: Greg Kroah-Hartman To: Daniel Gomez Cc: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Lucas De Marchi , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Rodrigo Vivi , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Paul Moore , Stephen Smalley , Ondrej Mosnacek , Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Jiri Slaby , Nick Desaulniers , Bill Wendling , Justin Stitt , "linux-kernel@vger.kernel.org" , "linux-kbuild@vger.kernel.org" , "intel-xe@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "speakup@linux-speakup.org" , "selinux@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.linux.dev" , "linux-serial@vger.kernel.org" , "llvm@lists.linux.dev" , Finn Behrens , "Daniel Gomez (Samsung)" , "gost.dev@samsung.com" , Nick Desaulniers Subject: Re: [PATCH 00/12] Enable build system on macOS hosts Message-ID: <2024082413-florist-perpetual-526b@gregkh> References: <20240807-macos-build-support-v1-0-4cd1ded85694@samsung.com> <2024080753-debug-roulette-8cb1@gregkh> <3jnp6tnkjpvnisefomxagazu2u3uzzt7rcon3r5jssraxzwegb@gsxc7c5sfh7v> <2024080758-dedicator-smoky-44be@gregkh> <20240823223736.mosqrdcwqanvdpmd@AALNPWDAGOMEZ1.aal.scsc.local> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240823223736.mosqrdcwqanvdpmd@AALNPWDAGOMEZ1.aal.scsc.local> On Sat, Aug 24, 2024 at 12:37:36AM +0200, Daniel Gomez wrote: > On Wed, Aug 07, 2024 at 04:19:42PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Aug 07, 2024 at 01:56:38PM +0000, Daniel Gomez wrote: > > > On Wed, Aug 07, 2024 at 01:01:08PM GMT, Greg Kroah-Hartman wrote: > > > > On Wed, Aug 07, 2024 at 01:09:14AM +0200, Daniel Gomez via B4 Relay wrote: > > > > > This patch set allows for building the Linux kernel for arm64 in macOS with > > > > > LLVM. > > > > > > > > Is this a requirement somewhere that this must work? It seems like an > > > > odd request, what workflows require cross-operating-system builds like > > > > this? > > > > > > This isn't a requirement, but it would, for example, support workflows for QEMU > > > users and developers on macOS. They could build/compile the kernel natively and > > > use it to launch QEMU instances, simplifying their process. > > > > But that's not a real workload of anyone? How often does this ever come > > up? Who is going to maintain this cross-build functionality over time? > > The delta is becoming very small thanks to the latest patches from Masahiro. > Earlier this week (next-20240820) [1] I rebased the work with all the feedback > and the patch series has been reduced to 7. > > For the maintenance part, I suggest keeping a CI to build and boot the lastest > linux-next tag available. I can set this up here [2] and take the responsability > for maintaining that. But I would be convenient to add documentation for it in > the LLVM section and mark this as 'experimental'. If that's okay, I will prepare > a v2 with this. Let's see what v2 looks like and go from there. thanks, greg k-h