Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp537793ybe; Wed, 11 Sep 2019 00:25:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDCerBreMht2SBT1U43enpSsoGSwl6fxL2iez3CBx+y4YFjPrMzEqYvKU5IW7gpjxHrHyT X-Received: by 2002:a17:906:5e09:: with SMTP id n9mr19416555eju.143.1568186722859; Wed, 11 Sep 2019 00:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568186722; cv=none; d=google.com; s=arc-20160816; b=palwqW+xXUTmhGcwIDUuQeD3wjr1NWY9A7GxB9OuGlmyvB7Bsqmz1iz0ebQ9S6kJ2Q MEjFZIBKsJe+01GWDhxkvgaOwpOdPTLDExlDUsPw6fUrBc8FJeJ8p+W6byUITPHwQbNb bgCJ3dRcWsHP6UK/fG4Fli49Da7ORJZf9v6ur9Ar0kOSuhtRZ32BCyewaGo0bbvrAL5T nT44QCDCsP6W8190ZuoweG2VCK+EfpfBjQJdDc06ibDubX3oysgcd3Mj1IUPMn7DE1y6 /1VXTqXWOJlKe7gA9hFzyGfSIapjLW+xkIhnSr6RaNC6zg1ogffiMk7MO2cqHRZLwJdV QpTQ== 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=RApwx5LDSAMD4iHD35F9JLH9Ye8FG1fZvq9Vj2OH05c=; b=fAExfpROW8rVbm4oG9yzJ7mnkOXDM8rX+wRR1SiqTzE7gzZOmhrMBzIa7SCNB3vwE/ QqGe/7X0j6JhSxBkOCm1x/QGLdwxyGMI//Vg0lT23VuZIF1QuRW34BFOOPi3Y4Bv7a5b CVybcHokbPS4j8m7eY59KTfVeEz412K2CPZUmK1ou17BM/WWyFZLFfScts2V4f5nFQm5 37kHphzJeLU4h/iZPzWyXPhIqagxrjbiGBrLlo/cL4eCUvCk7zsOB5WqELq26AF2plqe KGKbV4aL66e4fSABs+5ALmdWjr96/FNBMISbHYLVpjy46RbauFuvJWLUA54itwBCwMVG Akig== 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 c3si9430663edq.336.2019.09.11.00.24.59; Wed, 11 Sep 2019 00:25:22 -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 S1727173AbfIKHW4 (ORCPT + 99 others); Wed, 11 Sep 2019 03:22:56 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38841 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbfIKHWz (ORCPT ); Wed, 11 Sep 2019 03:22:55 -0400 Received: by mail-ot1-f68.google.com with SMTP id h17so17769346otn.5 for ; Wed, 11 Sep 2019 00:22:55 -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=RApwx5LDSAMD4iHD35F9JLH9Ye8FG1fZvq9Vj2OH05c=; b=cYEkrglDnJkgbSuHeKyIlMyCchR5ohwabVol4z7OaCfTpGLTYKC7ab7f9syjHr2mDE Hp59ysWqV0Sc59Zxtahg53bzq9Qsq6aiKKryH+Tnz2CTntFkaZqaYF06I+AN6zbwbV0l W/w40OOEhseD6t2xrZt6izwkP86qH9vJiw9s4zdQaOSptMBGlFiEdNcOkJ4a8SsVHODD qZfWZSDMipXLWJbodW7pBQXnF0ZIshXeYninM1vxzxsSwJayMxqMrdmI3kLV5EHF2QmY P/hOHpksSOi4fvkMi+E//y5u8+EeRduSQY3QQQAgTNaSIASznlf4DDywccziq7N4rSi9 +OkA== X-Gm-Message-State: APjAAAU5PEO46pJ/dABYb1Q4bfKFr9IBftLcHiZaVxs5qn+K/hlIkwzg GvotxPbUowG0CKMtmhAlztg2tsoIG6azmcT20yg= X-Received: by 2002:a9d:5a06:: with SMTP id v6mr8353187oth.250.1568186574782; Wed, 11 Sep 2019 00:22:54 -0700 (PDT) MIME-Version: 1.0 References: <87mugbv1ch.fsf@igel.home> In-Reply-To: <87mugbv1ch.fsf@igel.home> From: Geert Uytterhoeven Date: Wed, 11 Sep 2019 09:22:43 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] riscv: Make __fstate_clean() work correctly. To: Andreas Schwab Cc: Palmer Dabbelt , Paul Walmsley , vincent.chen@sifive.com, linux-riscv@lists.infradead.org, Linux Kernel Mailing 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 Hi Andreas, On Thu, Aug 15, 2019 at 12:37 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. > > > > 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. Does that depend on the git version? For me (git version 2.17.1), it still uses 12 when using the auto setting. Should we update Documentation/process/submitting-patches.rst to increase to e.g. 16 (which is what I've been using for quite a while)? When can we expect old 12 hexit references to start breaking? Thanks! 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