Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2166190iof; Tue, 7 Jun 2022 21:57:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/c3+hkOjc0tM0JU8PCta7Am4Z67lX+taETxWuQe2jfmHBFa7TCLqom5RdDhxbSrj2peRm X-Received: by 2002:a65:580f:0:b0:3fc:ffa7:9a66 with SMTP id g15-20020a65580f000000b003fcffa79a66mr24572785pgr.332.1654664237470; Tue, 07 Jun 2022 21:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664237; cv=none; d=google.com; s=arc-20160816; b=HRrPlfGfv04RDwovdvLlDNOzQow/nbydeE0NHt7Kov8ODjyYyG970dssi4PKaHwAlc rOgAwVJsz64jyqlDf4SgJADCHscen2EMFFOzozhIoPr0ZAcSK9OWAFoOPo+6hMFwfh5T wRLK9f9y0nCeVk1wRNbyToToPUwblv0XtqzcVZyjDZN5Sy30xw5vrBfSQTA4FUwd9zc+ 1HHlLV0OPK4LnfnxQrqtx+LCiA9ilKC53ygalzkqRnkLAxWtQwlCTc7Zvq0CVtr25mSL LYmoND713f99gA0/WS9bINzvhngzVqrucsurp9k7RK+PvVUNHm6U4ZKACJisLBa6b/yP MNhQ== 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=Qeqbs7u3AtbWcBVMTDC0efafjItZ/0TIuCnZZ4eY6XAiEuWQ9KpKy3D7vOLiq28zm6 K4H1n8ORmyTVwKAbPufXfBXm8VeNn2qRzhze/ZzZe+gztseEdFebD85xRM39RfWgB6Gr qCDc4nIQDV+00RXZv41d0TDys7YJut86G+C0VqXMMXcCSOIu2YZstBF/RDq7ybWX8uYd vfhvMrlniSdWn2BZX0Xf0/V6Jn/J2SQLCtcot+l1YOVMWWPGPwhf8FSt4nWOCUCFS9Pz nqmNwwPLG24nAa07kXvt78tXKF1Q98utzb97tL1llz4HkdBgCrdqwgqN76SkGqPqpsZ3 Xyuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sBquOTSO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 69-20020a621948000000b004fa843103dbsi23832920pfz.193.2022.06.07.21.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:57:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sBquOTSO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 7137A45E714; Tue, 7 Jun 2022 21:31:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233279AbiFGR52 (ORCPT + 99 others); Tue, 7 Jun 2022 13:57:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347729AbiFGRfp (ORCPT ); Tue, 7 Jun 2022 13:35:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9927101733; Tue, 7 Jun 2022 10:31:12 -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 99E6E6141D; Tue, 7 Jun 2022 17:31:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1281C385A5; Tue, 7 Jun 2022 17:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623072; bh=bYutRTyCZx340hOqd5JJwkoFAuQUP33ThESNoJBGSPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sBquOTSOFusKPkZglPP/kOBqVxuhuEmrwZbGYOIvLnO/YszKmT9W73m/qbT2qaxuG jzl4iZdmNh9tY1AoaZZy+S87ODNoLwTZGczJAo2rEZaHxvAnuhgNW70luPx0vIV68u Cx3+NCsYFnP/Q655HzyvN0ab6oNlrWgLnUxxjyl8= 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.10 283/452] arm: mediatek: select arch timer for mt7629 Date: Tue, 7 Jun 2022 19:02:20 +0200 Message-Id: <20220607164916.984007283@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@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