Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3798591ybz; Mon, 20 Apr 2020 09:38:27 -0700 (PDT) X-Google-Smtp-Source: APiQypLr2fPxt5itwRZz5j45l53LgEWxMoQ0rW8NZRqK/GBgjglBR7l+g/IUwR9E09YyCD2Cm12B X-Received: by 2002:a05:6402:1543:: with SMTP id p3mr15627967edx.333.1587400707684; Mon, 20 Apr 2020 09:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587400707; cv=none; d=google.com; s=arc-20160816; b=eB+Fq8cF4rgljX+VBgzfYZtmNONq1yEhpJYYLp+3VNNuKULNjGaVG4G9QURpVO94Qm GkIRRa6zfL7F+xRsz3KkMhwCvWtMfgy2TQAawfxvoX84xZ1IDKx3FI3/k3i5cMofYtMa 4r6eRNvJHRyZM903bTBcibroEeQR8UUbgrAwsjm9Vne718cExQefEZmi2rYc5D4uctD9 oIRA5UldEulaWfj45wyTa2AC6zONWPKjqdAr5FVYjMlf6wXM17QrqV3FTMoPEhGqsDxi ZgGaglp05fP1z6jMxA5fn2ij8IfOa0yoQRPffZ5MWuEm2Pglmqi0SZIODZfgbM6nfjgr 8ySQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P8ck+Ug1JUA9tE/WGP5oono7Yf3qkq5oBdZHjRYRtiE=; b=rS2PRbBLbjiCDg+sc49ctKlVF/Y6Wd5V0e0m7uguJwQMunvCWoEaudPJru/biYu1lk Ks5mKIJs5eS6TiuR/n0hfk+TEcHDWjzRlpBVb59OTagjAIAnbl6bR5S5J81Wts1tBmmw 6NDLHdb2GU7SPLlkLDdk1KZkIvqZBfzhpL6JhM0qtZ4qLad9WU2QcmCDlC2V4/ny22as dDTD+JQmHwonPxi2CQVkO9lZ4bwfLKfMjwfA/A5Jyg9/FogyfmCqXo0m+UIZV8rxu062 RY1wGVYftSxsXUqYHVpgDFduq55mvhDjMwT/hJ0gouLZ+lGlPrmCyBpv32FnrT9U9gLm WWeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=BJxFOh2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si865495eji.303.2020.04.20.09.38.04; Mon, 20 Apr 2020 09:38:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=BJxFOh2E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728645AbgDTNq5 (ORCPT + 99 others); Mon, 20 Apr 2020 09:46:57 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:59124 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728633AbgDTNq4 (ORCPT ); Mon, 20 Apr 2020 09:46:56 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id DAEAF20CDC; Mon, 20 Apr 2020 13:46:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1587390416; bh=nCAhVn2ma9z8r8dWxnzAROBI/Q4gJteYeVtwI1Vc6vc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BJxFOh2EDvaxPBm7aU2KZJuJeqI+XsTgBv/gsCc24ctcMiVi3FDtCN8+ZiuPF3o54 OLGjhjRgCy5aDMABnqp1+wnfKr2g7Twn9kSeQPouMHGDxnHczqCIIjaWfDUU7ox8fZ G2uuhVlRCFHjmQj6L7uKOwOu31JfKtOcnumBc90nD0lizLRx9CwzwN4/JCSY84WKIr jzbqjoTzNQTKGsjU3MjoryhL5zSbPSIeXzVJm7nvXyX84mk165dAGm6bbOc63G5Wv2 AQWWUAh/BJrAIfwZc+t1peCbw76rtfC1HSiWYLYPE5Pyy4zjFQ9TnH239uPdOs1Z/4 roF8KwAjL1wlQ== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Thomas Bogendoerfer , Rob Herring , Huacai Chen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] MIPS: Loongson64: Mark RS780 HPET as broken Date: Mon, 20 Apr 2020 21:45:29 +0800 Message-Id: <20200420134536.210475-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200420134536.210475-1-jiaxun.yang@flygoat.com> References: <20200420073347.157230-1-jiaxun.yang@flygoat.com> <20200420134536.210475-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This driver is using some dangerous hack to set MMIO address for HPET, which might break systems with other kinds of PCH. Also, as Loongson-3 cpufreq driver never appeared in mainline, this driver rarely got used. So we temporarily mark it as broken until we find a better solution. Signed-off-by: Jiaxun Yang --- arch/mips/loongson64/Kconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index c386b8a3c753..517f1f8e81fb 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loongson64/Kconfig @@ -4,14 +4,12 @@ if MACH_LOONGSON64 config RS780_HPET bool "RS780/SBX00 HPET Timer" depends on MACH_LOONGSON64 + depends on BROKEN select MIPS_EXTERNAL_TIMER help This option enables the hpet timer of AMD RS780/SBX00. - If you want to enable the Loongson3 CPUFreq Driver, Please enable - this option at first, otherwise, You will get wrong system time. - - If unsure, say Yes. - + Note: This driver is doing some dangerous hack. Please only enable + it on RS780E systems. endif # MACH_LOONGSON64 -- 2.26.0.rc2