Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp779073imm; Wed, 17 Oct 2018 08:11:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV60K79VeWxBlVKbXfEjJgG+P4UwGI2FSJ6clFgH81Tw20ROhZbcwkmR2H/AlhmTX7NG8NJns X-Received: by 2002:a62:68c3:: with SMTP id d186-v6mr18942199pfc.195.1539789116174; Wed, 17 Oct 2018 08:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539789116; cv=none; d=google.com; s=arc-20160816; b=EWlzCsLirQXkpjqrI8oKob76vBqmHmn4lWeo5WKcXIxDEdD+dvEEOgiK7YBr7kzvla /SzlKXwCFiXRquPP9NDBPXMLjqEHJppPBrPlzi8lAaY7pqLpOzGI4ZJ8Kg0eu2ESja9U AfOUd5j7zMKsb94eDxCIMmKaKTxQV+nDncWudU7Sc1WHzlonKBUVf4nAVySp6PeUSYeR pwjJyOOB1TLHFdFYCY9Am269bvQV3wUfrtOo3+YxlWCdE+Pt7PTAng7qacD+1NbzqfVL l6/pcOe51e/NhRvw2zesQO9An95G0ccMpQOkbvPkRcA1EG1CuyXsgQi9pOvgUkKsbhRw jk0g== 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=FKaGTVrDoB3wM70SDy9cZPLZvYt4VflSq8YoDlpWSDE=; b=cahBN77nRv58s0WgzNY9lWdGWRch3Jl5n2shAod9n985sB1mZjbqqiJw/XxQeRDavo XOtXrfnJ2OaRYH0Iie0U6+ugcQftjFStHOa5F3CxvnONnAphBKCCYKpjDVCjRXNzz6R0 wrvBo65wODa6J94z+UGGC7EpRGhjqFLHHE5FOaSylbOxJextGkQaU8gLzYpMBFwcFXT4 qu4v7K0qznKHD5ytCiqw2PTrUlsxncq6QYwy3N26JCIKdXUMN9NZ8XRrLcbJ0BnA99vi B+NMNpTVopVbpN07DBi+LkUS193dMogF9lCcFSQ1mfct8wngr9WfREN7S2FemTsPSurR cFfQ== 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 r22-v6si17818513pgm.590.2018.10.17.08.11.40; Wed, 17 Oct 2018 08:11:56 -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 S1727780AbeJQXHZ (ORCPT + 99 others); Wed, 17 Oct 2018 19:07:25 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45944 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbeJQXHZ (ORCPT ); Wed, 17 Oct 2018 19:07:25 -0400 Received: by mail-qk1-f194.google.com with SMTP id m8-v6so16675688qka.12; Wed, 17 Oct 2018 08:11:17 -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=FKaGTVrDoB3wM70SDy9cZPLZvYt4VflSq8YoDlpWSDE=; b=nxFZ6EYLzEan6NUSSIGEyCGTmJExXZi506FPLjpNlVl7Yj+8mOav3CXwbRq9u6jvvf lt0pPan2PyBuoq2HofiagZoi93QOJu+S0+vSDYKv6GSQSkpPH6ZYSE4884moFN/6Pdip 8duHtDNlyuRSfcogiWmkl/uBvl3TpB7O7n5ChSw0JmDU8xPD2YgKbPjhhe4z9mdr4IbF ndurbqUTiwkGDXpPlRLJ+L7O8SrRJsA7VbcSsPy7lQJaq2UWKiF2y4L8JHa9p7dClhR9 oSqoqgfrpXAq8R0+4USB56QIP/0cRB0Cr47wBD5Ih3IkaRLa4Upgg0SRrjIRDHGqgTy0 0syA== X-Gm-Message-State: ABuFfogmxIS6MAjk6YoATdy5HUU1jSOWyHwG6uQxQKm4TIY0VWN6R0bx TXRXCFVXSPRSyYL6GDC1MRxMMDvjVf73lVIA8PY= X-Received: by 2002:a37:38b:: with SMTP id 133-v6mr25029036qkd.173.1539789076799; Wed, 17 Oct 2018 08:11:16 -0700 (PDT) MIME-Version: 1.0 References: <9ae1d1609a49d976ae7659157507018b0c846423.1539655732.git.ren_guo@c-sky.com> In-Reply-To: <9ae1d1609a49d976ae7659157507018b0c846423.1539655732.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Wed, 17 Oct 2018 17:11:00 +0200 Message-ID: Subject: Re: [PATCH V9 08/21] csky: Process management and Signal To: Guo Ren Cc: Andrew Morton , Daniel Lezcano , David Miller , gregkh , Christoph Hellwig , Marc Zyngier , Mark Rutland , Peter Zijlstra , Rob Herring , Thomas Gleixner , Linux Kernel Mailing List , linux-arch , DTML , Rob Herring , c-sky_gcc_upstream@c-sky.com 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 Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote: > > This patch adds files related to task_switch, sigcontext, signal, > fpu context switch. > > Signed-off-by: Guo Ren > Cc: Arnd Bergmann > --- > Changelog: > - abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code. > Use FPE_FLTUNK instead. > - abiv2/fpu.c: Use force_sig_fault instead. I'm hesitant to provide a Reviewed-by: tag for this one, as I don't understand the signal handling enough myself, and it's something that should be reviewed properly because of the ABI implications. Maybe someone else can have a closer look at this? Arnd