Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp886960lqp; Thu, 23 May 2024 03:06:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW49DxReqpDvj+i9ADKKE2riIW/xR9AA14paLvhwi5HG/uxCWrhs1fi7wkuRJqh8QUay/0HCeJH+5pOLeDWYPS2ftVPFnDDN1HW1/ECpg== X-Google-Smtp-Source: AGHT+IF4lT0JK4OQPbgPBCdbw934B6TaTbmLqvAXJAMljcoj7XVKp0CAnaSkvGLxgS6JTN+vosFn X-Received: by 2002:a17:906:b20a:b0:a59:be21:3587 with SMTP id a640c23a62f3a-a623e8cb4ccmr137133766b.8.1716458788146; Thu, 23 May 2024 03:06:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716458788; cv=pass; d=google.com; s=arc-20160816; b=O/rXBBqu5k9u33hNpYdswx5ivCRIDHOXOec/Iu+9J6LrWHDuqsETVfLqWP8LnDBdwx 7xTj7S+TicaFNXAZsK71HH229uIdA9YxetyU9Swcv9XAm+C5Ttz3iKRDYw2PRS7ukKUq UzrqysZcrTUAM9gB9hOMOGgxqJvrQkngqdP4u+nFwQ9EpWSAfjZv247a0/LAsEDz+D6U o9LV/1ntP+LS/6dLyR25aT83HoOZF4SjchRGEzK/sEpV20IpBko50yg4+qzSKH6Ajh3E CGwGmuMlLGOYitxNlYaGQ8bpJ3eiEFQPAcpwJuZvtfKqalSL17v5hZocmLJwWXgtKWLX ZFkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=h67y6+n7bJIEzjl67y5y2I4ijrd6NMflQoHQtaOKWVw=; fh=pzBsS5N/po5yRthjs099QcCJjgXpKDJnsu5kydxJebM=; b=lk9xoI+5zliMpQrubw4CJS7F6EAN/AftsLwfXLayhz4ZQjJjAhk1k9lIh4pRRTiDOP xnBCm4fqf2uFsUkmxjsaNAVoJdMFTpE6w7YmGo8N5+AL9Weh1pDqScSO7DuM7QNZhquN 8PkSYhLAJpRKvsrH5QlXnyHYUwU2dYYzKekVua1kqElW6CG8gQr9CXlushweZDhrK7fd wq8r5luiEKEYFy6mc0Zm6wX1G7bU0FDwrV+56gYtDjXYbBX78ApBz/AfzoWkPLSv31+r +eGtWEq0k/lPXFF4/HXkrRp0FXMoRXvlzSqBjxc8OAdsRIE46fXYi85h1fIATyORW3qB LQog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-187307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5ce1e2a87asi853126766b.688.2024.05.23.03.06.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 03:06:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-187307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D95521F2166E for ; Thu, 23 May 2024 10:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63EFA13DBA0; Thu, 23 May 2024 10:06:19 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFEFF54FA9 for ; Thu, 23 May 2024 10:06:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716458778; cv=none; b=iBfLz0xBqetBThVfqMnNdJMpm3Samgw9pfSj3ipEPCzDf3PIVb/S1AYkR59CrNXvbb5u6JshVghvFnu9LxrT61iwlYJXp77Q/O8K68alO7ha6r37DozzIP0dhwQsCZuXcQzoAJGarea4sAp2xUCa9Y24x3WqQHYrfueEeJK6aUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716458778; c=relaxed/simple; bh=01ooiBngkExdL4vCJt12BGebosjA5sPO8bjgk9iOBQM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e8Y9xaRfWI0FAY3emaE84RA6dY9Faq/cYR7Oz+8hhvw7Z25BHy2Sk88wh19LKC/2STA7//OPe8wkyotYKImF11RdWUvPoh/vMjVHTOkoV+mAAOc3Ut2dlYOjPT6R8pL6ukXrg3nsLt5mBOQgm3Z/kM9/fSm1qln17DaRhr7TDEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240522-arm64-vexpress-sp804-v1-1-0344cd42eb77@kernel.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