Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp439068iog; Mon, 13 Jun 2022 06:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo6Ujayvauoc8GhD1Xks+X92tc3xeqItpkSgBBGKO27vORODZF41mbv0guViviXhbTeRSC X-Received: by 2002:a05:6402:2548:b0:42d:dd95:5bfe with SMTP id l8-20020a056402254800b0042ddd955bfemr64894694edb.285.1655125390768; Mon, 13 Jun 2022 06:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125390; cv=none; d=google.com; s=arc-20160816; b=PiG80+0oybirsFrOLsH6YotY3AsF7Otli3GdRm1w9TIBIcSAnULaoI1tgzvTjerhf4 HJmI/j23KOLt6iYu/BgqFKz72l0mLWi8vVElaLkPjz534TaKEcPhs9vFTvSLGqO/Eq1z CTCb9+0thNk6HcTfl3hMzOCeo64fPwaQKsHJeXceTBD3hi5tTGHz3l7EivvmZiu/3KAB V3ZNZiXtPr++dyvwgU8DlItfviIWt48Todyv4iHT07yXKfUNcOVfkA88UHUbV7Qbv9cJ UIIgdZsiQCODXx//jWyuP4zZRV0XvbVfmtFGke+i+89D3NifWvC1JZK5R5Cq81X1pAf6 al8A== 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=taNRpRrt+cVcgsETx/2Yn7BEjVBSSEeKXWxrAkKL+pQmmPUKNtF3H59tbtuw8zHLvy 9q+40l25keg3PwkKr5my5YgZoBb83L2kAeAa4RY8kSjimf2LzbnwLLiWJLIbOPFBpBo/ NYNjn8oDQpLgvczDEnoYRPsEJnZWDda/V/mpjf7t3eXyeQO0YkNkWNN2yHHRwhcTMrLk aXm2r9KhwXLE+p5IeGn+vg0wK50lSKpobsccC8yDz6IvMBkyOhhocvoNPDLihGxmKxTV hMs9+iiZd205yiJWCE8F+3G+r7GH0RuR+MMrlBdV0hkG9O8BwsrJsIYfl0Xw7FtascUH IOfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qLeWOZIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a05640251cd00b0042dfb99b7fesi9235629edd.34.2022.06.13.06.02.45; Mon, 13 Jun 2022 06:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qLeWOZIS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353112AbiFMLWp (ORCPT + 99 others); Mon, 13 Jun 2022 07:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353724AbiFMLQP (ORCPT ); Mon, 13 Jun 2022 07:16:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9884713E1E; Mon, 13 Jun 2022 03:39:39 -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 ams.source.kernel.org (Postfix) with ESMTPS id 59965B80EA7; Mon, 13 Jun 2022 10:39:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7B8CC34114; Mon, 13 Jun 2022 10:39:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116777; bh=bYutRTyCZx340hOqd5JJwkoFAuQUP33ThESNoJBGSPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qLeWOZISMWZoi+7nfqrVoFQ6EnNVDM8YUCE72JRPxbZ5f7y3gpu2njIPsYKxUd/GX 99M9H8wJICMrqxGCYrrqPlt1RbwbpC0RC1LDhR98LHs/0GWUW9CuTYm9iHn5w0xQVg 4VDHXodOQ6QeLTojXFofYng9h9tBPu6acROQ8YGg= 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.4 170/411] arm: mediatek: select arch timer for mt7629 Date: Mon, 13 Jun 2022 12:07:23 +0200 Message-Id: <20220613094933.757283915@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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