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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 2EC36C433E0 for ; Thu, 14 May 2020 10:51:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F367A206A5 for ; Thu, 14 May 2020 10:51:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727841AbgENKvf (ORCPT ); Thu, 14 May 2020 06:51:35 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35194 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbgENKvd (ORCPT ); Thu, 14 May 2020 06:51:33 -0400 Received: from ip5f5af183.dynamic.kabel-deutschland.de ([95.90.241.131] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jZBSa-0002cB-TB; Thu, 14 May 2020 10:51:28 +0000 Date: Thu, 14 May 2020 12:51:27 +0200 From: Christian Brauner To: Andreas Schwab Cc: John Paul Adrian Glaubitz , "Luck, Tony" , "Yu, Fenghua" , "linux-ia64@vger.kernel.org" , Al Viro , Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , Qais Yousef , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ia64: enable HAVE_COPY_THREAD_TLS, switch to kernel_clone_args Message-ID: <20200514105127.lb3ysba7wik2de6n@wittgenstein> References: <20200514074606.vkc35syhdep23rzh@wittgenstein> <6b298416-1e64-eee7-0bb4-3b1f7f67adc6@physik.fu-berlin.de> <20200514100459.pt7dxq2faghdds2c@wittgenstein> <2e22b0d2-b9ce-420d-48a0-0d9134108a5c@physik.fu-berlin.de> <20200514101540.25hvle74w63t66fs@wittgenstein> <20200514101914.fu7xhgaxtb5fy2ky@wittgenstein> <4aad9ad5-b0e9-12b0-0ad2-ac23fceae87b@physik.fu-berlin.de> <20200514103259.tdfjc5ds4igpmoxj@wittgenstein> <877dxe6bhm.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <877dxe6bhm.fsf@igel.home> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 14, 2020 at 12:45:41PM +0200, Andreas Schwab wrote: > On Mai 14 2020, Christian Brauner wrote: > > > pid = syscall(189 /* __NR_clone2 */, SIGCHLD, stack, STACK_SIZE, NULL, NULL); > > Syscall 189 doesn't exist on ia64, they start with 1024 (and __NR_clone2 > is 1213). Ugh, the numbering needs to be: # Add 1024 to will get the actual system call number well ok. Thanks! Christian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Brauner Date: Thu, 14 May 2020 10:51:27 +0000 Subject: Re: [PATCH] ia64: enable HAVE_COPY_THREAD_TLS, switch to kernel_clone_args Message-Id: <20200514105127.lb3ysba7wik2de6n@wittgenstein> List-Id: References: <20200514074606.vkc35syhdep23rzh@wittgenstein> <6b298416-1e64-eee7-0bb4-3b1f7f67adc6@physik.fu-berlin.de> <20200514100459.pt7dxq2faghdds2c@wittgenstein> <2e22b0d2-b9ce-420d-48a0-0d9134108a5c@physik.fu-berlin.de> <20200514101540.25hvle74w63t66fs@wittgenstein> <20200514101914.fu7xhgaxtb5fy2ky@wittgenstein> <4aad9ad5-b0e9-12b0-0ad2-ac23fceae87b@physik.fu-berlin.de> <20200514103259.tdfjc5ds4igpmoxj@wittgenstein> <877dxe6bhm.fsf@igel.home> In-Reply-To: <877dxe6bhm.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andreas Schwab Cc: John Paul Adrian Glaubitz , "Luck, Tony" , "Yu, Fenghua" , "linux-ia64@vger.kernel.org" , Al Viro , Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , Qais Yousef , "linux-kernel@vger.kernel.org" On Thu, May 14, 2020 at 12:45:41PM +0200, Andreas Schwab wrote: > On Mai 14 2020, Christian Brauner wrote: > > > pid = syscall(189 /* __NR_clone2 */, SIGCHLD, stack, STACK_SIZE, NULL, NULL); > > Syscall 189 doesn't exist on ia64, they start with 1024 (and __NR_clone2 > is 1213). Ugh, the numbering needs to be: # Add 1024 to will get the actual system call number well ok. Thanks! Christian