Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp576153imm; Thu, 6 Sep 2018 07:05:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY6S98V7VwHg4lQY5e+MniG5rloUSrkDiOeB+Op3Uz1zWjUp/ZTgEjT643PTRDASpJ3+IkS X-Received: by 2002:aa7:831b:: with SMTP id t27-v6mr2966315pfm.81.1536242721938; Thu, 06 Sep 2018 07:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536242721; cv=none; d=google.com; s=arc-20160816; b=PFMo99Zl2/Z9LqhteEZncGRQNcBHPUNlVtsXcKmVK31erhnm02fCX+GFor4YmnEjSn JupLlB2JNmnYWU+OyGwxsGIBQ5y8gfuv2Glp8nt8SE5TunAYOxidzm8Ae5XGupA9wxZm sFzBedJ+rIKYeKS9PimPbiuDYElRSp3/H9hhmLojcHD2VEyE8hIEfO6e0tbbQWHQQd32 aTTH5ZlTQy/9oOqhoJYNlmphhqpMja5dhi2LnXF/YPbFtQDqKdMrlsbeEIiUFcytfXHw k5rIA86ppZz/ZdUmxBUI9DjEaPEdP3pQLiDDIsmFDMZZo1j65wG8FSRAGOg49uBTvI0q DpXQ== 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=01pgAJzweQ2loKxEE/dxoQvD0AUzXjx4RUmkbSAmClc=; b=pdnWJ3KVmQteMLn39fMJkH/dRKo8pLhALBb+BgiAEos+i1+fUnO8CvB+jbGOKGlikK nR1mzJ7Rg2j4MiOjeyNhMevQnmgz9pmyFUWMXJOPgVcH1SFic++nmL9RciyK1dOnoo0s I0ixsvM/4vDLfheoFt01M2OPxQ6cC3vhDbDuYlZN+ppD+1xvR0gAurEieBkTGpqrHxQ+ 7XSXr6OkmACEAKZlQAYomueoxaoI6imrDSMVJ8jlmkr4DKgfsGDCa4IXxEIARdrJKcsv D3sG4Y6I6d1T9i4HXxupZa1GPwcTzruGhWbIUBg76WTdZq6Vh1taMBF0bY8CK7bsEUeI TnZw== 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 l23-v6si5178637pgo.230.2018.09.06.07.05.05; Thu, 06 Sep 2018 07:05:21 -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 S1728998AbeIFSil (ORCPT + 99 others); Thu, 6 Sep 2018 14:38:41 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:39984 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728929AbeIFSil (ORCPT ); Thu, 6 Sep 2018 14:38:41 -0400 Received: by mail-qk1-f193.google.com with SMTP id c126-v6so7368365qkd.7; Thu, 06 Sep 2018 07:02:58 -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=01pgAJzweQ2loKxEE/dxoQvD0AUzXjx4RUmkbSAmClc=; b=hj8XCcjSVebtKO7ySbMHLiH8RABQxK8/oR2V9mQHN0UaXXqobigaRnBbqxLGIms5cM orV5AQIM1uzrGL600ZDDu/pElZPqdoY0EsIMG1I1neui4Bv8DvZSrAaqM13fibWxgh5Q RYAbMkvBkAjcVGoP/VC6b7Kg6MvudiVfd1U6l9Gs1QM9UtMJNQ3k5LdEFhGpn7sbrN0B 7uoEkhCia0r3uhpjKhLyiPiVcvwDfTX0r8o2BCFl1YtqjWromHc9sB8nknlYFidaDTOD RzcMVfWSJ8Qk3LEYEnzaoJkTI5+45DUvLzw/5ELvGnctYtRTZKjSDrEkzywZVBAHcjfy jGKw== X-Gm-Message-State: APzg51AAUFKYEesdC5MSWwcvM68fW/9IWYl9+BqBn+0yYKUMfhPcwnus a0HXqRvr/F/wj4D24bN1l7yPDn677YwIWC5h5Cw= X-Received: by 2002:a37:1b91:: with SMTP id m17-v6mr2141898qkh.173.1536242578424; Thu, 06 Sep 2018 07:02:58 -0700 (PDT) MIME-Version: 1.0 References: <0f6a6aa2e458df2c3734cf60a68e6f69f0eb1e68.1536138304.git.ren_guo@c-sky.com> In-Reply-To: <0f6a6aa2e458df2c3734cf60a68e6f69f0eb1e68.1536138304.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Thu, 6 Sep 2018 16:02:42 +0200 Message-ID: Subject: Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn To: Guo Ren Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Thomas Petazzoni , wbx@uclibc-ng.org, Greentime Hu 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 On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > + > + /* > + * __NR_rt_sigreturn must be 173 > + * Because gcc/config/csky/linux-unwind.h use hard code to parse rt_sigframe. > + */ > + err = setup_vdso_page(vdso->rt_signal_retcode); > + if (err) panic("Cannot set signal return code, err: %x.", err); __NR_rt_sigreturn is 139 I think you need to update the comment, and probably check your gcc sources to ensure it still does the right thing. Arnd