Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp718730lqt; Tue, 19 Mar 2024 01:19:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFobFhZRJhxDxOuGE07kczGslxyHyIrT3m3JwP51mNlhDuZ95fRI/ki2MmXSGtQUkUQ9NlYyNKNkmVcZhQIe5HeuESqdxwff9h3keUgQ== X-Google-Smtp-Source: AGHT+IEt6D5QK7kUdksgx1fNKmXFoEkHYJ1dUnxn/FX+6+EVh2Gy+gEYM2J26yDDLC9W7WFgyIh4 X-Received: by 2002:a17:906:d7a6:b0:a45:270e:3617 with SMTP id pk6-20020a170906d7a600b00a45270e3617mr1032005ejb.27.1710836360092; Tue, 19 Mar 2024 01:19:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710836360; cv=pass; d=google.com; s=arc-20160816; b=sXqP2VGJAvBe4MpX09WYjC/H0cg2vDI6wOwhSuCTfUfL3R7nrHBS6rsnGJD2vzuV2o av95YSMqGh3/o9X7e6LifT8kpfxSmKjaOmYV09JuSHf/EurUMI26m5avFbx+Px52yxsA AKI0sXI1kNgLTFhAaFbL07FS5Tb+l9lQyMzzui0BmhXcXPV0vASOLFpKwUGKJex8aaYh dvrTovEfyWXmKkDpBgUzTHWxn7p8c4ooeKLvRimv7198l32YaNFR02tKE7P10PTzyioz h0rUwFthJeVVE9lGWwvkrl2pT5t/ee8+yIIcZ2QlcNND0YmsQm+NWFMKZfsDc+rc0k9h oA2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NxxKnRwuh+mpwvklSsYkmBH371/y3cm06D8PcdqLUUo=; fh=4ofAFz1u9VpJeEiGl8gDmkrY9QBJlfmyT1/LjElVJ+o=; b=gVQoyXg41DdY/h2S8mzGMJq4Q461R4nHpddBvoPp4G//QiVvfZUkv7O8CPkOFMyLAv aPef5XDSD66CCI6NT+ROGSixGi9pHnLaxBxngiBP6FhwxT8qMaXeT6u4B37L3QRQe4Oh 14R+iiGpqVTI0CaqR5jgPXSKz2tQ3rlCrYf0MpsInhe6Y2TawtHxAZyQRnsTYJIaXoPK Cn5ZkqrWZexSCDY48MOY68CR1O+VWz9ofi323PnRSJzG57xNN0Q6cVRlLzxgkuwvdnZk 43DvbZdznOy9NLJxbsHJwm2cwshxl5wtZwwla2kdH2u2eGrsqywcu0NGrp22hTJ/JPMy y88A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vwp5CQdn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-107216-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gl12-20020a170906e0cc00b00a46baa64a43si2004370ejb.815.2024.03.19.01.19.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 01:19:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107216-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vwp5CQdn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-107216-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D0DB31F21ED8 for ; Tue, 19 Mar 2024 08:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A4F654646; Tue, 19 Mar 2024 08:19:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vwp5CQdn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6622354773; Tue, 19 Mar 2024 08:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710836350; cv=none; b=Ey9olF5OBYOoFvoS8ttaKHuBKwwflyjEmmr4+TT8f4QKwSrcT+CkNnnaMY1UwI31cONoH2xpT8QxgWR596v66adpqUgVS6tntBN67VbRxLP3P4KsSja4Jwrwq+GMt5eYQI9sYXyc5/rsk8ex94oqIS22FRoPTqi2y1k2Cd9sP/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710836350; c=relaxed/simple; bh=3SfmKfgUNOAfWCL6jKlcEf4C3YVN39oYJGMEMbuonRo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UzUxnQxCrogh1tzepPOGfeyvBb81yGW7Z/noVc5c0clnLWApVQHrggvqrVTTZ4HVb61Zh+eVioIGBaUmHUjYPLaG+G3Lejh+mjP4IYa5OzjV4zfFSQGqlC+XcM1Tt786cS9fGcco8NeSFiiyIjhPaw0io4uQw/P/nU8VaWAYo0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Vwp5CQdn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C54FEC433F1; Tue, 19 Mar 2024 08:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710836350; bh=3SfmKfgUNOAfWCL6jKlcEf4C3YVN39oYJGMEMbuonRo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vwp5CQdn0MIt9yrPHEn/qNqGQhxuevwB8kuKHo0hf5vB9zBbeR1dBbvQFfba3D5ms qldO+kjEhp2TzRHDvFXQxfDUVX3+2MfeNT9p12orWYvhYGqXGvxZgac4oTTlaos32r Y2lt0/aPq4w0UKk0cdENv5BA6aZ9TZ8CxBTQ7QVBYhj8rZ+nEnqRMr3WY9xT1vwkBD 8Bml0CbA/0KVQw7dlNSF0IjGdYFiEqP0yk8ddXTy0OgmBuCxqXrBYPnXwQEhCIRRDU DCO4pwCfa8Wq5NILweaQshURhPwib4yxlUOaU/+kGrMm20KDt7ZfNc9wSsvZNdt7UK ixNOpk2nFNMhg== Date: Tue, 19 Mar 2024 08:19:04 +0000 From: Conor Dooley To: Ziv Xu Cc: Daniel Lezcano , Thomas Gleixner , Emil Renner Berthing , Christophe JAILLET , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Walker Chen , Xingyu Wu , linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 2/3] clocksource: Add JH7110 timer driver Message-ID: <20240319-vivacious-anointer-cf790d8852c1@spud> References: <20240318030649.10413-1-ziv.xu@starfivetech.com> <20240318030649.10413-3-ziv.xu@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YezK/PMoxPe85t3w" Content-Disposition: inline In-Reply-To: <20240318030649.10413-3-ziv.xu@starfivetech.com> --YezK/PMoxPe85t3w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 18, 2024 at 11:06:48AM +0800, Ziv Xu wrote: > +static int jh7110_timer_start(struct jh7110_clkevt *clkevt) > +{ > + int ret; > + > + /* Disable and clear interrupt first */ > + writel(JH7110_TIMER_INT_DIS, clkevt->base + JH7110_TIMER_INT_MASK); > + ret = jh7110_timer_int_clear(clkevt); The return value here is not checked/used. > + writel(JH7110_TIMER_INT_ENA, clkevt->base + JH7110_TIMER_INT_MASK); > + writel(JH7110_TIMER_ENA, clkevt->base + JH7110_TIMER_ENABLE); > + > + return 0; > +} --YezK/PMoxPe85t3w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZflKeAAKCRB4tDGHoIJi 0iiAAP9eFKT0Wvg9p6zbDBpV0eN1dqOCx6nUB2Ukf5DY1ap3LQEA5MjriVvzPk0/ gnnyHqu05K8r0itRDk0eHc7kHO+3mws= =dyH+ -----END PGP SIGNATURE----- --YezK/PMoxPe85t3w--