Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1210320pxb; Wed, 6 Apr 2022 11:24:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUVU9jEeWjbTob2mPz6otMXHLIZ7taw7SU3caZL35ZFBQjLP4AVXq3ogb5Y9KjL4EKrmnO X-Received: by 2002:a17:903:2309:b0:156:137b:8ba5 with SMTP id d9-20020a170903230900b00156137b8ba5mr10370307plh.84.1649269464068; Wed, 06 Apr 2022 11:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649269464; cv=none; d=google.com; s=arc-20160816; b=TzyVpi7g9jYSuVhxUHUeh4OuvCnBBFVkZDwP5CeqKQNeB0sf3HDUh5BQ1GqRxEZ4bk DocMkjGoTfkql+PjTgOT3lIE7EepWaOK7Ly5mWTlNYVG3KyxOucc5ID2ua/44Me1SY3J 9oTA0qMNsIp/X/HfiplzCcYPMigOvng3yhMiYCMag9DZ4bit7BHfuxQkJlt4OSC8GiRK JM7ccd3qJe62NtfxmemE3hCXIuhw/eosqhNM84ktA9ofpDfKNgAtRveG97C6mgqkAzf+ Jbxp70aUm3mdfNjptEXfCUv8A09AyWQnCTp5sfwSWwvn1lDS/SpcDelEvrpHZljAngxu ZHfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jabTUI6Q20O2kTgLEiqu4MHcuhSf1BRCtWUToBXTN2U=; b=vLRegnpmMCMzg2KbG7jyu3rHUEwFHD0pUPOcj2QH7OTvdl66B+rOYqZHPOjfrTzRPp a2yQaEQq70dp5wT18qpDdu6l1EfDI+I1J/5ZvGmnFeO5rsuT/MHi/chvFk2a3x0NR9y3 TcUONGzHpKaZOmmsKk61A5ESKhQyCcmNY6zNJJhwlPN7LXiW4bh3rvPhP6uGUhRc/RHL Fvcz1MmFAz73EnmDwVgVuNrmaev+ZnPlVZv0Sp4HTlBN92sc/28H/2p9FN9U5Yu89QLJ 5McQoKbt/OZvkCbyCnkIYLmLIT70a91NoFqcELWNUa00JSTpMXbzLCxlaoC/oK4vq1HP hYdg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c10-20020a170903234a00b00153b2d1645asi17287953plh.98.2022.04.06.11.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 11:24:24 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E236E14D78D; Wed, 6 Apr 2022 11:07:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240169AbiDFSJC (ORCPT + 99 others); Wed, 6 Apr 2022 14:09:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240410AbiDFSHw (ORCPT ); Wed, 6 Apr 2022 14:07:52 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 44947188579; Wed, 6 Apr 2022 09:46:13 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29DE723A; Wed, 6 Apr 2022 09:46:13 -0700 (PDT) Received: from eglon.cambridge.arm.com (eglon.cambridge.arm.com [10.1.196.218]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7CC413F73B; Wed, 6 Apr 2022 09:46:12 -0700 (PDT) From: James Morse To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: James Morse , Catalin Marinas Subject: [stable:PATCH v4.9.309 12/43] clocksource/drivers/arm_arch_timer: Remove fsl-a008585 parameter Date: Wed, 6 Apr 2022 17:45:15 +0100 Message-Id: <20220406164546.1888528-12-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220406164546.1888528-1-james.morse@arm.com> References: <0220406164217.1888053-1-james.morse@arm.com> <20220406164546.1888528-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ding Tianhong commit 5444ea6a7f46276876e94ecf8d44615af1ef22f7 upstream. 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 Signed-off-by: James Morse --- Documentation/kernel-parameters.txt | 9 --------- drivers/clocksource/arm_arch_timer.c | 14 -------------- 2 files changed, 23 deletions(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 6c0957c67d20..f2b10986ab88 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -751,15 +751,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted. 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 5d7f83d27093..c2a5e8252cd7 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); -- 2.30.2