Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp647604imm; Fri, 10 Aug 2018 19:33:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxyQYc6QjvzGdk9Yr6SgCDHMAtMkfa/PWd2mX0P8j+ZvlBgWTd5jecE23EhVHT7S/RJcHd3 X-Received: by 2002:a62:778c:: with SMTP id s134-v6mr9490943pfc.189.1533954782358; Fri, 10 Aug 2018 19:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533954782; cv=none; d=google.com; s=arc-20160816; b=08q5UHJlsH5vjwfne3xqceEQ8+UGAt8Rh90KPVa/UVksMaV6YXHvI91yoB5hvwqTN9 +gkB2JEQrLG7qLkcA5Szqfeg7Z7+HnLH7doVef+m7BGZVLeLYFerTnZgSQuIU6qXp0tj nRCu3hvfv+oSTKpOUQs+UdX6MkmPIECFFcPrG/tnJjVdp+4RkUu8K3o5g90CDulrJ3E1 ifVvGC/JI0SwA683Z6H3xDpHOFVG8XeI7kRdvhe6f2Jmq4D90Sh5Wx9JWugBfC47NFfy MXYh+NDsem2sQ3JuDzc0xHujrHIAim8wtMBCzAlOuQEkCz0rHKFEDaahk4FlERMXxgxw ilVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=wDw+JblCaadP75M6mLwIy7gYuAzotitPgHhtAIhqJtA=; b=C2rGuIW5CFRXb7hh7/s5/C/aIdV+tFY+6K8ZvpryjO2eFsl62hoiEooXLK0yVC16i1 4gjEYiidL0Z8rj7O72JwA4r1h9bbCQmKkEsCmxalPzAZR2wsYtRGHrhJuDEKvPTpCDfE r/HXdzqSKJ0zRCaupBdhUHW0QP/ABL4+OcVD1Zh+NIc96ctd12BGVDywgD9Rhn3gFB8K 7SYS/e+PZkQ92B7OdVFZjDNRdWd4SKdWAT4+/lw6DqMXETGFpzjZHsZlOMegu7L/XZ41 rN8ynW4dlk/UdPhZjyjNtz5bUdrwcEC+8EbIrfX95OhC+wzR9noHKen0Sk7zWudZSsH8 YJ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Pp2z2xJ1; 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 m192-v6si10256896pga.398.2018.08.10.19.32.47; Fri, 10 Aug 2018 19:33:02 -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=fail header.i=@gmail.com header.s=20161025 header.b=Pp2z2xJ1; 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 S1727338AbeHKFE1 (ORCPT + 99 others); Sat, 11 Aug 2018 01:04:27 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:38041 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727206AbeHKFE1 (ORCPT ); Sat, 11 Aug 2018 01:04:27 -0400 Received: by mail-pf1-f196.google.com with SMTP id x17-v6so5312485pfh.5; Fri, 10 Aug 2018 19:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wDw+JblCaadP75M6mLwIy7gYuAzotitPgHhtAIhqJtA=; b=Pp2z2xJ1DP6Aj6ZX0g1uKPzFJ/KLxRGTRYLnC2Qb6vub3ZeHaoEf01/lsVzUdzKxBn qbNeugbt+FXYTXTOEKCBhIfDMTAwEjt84hrLm/IoK3eo2KleJm96304fxKmhR3VxyuAP OcPSRgvfK2XfQRZ+LglZbYecQ7ARTXO69I3NjdedADzgdHHbVionnGPm45t8+EWjWdk+ VBsvouP/dI7Uf10EwEdq79PXo2Jwj1QuohoSaULG/9fIYnj6J3jrQOEtHOJDgp8tEcJ3 tI9EzUIniv/ppY9zvT7EYPDGzaCjwWlCPY1vfY7aMJRN1BxtdFROeAfoX7m6z0kjVC/n iXVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=wDw+JblCaadP75M6mLwIy7gYuAzotitPgHhtAIhqJtA=; b=J87QJp9n9BVFC0qCBWaTl9e48u3Qj4FJq7rYM5GL3CRVdXbGzuayaV4FK8r4bnWkpe /evkRWgX+O1H+R70o5ztrgsGVSDC/oXkM110+CjEEJfr3/p77RzPZLx67SMx5ov58Fl2 uZ6G6Q9axVAwXMsEMmcDjJihnUQ1oOKnDW3moTjIuPmzQqdHgY0G0ULnayQBqA7/w9Kc eHg+yt12eRsB0PNrq6M2cEq5h3wemHUhR8y50tdz5LXxavPC2JrQDmNYSUzRBkdBnUA6 LLhcnBGyagRRRbwbOU8MUMGYW+WD4oUejnIPMWVfwDwY9AeYwQjsOvSgXNQD7m1EiFrs /Q6Q== X-Gm-Message-State: AOUpUlEzT5V081/LOQ5LqGR4Z51dYksK08nQSmsN6A6FHq8zq/1vXlTr hdnyhrDXDiYElGx7A/9rWpI= X-Received: by 2002:a62:2c95:: with SMTP id s143-v6mr9495552pfs.3.1533954718020; Fri, 10 Aug 2018 19:31:58 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-8-179.tukw.qwest.net. [97.113.8.179]) by smtp.googlemail.com with ESMTPSA id 21-v6sm14767543pgx.20.2018.08.10.19.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 19:31:57 -0700 (PDT) Subject: Re: [PATCH 3/6] alpha: Unify the not-implemented system call entry name To: Al Viro , Firoz Khan Cc: linux-alpha@vger.kernel.org, ink@jurassic.park.msu.ru, mattst88@gmail.com, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, deepa.kernel@gmail.com References: <1531736638-15294-1-git-send-email-firoz.khan@linaro.org> <1531736638-15294-4-git-send-email-firoz.khan@linaro.org> <20180811000455.GC6515@ZenIV.linux.org.uk> From: Richard Henderson Openpgp: preference=signencrypt Autocrypt: addr=rth@twiddle.net; prefer-encrypt=mutual; keydata= xsBNBFGuLC8BCADcAoWcnW9lTsDMzbO3MBU+KbiGaj5JPatEUscRDkQYM2fyNjJp2tIWDK5a n4yngeXB3eX61WbYR3QraRK8mlYLGxyAdHMEQfPipbqf3TmN043fssT2bc82ApJcs1zvLYgI rhMht7Dck7A0wNC1jo+ZjVVFig5gDTN7gOzaAdBtV8tVNUddwkLzzaGpfihhSD6U46NdqKOG Wlnn6TrkMy0QGdQ5NaXHkRlUjnnUTSW/nKfoxD+EI+A9V4sYOd8mc/TL4aJh/i/AiU57eLbo n17uQI6/VTWDUWl8USiz4x9c8vmqlywLx00tAFxxoRWqk4KVJlj+Sh0up/D/sJ+vPpgBABEB AAHNI1JpY2hhcmQgSGVuZGVyc29uIDxydGhAdHdpZGRsZS5uZXQ+wsCBBBMBAgArAhsDBgsJ CAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUJC7UHogUCWaDNVgIZAQAKCRCtEnDMTdAnm9N5CADO cB8F/SudJ72IupxQf40hbJdBK176+gb3sHMsixyLtrU59lee+lIM1OZmlNjsnCYmiSnbA5ks Q7p0HfO7DgdmfLzcK6xsHZukqSZ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19:31:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180811000455.GC6515@ZenIV.linux.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/10/2018 05:04 PM, Al Viro wrote: > Once upon a time it used to have a C part that printed a warning > about unimplemented OSF syscalls. That's what it's been doing > all over the OSF syscall range, while the native Linux syscall > range uses sys_ni_syscall(). > > With those warnings about unimplemented OSF syscalls gone (circa 2.4), > alpha_ni_syscall() has shrunk to that little bit of asm and the > only reason it hasn't been replaced with sys_ni_syscall() everywhere > is that extra twist needed in case of syscall #0. > > Let's keep it only for syscall #0 and replace the rest with sys_ni_syscall. > And use sys_ni_syscall for "number out range" in ptraced-call case, as > we'd been doing for normal codepath since 2.1.86... > > Signed-off-by: Al Viro Acked-by: Richard Henderson > +++ b/arch/alpha/kernel/entry.S > @@ -473,7 +473,7 @@ entSys: > bne $3, strace > beq $4, 1f > ldq $27, 0($5) > -1: jsr $26, ($27), alpha_ni_syscall > +1: jsr $26, ($27), sys_ni_syscall > ldgp $gp, 0($26) > blt $0, $syscall_error /* the call failed */ > stq $0, 0($sp) Once upon a time I had a patch to make the hint be sys_gettimeofday, as the most common syscall. Dunno what happened to that. But I must guess that an unimplemented syscall has got to be the anti-hint of the ... long-ass-time-frame. r~