Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6180434ybc; Wed, 27 Nov 2019 16:45:11 -0800 (PST) X-Google-Smtp-Source: APXvYqypokX0fzX1UWwKKV2sCqS8vUPpsGWtzS4FeH+/5S9FBvlVDiDK6C1ZBH8GlSqpYYcMXm7l X-Received: by 2002:a17:906:3e90:: with SMTP id a16mr52170359ejj.265.1574901911761; Wed, 27 Nov 2019 16:45:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574901911; cv=none; d=google.com; s=arc-20160816; b=Y/WjGzZX7f4gCKygbXzobkVvWMH+DWZ1gKJ6UIPWOgrAXSgqMfJDm1r42Y5QGNuvXb mP5TPc5Yzqn+euZU2J850k8zgvWyyejvNtjdj8OvkBsZPUU7EEnPoLY45s4uZvLt2EaZ zbZZ8hEYC77vMLeo4+xt7SjGBdUc9F3N2DpSEkLX7K7kAbomMnAlWFLUw3hB5SDibN8F 2i1bx7hfxfvQzPMSVl8tus4sN6DPcx2BrtEifGhCTtBSANaNicd0r/jqqOGzbWSbIYQw kX3vlPTbQq6hsMyFwXdol6fQkfwMVIMl7l34Zj3Z09IFTOcc7nqR3cvCdm0BRBQ2oRCc 2QEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=+Yjb9jiHKoOqJQk4jBP8FPWUL0lfQqeGegVie0MZtMs=; b=UsJrPVSw9r+92RbY54eOqToUJQHgtaSUih/yvpcR336/CHXPkfGx9rwJKJP5Fq+fYm uOibODmn4wdX/lJwl+SvMwShMid4pQ737+YXIJHd+Qw0yv5MFPdJtQ7WZmx6b7CV9e16 xC1USMYBKfz2i85yNGdsFN6vT9ekyw0fX9L+d1ad91UqdwdFy1sSMYvL9WTkPPiCvKsj 5Iv23KxuPsydX0GW9dSZDGEYwPcttaSetntHSnsRgJe44to+3o3Ri8IR+1UFmQWRvIQa cr8ejH9n6vDHQLGGT2n57hpvP5MxqowgxyLlD+MC5Us13dODmNZECu2JDYIxcCBX3CV0 MH2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=mail header.b=kBJ0KtR5; 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=fail (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 f19si5073600edq.319.2019.11.27.16.44.48; Wed, 27 Nov 2019 16:45:11 -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=fail header.i=@flygoat.com header.s=mail header.b=kBJ0KtR5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727443AbfK1Am4 (ORCPT + 99 others); Wed, 27 Nov 2019 19:42:56 -0500 Received: from forward100j.mail.yandex.net ([5.45.198.240]:35711 "EHLO forward100j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726984AbfK1Am4 (ORCPT ); Wed, 27 Nov 2019 19:42:56 -0500 Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 664F750E0BEC; Thu, 28 Nov 2019 03:42:53 +0300 (MSK) Received: from mxback3q.mail.yandex.net (mxback3q.mail.yandex.net [IPv6:2a02:6b8:c0e:39:0:640:4545:437c]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 6014ACF40007; Thu, 28 Nov 2019 03:42:53 +0300 (MSK) Received: from vla3-2bcfd5e94671.qloud-c.yandex.net (vla3-2bcfd5e94671.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:2bcf:d5e9]) by mxback3q.mail.yandex.net (mxback/Yandex) with ESMTP id f0hdWVvhSr-grMa4Qcn; Thu, 28 Nov 2019 03:42:53 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1574901773; bh=+Yjb9jiHKoOqJQk4jBP8FPWUL0lfQqeGegVie0MZtMs=; h=From:To:Subject:CC:References:Date:In-Reply-To:Message-ID; b=kBJ0KtR51HFkKShuq6XsYv/HHMzeN5TpQk6RYmg4WJLPQt3oNS1Jhi+rLyd4hVS3y zbAqmu5/kyDTEYA3k2WXJ8zbFRvnLdLA3uab7y1IAKHllP36BSRVXh6d4B+/uBscJk TCGFHNTtWd7GLJ29P8R32ZanTmKaVHoDdVa+cGB4= Authentication-Results: mxback3q.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by vla3-2bcfd5e94671.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id r8queTZ03p-gpVerA5I; Thu, 28 Nov 2019 03:42:51 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Date: Thu, 28 Nov 2019 08:42:28 +0800 User-Agent: K-9 Mail for Android In-Reply-To: <20191127152612.21945-1-linux@roeck-us.net> References: <20191127152612.21945-1-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] MIPS: Fix boot on Fuloong2 systems To: Guenter Roeck , Paul Burton CC: Ralf Baechle , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org From: Jiaxun Yang Message-ID: <1F64121F-0A46-41C2-ABE0-917A1A968A3E@flygoat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E4=BA=8E 2019=E5=B9=B411=E6=9C=8827=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D=88= 11:26:12, Guenter Roeck =E5=86=99=E5=88=B0: >Commit 268a2d60013049 ("MIPS: Loongson64: Rename CPU TYPES") changed >Kconfig symbols as follows: > CPU_LOONGSON2 to CPU_LOONGSON2EF > CPU_LOONGSON3 to CPU_LOONGSON64 > SYS_HAS_CPU_LOONGSON3 to SYS_HAS_CPU_LOONGSON64 > >It did not touch SYS_HAS_CPU_LOONGSON2E or SYS_HAS_CPU_LOONGSON2F=2E >However, the patch changed a conditional from > > #if defined(CONFIG_SYS_HAS_CPU_LOONGSON2E) || \ > defined(CONFIG_SYS_HAS_CPU_LOONGSON2F) > >to > > #if defined(CONFIG_SYS_HAS_CPU_LOONGSON2EF) > >SYS_HAS_CPU_LOONGSON2EF does not exist, resulting in boot failures >with the qemu fulong2e emulation=2E Revert to the original code=2E > >Fixes: 268a2d60013049 ("MIPS: Loongson64: Rename CPU TYPES") >Cc: Jiaxun Yang >Signed-off-by: Guenter Roeck Acked-by: Jiaxun Yang Apologies for the mistake=2E I ran some tests before sending the patch but probably get this missed due to difference between my local tree and next tree=2E Thanks for catching that! >--- --=20 Jiaxun Yang