Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1534609ybl; Wed, 14 Aug 2019 19:21:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6j5Hxf3VUhcXdRU2ETutAxFHKXV01HwsnBRYz1zVPqh35dmmQvvW7r6q9tR9Uy4MU5eVt X-Received: by 2002:a17:90a:2047:: with SMTP id n65mr173218pjc.5.1565835705362; Wed, 14 Aug 2019 19:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565835705; cv=none; d=google.com; s=arc-20160816; b=n2uO6tcYwdSdDYk7ZT6+abrdNlTdTR6y3+QTY2gnnLX5LRFhvNapKz7mMg4awntdqZ GO3e3yFSqNtZzBtZuiMZhqrWtexBkVR3m1lipEjOAJ2Nq2gEObertTMACWdrkSD7qQd/ sG0cRDSwoW6JIX/d3GQcK9eWFpKGSJD9nQ0UPG1jU7BEXlqE4W45c6/1Re7aj/Zgt6Sv F9pXMGnSK4upZG4ee8INApxRUDI+nKQPNQEz91ew9Dcbmw/BzwgLsnv+d/Y+qa4xnEdD 5ozoec8rBia6iniHJjGcy0KkzgK+RifaXWwwNnFcyXpl+1E2+emZPVS82zPuXb5sm931 HY5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=B+urqSWm85wzvKtnrzAL/ED40jwSYxyNjNBdxhrRvuU=; b=KI4iHdnQ09SrfTFAWm2gaUE3mzU12teektJpeenhFZRWVL5NPFIJLJOk/UYU4Df4pG dXX21ryf+ua/iXxC+2EgQxQrKK8aZ96j7kV/BW1UeFcZw+i9gYChbc1uNpAo7gFSgAOH ruarbuzmuWVJFh8VSgkotEmHJ28e+RcGFxfmL7xC6WCnZhI1OPTfIWwSswH1CPRbjZpc vOegS4vKhGM5pIrqGjQ+ypEhpyClFqWB+p+ReXNqMYGipxiKNJrDOl1dMaHwDqcZU/qv ywNj9BDyy2PfMNjKat8X9h3wsEb2WDuRE7sfY6LBg5rIsQREGQA0wQULmKNvw2ccupI6 CkAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=k0n8568w; 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 y10si79310pjy.34.2019.08.14.19.21.29; Wed, 14 Aug 2019 19:21:45 -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=k0n8568w; 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 S1728758AbfHOBxN (ORCPT + 99 others); Wed, 14 Aug 2019 21:53:13 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:45139 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbfHOBxN (ORCPT ); Wed, 14 Aug 2019 21:53:13 -0400 Received: by mail-pg1-f196.google.com with SMTP id o13so548803pgp.12 for ; Wed, 14 Aug 2019 18:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=B+urqSWm85wzvKtnrzAL/ED40jwSYxyNjNBdxhrRvuU=; b=k0n8568wNHHsx6zXvAubvU8j+UJLpdwV3DXPjhBjHWiytO90eILwvNbmMyhHXPvvFh OmQRZw4zukae4HtVxY8cxBgO55bggVvef2Bmci6q+mRJn7GGHoWlhcA85DFwziG6hSom jd9nTZqqPAiI2dNUWoyDdDWXoRt+M5UuLrLedkgh9vJ7/NCAaPE7PVaUNQhQ07CXhWPX OXBnh7s9ZiG+CFkFPzUd+zlaKrTTtmkLznfpe1kjOGy5yuNKyXCvus0rU0aNddN2Rdgn 1HpqOysxM8ZTMBz3CBELPSDLWAXHgfRsU0oggWry1iThcBbfLvZASjqxukZoZsF5IOBJ zg/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=B+urqSWm85wzvKtnrzAL/ED40jwSYxyNjNBdxhrRvuU=; b=auNhg/j5TFhtpnw18eRxo8PrwjRX2Kucnpb4NQQKdOTU0rmssvk29wFSCuqGISZPma ocyZU45yKm43TRE5YUtbiUIRZ6MYva1VpK6wM8pj7OP35eAeiTvB7tNWPyhTe/Sho5sM XWl/mdmlqWzGI29qXSJw0+CoznQxAGGNnZcRNRoPT+0RBno08BvxzZLnggjJvaIL6I4G LTwN5YFpNEEbSnjWHLDsGryGq8Wvpt9zQvHqM/L+O3FAkYLb8jiKUYbQ+hfi6pcEtDb1 HEGGQ1rF6mWj7Yj14rKmoduImhOjR+/Yiwt2t9pvWct8SOqIDSmzMsk6Z87W6URstYcl IQWw== X-Gm-Message-State: APjAAAULMWv6DjlCYqhKNvBAyOtBGeNtXXmrXrSVCHGuqigWMQ8LiuLJ vt05e5sGW/KtwW+8LrbG15FUuw== X-Received: by 2002:a62:76d5:: with SMTP id r204mr2959889pfc.252.1565833992329; Wed, 14 Aug 2019 18:53:12 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id 64sm1187819pfe.128.2019.08.14.18.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 18:53:11 -0700 (PDT) Date: Wed, 14 Aug 2019 18:53:11 -0700 (PDT) X-Google-Original-Date: Wed, 14 Aug 2019 18:49:57 PDT (-0700) Subject: Re: [PATCH v2 2/2] riscv: Make __fstate_clean() work correctly. In-Reply-To: <87mugbv1ch.fsf@igel.home> CC: Paul Walmsley , vincent.chen@sifive.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: schwab@linux-m68k.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Aug 2019 15:17:18 PDT (-0700), schwab@linux-m68k.org 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. Awesome, thanks! I've updated my config :)