Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3301373imm; Mon, 8 Oct 2018 01:25:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV600tsTHgVHPbJJGoFvEUk3Lzcky4jAmIjry4G+5Arzl8/ba0u0Bse46z8uEwtqCMtyPw7mR X-Received: by 2002:a62:384c:: with SMTP id f73-v6mr23970999pfa.242.1538987132009; Mon, 08 Oct 2018 01:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538987131; cv=none; d=google.com; s=arc-20160816; b=hSfQjVrBvsjVl2ySnoL5zj4b6aXNsnRtybIRkzYBjY47i6xRqCRSe5wvug+IUmbjsP hBH7l8erhKf2YzzVuI6ErqsgF1SPpVpv9uzA8XUkCXDuIxjqoUt+NFDfyv4q6vewKFnV Glm7u1R4MrQNZKHQfRgvzefF4zawVlP/BAG0vfiZJQIfPxSX4eCHoLl0zT13vFdWbtWo LuuSkFd179x77MmbDDXd/TuyA/86Y5YJjJh3pVvPQnZUht4hXxxnikIs73KvX4iXZXQo nLHhHfVlWp2h0jwMLbjny0qk1MIz9SxlBQkG5coaC0C2NEYJJ7re2wXN0j9VffP4P6CK GCIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=+i0d/eZ830ZcQw7SqRYZNFUW03iPkwPgliiumsiRJl4=; b=Inu1o3gcpRvSGASjNqvbl24jVrOYHr5AcaF3+KiUCgKhAy585+QGlNsAIAZYVVigZ7 MUiW9KJxkGAzMFrjGwI0lKh4DXAkBklSPcuz1U/1qUxMVrI0u8oczu9xFnqSVL9Pm4gJ fQsnLA3rHRr7BhK6tjb/KiVHNm3ZU1+yZG89oxCSlnCCYDPztvdMp8Opp7mzWvbWdkaU GRhpOU2bGVkQNKYiOzdZFNdoSrSzdXccShn5q22fypTAgxSlFEl8ik6sLBc4oV9eiNYd 8K7KHxuqQaA//weEoKrnuVDPzkDdzK+D1HjFuAZKR0waEpNfc2Bwk2amsckV5RL8xcgm 7RFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 23-v6si15440646pge.453.2018.10.08.01.25.16; Mon, 08 Oct 2018 01:25:31 -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; 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 S1727277AbeJHPeS (ORCPT + 99 others); Mon, 8 Oct 2018 11:34:18 -0400 Received: from mail-ua1-f65.google.com ([209.85.222.65]:40373 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbeJHPeS (ORCPT ); Mon, 8 Oct 2018 11:34:18 -0400 Received: by mail-ua1-f65.google.com with SMTP id c21so5138610uap.7; Mon, 08 Oct 2018 01:23:45 -0700 (PDT) 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=+i0d/eZ830ZcQw7SqRYZNFUW03iPkwPgliiumsiRJl4=; b=KhmSe6gYfUKG9nZ/qiDfCgKXaAPxHNMhFCw8ptyRvIaLkiK80g0H9hZoS5AWxB8Mg4 1TzjvpzCQ9laHeV9Zz/5/TBTiPBiNqRKH+z1PeZX67wcVe9SMgwhVxANRMNu0A0uOr2X qLI0wyjvTN6EHAQocFsFy/XcylGulDoxJKL+faaImzTunnfePWsTtmGQS/zKx/nvjim5 r8D4wrA05VaUystXt5eiZun2z472rjWOAtkzf/4nF8t6Tek3blVOTW8CCKW2mlWEXJj0 lklVAdybfF/FR92TP4/B9wlz5/cpYVf80xC7L1f9gW5iqUq6hgreZbFEvusfJPstWRDH hzRA== X-Gm-Message-State: ABuFfoib5vx/RLhqMNvO/plhnH0IMMFArooex9Rs3HYbHoRWw7wFzfuX QFew116NqdW93Guxu+eWYd1ugssom5UAAmYFe6ym7g== X-Received: by 2002:a9f:35f1:: with SMTP id u46-v6mr8911639uad.20.1538987025286; Mon, 08 Oct 2018 01:23:45 -0700 (PDT) MIME-Version: 1.0 References: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> <1538975801-13735-6-git-send-email-firoz.khan@linaro.org> <22745bed-baf6-4f08-6801-3529021cf33e@gmx.de> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 8 Oct 2018 10:23:33 +0200 Message-ID: Subject: Re: [PATCH v3 5/6] parisc: wire up rseq system call To: firoz.khan@linaro.org Cc: Helge Deller , Parisc List , "James E.J. Bottomley" , Thomas Gleixner , Greg KH , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , marcin.juszkiewicz@linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Firoz, On Mon, Oct 8, 2018 at 8:49 AM Firoz Khan wrote: > On Mon, 8 Oct 2018 at 11:36, Helge Deller wrote: > > On 08.10.2018 07:52, Firoz Khan wrote: > > > On Mon, 8 Oct 2018 at 11:11, Helge Deller wrote: > > >> On 08.10.2018 07:16, Firoz Khan wrote: > > >>> Signed-off-by: Firoz Khan > > >>> --- > > >>> arch/parisc/kernel/syscalls/syscall.tbl | 3 ++- > > >>> 1 file changed, 2 insertions(+), 1 deletion(-) > > >>> > > >>> diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl > > >>> index 4e85293..4334bb7 100644 > > >>> --- a/arch/parisc/kernel/syscalls/syscall.tbl > > >>> +++ b/arch/parisc/kernel/syscalls/syscall.tbl > > >>> @@ -349,4 +349,5 @@ > > >>> 347 common preadv2 sys_preadv2 compat_sys_preadv2 > > >>> 348 common pwritev2 sys_pwritev2 compat_sys_pwritev2 > > >>> 349 common statx sys_statx > > >>> -350 common io_pgetevents sys_io_pgetevents compat_sys_io_pgetevents > > >>> \ No newline at end of file > > >>> +350 common io_pgetevents sys_io_pgetevents compat_sys_io_pgetevents > > >>> +351 common rseq sys_rseq compat_sys_rseq > > >> > > >> You can't add the rseq syscall for parisc yet. > > >> It needs additional code in the kernel for parisc which hasn't been tested yet. > > >> See my initial untested patch at https://patchwork.kernel.org/patch/10495209/ > > > > > > Thanks for your update! > > > > > > When I compiled the kernel I got below warnings. > > > > > > :696:2: warning: #warning syscall nfsservctl not implemented [-Wcpp] > > > :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] > > > > > > I added an IGNORE entry nfsservctl in script/checksyscalls.sh because this > > > syscall is gone. But we definitely have to keep rseq entry on parisc > > > architecture. > > > > I prefer to keep the warning for rseq for now. > > I'm fine with this. > > > It reminds me that we still may want the rseq syscall. > > If the warning is a problem, you may simply add the __IGNORE_rseq define. > > But I still feel to keep an IGNORE entry, so once you test your patch; we can > remove IGNORE entry and update the syscall.tbl. If the warning is bogus (e.g. obsolete syscall), an IGNORE entry should be added. If the warning is due to a not-yet-implemented feature, IMHO it should not be silenced, as that would give the false impression that the feature is present and implemented. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds