Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2277738iof; Wed, 8 Jun 2022 01:12:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYoz6WlnFjBo+5+pNsXcnY72HtkrLa1Mopn3cS1mTvCjjWvkZOIX2+yHfyB9tMyS0N6q9d X-Received: by 2002:a17:902:b692:b0:14c:935b:2b03 with SMTP id c18-20020a170902b69200b0014c935b2b03mr32901942pls.81.1654675936909; Wed, 08 Jun 2022 01:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654675936; cv=none; d=google.com; s=arc-20160816; b=YwQGPS4nZ0j0hdSK9SER33LS/QkeGjQbT6kEjRSNK6jEeKD+Il2ZnqCnA7LdUs8yvM ZHwUAJh9LH7wJMvVQuVscGT+TQkwyQqWAaQQY+MdjipGA11FxQmu/yMd3xr6YYMWLXG3 52TaHgD5jgxy6glH3D6i5mDf4uD8rpT+U5mYngbNE5/NvywVIB33P23uLHERLsafTFsV mjJm39BERDCvFoI6hWZMFOsdIaYuwYPDMwErTHZ3FtW5gTGskS/ljQnb1j8Y2L3HPOxB fDLcUhOFv3JUPhoZH83B2ITvIH1VFRv/W5KIjois4T2BaIu0zYxRK/EF/KhgkK3vLhLR kHrg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0TLCL6i8vPNzCL8k2QTuteZJ+yvlLEEM2QyYBV4+S4o=; b=rMryR0m2hjplb5m2NFpuLt8FVzMUPnIrsQUmq85mtMlbj2F9XEGojPfD4EOZeIauIO W1oGU2DwG4eHLl1LcET3peBEQKvxlENx7nCO1pdp4/AsioTkMzFHxs+8eo95Iwyf71uF wDETYEd2pXZmiF22jSFCayWHge3OaQLcG6j0dKS9ny0rSS6wNVDsb7VEk6MaU9PYd+5M uDou9JAFHxsD+VFU6RfXur8Gj94cfUNtU3UOe7xPKO6zwMHlcJGa7vtMaHKX1wsvepXS nqnSWr+808ek8nJjG+9ivr14VBLD3gxkrVgU/gOcQB0im5wwxzntLsSlg5AAutWcpy/t co0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=atxyMfF1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m16-20020a056a00081000b00505fd3b3dcbsi30607077pfk.164.2022.06.08.01.12.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:12:16 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=atxyMfF1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD3DB322C2A; Wed, 8 Jun 2022 00:43:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389317AbiFHB2b (ORCPT + 99 others); Tue, 7 Jun 2022 21:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383937AbiFGVxx (ORCPT ); Tue, 7 Jun 2022 17:53:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD600247924; Tue, 7 Jun 2022 12:12:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7C4CB618D9; Tue, 7 Jun 2022 19:12:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85613C34115; Tue, 7 Jun 2022 19:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629127; bh=bYutRTyCZx340hOqd5JJwkoFAuQUP33ThESNoJBGSPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=atxyMfF1b9V0u3X8I/mpjD9O9v9bezDXm6LQPNfcdUjigPI007ZTvstvZmZeuXXmF B6IifIict6caBHw3D1vdYPhBV93hKv5tDFr+9EWd8R8OlFQfFf3RjYKBHY/0WGC0wd R/ZEqc6Pp5Q2FvE6a3X/YFZV4nZAAW1F1Nj4qCzQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chuanhong Guo , Matthias Brugger , Sasha Levin Subject: [PATCH 5.18 578/879] arm: mediatek: select arch timer for mt7629 Date: Tue, 7 Jun 2022 19:01:36 +0200 Message-Id: <20220607165019.631458487@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: Chuanhong Guo [ Upstream commit d66aea197d534e23d4989eb72fca9c0c114b97c9 ] This chip has an armv7 arch timer according to the dts. Select it in Kconfig to enforce the support for it. Otherwise the system time is just completely wrong if user forget to enable ARM_ARCH_TIMER in kernel config. Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code") Signed-off-by: Chuanhong Guo Link: https://lore.kernel.org/r/20220409091347.2473449-1-gch981213@gmail.com Signed-off-by: Matthias Brugger Signed-off-by: Sasha Levin --- arch/arm/mach-mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig index 9e0f592d87d8..35a3430c7942 100644 --- a/arch/arm/mach-mediatek/Kconfig +++ b/arch/arm/mach-mediatek/Kconfig @@ -30,6 +30,7 @@ config MACH_MT7623 config MACH_MT7629 bool "MediaTek MT7629 SoCs support" default ARCH_MEDIATEK + select HAVE_ARM_ARCH_TIMER config MACH_MT8127 bool "MediaTek MT8127 SoCs support" -- 2.35.1