Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2968671pxa; Sat, 8 Aug 2020 05:36:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWI9gSeesVtlWGJunQLofZQ8U9xbhVfnEpiNa4BZpnA02KPjxtefiuhcu5Kj5sATOENdTb X-Received: by 2002:a17:906:f202:: with SMTP id gt2mr13503249ejb.70.1596890180459; Sat, 08 Aug 2020 05:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596890180; cv=none; d=google.com; s=arc-20160816; b=ZUZj/uFoeuQpfOCRta1Zp3A0yiHMHxU5GwbiR1+e+Q4sjlPZ0wlEweq1LXF2aVbmX5 4SC8BJeFpJ1fz+MyoVV2ZQh+EQ+jqIHt5tXc/1/XbVci2vGLxforPjF8pH9fsCzrAqXx Zgzk3Sh+usKOJ9jfJy+9UivthDemFWgtINkp/KDTqe6TRhW+oThB0ct5vlbzjARw1z7q gwpFZTQx1Xrbq0zPemzRqUFX7e0AwqvPQl8sRmn9d6fK7j31gZt5YFzIlM0BEBIKeyRT VO/ypIPet+uOQec8BtSq8mVOPotB56PpEAUhbcPR6DcotdsQ5Z2NmB/232G6aFPf6/Ee SURg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=K5IwqKWHC1l7KS3p8o3TnKzE7O2w6yTFXAWsjAbJYtQ=; b=wGSuv3fzTbq2FhIbhJyKlP/0a3ICqgKTyBCIehqArvYI677v6q3/wX/MEA5maB0EGW aoUDrvyAThsV2NkhsF6U9HETCgIHNmyc+91na+5Zfgd8bIBfUo+8JlWMbBJlvWU2EEkl NQoWvtz2aiYJLspEO1bznE1oW/zRNDhH/gC3YM2jkNnB9e0COjA3IAxj82yTnhGN2ZkP +IuHnoLdUo5YhniFjfQmkFLK1YyrygFPqVZvddJiFbOTlMq6Bst+2wLLLyPB3nk0TLpi 2RhDn6iQJN3PWortA8KVjfIj8f6NEbvr3ssgecjQMBrI8nPWWGigIhE7F22YcjGCQbJP 7L3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=YBvh7NZB; 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 x2si8001779ejy.84.2020.08.08.05.35.57; Sat, 08 Aug 2020 05:36:20 -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=YBvh7NZB; 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 S1726248AbgHHMdK (ORCPT + 99 others); Sat, 8 Aug 2020 08:33:10 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:43042 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbgHHMdJ (ORCPT ); Sat, 8 Aug 2020 08:33:09 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id A723D1FF0F; Sat, 8 Aug 2020 12:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1596889988; bh=FZwMouVt5pVi2xA2RzMRC4pCbrZinPpiAS2LJWILeXY=; h=From:To:Cc:Subject:Date:From; b=YBvh7NZBtiWUhmtYedBHrkQScH7pivdDxzStKrTYG/Le1AK2PCMT3SwdOw0DSQOAO ykCRgr8PayIVP9SWn6RpzwI09aCkS5ywZtt0oRb/W7QebcMWZ4gNAzfE876ywHuOk/ oDUsQTTzUT+9I+pERKWsssT1LyFVc7pzVnbdooZwcGK6ft+wCeMIJTob31bEQ1Bxd8 36myTh0l9NdgzAxk4BRh5XiFHjUK+oS39H6KvfbvlgN2AmOWRxCpUmDxOgVNbLayuw +VFRtqMfwA1nQjIqGlOZIOJ7KXBSpAeC6aO6VqFHd76xEbFJGfQnMzcAnnpU69Vfxh MPSwNEoK2pj1A== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Huacai Chen , Thomas Bogendoerfer , linux-kernel@vger.kernel.org Subject: [PATCH for-fixes] MIPS: Loongson64: Do not override watch and ejtag feature Date: Sat, 8 Aug 2020 20:32:27 +0800 Message-Id: <20200808123227.2873961-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.28.0.rc1 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 Do not override ejtag feature to 0 as Loongson 3A1000+ do have ejtag. For watch, as KVM emulated CPU doesn't have watch feature, we should not enable it unconditionally. Signed-off-by: Jiaxun Yang --- This patch should go into mips-fixes tree as watch feature is blocking KVM guest boot in some cases. --- arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 2 -- 1 file changed, 2 deletions(-) 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 b6e9c99b85a5..eb181224eb4c 100644 --- a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h @@ -26,7 +26,6 @@ #define cpu_has_counter 1 #define cpu_has_dc_aliases (PAGE_SIZE < 0x4000) #define cpu_has_divec 0 -#define cpu_has_ejtag 0 #define cpu_has_inclusive_pcaches 1 #define cpu_has_llsc 1 #define cpu_has_mcheck 0 @@ -42,7 +41,6 @@ #define cpu_has_veic 0 #define cpu_has_vint 0 #define cpu_has_vtag_icache 0 -#define cpu_has_watch 1 #define cpu_has_wsbh 1 #define cpu_has_ic_fills_f_dc 1 #define cpu_hwrena_impl_bits 0xc0000000 -- 2.28.0.rc1