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 838DFC3271E for ; Mon, 8 Jul 2024 16:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Rp3R4cib1Zeaxm8jFtF9C6khZfb6CGKVgyOo5y3pEDw=; b=Ygx6hZju8zgzS18MQeTxA1N2TN 83Y2toD3p63KvDFWPZ2T0995wxzv6/2bbfvT27J++CcF7WdE+sqQZTSSncD/qrqEy98hbUuPzB8yz Sgxtf97EN76FiVxuYmvQOwDGWLsq3PjhSd2fIsWle7k0/xeB9uF1cDimcsD0B9+W8QWzO8jgbGjc1 NOzGWQSc8LWt75+DswOwEc7C5X9iH3y5LZXDw1fEQZ165jdsDryVeb6RMMRV+40q3iCfE4vvNEZK/ r2oPDej65S6My4u369iJStuTjhpsZQTAM5FTBUTz190Lyk6FxpGiEXfYCpBN5P03QrhhiyHp7gpdE aUg+DyQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQrYq-00000004UVb-1jCk; Mon, 08 Jul 2024 16:49:56 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQrYb-00000004USW-27TM for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2024 16:49:43 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4255fc43f1cso28145695e9.0 for ; Mon, 08 Jul 2024 09:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720457379; x=1721062179; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Rp3R4cib1Zeaxm8jFtF9C6khZfb6CGKVgyOo5y3pEDw=; b=KFYV91FrdgtcCgQt5/XlUJdC94RACMR6cBd9ZEW8slPqpC6wLKvDL/INRf2pSMvdJ+ ednskb0+UuctbcDjCBZanXxoo3LqhbTQOCmq1Q3TVsgDMd5K1vxXD3tjPK3/ymMOhFCp LhuxFL3SNiEawcRLUSgkSeYASH1J75wMhbOi9V8LK7I90Q8mVeS2R+9AGjG4PLYSYMOx fypoZnvkVBlpIDWQlIDHXcL+tYFR+Ho49bi8qkxRpKMl6SWiufcnRUUZozrPxzkTx9kH 5PN9bHvy9+bgPIy3hE2HIaCFSmECJ4Aq8NW7rxXZeBpecqt7x8ZULJiA8ImObg6OUuOu PA1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720457379; x=1721062179; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Rp3R4cib1Zeaxm8jFtF9C6khZfb6CGKVgyOo5y3pEDw=; b=gTD8wq2LdB0+aff7RSCT+4GePebptloYAgyHkSEi0/PCqqiOCGqIW6gJCXgQ5CPx1u ph4GM64ZNSwbDRzsv4yzopfHUdMk6osr1LH6j06yhBdt8V+tX0WDfnp9m6rI3bk7H2hk /pnUvPoxVV2abJ2UF1e8kZewCGFJ1qGNa8IGYnjzlPIyC2ss1AA0cJv586BiOZVzyZdT 67nz1KvFkMDq+NSCif7UGdyjr3guO1sCIBDzqmbvuAvL7KH3FqIj95LykXRzd1qSbbPz GNyJwBFSC9O03CHyDZbNCKEAEgh6um1+TQyPWqck/BtWK9VdQgWITptDzwBY7pe0ntBN HukA== X-Forwarded-Encrypted: i=1; AJvYcCUshll1eahA5O/3FCDBpRCNu9yMQuXR2O4zG47esd6PbIQJKFWOdnIaJAWFN68HBfs0/JpXgygX9mxJxl6im8nTH0VHFfQJjHil6+Alg4GFjLYpERM= X-Gm-Message-State: AOJu0Yz/DssS2C1cTNeOucdqhadfffS02rC63aL5clCHWnUJtqUczHbN LjQK40FTfVFBzk178lSaz189Mo0CSahMx/XkqE8tEzw1GqoCyARCB4753G4exko= X-Google-Smtp-Source: AGHT+IFKead1I13aWVfFHtBOYYoWJyJxwmMF203zfTMM0cnTLZDUD7Yzpi8BOWx2qpDlTcn/ijTd8Q== X-Received: by 2002:a05:600c:1587:b0:426:5e91:3920 with SMTP id 5b1f17b1804b1-426708f1df1mr1071645e9.29.1720457379381; Mon, 08 Jul 2024 09:49:39 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:cf24:cce:17df:12ab? ([2a05:6e02:1041:c10:cf24:cce:17df:12ab]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4266f7361b5sm5261415e9.29.2024.07.08.09.49.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jul 2024 09:49:39 -0700 (PDT) Message-ID: <2b946a68-dcdd-4a1e-b7c3-416725033c2e@linaro.org> Date: Mon, 8 Jul 2024 18:49:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] clocksource: sp804: Make user selectable To: Mark Brown , Thomas Gleixner , David Abdurachmanov Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ross Burton References: <20240529-arm64-vexpress-sp804-v2-1-c542a80af33a@kernel.org> Content-Language: en-US From: Daniel Lezcano In-Reply-To: <20240529-arm64-vexpress-sp804-v2-1-c542a80af33a@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_094941_567934_88997678 X-CRM114-Status: GOOD ( 15.14 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 29/05/2024 21:48, 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. Would it make sense to add the option in the platform so it selects the timer ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog