Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3445811ybi; Fri, 19 Jul 2019 03:25:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3wuQRIt4+udcyeglCnEjZqbcBvyj+CNJA3BFx6aHft3SKVvtbDQj63bkZyyHuU+iGFoH1 X-Received: by 2002:a17:90a:601:: with SMTP id j1mr55883297pjj.96.1563531950344; Fri, 19 Jul 2019 03:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563531950; cv=none; d=google.com; s=arc-20160816; b=U4+0pZy0jDMiSWD3b3ElDmfoFpKTkaMgVq+JRsadT9TEmajssKzJWb1wwMV7+FTHEx ZRWDwBQceYhUP9M+2+0AiTna8K97JV7S3ySdSv9EToVAV6C6pfrW+f1ZVzKmnzcrwpoK ER4nXjpZxsFvRc/xyNVe2J7vIwRn+qz4nhwBNQBh82u/HV5feR/XCyr3pt53ohC0a/Ne wJwLwwosJEzYgY/W8rOBvOhNIEmGD9A3Iv6DWNUej/+8F0vmVm869qCC4LF5eD1rjU5U UayydCXVKqN+lvY65wSLL3qHH+H90SnUahT2U3Z4FG4uJJx5q+W14eyz0FHgaDIiZo4z HKQQ== 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:dkim-signature; bh=RE4XO5hCXlohQ4XzzvHFXjCbWVs/5lisfj2a/CobVwA=; b=hHXwEA4NYjalxyLwNli0Tx9HvrG7evW+Z6KZvTR/X+spOTuQchVFyOnyJhT6Zojjl+ fW9h9R6Lw7pzDj/Rt9ZChz5saDQqyLDCjXpK9n8IsddrWp8DBkbmIpMGJ7hTw4ASfTzO ljqVayy1E1k9uQz7xqU7mXPvYJm7692UF+mXx5hYhVGQsDsEEEsCfDNQD7z9ir8nJLL4 yXoVhZ3p256M4AfMfheZn7LvLpLZ0eUNMo48S6lvGKSWetMnvqv50cIHksVzM4C9f3O0 W7ncVatPQIcqc8FMOsjvsjBZg+SYcEPVzmvg/dqD7kJ5TbCZal6JXuE0FD3hhDoS+qc1 //Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brauner.io header.s=google header.b=MZ2aiez9; 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 cp10si211313plb.301.2019.07.19.03.25.34; Fri, 19 Jul 2019 03:25:50 -0700 (PDT) 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; dkim=pass header.i=@brauner.io header.s=google header.b=MZ2aiez9; 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 S1727177AbfGSKZK (ORCPT + 99 others); Fri, 19 Jul 2019 06:25:10 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37855 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbfGSKZJ (ORCPT ); Fri, 19 Jul 2019 06:25:09 -0400 Received: by mail-wm1-f65.google.com with SMTP id f17so28495755wme.2 for ; Fri, 19 Jul 2019 03:25:08 -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=TDDLBNnyhBM22flDt+vu2Zs1oTJgZbn1R7QTsj59uC8CbWvbTeBK4bJespcYgLpm8h th3PWvdNgrrBnJwnVBxwyNrjgqL6334ZjZLQ0RY5h1h4fnJoeg1RICR4XoUZT89OaAj5 6M6k6bsiKU8D2ohFOeoeTK6TGP542t/LxnqcZN4IpTtKmnu3NJSbKz9OziJ54E8i7gpL zImot4J/82AF8Xh8r6w4c5rsYLV39tVsP/XdBx8kgAQh4n1FaA4cc9yuYDoerpr8KKz9 uqx38FkMSh2RVkoyAE1aNrwzq7aTkF7QeW8pwTvOMO7CY2itsMnDrhHyg9hJs2OfyL1g 0zvw== X-Gm-Message-State: APjAAAWiebzq3p/tof7sxeDf8XldJp1P9XyP6tqLmIuiRLVpC/F2otwH T91LEIxpeMpATt+a96mtMWM= 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 Cc: Christian Borntraeger , linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, Vasily Gorbik , Heiko Carstens 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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