Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp987193rdd; Wed, 10 Jan 2024 05:36:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3EPeV+uKkZ2BmA5sl49x/+8Qh9jGQNd3VPVvItXS/F6fGilhq1S63WnPsK7JPUPD4h9iM X-Received: by 2002:a17:906:eb4b:b0:a27:9bb7:622c with SMTP id mc11-20020a170906eb4b00b00a279bb7622cmr564645ejb.63.1704893813303; Wed, 10 Jan 2024 05:36:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704893813; cv=none; d=google.com; s=arc-20160816; b=N2kC35BfCmerlwX+BnRfocdldzaMRJWmcMtOzcaGiz2dS/7nSNw0MnbwoNJ/5viiCZ mtfFMMAGr1CPK+3gspakJHGchW52gMUEFZL9MQsxDN7+hyV8UiL0JRHm1zYWMEApFkhn Csdj3EVz8Ly5q2EgE3kjfTeRWjqDwxWaV+KesCEeEzVg6WCOcrFAYJ0FkbAw//vPUTcp 4V2UxaLsY5W8wXZUECDJhFUCOkS1NpPSBWNsBpY1Y5uGeHE+YsvkMa1wd8VmlMCBWrVp 2k5ql+KE7AKfR3mGb/2SZZ7lrTROJXVS5aEjlUb9wN/GPQ2aQTR88MZIetRgsvkRh1fr yjPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date; bh=dokowM6fVAFG3GX6OP1yM2XnPAH4q32hsTycZ9QXvK0=; fh=2SwFcQVdL6VUowssM7DuiG+L9b6KvVOpavRowegXss0=; b=ww93vqytuK4e2oWDmjV/R46jlbFW5hHyO/f6GuZmZyJZZ1HnkoTmD4Egg7yKc7Z8qT 0GuP0m85pId1PTc3lM0niQfthGh2qktCdHPW/xX2vs9p+9cEZuqYS+Q7T9MfHCsgFS6W xhI+1LyHE837o6wmE4QL+flbmdV1l9DR+GX+wtmGDtSE/cVVeAYU35isMqiq5ChJYv1j 6zayRuIkj9n47RSz42797YpzCg6hcK5CTR9w7YMkFrDxbIpNOvxeJr6dczOLQ/teAVp0 Ee+pcy1vsKv5bb4FgPv8sWY6IwPYJXBdWDJIRkXuivYKne6595kgQMbmqr3GojJLMB7J lE6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22250-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q17-20020a1709060e5100b00a23700b9b40si1714020eji.1004.2024.01.10.05.36.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22250-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AA50A1F21DC8 for ; Wed, 10 Jan 2024 13:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79B134CDE8; Wed, 10 Jan 2024 13:34:05 +0000 (UTC) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 134AB4CB52; Wed, 10 Jan 2024 13:34:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2B0A7220B0; Wed, 10 Jan 2024 13:34:01 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4201013786; Wed, 10 Jan 2024 13:34:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 5hiwDMicnmUSKwAAD6G6ig (envelope-from ); Wed, 10 Jan 2024 13:34:00 +0000 Date: Wed, 10 Jan 2024 14:33:58 +0100 From: Petr Vorel To: Rob Landley Cc: Cyril Hrubis , Geert Uytterhoeven , ltp@lists.linux.it, Li Wang , Andrea Cervesato , Greg Ungerer , 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 Subject: Re: Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP] Message-ID: <20240110133358.GB1698252@pevik> Reply-To: Petr Vorel 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> Precedence: bulk X-Mailing-List: linux-kernel@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: X-Spam-Flag: NO X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Spam-Score: -4.00 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: 2B0A7220B0 X-Spam-Level: Authentication-Results: smtp-out1.suse.de; none Hi Rob, all, > 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. Understand. > > 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. > 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? > 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. Interesting, thanks for sharing this. BTW I'm not saying anybody is using nommu, but I wonder if anybody really test it with LTP. And if yes, I wonder why we don't have reports about tests broken in new API. > > But as I said, if anybody from nommu decides to maintain it in LTP, I'll try to > > support him in my free time (review patches, give advices). And if nobody > > stands, this patchset which removes the support in the old API will be merged > > after next LTP release (in the end of January). > What does the API migration do? Is there a page on it ala OABI vs EABI in arm or > something? New C API is documented at our wiki: the API for using in the tests [1] and the library itself [2]. (We also have shell API, but we can ignore it for nommu.) All files in lib/ directory which include tst_test.h are part of new C API. Main file is lib/tst_test.c. LTP tests, which has been rewritten to new API include tst_test.h, they are in testcases/ directory. Library has it's own tests (for testing regression in in lib/newlib_tests/*.c. The reason why Cyril wrote in 2016 new C API was that the old API was buggy (tests randomly fails). Tests which are still using the old API (there is ongoing rewrite) include test.h. The old API is not much documented. Feel free to ask any more question. Kind regards, Petr [1] https://github.com/linux-test-project/ltp/wiki/C-Test-API [2] https://github.com/linux-test-project/ltp/tree/master/lib > Rob