Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp771694rdd; Tue, 9 Jan 2024 21:41:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/G3AQQE29YB58PzzUwmkb5JlrGsXatcBZ13hLsN2o+wYKDokSIL3Q5B14RtIQ7NeHl9p3 X-Received: by 2002:a05:620a:2106:b0:783:14c2:5ea with SMTP id l6-20020a05620a210600b0078314c205eamr593965qkl.121.1704865262742; Tue, 09 Jan 2024 21:41:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704865262; cv=none; d=google.com; s=arc-20160816; b=CfmNTYlrXj1DDJa5nE25j3vtOOihDfvyInMkcj7QyF0bclaIUhIgOCHS+3lwAg44gO iZ+DZkWNNEU89P40NGl9mITgEBbOcxgvNzXlZE0hHlBs5lQWoP/KmcCGA6FZl7ZYJoGU SJPzRLQTtUF32m5g/REx0GCDnNjRUw0mdNQDSPNn4sO1/DJKf9HKqUfS123Sn1dU45sQ 2ooVJ9mTBLCGsSIKsPn4Cry7dTXl6Z302N+O2mpyc6IH3pP6eYvwxf9MLDPnf1m4CWvC WeVS/vRLVUL+aIVJnykqNC1JGfYjSB4eKKjBEeHUYt5sob1jqy4/NEqEjGF3PIs2tviX hZAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Wl6KplL8vfqqzv9XIvHtOm+qlgn0/YVCH+xMxC333j8=; fh=WX92BKkSIMO7NI3s3wjsX2XyPnWeCsEBlrx8DBsn54I=; b=qg9R6Ccu9XqM2azuWXwEoLGTsH7kjKxi77WVp48IrarXJODSbUm+5fngnN3Kt7KFZK mz4vBJX/cAWjyjate07fvsevtbr0Gz+3sPWBo4Xrn9TrMfPkBrt8dkBR65xCym9lwUmv lWB+XfqEGyJ3rPqwccPLaP3r6GHKtzhckiuIknWIJ+mMP8888ue/HNNYtBcTDwffx0He LDkDhg0vcTGGA56ebPcMYPTAiL/VJnkUjKzLMqLVXEndGTZd/g68H9ZS7NqguVXxxw/W UWcRIpFUela8EKbyVIHwI2Tryrjct8loqsA8FfcusWCifmC0EdTbsunX+2XSEBP5IvjK /VEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20230601.gappssmtp.com header.s=20230601 header.b=l5kumSo9; spf=pass (google.com: domain of linux-kernel+bounces-21727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21727-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dt47-20020a05620a47af00b007832d7286e8si2915899qkb.111.2024.01.09.21.41.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 21:41:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20230601.gappssmtp.com header.s=20230601 header.b=l5kumSo9; spf=pass (google.com: domain of linux-kernel+bounces-21727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21727-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F86E1C203B0 for ; Wed, 10 Jan 2024 05:41:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95559DF69; Wed, 10 Jan 2024 05:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=landley-net.20230601.gappssmtp.com header.i=@landley-net.20230601.gappssmtp.com header.b="l5kumSo9" Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81350DDD2 for ; Wed, 10 Jan 2024 05:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=landley.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=landley.net Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-429b46135d0so1643021cf.2 for ; Tue, 09 Jan 2024 21:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20230601.gappssmtp.com; s=20230601; t=1704865251; x=1705470051; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wl6KplL8vfqqzv9XIvHtOm+qlgn0/YVCH+xMxC333j8=; b=l5kumSo9gPYCHA71oE8j29E8n3vIEr1EhGa6lI6eJYTmgtJvxEqkOmA7Iq16reb3Os eREYnOj0wvcoMA4rWJcsRP58jogWi/AuGHG4D3mdiAFEBWq+wunmah1bBXF7luNL//Sn Qa2AsD+U+GndQ57dew8imRLdHrZi6KSsVl4UgvI7M5wkjGjUEmx2eAq28dssVBQDGOcc Bo77YqLOf+x8C+8LctR2txNI+t1/HsGYEHIhFiHVta0mtpQywfEuiTJGb+SwkbC1ocS0 Yj9VtSfEH9vE7JVj7AZFLfr0uXQ3snOvsC1YjYHKXgUZpZOBa1+jXvfChxFNvcWh/blM CMZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704865251; x=1705470051; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wl6KplL8vfqqzv9XIvHtOm+qlgn0/YVCH+xMxC333j8=; b=sB1b/6gp2LZryUzI0VeazxUQzvTGYuzmZV2Dtmg8zrA6tXK7u5IXxEZV2gVtKZhyeU i0fWN62viz1pmf2F+ndLD34yMAUsVMRHIn+z/Jirdo18it7mXVcIRdqO/CG/v0AUvq3Q xwRllXkB1Gt0Ij7vBU7eUwJj+kHaTyp7ZnIs7OAzlSI28uD8Ggk5+MzaTduK+r5yPqVW RTnbLLNMa9yTGYEaMLE2LJ1vQOez3321OUd/S+Wk8x+9LH4rV027PYj1vhLOH7wGqdRT mgghrhRGxvsQPpECLzZNmyQW7Jtqi36WIgo8q5Zin22wcURlmDk/RgeDTYAMDXbmF6YM KhDQ== X-Gm-Message-State: AOJu0Yz1IThNAa398HtRWjWb/o6vWXI3FL9vHTFKfmrzz/ohSr6uW1Rs s46jZsjq0LOsMv9d6RJuMRJ5HWJAqH9clw== X-Received: by 2002:a05:622a:588:b0:429:b76a:c3fa with SMTP id c8-20020a05622a058800b00429b76ac3famr202269qtb.26.1704865251286; Tue, 09 Jan 2024 21:40:51 -0800 (PST) Received: from [172.16.32.83] ([198.232.126.202]) by smtp.gmail.com with ESMTPSA id cr14-20020a05622a428e00b0042997333149sm1497591qtb.63.2024.01.09.21.40.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 21:40:51 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 23:47:27 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP] Content-Language: en-US To: Greg Ungerer , Petr Vorel Cc: Cyril Hrubis , Geert Uytterhoeven , ltp@lists.linux.it, Li Wang , Andrea Cervesato , Jonathan Corbet , Randy Dunlap , John Paul Adrian Glaubitz , Christophe Lyon , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Linux ARM , linux-riscv , Linux-sh list , automated-testing@lists.yoctoproject.org, buildroot@buildroot.org, Niklas Cassel References: <20240103015240.1065284-1-pvorel@suse.cz> <20240103114957.GD1073466@pevik> <5a1f1ff3-8a61-67cf-59a9-ce498738d912@landley.net> <20240105131135.GA1484621@pevik> <90c1ddc1-c608-30fc-d5aa-fdf63c90d055@landley.net> <20240108090338.GA1552643@pevik> <461a6556-8f24-48f5-811a-498cb44f2d64@linux-m68k.org> From: Rob Landley In-Reply-To: <461a6556-8f24-48f5-811a-498cb44f2d64@linux-m68k.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/9/24 17:17, Greg Ungerer wrote: > > On 10/1/24 06:24, Rob Landley wrote: >> On 1/8/24 03:03, Petr Vorel wrote: >>> Hi Rob, all, >>> >>> [ Added Niklas Cassel, who is maintainer of qemu_riscv64_nommu_virt_defconfig in >>> buildroot ] >> >> Hi Niklas! >> >>>> Buildroot also apparently has an LTP package selectable in menuconfig: >>> >>>> https://github.com/buildroot/buildroot/tree/master/package/ltp-testsuite >>> >>>> But I haven't tried it... >>> >>> I'm the maintainer of the LTP package in buildroot in my private time. >>> BTW I spent quite a lot of time fixing LTP (and some other system packages, >>> e.g. nfs-utils) compilation on some old legacy architectures reported via >>> http://autobuild.buildroot.net/ I've never used in the reality. >>> But I certainly don't have time to drive nommu support in my private time. >>> I don't even have an interest, I don't use any nommu device. >> >> I do, but I've never done much with LTP, and I have my hands full with toybox >> and mkroot already. >> >>> Therefore nobody who is not involved in nommu will not find a time to support it >>> in LTP (support does not mean just to add the functionality to the new C API, >>> but run tests on nommu and fix failing bugs). I suppose nobody is paid to work >>> on nommu platforms, it would have to be a hobby project, right? >> >> A bunch of people are paid to work on nommu platforms, and I've worked with them >> a bunch, but none of them talk to linux-kernel. They find the culture toxic, >> insular, and categorically dismissive of their interests. > > I have been involved in the kernel nommu space for 20 years, and sure, there is > some of that. But mostly spending some time and effort to get involved pays off. > I have seen potential contributors show up with some arrogant attitudes too, > so it cuts both ways here. > > The m68k community I have been part of has been nothing but welcoming. The mm > people have tried hard to keep nommu support up-to-date where almost none of them > actually have a vested interest in doing so. > > What I have seen is that many companies working in this space just don't want > to spend the time and effort to go mainline. Sometimes they don't bother. Sometimes there's a language barrier. Sometimes they can't get anything newer than 2.6 working because that's the BSP they were given so what's the point of trying to engage upstream? Sometimes they think it's their upstream vendor's responsibility. Sometimes they poke their head up and get it bit off ala http://landley.net/notes-2008.html#11-12-2008 and then that serves as a warning to others for generations. Sometimes the company's legal department thinks it's a terrible idea to attract attention from people like the SFLC. And sometimes... The SmartFusion 2 project I was doing on cortex-m was for a project that was to be launched into space on a NASA rocket, and thus fell under ITAR export regulations (as the entire US space program has since 1996 due to https://en.wikipedia.org/wiki/International_Traffic_in_Arms_Regulations#:~:text=Intelsat ) and my manager explained it to me as: "If I buy a screwdriver from Home Depot, it's just a screwdriver. If I use it to turn a screw on a spacecraft it is now a munition and cannot be discussed with non-US persons". The stupid linked above was: 1) cryptography was categorized as a munition until Bill Clinton relaxed it via executive order, because 56 bit https was preventing anybody from trusting the web with their credit card data. 2) Before that, in 1996, china wanted to launch a satellite into space with crypto stuff so they negotiated with the USA to get some cryptographic hardware which was delivered/installed under armed guard and escorted to the launch pad. 3) The rocket blew up on launch, scattering debris over a chinese city (becuase of COURSE china's rocket launches go over large population centers). The crypto hardware was never recovered. 4) It became a scandal. Congress freaked. And somehow in the scuffle ITAR export regulations were extended from cryptography to the entire US space program. 5) The US space program dried up and blew away, as engineers had to choose between "I can work on space stuff" and "I can have any sort of professional network online". (Because who online is a "non-US person"? That includes canada. You can't discuss ITAR subjects with canadians. Or foreign nationals living in the USA. You couldn't ask Alan Cox a question about an ITAR project.) So that's a whole category that stays very quiet about what they do, and whose legal analysis of the GPL is "we're making 3 of these and shooting them into space, if you retrieve one from space and demand source code from us we will forward you to the relevant federal agencies, and there's a nonzero chance you'll be on a black site in Diego Garcia within 24 hours where they will figure out how you did that. Or maybe you'll get the code. Who knows?" Me, I try to avoid that kind of contract... > That is a business decision they > make, and that is fine. Heck my work in actual mainline has never really been > paid for by any company and I have sunk a _lot_ of time into it. (Full disclosure > I did get paid to work on early porting and support - just not geting it into > mainline and maintain it there). The thing is if you post something _once_ it gets ignored, and if you follow-up long enough for it to go in (which often takes years), it will then get ripped out again a few years later because "we never hear from anybody who uses this". Engaging with the community is signing up for an ongoing commitment. >> For example, cortex-m is a large nommu platform on which vendors support Linux >> BSPs, but notice how page 8 of >> https://www.microsemi.com/document-portal/doc_view/132181-linux-cortex-m-users-manual >> points at a cross compiler toolchain from _2010_ and page 4 says they're booting >> a 2.6.33 kernel? > > Any company/person who follows the route of not working with the linux kernel > community to get their work included is going to inevitably get stuck on older > versions of everything. I fight hard to get current versions of everything to work on all my supported targets. This requires regular regression testing, and I maintain a pile of patches that I post here periodically but I fully admit will probably never go in: https://lkml.iu.edu/hypermail/linux/kernel/2302.2/05594.html (Sigh, now that 6.7 is out I should post the new round...) People who want to use my kernels as a source are welcome to do so (and I've seen my patches quietly show up in other projects), but getting upstream to actually _fix_ anything? Every one of those patches had a link to the previous time it was posted to the list and ignored. I mean literally, the first of those patches teaches the makefile to autodetect whether $PREFIX-cc is gcc or llvm and just do the right thing, and I was told that they actively didn't want it to: https://lkml.iu.edu/hypermail/linux/kernel/2302.2/07184.html That is modern linux-kernel development. >> I'm a bit weird in that I try to get CURRENT stuff to work on nommu, and a lot >> of people have been happy to consume my work, but getting any of them to post >> directly to linux-kernel is like pulling teeth. > > I regularly test nommu configurations (as in every kernel rc and release) on m68k > and at least every release on other architectures like arm(*) and recently on > riscv as well. Sigh, I should start caring about riscv. I added or1k support, I should do riscv. (Except I did or1k because I found it in actual hardware, the Orange Pi 3b's power controller is an or1k asic so I needed an or1k toolchain to build some of u-boot's firmware or else the board couldn't reboot, and there was a qemu-system-or1k already, which turned into adding it to mkroot via a long https://lore.kernel.org/openrisc/ZX1xbs_AGdgLgcx7@antec/ thread with its developers. Alas I still can't get qemu to exit (I.E. virtually reboot or power off), apparently I need to reinstall my laptop to have a new enough version of python 3 to build a newer qemu with. It's on the todo list...) I still have a hard time considering riscv anything other than open source's version of Itanium. Promises of ubiquity, but even a 28 nanometer mask is still 6 figures before you run any wafers and your mask build process is sucking in all the black box libraries the fab can sell you, so what does "open" really get you here? Cortex-m got cheap when the superh patents expired so Arm didn't have to pay royalties to hitachi (renesas?) for the thumb instruction set anymore, and they belt those suckers en masse amortizing the up-front costs over ENORMOUS volume. And yes, j-core was trying to fix the closed source library and toolchain issues back when I was still working with them. Among other things fishing Google/skywater's openlane toolchain build out of their magic docker and reproducing it under a vanilla debootstrap, ala https://github.com/j-core/openlane-vhdl-build (As with most corporate clusterfscks, once you dig far enough it turns out you can throw over 90% of it out...) But these days I'm trying to get toybox to 1.0... > (*) somewhat annoyingly needing a minor patch to run the versatile qemu platform > I like to test with. But hey, that is on me :-) I would very much like to add more nommu targets to mkroot, can I get your build/config info offline? (I tried fishing configs out of buildroot a couple years ago, but after the THIRD one where the secret was "use very old versions of packages, the current stuff is broken"... And the problems were things like "the conversion to device tree deleted a huge chunk of this infrastructure", not simple fixes.) > Regards > Greg Rob