mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Baolin Wang <baolin.wang@linux.alibaba.com>
To: Enlin Mu <enlin.mu@outlook.com>,
	daniel.lezcano@linaro.org, tglx@linutronix.de,
	orsonzhai@gmail.com, zhang.lyra@gmail.com,
	linux-kernel@vger.kernel.org, enlin.mu@unisoc.com,
	enlinmu@gmail.com
Cc: linux-hardening@vger.kernel.org
Subject: Re: [PATCH] clocksource/drivers/timer-sprd: Select driver on ARM and ARM64
Date: Thu, 19 Sep 2024 15:51:46 +0800	[thread overview]
Message-ID: <6a689c83-24de-4d3c-afc1-107439f66130@linux.alibaba.com> (raw)
In-Reply-To: <TYSPR04MB70840448562705C21BA8DCCF8A632@TYSPR04MB7084.apcprd04.prod.outlook.com>



On 2024/9/19 15:25, Enlin Mu wrote:
> From: Enlin Mu <enlin.mu@unisoc.com>
> 
> sprd timer is currently available on ARM and ARM64 based devices.
> Thus select it for ARM and ARM64
> 
> Signed-off-by: Enlin Mu <enlin.mu@unisoc.com>
> ---
>   drivers/clocksource/Kconfig | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 95dd4660b5b6..296c5f664583 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -494,8 +494,8 @@ config MTK_CPUX_TIMER
>   config SPRD_TIMER
>   	bool "Spreadtrum timer driver" if EXPERT
>   	depends on HAS_IOMEM
> -	depends on (ARCH_SPRD || COMPILE_TEST)
> -	default ARCH_SPRD
> +	depends on (ARM || ARM64 || COMPILE_TEST)

I don't understand, if this driver is available on ARM, why ARCH_SPRD is 
not enabled on ARM architecture?

> +	default y
>   	select TIMER_OF
>   	help
>   	  Enables support for the Spreadtrum timer driver.

  reply	other threads:[~2024-09-19  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-19  7:25 Enlin Mu
2024-09-19  7:51 ` Baolin Wang [this message]
2024-09-20  1:47   ` Chunyan Zhang
2024-09-20  7:00     ` Cixi Geng
2024-10-28 15:19 ` Daniel Lezcano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a689c83-24de-4d3c-afc1-107439f66130@linux.alibaba.com \
    --to=baolin.wang@linux.alibaba.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=enlin.mu@outlook.com \
    --cc=enlin.mu@unisoc.com \
    --cc=enlinmu@gmail.com \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=orsonzhai@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=zhang.lyra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®