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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable 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 C6F13C43387 for ; Fri, 11 Jan 2019 17:32:43 +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 001F020836 for ; Fri, 11 Jan 2019 17:32:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 001F020836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de 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 43bqgr3PBNzDr4L for ; Sat, 12 Jan 2019 04:32:40 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.160.196; helo=mail-qt1-f196.google.com; envelope-from=arndbergmann@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43bqdz0BDCzDqwJ for ; Sat, 12 Jan 2019 04:31:02 +1100 (AEDT) Received: by mail-qt1-f196.google.com with SMTP id e5so19615995qtr.12 for ; Fri, 11 Jan 2019 09:31:02 -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=SGHCnfowgHn30T+nuPC0hqbUSrYY8+wFH1Oi3pXaRzM=; b=SnC3jiQu0nJg2In7tKqAGlM6JhVdIe8Ml/u5mrBhNfQri9mRgquYQ1TQJWvIh5f/eM wABvMo+tZyA8HYYZbgc46QRe/k7pPpqeNqvrIpeig7fMj/zYy44EScYs9YC+aF5bzXZh YqEY5wZiYPnLjsEDaG3+p6KwEhPWjGJV0I4+yoWFqZlWhOFbR/FY9P9bzpl92ylfSluN SxSdO9kakWhz0c9qlW0QhinQH0kwA79waYldEjfpeTSo1wJ4JE4UlD2bGjImj6D7se7S CR/MkvcYpiL77EA5MSpAm81+MgKdCpOE0x0/tY6iqzy4lVh6DcstwSXP3rOUS2R6iMpv Pbbw== X-Gm-Message-State: AJcUuke4ZU7JfKbDNsMZgcniXGXubJVJ/MoV/pTeZvtqy+XZQhkXlZ3t zq0QS2nlEjO8J02X84iCZWGxKOtzExTAjpllrbY= X-Google-Smtp-Source: ALg8bN775BnYYqpcTaMAandAOOVFGcb1fag8zY9M3WMS/TPmNFpmSdRaCOyAJ14+1Aq8ng+YTuIZvIzlZbwDHzn2U4I= X-Received: by 2002:ac8:2c34:: with SMTP id d49mr14875090qta.152.1547227860501; Fri, 11 Jan 2019 09:31:00 -0800 (PST) MIME-Version: 1.0 References: <20190110162435.309262-1-arnd@arndb.de> <20190110162435.309262-16-arnd@arndb.de> <20190110203638.GB3676@osiris> In-Reply-To: <20190110203638.GB3676@osiris> From: Arnd Bergmann Date: Fri, 11 Jan 2019 18:30:43 +0100 Message-ID: Subject: Re: [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere To: Heiko Carstens Content-Type: text/plain; charset="UTF-8" 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: Rich Felker , linux-ia64@vger.kernel.org, Linux-sh list , Catalin Marinas , Will Deacon , Dominik Brodowski , linux-mips@vger.kernel.org, Max Filippov , Deepa Dinamani , "H. Peter Anvin" , sparclinux , linux-s390 , Davidlohr Bueso , y2038 Mailman List , Helge Deller , the arch/x86 maintainers , Russell King - ARM Linux , Ingo Molnar , Geert Uytterhoeven , Firoz Khan , Matt Turner , Fenghua Yu , linux-m68k , Ivan Kokshaysky , Andy Lutomirski , Thomas Gleixner , Linux ARM , Michal Simek , Tony Luck , Parisc List , Linux API , Linux Kernel Mailing List , Paul Burton , "Eric W . Biederman" , alpha , Martin Schwidefsky , Andrew Morton , linuxppc-dev , David Miller Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jan 10, 2019 at 9:36 PM Heiko Carstens wrote: > On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote: > Since you only need/want the system call numbers, could you please > change these lines to: > > > +384 common pkey_alloc - - > > +385 common pkey_free - - > > +386 common pkey_mprotect - - > > Otherwise it _looks_ like we would need compat wrappers here as well, > even though all of them would just jump to sys_ni_syscall() in this > case. Making this explicit seems to better. Ok, fair enough. I considered doing this originally and then decided against it for consistency with the asm-generic file, but I don't care much either way. Is this something you may want to add later? I'm not sure exactly how pkey compares to s390 storage keys, or if this is something completely unrelated. Arnd