Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2626900ybc; Mon, 25 Nov 2019 01:17:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwgEO10lLrR+BAb2Ypd3VG5lDMtZwA5lF2GLxnvUVAZXwg+jSEFgJYRnymn2gHLI5TnA16E X-Received: by 2002:a17:906:6dc2:: with SMTP id j2mr35651072ejt.140.1574673473969; Mon, 25 Nov 2019 01:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574673473; cv=none; d=google.com; s=arc-20160816; b=HQFFgk2mktWmjr8TfXU8r3Pm2XxXwYLkmulc9dHk5/hSRprgIMZonVY55ux3eHeYsq 95/FAxjc5OaPvQTJO2d9NjrBhLsQCpW7GsTpP1eX5sTAAQ3dn1HDQG3GU5zSjWr+GdP7 ewWyVZv2WZl63FqDd+svmuAsiJahmL3/Mbt+y9DrKKDZQd+WgvKH0xZUNopSxzQtH5qw hWTubrG+WRVnA6X9aK2OPIEA52Q//rMo8OreTogUHbL3i00vPm5CxkxCqA9GiBgzZcAj JI8IRzdgtcqf6/kgqiE73YP5JxGbmkJ1rxbBjKLx/ZGInqE6d2VYyGDhXIuDI0ym4bhD aOqw== 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=Mk+NkhPjFnnbYDFyM1TauhWaIKmKIDDNin0WNg1qiO0=; b=PcYyGKml0nblGXnPXXBY2iVt1RPIoeuESoZXMyjSURMN0KwAy2G24u6c24uxuXtZBQ jApzDgTF3G5OVdJjr9xfVl7dXQEIVIIeaDvpZi8dHJJw53rBjU958NDMxL5EHkuAxw5E G9DyHYMnevL29AldUDfT0b7IAZBseZMKsawlSvB3q3+X/YBfSj/WF0N1CbY6XBe3dX14 6OKqWn4maY2qcdeHZX5iNC5BHOAJUcRI6GbxE8eySF0odqdi42kiQIbViXfOctcACLyI nLm5AXPyWhls2mTWoAzu+onFrhSaO+xzI35pAKFB5TZEDsIVwy1avN6rqhuspELgXqsM dgDg== 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 92si5038130ede.273.2019.11.25.01.17.29; Mon, 25 Nov 2019 01:17: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 S1727237AbfKYJMi (ORCPT + 99 others); Mon, 25 Nov 2019 04:12:38 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:43225 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725928AbfKYJMi (ORCPT ); Mon, 25 Nov 2019 04:12:38 -0500 Received: by mail-ot1-f67.google.com with SMTP id l14so11906865oti.10; Mon, 25 Nov 2019 01:12:37 -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=Mk+NkhPjFnnbYDFyM1TauhWaIKmKIDDNin0WNg1qiO0=; b=bndipuz+obl4ELE/rSaPln3cdMFh9+ael7ipGz7t6jJ3QHko6G15HCfIVQ0G9U+qX7 W+PtY7CJqoKNzw2oW2xFakyP4iHdmj46kI0VR4ReyEtnrILYiWkQMgRWPLOCkPHYM9Tz BRDXb1PqtnXAH1BJTfBMu/ixwV9mn6F/f/Yb033U2FKrdEhvij3aN4gn1aMu/GYeWIee kNQ4mIfnt8PNpFo9bpZw26bCb8UGNIZ85OTtNzA2N3TBqMQlSYnnn/eal5FSj6Q+a6ms 7xTyTdQth9YFYfbhV1cCf4pcm6YWGNy1Y+P/l29oHI4GVndwJdYgE8857YXm3kMzDXQ2 GBcA== X-Gm-Message-State: APjAAAWy0SBPqLX7/XIJLFF1X6okf8QQbCBEsBk2fpxUumXtb/OrszeR 6QkvRFxaJ3OOd609X6iCOEbqLFoMCYuaQf94aGzXag== X-Received: by 2002:a05:6830:2363:: with SMTP id r3mr20163543oth.39.1574673156887; Mon, 25 Nov 2019 01:12:36 -0800 (PST) MIME-Version: 1.0 References: <20191124195225.31230-1-jongk@linux-m68k.org> In-Reply-To: <20191124195225.31230-1-jongk@linux-m68k.org> From: Geert Uytterhoeven Date: Mon, 25 Nov 2019 10:12:25 +0100 Message-ID: Subject: Re: [PATCH] m68k: Wire up clone3() syscall To: Kars de Jong Cc: Linux Kernel Mailing List , "Linux/m68k" 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 Kars, 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 a lot! Works fine on ARAnyM, too. Looks good to me, but I'll wait a bit before applying, so the syscall experts can chime in, if needed. 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