Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3725422ybl; Mon, 13 Jan 2020 01:20:27 -0800 (PST) X-Google-Smtp-Source: APXvYqykqRFPKCZ4rFM95YKxQMRpy0pqDymDDwjWkJcjSyyL/x047wWXs4lM+akSxf53GincP4B8 X-Received: by 2002:a05:6808:658:: with SMTP id z24mr12154728oih.91.1578907227444; Mon, 13 Jan 2020 01:20:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578907227; cv=none; d=google.com; s=arc-20160816; b=VrA1O8zT/dMvOlFZ7m+D4zjgezLxnA4lpnWjFSvHD2vDhch4zzv3ozEJZfbKPsbXoq EH0RTCVJ1AeG0p4xnVEJ5K+PWjUrQcgYzDcF/mXbCLfF6V+GD1Q7QQS5dPeqPaKz2YON PB3accvyaobDsltU+nN5shTT7YQX9KOQ+gJsJBPjwTe9d1drDvaTcDYOx4YT2onXBv1m 0HWGVdb3J5MMaTBti26CYXDNGy7ElnTo1Wya1EMnhHYhMztvOhjXMdPnRadzsC2IfH0O Y2oVg7pXT+Y0Me/EvsO7A65qdjisKT1/bNTCVWF/DnaOk6ebUs0r6ayR1wEfadT1HsLG XTTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jtG+kmTP56/azlS3HhoCWHT1k3A9QNt940R+G+yiDNI=; b=tZ6yX4LXSMT+2jDozPpemxQYcuwXTdOJcBBDQ/bfiC1QqZl/hB8SMMep1zRDQQCES0 3pkFqNLLMYZsfkeew6xWG8lxoysicDkF/b6UHnF2EeqOXHzkwAi2tDj5aw5Pn83XHtP+ ostJGmZTdGUXTNKm6W9rUtGXhX7MmTNNbsHPvb+uFE/OAk7GZ28nVM4aaM8OYSU3UkG/ jlQMAhYCQtiOtLWTn61WeZ5J3JP3Tqh9LzMQMjk+giOw2tunlIahAqDszj3F5YoP0+Iq uangakmz6VXNAwnWnVb5PNcDlwcs2v45kMa1Gr+r4yNSVRSJQvhu+Pn5Pj3VKmSbjR6j sQQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s74si5513871oie.109.2020.01.13.01.20.15; Mon, 13 Jan 2020 01:20:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbgAMJSQ (ORCPT + 99 others); Mon, 13 Jan 2020 04:18:16 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:35018 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgAMJSQ (ORCPT ); Mon, 13 Jan 2020 04:18:16 -0500 Received: from ip5f5bd663.dynamic.kabel-deutschland.de ([95.91.214.99] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iqvrT-0001U2-Eu; Mon, 13 Jan 2020 09:18:15 +0000 Date: Mon, 13 Jan 2020 10:18:14 +0100 From: Christian Brauner To: Geert Uytterhoeven Cc: Kars de Jong , Linux Kernel Mailing List , Linux/m68k , Amanieu d'Antras Subject: Re: [PATCH] m68k: Wire up clone3() syscall Message-ID: <20200113091813.zkye72cubpfhemww@wittgenstein> References: <20191124195225.31230-1-jongk@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 13, 2020 at 10:10:26AM +0100, Geert Uytterhoeven wrote: > On Sun, Jan 12, 2020 at 5:06 PM Geert Uytterhoeven wrote: > > On Sun, Nov 24, 2019 at 8:52 PM Kars de Jong wrote: > > > Wire up the clone3() syscall for m68k. The special entry point is done in > > > assembler as was done for clone() as well. This is needed because all > > > registers need to be saved. The C wrapper then calls the generic > > > sys_clone3() with the correct arguments. > > > > > > Tested on A1200 using the simple test program from: > > > > > > https://lore.kernel.org/lkml/20190716130631.tohj4ub54md25dys@brauner.io/ > > > > > > Cc: linux-m68k@vger.kernel.org > > > Signed-off-by: Kars de Jong > > > > Thanks, applied and queued for v5.6. > > Which is now broken because of commit dd499f7a7e342702 ("clone3: ensure > copy_thread_tls is implemented") in v5.5-rc6 :-( Sorry, just for clarification what and how is it broken by dd499f7a7e342702 ("clone3: ensure > copy_thread_tls is implemented") ? > > BTW, was this the reason for the failures at the end of > https://lore.kernel.org/lkml/CACz-3rhmUfxbfhznvA6NOF69SR49NDZwnkZ=Bmhw_cf4SkiadQ@mail.gmail.com/? Unlikely since CLONE_SETTLS is currently not covered by the clone3()/process creation test suite because it is highly arch dependent on how to retrieve the tls pointer. But we're going to add tests soon I hope. Thanks! Christian