Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1591400ybb; Thu, 2 Apr 2020 03:53:03 -0700 (PDT) X-Google-Smtp-Source: APiQypLdhINtBH4Pq5CYg3IYJpkW1tKup5KIgKy95ExYYbN6hDwY6poLr/W2xjU50NejMQIGIpsn X-Received: by 2002:a05:6830:1e19:: with SMTP id s25mr1879606otr.86.1585824783644; Thu, 02 Apr 2020 03:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585824783; cv=none; d=google.com; s=arc-20160816; b=JffcN2uBkB7DK5yuCwCzwYtPVjDcVKk+Y+oFk6OhaqdV/oi2no6T+B0ML+/QThNggs 8RwG/Ab1tsLIzXWl5dQXNNu86TK6B727ZenN027TfBcgBYKxrzBs7/pDnJHReNyPgQqD GCVrdp9rEaFWMeW79oAr5MfQit6sKtXHVeKzcCsN8fNQxW+jBQMLTYIIT+0FUC5/oQNr NKjrHO5ZAADv/aX1vL1U2XDrKVfSJ+DUp7zdq4bmUqXu5qUfFQy/oiczdpxC8/na50Ag uK2F8Krhiw5ErFNrYsfy6+8KZ4wrLELlFU1PZj8o4ZlGY5/qRNkle8e1TrTRDSlSA4pv K2Sw== 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:date:subject:message-id:cc:to:from :dkim-signature; bh=4OyVuFjPKoQvzE6pgWT/Zq5DGn/7AUv6X7kRDxmswbo=; b=XYNjmvMMwn7/o8mPv0q8d2aaLqKgaZIkTWQVRmHyTJcEbZT41sN2LGfY5c05Ajj641 KwKSnsbRYAQlkvlvgGP/eVbXqeAGg23R4bpRfyE77fo80YZO0zH0y6MmcTyK+BfcYCoI EFPpjstK7HQWQpS1bQPO1FPJoek/gevmgKtYnqUPlp+UbkYA/K6k1+tRbE4ggyc82BXk dEt48U9tktF4D+cFa0g+4omNz2yUwHDWWKaVOKViQLQeScJx1lfEDz2fwxQxNpuD+Eot F22XSlnYRRXf39v6zT+kgV0sQgsz7iJGmFidaA0OFP3z+Ih6Bv2ecFS0OJ4+ZuPNiyfk UwZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=GeOOCFG5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si2101816ooe.4.2020.04.02.03.52.51; Thu, 02 Apr 2020 03:53:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=GeOOCFG5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388064AbgDBKwJ (ORCPT + 99 others); Thu, 2 Apr 2020 06:52:09 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17858 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbgDBKwI (ORCPT ); Thu, 2 Apr 2020 06:52:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585824683; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=4OyVuFjPKoQvzE6pgWT/Zq5DGn/7AUv6X7kRDxmswbo=; b=GeOOCFG5cmZpwhwv2DOnN/XuFX/fYvszdnwJQ5F/LWu9E7KtqWDvR97Q4tzRadA7 OBODACYRcuhyDLkLf2bFXp6RfHhUCBRpKR20JG+ADyh5laZmvW279W1ADxIbPLP0P3B 4JWkc4JPUuWFf8CWPgPqD0UksTRT7mH5FNKWh4x8= Received: from localhost.localdomain (39.155.141.144 [39.155.141.144]) by mx.zoho.com.cn with SMTPS id 158582468178236.83295531682825; Thu, 2 Apr 2020 18:51:21 +0800 (CST) 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 Message-ID: <20200402104851.368465-5-jiaxun.yang@flygoat.com> Subject: [PATCH 5/5] MIPS: Loongson64: Mark RS780 HPET as broken Date: Thu, 2 Apr 2020 18:48:43 +0800 X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200402104851.368465-1-jiaxun.yang@flygoat.com> References: <20200402104851.368465-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 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 =09bool "RS780/SBX00 HPET Timer" =09depends on MACH_LOONGSON64 +=09depends on BROKEN =09select MIPS_EXTERNAL_TIMER =09help =09 This option enables the hpet timer of AMD RS780/SBX00. =20 -=09 If you want to enable the Loongson3 CPUFreq Driver, Please enable -=09 this option at first, otherwise, You will get wrong system time. - -=09 If unsure, say Yes. - +=09 Note: This driver is doing some dangerous hack. Please only enable +=09 it on RS780 systems. =20 endif # MACH_LOONGSON64 --=20 2.26.0.rc2