From patchwork Wed Feb 8 23:14:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9563755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7B6136020F for ; Wed, 8 Feb 2017 23:17:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 343302852B for ; Wed, 8 Feb 2017 23:17:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27D1328532; Wed, 8 Feb 2017 23:17:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CA9292852B for ; Wed, 8 Feb 2017 23:17:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cbbUh-0002fU-CP; Wed, 08 Feb 2017 23:17:47 +0000 Received: from mail-wr0-f171.google.com ([209.85.128.171]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbbUR-0002ED-GD for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 23:17:35 +0000 Received: by mail-wr0-f171.google.com with SMTP id i10so70740727wrb.0 for ; Wed, 08 Feb 2017 15:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tJ7TRU2LtuvGCXpLKN0Bf+47IyyP/3OihjWLv6sWUvM=; b=V5/GKGwWffFuGoFT8z/oTLmzrXd4QvzARFcxygFzIByb0aaXgopGczA0Erbd7ZZV+z 5NL4YCRGHoyTQdnvyaJ7VS+jX24f1ANbVbR2dmgHJK7YSMR61c90ow0SeDBRXx/eIzRv K/ipEch98isAPeS17/hf/WcmT3R4fqRmUCxfU= 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:in-reply-to :references; bh=tJ7TRU2LtuvGCXpLKN0Bf+47IyyP/3OihjWLv6sWUvM=; b=Uta0+JS244c+9/GnGPFSibyika4vGwP2C6FKxw7HMjoZFLwqLkrjB7wjWaRAu0Pp85 OWRxFC8A653tVMKaWzD4/ib1NSzBZUcCW1HOlzDgW6k/s+2+NOthE/p2RqNmlCf5O39P ez7o8HO16poGile4/U++ocjb35sl07/mCXkDvF1blZhsOTIFULzG2GW/lWe4iwjueAkS zd8l5FQ96Vbm+KjXjao7W2bJLUaNIlLwF1QBXzotkyOrTQp/FbbjliZfUiig86zseQlx 7UjzPN/VjoYSYzUl5cl7YMO5NlMIjLArJwKewRsWAz/bmQLGH2iKvxdz5jl+0q/QrHzK WE1g== X-Gm-Message-State: AMke39l77sIMfdob66ZEiZDUFHdNxOKUoaM6sq46xZl1I+cb7YJF6mu8ResQwAcGp2UGlCZ+ X-Received: by 10.223.162.153 with SMTP id s25mr17542wra.149.1486595769791; Wed, 08 Feb 2017 15:16:09 -0800 (PST) Received: from mai.lan ([2001:41d0:fe90:b800:3f16:bcf7:601c:a13b]) by smtp.gmail.com with ESMTPSA id u42sm15422821wrc.1.2017.02.08.15.16.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 15:16:09 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 08/10] clocksource/drivers/arm_arch_timer: Remove fsl-a008585 parameter Date: Thu, 9 Feb 2017 00:14:42 +0100 Message-Id: <1486595685-10232-8-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486595685-10232-1-git-send-email-daniel.lezcano@linaro.org> References: <20170208231208.GB12695@mai> <1486595685-10232-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170208_151731_841727_9B1F7AAE X-CRM114-Status: GOOD ( 14.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Jonathan Corbet , Marc Zyngier , Greg Kroah-Hartman , "Rafael J. Wysocki" , "open list:DOCUMENTATION" , open list , Ding Tianhong , Andrew Morton , Ingo Molnar , "moderated list:ARM ARCHITECTED TIMER DRIVER" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ding Tianhong Having a command line option to flip the errata handling for a particular erratum is a little bit unusual, and it's vastly superior to pass this in the DT. By common consensus, it's best to kill off the command line parameter. Signed-off-by: Ding Tianhong [Mark: split patch, reword commit message] Signed-off-by: Mark Rutland Acked-by: Daniel Lezcano Signed-off-by: Daniel Lezcano --- Documentation/admin-guide/kernel-parameters.txt | 9 --------- drivers/clocksource/arm_arch_timer.c | 14 -------------- 2 files changed, 23 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index be7c0d9..d8fc55a 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -549,15 +549,6 @@ loops can be debugged more effectively on production systems. - clocksource.arm_arch_timer.fsl-a008585= - [ARM64] - Format: - Enable/disable the workaround of Freescale/NXP - erratum A-008585. This can be useful for KVM - guests, if the guest device tree doesn't show the - erratum. If unspecified, the workaround is - enabled based on the device tree. - clearcpuid=BITNUM [X86] Disable CPUID feature X for the kernel. See arch/x86/include/asm/cpufeatures.h for the valid bit diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 4c8c3fb..6a9d031 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -101,20 +101,6 @@ EXPORT_SYMBOL_GPL(arch_timer_read_ool_enabled); static int fsl_a008585_enable = -1; -static int __init early_fsl_a008585_cfg(char *buf) -{ - int ret; - bool val; - - ret = strtobool(buf, &val); - if (ret) - return ret; - - fsl_a008585_enable = val; - return 0; -} -early_param("clocksource.arm_arch_timer.fsl-a008585", early_fsl_a008585_cfg); - u32 __fsl_a008585_read_cntp_tval_el0(void) { return __fsl_a008585_read_reg(cntp_tval_el0);