Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1559954ybl; Wed, 14 Aug 2019 19:57:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkptX4E5YJrD9XU8oEPeFPvyAmAIFFap52c4OFudkkEb0n+h/7y/ZhQF3Xaq3709upSjS/ X-Received: by 2002:a17:902:145:: with SMTP id 63mr2434825plb.55.1565837853241; Wed, 14 Aug 2019 19:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565837853; cv=none; d=google.com; s=arc-20160816; b=jI5WrqeXvmsIMqYrwE5hepYTNTS7gijpD1CC3MuHhrqNVSAYehj21S4z5SxcjQQr8Y zjXHtISI5qnTtYQPhFjawUERUoJBHccAAyqLbhnCXXvcrvF9R4QJNGiAQ/NzVtRm9DeR aVgZEClorScvk+6p5aS6wQbugrK46p+AOuGS4MOnaR3E69iQTKb6ch7JacZhDSdSJJeq EgYmWZ+iftgboZytDt5XcPb9HLyVQpcua4DXQl9fw8o0CPxe/+zOmqj4sLTYHsQZmChi dKaZh6dfwd54NkUdVQozPyaF7pChqjV8lRPqjkQ3vQoA4g5nfLgpIKV/GhPtQfA5dqdh xZqQ== 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:dkim-signature; bh=hdb0nH13oEr6nRIXzGT4/+HAUBVeTsgqLpq+7aKP03Y=; b=D4K1aNH4d4TvwG9jVI0/JN85EqqOqbllEERV8BZYkP1MXHDOnA4d+WNSjqAeGPkjch 5XJxm9nyaQ/1jgMShmUPNyNbdNAlIQqixJUjJnBvJ70EcrOx1o+bmTe2j6eraeOcvBbP IP86stGpdCHY40swJGHRlaxCQR3hicIUsQTQttXvmwvpfEx+CVaMytbrLDrv+c3xOgoY +xa4DLnZ/k7sSJfjzp5kWRDl3jquVdP7HZM/XsfCbMpAQZq/0pmNDcFH6MQf3AGqDxFw mc6f6vEemu7f2E9Z9l6gAlEXjsEEOUHzK8LOwAycUyr0Cu2EDTk2IOlacqsZETi7lmce B8jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=WAY8orSq; 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 i2si1003891pfb.206.2019.08.14.19.57.17; Wed, 14 Aug 2019 19:57:33 -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=pass header.i=@sifive.com header.s=google header.b=WAY8orSq; 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 S1728233AbfHOCxu (ORCPT + 99 others); Wed, 14 Aug 2019 22:53:50 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37445 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726865AbfHOCxt (ORCPT ); Wed, 14 Aug 2019 22:53:49 -0400 Received: by mail-ot1-f67.google.com with SMTP id f17so3010529otq.4 for ; Wed, 14 Aug 2019 19:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hdb0nH13oEr6nRIXzGT4/+HAUBVeTsgqLpq+7aKP03Y=; b=WAY8orSqrakMS/XtmJpC2hS3YEV9zeu+kWvcto/2HdUAbGMKfH8/Ea81r2vzPlglB0 HVVTUM/mMunfKiuGsu9W/C7CcdEUhiMiOv3aGIvO7VjNz5HeeRFDI5JGhxHjcapluMeS SbMADSrANmNhcedz/64VntyqWFL1nKrRHTEmY5BNQxA1GappLw1sVV9zjBefCn8s9uqd E/WC0mhGDjAxQ9LhVXY1k50D9/urECCnfGgHb6/EoDnj4nzrNueTPQQCg7z0Ao2kuScv REFKuuRP7jdohRgqAm8hgg2+biS+kdVEr+idLx/TvaYe6LxPr2+eBde1SClOh6Z/37k0 z2Fg== 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=hdb0nH13oEr6nRIXzGT4/+HAUBVeTsgqLpq+7aKP03Y=; b=WyjYKSZmRehJiavNgF6dS35Gc8BLnlkana2HAcG2/d/cFf8Tg8/dMM0iBBRfLH7VVs j0+1EaVXGjg9Scy4h6ONOMzMvT5dJW36bi2g+R6jrX+LPcTXpTVT2CfFKpa46ELRU7W+ zKUlbRTuSiLUIODLUhGcUqy4SDxjESJy4KHaGbvH3jNTANEDchNeF8VcKMPPU2gzXglk QaP/UAhjBls3PHE7fL58wLBfWdw/CxX2S8pPuCFZwEqW5zhB0tBaHDvdbzuzjT7r+kAi 1jA3Oe/iojKELqyFzsSjSfBTuzy5i9NWzoSI+M6A2+5Yun/Vye7LztlCp57pX98xMmyZ 8PwA== X-Gm-Message-State: APjAAAUNfLT4Wj2wdimlT//WBqaCF3SBzlpf+GDFhT5QftAN2LmYWkYn USRVcAnBZjs5CiqxouxYdUhRayEX4B63FvIwCY0sgw== X-Received: by 2002:a05:6602:219a:: with SMTP id b26mr2811877iob.55.1565837628423; Wed, 14 Aug 2019 19:53:48 -0700 (PDT) MIME-Version: 1.0 References: <87mugbv1ch.fsf@igel.home> In-Reply-To: <87mugbv1ch.fsf@igel.home> From: Vincent Chen Date: Thu, 15 Aug 2019 10:53:37 +0800 Message-ID: Subject: Re: [PATCH v2 2/2] riscv: Make __fstate_clean() work correctly. To: Andreas Schwab Cc: Palmer Dabbelt , Paul Walmsley , linux-riscv , "linux-kernel@vger.kernel.org List" 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 Thu, Aug 15, 2019 at 6:17 AM Andreas Schwab wrote: > > On Aug 14 2019, Palmer Dabbelt wrote: > > > On Wed, 14 Aug 2019 13:32:50 PDT (-0700), Paul Walmsley wrote: > >> On Wed, 14 Aug 2019, Vincent Chen wrote: > >> > >>> Make the __fstate_clean() function correctly set the > >>> state of sstatus.FS in pt_regs to SR_FS_CLEAN. > >>> > >>> Fixes: 7db91e5 ("RISC-V: Task implementation") > >>> Cc: linux-stable > >>> Signed-off-by: Vincent Chen > >>> Reviewed-by: Anup Patel > >>> Reviewed-by: Christoph Hellwig > >> > >> Thanks, I extended the "Fixes" commit ID to 12 digits, as is the usual > >> practice here, and have queued the following for v5.3-rc. > > Thank Paul for correcting my mistake. > > For reference, something like "git config core.abbrev=12" (or whatever you > > write to get this in your .gitconfig) > > > > https://github.com/palmer-dabbelt/home/blob/master/.gitconfig.in#L23 > > > > causes git to do the right thing. > > Actually, the right setting is core.abbrev=auto (or leaving it unset). > It lets git chose the appropriate length depending on the repository > contents. For the linux repository it will chose 13 right now. > > Andreas. > Thanks to Palmer and Andreas for sharing this useful information. > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."