From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D16B6C25B79 for ; Thu, 23 May 2024 10:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/e2S+oVmZMoe7mWYVBkNEa2rxMv4PPlNOKBCHJfI0YY=; b=RW8ssHLttIlPJb j1wWjzvihKwCvDz4KpOeiLthLdiW3KLUUZ88k6Q2Kz7UK5GCf+008tIFCHFtTsRy1kG/52jdYrCPO 0RWAjWTKFk94FffSY7+n6Wh0GpKsFdtq03I9X7Q2zJ2CJe89rYUYZRts9BIjCzVsmS2P2RP9aC0lb UJ2AAT9tEqCJLXYLYqFSC44ycHD1Yf8EVvElhJjWS0SvlNEKlhTEz2uq1gjwRt3taDViDD2hp8bop Fu4Jz5RH5nRSXxzpLNC0tnpxr5U+AyFTgkFOwSLXYvKKEmwQVUnskI0xyXLQKMQJSAEWeY5fXy6TZ FoymO7pOHeaNF/69glbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA5L4-00000005oT9-19fc; Thu, 23 May 2024 10:06:22 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA5L1-00000005oQM-1pus for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 10:06:20 +0000 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 41DDC2F4; Thu, 23 May 2024 03:06:40 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3C6CD3F766; Thu, 23 May 2024 03:06:15 -0700 (PDT) Date: Thu, 23 May 2024 11:06:12 +0100 From: Sudeep Holla To: Mark Brown Cc: Daniel Lezcano , Thomas Gleixner , David Abdurachmanov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ross Burton Subject: Re: [PATCH] clocksource: sp804: Make user selectable Message-ID: References: <20240522-arm64-vexpress-sp804-v1-1-0344cd42eb77@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240522-arm64-vexpress-sp804-v1-1-0344cd42eb77@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_030619_539246_AA26EE0C X-CRM114-Status: GOOD ( 13.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 22, 2024 at 06:44:41PM +0100, Mark Brown wrote: > The sp804 is currently only user selectable if COMPILE_TEST, this was > done by commit dfc82faad725 ("clocksource/drivers/sp804: Add > COMPILE_TEST to CONFIG_ARM_TIMER_SP804") in order to avoid it being > spuriously offered on platforms that won't have the hardware since it's > generally only seen on Arm based platforms. This config is overly > restrictive, while platforms that rely on the SP804 do select it in > their Kconfig there are others such as the Arm fast models which have a > SP804 available but currently unused by Linux. Relax the dependency to > allow it to be user selectable on arm and arm64 to avoid surprises and > in case someone comes up with a use for extra timer hardware. > > Fixes: dfc82faad725 ("clocksource/drivers/sp804: Add COMPILE_TEST to CONFIG_ARM_TIMER_SP804") > Reported-by: Ross Burton Thanks for the quick fix Mark! Reviewed-by: Sudeep Holla -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel