Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3349527ybz; Mon, 20 Apr 2020 00:37:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJG72kkNiceXyIjoqB60aKvO4X3tvBBFsId64ajeUNhKaLZ6b0Ife0oEWWijmmdvHwLAJIt X-Received: by 2002:a17:906:54cd:: with SMTP id c13mr14216858ejp.307.1587368238928; Mon, 20 Apr 2020 00:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587368238; cv=none; d=google.com; s=arc-20160816; b=Sa2KWRzJPe2/YCyoXnqsFx8AastNszpvnBRMKhZIMWk9mOMytSETX7P1j7h0bB/ZZK NJJs0A5JHWnD0dZAegbSj0mGQEzdrFPCPucOVY1QkvrFVJVRIz0tA79Fyhw3LDd06jUr BR9wnPKuvh3SvUIRtF6Ae+dfKAIzr5Vaa28+TD3DuBjK/TKQcQzeIDdX/379RzTwG/5z ++sRwbM6+CjKenSVcVK4qviD7jtiZEI+aoB2vh+K5n+b2oweELjNE1tEycpBm6YkThpq CHeBqaHDZcsWOQZRckpaVOAm9wgKhFo40FyHbTor8YT1ViCkbV0QswvkAzXuVNWR3Qlm j7MA== 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=b2rTfyqydbZhR9ZyAzOmj9V4N+KcAf/StR9LHT5Kk8g=; b=v8nJsL3CyxG92OvotYsfyePUi4DGmYNZC+pKycLBoNDPZercjQ0fjBxxOvrSmERuGt 3OJgYzcRZbCxlYoww568H0yg6O4EKzEuCd5JBONV2MlMbpvAk791Vy4UWZYMMpgbX80d ePLcaL5gbWYty2daL711n1wM9wUbomgTIYYaH9ExQoXEtiOShL470dWT9EH8Wm53a1Yg ByBSneiATI8U210/ZApc74I69DhbGLRhuI/vHsuLjfVEWDfV62212EcR8foFR7NjHvyh iwcdhWZiIwm7gJ3UZUvjqVFqKC4XeezWspfQl9H8j6NIbbxz4l+scgZ9a6qwTGgtD9Z6 exIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=HW2pgeCq; 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 ay22si67894edb.134.2020.04.20.00.36.56; Mon, 20 Apr 2020 00:37:18 -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=HW2pgeCq; 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 S1726380AbgDTHfN (ORCPT + 99 others); Mon, 20 Apr 2020 03:35:13 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:59030 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbgDTHfN (ORCPT ); Mon, 20 Apr 2020 03:35:13 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 8137120CF0; Mon, 20 Apr 2020 07:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1587368112; bh=bDSuF4kuZpYpNlfsiSYtB4XVxy4h2Vp476P6s+KXRFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HW2pgeCqOei8AF7Iy4NgvHPS8XAZbZ0Ei87BFcwHGFDytzJieqLuoGX575ssMDlk+ m5CYxBAOcqxZK1kVW9KG/stLt78tMqb0oE+kHrK0B9Q5KLZprWEEbA3iMWtdDJiS9X Zk0t6KJBtg5WEsCbGUmZEnT5YVnKdNep/w+MhzemZP+sTMmXx6OucaumUblFZWrswz //Q8rHXeHMqULxS68ai0itPfz0qkKTBaeiOwHNuhB2gonjLaFQupSLuL3a6xnat2Kr OHhbheXb1nIWXFLreDFkViiOYUSo/KWk3oBr4VghpffVsXnt8alQGEYUypnoDsYURR JAkDUSsh49vTg== 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 RESEND 5/5] MIPS: Loongson64: Mark RS780 HPET as broken Date: Mon, 20 Apr 2020 15:33:40 +0800 Message-Id: <20200420073347.157230-6-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200420073347.157230-1-jiaxun.yang@flygoat.com> References: <20200420073347.157230-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..16e6acab8cce 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