Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3327823pxa; Sat, 8 Aug 2020 18:30:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVDCsuHbqnkPkCNKAy8TyWfKgBt2/A4bP7O8CGoptnqdhAki7g9PkwBJMDrpvQ4DOJ/bbl X-Received: by 2002:a17:906:3449:: with SMTP id d9mr16167501ejb.460.1596936623118; Sat, 08 Aug 2020 18:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596936623; cv=none; d=google.com; s=arc-20160816; b=iNFFMJ8pI6mbIKTI4wOFjF5G7eIdFKAfLh/aW3mYuunQKq/u7fEXEDKyzeDQbSAVBi fm02HqA6mggGw3TDiYEFqyb41DcnrD1lYv9OpKCYyjk7RTWnG+GqHG+ogmXyWG+I3EJd 47ij59cxIx3qVWbJVoYjkQYmqmsD04/lSexXw6KJjADk7kqWW3wEmh1szfYGEGWnIdVy pqH6pDKKJ9i77nfZQfl7oOtcASyKNmpATgK19j6yi51VSKQ7TnLlQUE0BJ8OhRgVYoN/ T67duztr+lItgVd6iPZZr9bVvwexO4NP60Wc9tNQi3gzFIvLDdLjHxm1NRq6M3kb7ln/ c4fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=VS8yH85WvutsO/KjeEQ2FvfbJcVZS6nX5Zxp1darUqc=; b=jZjNTlxHqt6sfpKs8zMYNA5uNmUkycQgH5j6+lpWgqyoj55mYLY4eIHxDBHl1Meeuu inutrZvIPP5/Yq23KLSYR3qBKTYYU1mPHC12a8sQavw0RW5BYJahjxjJf9lksJeh8PZm c7cmF++54ts5aRFzzXyxicmg/uQlble7JLqStJ0prBKCqRST93obu/LHZdcAM5TVqmS8 Td38+Wn47au0NSCTWXNYGdO5A8RE4hqbteeyhrIXAFbP09+Wj3RZ18JyhSocY+e9W0Z2 0EsCl5lPhmrMoFAqK/lT5O7Pwz3upG6BHbcrc5pUyFmayPUtUie06EtD5OovvFCueUih fiHw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt15si8555858ejb.319.2020.08.08.18.29.41; Sat, 08 Aug 2020 18:30:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726212AbgHIB2z (ORCPT + 99 others); Sat, 8 Aug 2020 21:28:55 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:39307 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbgHIB2z (ORCPT ); Sat, 8 Aug 2020 21:28:55 -0400 Received: by mail-il1-f194.google.com with SMTP id z17so4852272ill.6; Sat, 08 Aug 2020 18:28:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VS8yH85WvutsO/KjeEQ2FvfbJcVZS6nX5Zxp1darUqc=; b=ePAJDTEFgL2Bn+H2WTjEDCgkRDv3glyvxCz/KnhdE1yYdfKVn0G5UgYdYFgXUM/k1H ARzJHrnzzgusiIYtg2EvebxINac+KfayTTYeqULYQnIw94y+zp7ejHGWnNeIq22lXPTa T7mOWCT1xezBylthxndCJJffCi8QNIabEGaFrYXf2Hm4h7DL7+AYIvv2Dx6bB9HpOD6C BIuLT61EC1PL0r7M9zSghymSUm2B6+r4ZHmHopXq6bdrY4/XfVcXBmTAQt0S3WM3PLS9 lfMOqrjH8wOeqBF8BMLG6BNRKNoLqajaFJTibqla8dBxUUp1BB3dIeQEM4DdguWbU3Qb ZbuA== X-Gm-Message-State: AOAM5322ojAuaBIf1lS4l6l5eS8M+Zcho+hnpMmPPCg3bYNSe7HEdf20 KhMOIMuQp5HdKBVYP82YS+ojBCNs0r46JvshYnkkjLr7+IY= X-Received: by 2002:a92:d30a:: with SMTP id x10mr11616603ila.287.1596936533940; Sat, 08 Aug 2020 18:28:53 -0700 (PDT) MIME-Version: 1.0 References: <20200808123227.2873961-1-jiaxun.yang@flygoat.com> In-Reply-To: <20200808123227.2873961-1-jiaxun.yang@flygoat.com> From: Huacai Chen Date: Sun, 9 Aug 2020 09:28:42 +0800 Message-ID: Subject: Re: [PATCH for-fixes] MIPS: Loongson64: Do not override watch and ejtag feature To: Jiaxun Yang Cc: "open list:MIPS" , Thomas Bogendoerfer , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Huacai Chen On Sat, Aug 8, 2020 at 8:33 PM Jiaxun Yang wrote: > > 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 >