Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4280428ybc; Tue, 26 Nov 2019 06:43:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyX+CZNatwOFUXdUIw6yGVvGXzmOmuxHvyFUgdRt0/FOOdq2ynhSy0PpW2MYgaDIusQhMgm X-Received: by 2002:aa7:c3d0:: with SMTP id l16mr25558529edr.18.1574779383289; Tue, 26 Nov 2019 06:43:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574779383; cv=none; d=google.com; s=arc-20160816; b=xixKZ4DIVBFjn+MlyaYQ6IXE+PHfGHQ1zTHhu3D5Jy1uoOLmh7Q7Z5WKGZJ4SeE60k mOt4FEm7aZ97n2DeVTaO3DwkKO6g21av2CXKTlWYRdwg83kGbeI5PSsfoo5xoKdF6LcH +JD4IbCSem8cOpLie3VvgYRrf9/boY58WGE2sz7sc/MBhenj1eLgox6TxCSYAahhZ8F4 1jO5QcQ9AeQKrq1F9hax0nYGnkVq3ZQiWNyhPJABtbcBI7J/sKBPb7HzqljQVpWTFtdh ZkvujYg4Scza/6DEDC2AnvJ832SctnWZkWnL0/Tlb9SyN71sfK03wumCAwaVulJOO6lc k6Nw== 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=9bcyDnWmtMe4wJxcWqWzg2wWxljVcAnz/TA/zOvEOzA=; b=HXvEQ7YfH7Xp3j2RUnNRCscSJFx1W+USU2Clm1xqk5dTchE+DWWHQL3wvn4jXHP5Bl g/wcI/PYLhYXSi++osQCsphyJML6bkLhxZ+SE4Q4RMZ7MgcALV7wnFIKptY4Fwtmx9op eYpdQbeQqL2pjNUZwbHkLp/acSg4Enh9UTKKfLx96OV4y0uljxxBcqevhoOB1d5wnH3Z 2sN9BBGT3VfbHt5D5dBzxzQyomweD8aeN0LBmR0PGqO8WWyuG3F/GomRy7evJk6VDc7g YUeUdEXGXSHKr61bLqtDSlEa4eTJo/PuFoL9ufD6YOqZMKJD8exWm9RiST0EounAFKr2 CfQA== 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 l64si8858624edl.306.2019.11.26.06.42.39; Tue, 26 Nov 2019 06:43:03 -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 S1727966AbfKZOlZ (ORCPT + 99 others); Tue, 26 Nov 2019 09:41:25 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:60519 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfKZOlZ (ORCPT ); Tue, 26 Nov 2019 09:41:25 -0500 Received: from [185.81.136.22] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iZc1r-0003xg-5h; Tue, 26 Nov 2019 14:41:23 +0000 Date: Tue, 26 Nov 2019 15:41:22 +0100 From: Christian Brauner To: Geert Uytterhoeven Cc: Kars de Jong , Linux Kernel Mailing List , Linux/m68k Subject: Re: [PATCH] m68k: Wire up clone3() syscall Message-ID: <20191126144121.kzkujr27ga36gqnf@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, Nov 25, 2019 at 10:12:25AM +0100, Geert Uytterhoeven wrote: > 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/ Please note that we now have a growing test-suite for the clone3() syscall under tools/testing/selftests/clone3/* You can test on a suitable kernel with make TARGETS=clone3 kselftest > > > > 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. Otherwise this looks good to me. Thanks for moving this forward. One day we'll be able to remove ARCH_WANT_SYS_CLONE3 completely. :) Christian