Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3770612ybl; Mon, 13 Jan 2020 02:17:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwdOMdpDqyH39dy7C3F/ZbTy4ZqgpoR4g0zBkX7FE7dMiai/zqOEdu1uOjArgw+V56BJLxr X-Received: by 2002:aca:cf50:: with SMTP id f77mr12440728oig.60.1578910664797; Mon, 13 Jan 2020 02:17:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578910664; cv=none; d=google.com; s=arc-20160816; b=rBw3UhjVOK9U0vnJ7jz4+tjG+4fUVguGu/v6O91GXxZlj2+RV/bvlpQ3nSfNeQZeTQ 7GjwnMThJ12QF6zUJqvqz+yWoF8a5O1RwOcExrbeRH89ou12ahyccFor8MgTdB71XXw8 we4lndXIBe2nU9g5dD/IF1+IFRnycYzsJbSIYUbtXpCP0aVU81FA7cwy+ovxgcNG30aQ XZcZ42a0LROsFynpyuERomP6OLIqrbF9fyCO4CdUMOkf2DcwagO5m0PapRm5CtsdAPuZ Mf48F+vD2uCfkxGZPpo+QuivZTXLRQRcmTB/ue9JcAI+CEuX97HA2wp/RqtqQDmIckIV n5sQ== 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=TtPY94kS/Jzho/m65vWlpQBxzkqIZAkf5noHgvGvswQ=; b=vOkT3KmW7BvC6+zHXFJ0uMbXECyD0XI1CiAiE9o3LmZTxqFk/IaBF2wO0W3o+qTcI2 6FwzlJLFvIKY9t2fh8jDfDoPkuDiCm1qRt9mX/c3FtjWIxlqLEd3/Dupwo/x4xdSNLQQ PkPbhUoaIl5mCzUOweVLqIVxlu/GPSdqKiBTP1YdSCsG3ZJTrkRHF5DBZrNnRi3FYwVc FOqgiQ1n36bUnSp/MJUrJ8+8Qdf/w6/ZgV5v++QZ00CznkhEsLVpJa5YdK01MbjAuhyG 4+o36qDIIu9XrxFlUDYUisMeGbliPA40Ow9KU0qdSCSLf5zpr+nljbLS2ANZd/5NEv+F fVxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b="mx/nQW3Q"; 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 h203si5961260oif.3.2020.01.13.02.17.33; Mon, 13 Jan 2020 02:17:44 -0800 (PST) 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="mx/nQW3Q"; 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 S1728346AbgAMKQn (ORCPT + 99 others); Mon, 13 Jan 2020 05:16:43 -0500 Received: from forward101p.mail.yandex.net ([77.88.28.101]:56700 "EHLO forward101p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgAMKQn (ORCPT ); Mon, 13 Jan 2020 05:16:43 -0500 Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward101p.mail.yandex.net (Yandex) with ESMTP id D0E003281803; Mon, 13 Jan 2020 13:16:40 +0300 (MSK) Received: from myt2-ea6a2e0cbf34.qloud-c.yandex.net (myt2-ea6a2e0cbf34.qloud-c.yandex.net [2a02:6b8:c00:2e8e:0:640:ea6a:2e0c]) by mxback4g.mail.yandex.net (mxback/Yandex) with ESMTP id 94SFeUVJlu-Gea40tpZ; Mon, 13 Jan 2020 13:16:40 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1578910600; bh=TtPY94kS/Jzho/m65vWlpQBxzkqIZAkf5noHgvGvswQ=; h=In-Reply-To:Subject:To:From:Cc:References:Date:Message-Id; b=mx/nQW3Q8UTSzOK7maLX4bWqx3bVN2Fglw5ALSbOj0Tl3NgGgu6bx1pBLamjKjhzv CmlWU+GmTgKFhcxbCdaM3h3A0wjSMHVW+UwIrUA7+nt3sV19E/CLQOqnbfWANLulv7 Aftey9+PBv5KIN9vwASdNcoH4Z5BTIxqnKQx7GJU= Authentication-Results: mxback4g.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by myt2-ea6a2e0cbf34.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id u1kiDDYFMW-GVV4YIvR; Mon, 13 Jan 2020 13:16:39 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: chenhc@lemote.com, paul.burton@mips.com, linux-kernel@vger.kernel.org, Jiaxun Yang Subject: [PATCH 2/2] MIPS: Loongson64: Select mac2008 only feature Date: Mon, 13 Jan 2020 18:16:12 +0800 Message-Id: <20200113101612.38335-2-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200113101612.38335-1-jiaxun.yang@flygoat.com> References: <20200113101612.38335-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 Some Loongson-64 processor didn't set MAC2008 bit in fcsr, but actually all Loongson64 processors are MAC2008 only. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h index 23aa8ed7cb9e..6e4ff2063971 100644 --- a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h @@ -47,5 +47,6 @@ #define cpu_has_ic_fills_f_dc 1 #define cpu_hwrena_impl_bits 0xc0000000 #define cpu_has_mips_r2_exec_hazard 0 +#define cpu_has_mac2008_only 1 #endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */ -- 2.24.1