Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4384833ybi; Mon, 15 Jul 2019 08:09:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqziTRv+fStHA82lfZEyWqNQEPrfBrywUy2gue+rWUtgCPEKbCJ79ktBKqrQO7kGGR6NfCnv X-Received: by 2002:a17:902:296a:: with SMTP id g97mr28423093plb.115.1563203380134; Mon, 15 Jul 2019 08:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563203380; cv=none; d=google.com; s=arc-20160816; b=nRrXrDep9RGiuj//NUCkVbsrLUri3fmMzJTVQ1rzDjTKGvyjc/UlUQLEtBmccRPDMz demWV4L//RNUfAUTMe2XOC1SBvwAuZy7APe6p+B6d3rb5UYNunsXVhFbTQ+dd3PbVWx5 3AiSh2xEUOFzIjDReve8yKuEElE6zB2k8k728kX/zVExIeCHXeXQr1zNcUv3116XMdB+ tBH9k9Dbf6z5iN5s60TP6d4TBKdBqQ9LjcvHVFHUE7qWGoRuu32/u+RTufmjIFYD8Vmj E0k9qXWziLnkBgp9oTK16+pc4bO/W25hcd7Gppf1PNu8IYYFO91SHQ1Cj4EFXyjgWf1l Hu0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=v7PCxy6We2cGxL31YKoUlYXvDz1i1j0T5Uo0KdbRPhw=; b=lCEywjAgl1jMGUTmfBkdMre10y9ZtHJhnPChhLNJZcHYyHtZOToZSrn1ajlvYdsFgM tlinfbF9tpRCL28vKEr4lIFxROEuxXo7BENinTXySdVKC56rAzDJy/4P0cL1LRjMjjmP CjeEsPRGbURGX3F0z0GkA4OWOt8PpmDRbO9XC26tIr0JW+NwyQ+XQCR4MhATWKFQsM6V KToLXaJXbFp9RqgA+beqB6OyyroqcjLiA4XSw8zMbn+/Xl1DnUekWy7r5rLLy4aoiP9O cvpv6fE10TFB14H0cSWqB6WsF1jtCELnImMEQSLlImnOIQQCH0jwcQdXnQJk9K5sUUmf qkwA== 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 v184si16037779pgd.278.2019.07.15.08.09.23; Mon, 15 Jul 2019 08:09:40 -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 S1731172AbfGOPIR (ORCPT + 99 others); Mon, 15 Jul 2019 11:08:17 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48165 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733095AbfGOPIP (ORCPT ); Mon, 15 Jul 2019 11:08:15 -0400 Received: from [5.158.153.52] (helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hn2aG-0006iR-Bm; Mon, 15 Jul 2019 17:08:08 +0200 Date: Mon, 15 Jul 2019 17:08:07 +0200 (CEST) From: Thomas Gleixner To: Avi Fishman cc: Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Daniel Lezcano , OpenBMC Maillist , Linux Kernel Mailing List Subject: Re: [PATCH] clocksource/drivers/npcm: fix GENMASK and timer operation In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avi, On Mon, 15 Jul 2019, Avi Fishman wrote: > On Mon, Jul 15, 2019 at 3:37 PM Thomas Gleixner wrote: > > 9bdd7bb3a844 ("clocksource/drivers/npcm: Fix misuse of GENMASK macro") > > The automatic fix changed from > GENMASK(3, 27) to > GENMASK(27, 3) > I reviewd again the code to check how it worked so far and saw that it > should have been > GENMASK(28, 27) - this is a different value than 9bdd7bb3a844 > For our fortune this wrong value didn't effect the our final write to > the register. > But still this should be fixed. Fair enough. Please explain it proper in the changelog. Thanks, tglx