Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3412501ybi; Mon, 10 Jun 2019 09:49:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJd7EQ6qexmV85FLoV0yUH6JjwrADKxULomGVp5yZajt5xT1KGRkxx5AkLoJ/fuyEdnOEf X-Received: by 2002:a65:530d:: with SMTP id m13mr16762787pgq.68.1560185399524; Mon, 10 Jun 2019 09:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560185399; cv=none; d=google.com; s=arc-20160816; b=JQ6bAEA8EGErMUBF5T0b1ZOfDcULfvmwQsmfcIRGX3YF5gMUQXcmTK8U00CFn7jHM7 8YfVXFcnSSMKc4o0HE9pzfU9u0d8EbdUdj/s4TcoYwL1A6S6CeL2vGNmPkt0XyLk9/2f DJUEAlhAtxQRs6l/L1sPYJSryiW7t34D0yBPiZUz5SdfyAwAaSxxdsGZbdRzFOSDkPPz Os2jyUMk2MNce5ZsU3Kw6qrIo1GZ1Uj1nzoeFE/g3WTgxjhjNkl38IHjmZt0kPCJW2FW Bl01edHo9NpoJfgKdJ6Ncx1pv+g/1qILICSmfCD6pnB2f5gBGCqZg+1gSjyITy/4lpXz nbXA== 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:date:subject:cc:to:from:dkim-signature; bh=j3h84NSaTkFu6Uv0SKats11wFiFF0h143HuYgUGuRqE=; b=PhjiyrWo8CgZPVwXoFrEJloWNclgLj6+amiArcSdFG75V4GeAFIhjTkYKWClXqCKin tFvrMtuLjBlnbwFtchR0SLrz75AgDUVzkCEx4nWhoC8wu3mCEmomsYOzC9vno2DYtSnA Oddl9G/RsUhpCgG6xqC0nvv2RPdlLhMiYvsfBNsLAZkzk0Qnv2VlrJDNIpTvFg4pJycb Jui4PItAIc20WTA/m3xso00mq3PLBS9gKAeS9SSN7aFfQ3MGHKJSghV0eDUO9BS5GYR2 0Y4wzp+DjoKKa3Z/5jxmJx4I5/JPlcg/e4a3XDuk24cNRq1YDgk6U3mFv4Y9qoochnC6 WU6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="I5P5/aH1"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si10283978plg.336.2019.06.10.09.49.44; Mon, 10 Jun 2019 09:49:59 -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=@gmail.com header.s=20161025 header.b="I5P5/aH1"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728255AbfFJQsW (ORCPT + 99 others); Mon, 10 Jun 2019 12:48:22 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33775 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbfFJQsV (ORCPT ); Mon, 10 Jun 2019 12:48:21 -0400 Received: by mail-ed1-f67.google.com with SMTP id h9so15442744edr.0; Mon, 10 Jun 2019 09:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j3h84NSaTkFu6Uv0SKats11wFiFF0h143HuYgUGuRqE=; b=I5P5/aH1ZEVMpLlREl6deIyYZL3L/UOc0GjF7sM6HE0KdE3gIsK+/GG93fOwgTxoxY TxXPKY6WxzlVG5zuQtNi5o2Cj+TyGRc4On5AMuORsB0VDQomI0scOoCYXz51hUL7bxhT KtgJ5KII3Tx5vcVxO7TDLfmYer6gHExdvGPcmc4eg+ZPKfzxSyY78ot0TBqm/fhLi5ND nI4NFjEgVIhMnKxj3V47h1U9+pwV2Bypis6TFVrgEF2iL9zqU4gqlZlmW+SP9qgEBmzD ciefdGbisQI4kuO1I6HwaDMtsdTyxYtEXqeEckOl+Mtk5N631IIL8UBSyqfWlVaKvkV6 s2QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j3h84NSaTkFu6Uv0SKats11wFiFF0h143HuYgUGuRqE=; b=K2Ut5xeodc4hIFOgn9G4y5HfErbup8pcuuXhIK5j/Ewot51NKdyVLRZsyX2AR/nVh9 W4DI0ZS30lbD3IFFcx6tTSk2gQBvTYao3TJ+TT9etDkn/3eP2MVz3ddiYRZhEfxL78MK v2ANGwkSP0qFVHxT7earDkexBVXczQ/PxyASsXGAPEkvc93i/HTTioNoXOGp+tmSRLVO jq22nGVlR9RWVNlisQpsfd+vQgAvNhNbNxxGII90xI7Rvd60lWZ/DAJ0fKx3mXn8iKPF Seye1nTrkSpdQYO7F+0GhOA8kUg4G+tLfz+cf1lhDeQxUkN0iB8Fxgnlv8rVKKP3lIuS X/Lw== X-Gm-Message-State: APjAAAW8do71GPQtLVEX5zsUy/GTP8aDHd7BhkU55+WfLSt9Mb36+0GE tK4uOr/iwyuL/vLNl+WRr3c= X-Received: by 2002:a50:972a:: with SMTP id c39mr39634199edb.46.1560185300056; Mon, 10 Jun 2019 09:48:20 -0700 (PDT) Received: from localhost.localdomain (ppp91-79-162-197.pppoe.mtu-net.ru. [91.79.162.197]) by smtp.gmail.com with ESMTPSA id a9sm3075799edc.44.2019.06.10.09.48.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 09:48:19 -0700 (PDT) From: Dmitry Osipenko To: Daniel Lezcano , Joseph Lo , Thierry Reding , Jonathan Hunter , Peter De Schrijver Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/6] Few more cleanups for tegra-timer Date: Mon, 10 Jun 2019 19:43:54 +0300 Message-Id: <20190610164400.11830-1-digetx@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This a followup to [0] that includes some more fixes and further prettifies the driver's code. [0] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=111529 Changelog: v2: Fixed a bug that was introduced by [0] in a newly added patch: "Restore timer rate on Tegra210". Fixed potential problem in regards to error handling in another new patch: "Restore base address before cleanup". Added new patch "Add verbose definition for 1MHz constant" as per Daniel's Lezcano recommendation. Fixed a code typo that was made in "Remove duplicated use of per_cpu_ptr" of v1. Dmitry Osipenko (6): clocksource/drivers/tegra: Restore timer rate on Tegra210 clocksource/drivers/tegra: Remove duplicated use of per_cpu_ptr clocksource/drivers/tegra: Set and use timer's period clocksource/drivers/tegra: Drop unneeded typecasting in one place clocksource/drivers/tegra: Add verbose definition for 1MHz constant clocksource/drivers/tegra: Restore base address before cleanup drivers/clocksource/timer-tegra.c | 59 +++++++++++++++++++------------ 1 file changed, 37 insertions(+), 22 deletions(-) -- 2.21.0