From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B452CC76195 for ; Fri, 19 Jul 2019 10:27:05 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3683221849 for ; Fri, 19 Jul 2019 10:27:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=brauner.io header.i=@brauner.io header.b="MZ2aiez9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3683221849 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=brauner.io Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45qnHV4xRjzDqgd for ; Fri, 19 Jul 2019 20:27:02 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=brauner.io (client-ip=2a00:1450:4864:20::342; helo=mail-wm1-x342.google.com; envelope-from=christian@brauner.io; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=brauner.io Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=brauner.io header.i=@brauner.io header.b="MZ2aiez9"; dkim-atps=neutral Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45qnFP5m1HzDqpq for ; Fri, 19 Jul 2019 20:25:11 +1000 (AEST) Received: by mail-wm1-x342.google.com with SMTP id s3so28279752wms.2 for ; Fri, 19 Jul 2019 03:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brauner.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RE4XO5hCXlohQ4XzzvHFXjCbWVs/5lisfj2a/CobVwA=; b=MZ2aiez9s7BuxY5oOnftVgW6/0s5yYSqpSbqe/ZNv3lt5LuholHgjz0i39qo8Pb0+s dUHj8OzB1751pSlS+bD850Lcgh+d8aH6A7FbvldJGeqflGt9mdQ3K9seLKwicoLqwQ+d tz1i1dKD8ZtjTj6HOhBQwoUqx7yeEfPggSJpjIPNpaWe7qAEjLIhf5XCP08LbyDVcqeT nhiijiJFqkzAOKLfKEPbmncCRHEmoTQk78GjVjUIlEohS6z2VaOxyaskDx/c9UFuVNsS 76v0yrZB3v8iiyYGR6QerPQlNbPj5wCdUlCwXoY99RFcl3RFg/Y9ivAj9zDavuf71YiC eiQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RE4XO5hCXlohQ4XzzvHFXjCbWVs/5lisfj2a/CobVwA=; b=emSAK6o6/tdb4wl+D/f6wlWYAz7wfybg/5n+zPCJiSUIyGzbSCMzFWip8e295+zMEl iBhzBQgaocsMMy9KqRutaORAUx6Wn/7wO1tXdgJbWMJ6J3blJ6GAkEOBfkWdrFj+GJAf Hld7b++lZtJDrZajW2JmUBPAyuJ4es029P3ofQiLTSbgYiVPpwBuYCqsqTn6DCJoL4EZ sbcDmG8UmHpTSucffFASAfY7Eoy+Oenvfl0g9P+W4adkgdu8tLGfpIInbhUX8BDkG85c D/mtw8Qjgf2vdqdhMpYxxIQvFmGh5mQhuuiGZJYEKj7ffnobRFR9Jh0Nbhkg6l9kzfk4 KPrA== X-Gm-Message-State: APjAAAU/YY+LJawkRoC3g/wXyzIk8eJdacV+sNLkS7+RHge4ce6f85bq KF0JL3ZzsiGATZw5bJvXSOc= X-Google-Smtp-Source: APXvYqzFtX39u/LTTf9LpX1rQ8jjc8aXLaIGj170otP1O/m4fuBpUKB7NENA3hws+MMAj1mFVzZ+GQ== X-Received: by 2002:a7b:cbcb:: with SMTP id n11mr45928859wmi.146.1563531907454; Fri, 19 Jul 2019 03:25:07 -0700 (PDT) Received: from brauner.io ([81.92.17.145]) by smtp.gmail.com with ESMTPSA id x24sm30020307wmh.5.2019.07.19.03.25.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 03:25:06 -0700 (PDT) Date: Fri, 19 Jul 2019 12:25:04 +0200 From: Christian Brauner To: Michael Ellerman Subject: Re: [PATCH 1/2] arch: mark syscall number 435 reserved for clone3 Message-ID: <20190719102503.tm3ahvkh4rwykmws@brauner.io> References: <20190714192205.27190-1-christian@brauner.io> <20190714192205.27190-2-christian@brauner.io> <20190716130631.tohj4ub54md25dys@brauner.io> <874l3i8h0l.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <874l3i8h0l.fsf@concordia.ellerman.id.au> User-Agent: NeoMutt/20180716 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, arnd@arndb.de, linux-sh@vger.kernel.org, Heiko Carstens , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Christian Borntraeger , linux-m68k@lists.linux-m68k.org, linux-alpha@vger.kernel.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Vasily Gorbik Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Jul 19, 2019 at 08:18:02PM +1000, Michael Ellerman wrote: > Christian Brauner writes: > > On Mon, Jul 15, 2019 at 03:56:04PM +0200, Christian Borntraeger wrote: > >> I think Vasily already has a clone3 patch for s390x with 435. > > > > A quick follow-up on this. Helge and Michael have asked whether there > > are any tests for clone3. Yes, there will be and I try to have them > > ready by the end of the this or next week for review. In the meantime I > > hope the following minimalistic test program that just verifies very > > very basic functionality (It's not pretty.) will help you test: > > Hi Christian, > > Thanks for the test. > > This actually oopses on powerpc, it hits the BUG_ON in CHECK_FULL_REGS > in process.c around line 1633: > > } else { > /* user thread */ > struct pt_regs *regs = current_pt_regs(); > CHECK_FULL_REGS(regs); > *childregs = *regs; > if (usp) > > > So I'll have to dig into how we fix that before we wire up clone3. > > Turns out testing is good! :) Indeed. I have a test-suite for clone3 in mind and I hope to have it ready by the end of next week. It's just always the finding the time part that is annoying. :) Thanks for digging into this, Michael! Christian