Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3737760ybl; Mon, 13 Jan 2020 01:36:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwGCBeZ2a41vWV1s8xDyYODQOg+60yi7ZRNDShGzRk7b9M2v/rKOiDoyRtu8lRPcDE12VLP X-Received: by 2002:aca:c494:: with SMTP id u142mr12440704oif.86.1578908213147; Mon, 13 Jan 2020 01:36:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578908213; cv=none; d=google.com; s=arc-20160816; b=M1Lk0yto42xwg+3K+HDCR/oenUe0Z0yL0r9o5yKb2OwF7yHO8vkmv4pDRuwvOh7J1v c+67wEZdP6c/D3DKObBJtRDxI2imCxuc3yAuGZA46uGflwSvwlH89hj5IdHaay90QZpe afwsDh6eMg/03Uj/v0uGEs/v5SDKKQvSeFET5HTFDmrfX0279Lct1W44rRwVnlk9MiVQ j5SBrg0v3X2uPZW6oT+r1U3QT9bumdWTokUz9Xfx7pLCLCuJvFRgWTxWwQagD3h9c+zg ycdiNUVfTZXlotEzgl3iN8lWrQkmWrW6PlK5UQrRYlAa0/8VAJy4FK3797N75icbuErd 97lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=kaKlC3q9CExkHbPXpr2oF1/dYZAiBMn8Z2AGW1rcAsk=; b=uWHQySLV4W84m4xrm1JBCg7V+OFtiVbGB1wfOd/aZFDmVQDHcsnFqOeEXh0/ko34mk RJcPflbg3wzR4RsuV1YpEAaeMU8+KJzGeB8dU7rLnwT47kV9PnCTqHXzV4Yvu0CCNLB7 jKhtGwYNhfCpxxyTwF140uzgQhaG2qwDti6xpm3iGhuEsNCrUHr439B3WfnrQG8TDfAm Z8jclT7+1mSUqC2d4it4bk2YIB7HlpPtZCTY/gwXSsTJSeL299XPalFtUcNnaTWCYr2+ m2/9VR10ls/pYPfbWw4dMosUY0IgyKtAEE12v+ifGUFMbpWFBMgkm23B6M8G6I2IUE7D jGgg== 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 o14si5378862oie.257.2020.01.13.01.36.41; Mon, 13 Jan 2020 01:36:53 -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 S1726336AbgAMJer (ORCPT + 99 others); Mon, 13 Jan 2020 04:34:47 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37909 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgAMJer (ORCPT ); Mon, 13 Jan 2020 04:34:47 -0500 Received: by mail-ot1-f67.google.com with SMTP id z9so6214664oth.5; Mon, 13 Jan 2020 01:34:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kaKlC3q9CExkHbPXpr2oF1/dYZAiBMn8Z2AGW1rcAsk=; b=U+UnG8+kveOJszb2mdYO/8HBc69kSeEYbfcAIDCCeJqlDZolNVcxDbDZ6jYPmqqpv0 Zt5dwjsc9lnjLhUccp0UWyRgA2YHXYFwbkNznCIE3G2FbHyZJ7kehgf/tRd4lOMp/TWE KpU6+uUAKlKgniUzVPcDEvBK9FjFMfYdoJKDkDvYl0O6DQNU/YdqC3YoODPw54a5ucVE x25A5ptSBGQdyRRFslCNb1RV5GKKaPID0B1Imrt66vy2LTkBmS0nXD0Gtf72W3wyM/yb nb+B5QGA62Dk8Dkhe5zqgDPKPGR7J2sgl2nIunKYIIzmcUqAnXBsV1pLUHhDx7+uAYUD nu+w== X-Gm-Message-State: APjAAAVH/6QrV3tU4ki8yeGQX29YdDNV2jjMNVZXCx8cY46Ha+eZwBfw ApuFV0KWjJEYxuFbV5ljj5fspRYO7kwCORFC5wo= X-Received: by 2002:a05:6830:18c6:: with SMTP id v6mr7537190ote.145.1578908086649; Mon, 13 Jan 2020 01:34:46 -0800 (PST) MIME-Version: 1.0 References: <20191124195225.31230-1-jongk@linux-m68k.org> <20200113091813.zkye72cubpfhemww@wittgenstein> In-Reply-To: <20200113091813.zkye72cubpfhemww@wittgenstein> From: Geert Uytterhoeven Date: Mon, 13 Jan 2020 10:34:35 +0100 Message-ID: Subject: Re: [PATCH] m68k: Wire up clone3() syscall To: Christian Brauner Cc: Kars de Jong , Linux Kernel Mailing List , "Linux/m68k" , "Amanieu d'Antras" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christian, On Mon, Jan 13, 2020 at 10:18 AM Christian Brauner wrote: > 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") > ? Because m68k does not implement copy_thread_tls() yet, and doesn't select HAVE_COPY_THREAD_TLS yet. Looking into fixing that... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds