Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3726225pxk; Tue, 29 Sep 2020 04:55:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCnv3zzSQfxr7NS/ho0OksPbjvRGu4X/LeC4FNXstlPwAj5KASCjOC8UcUaU3zAsVaOOR6 X-Received: by 2002:a17:906:868c:: with SMTP id g12mr3227930ejx.230.1601380504521; Tue, 29 Sep 2020 04:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601380504; cv=none; d=google.com; s=arc-20160816; b=ABKmvUp+ZJ5HGR559sXmBVLuzQhYv3LVUG7XzN1y/i3VHXX1R1cHZO+yCsl4DjeGgI XKgaB44ad7wk/GDtcRgjpas1JljRLzqAckrAr/DFVrWemMWh3XWYkYbGded25SqyKhgy toWuBEg42xIDlH6WMTu2fYhJs8ke08nO7vti/SPL4XcpiK5Rh675RVSKpQGxFc4nMk7y IC1mS3JTA1C/9fNgT8p3Drol5IU9HyR+FDa4inZwYjA1fKyTr48TbYxBuiN0Z1hsNFG3 lrxovYMnjnKFRmKNI5csc6jG4PTQmXqkE3XyVSUFsH5w7VNNgtT/9ir0nqVxE04JEBPE pNGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bDLzjej6gZEVwXbNV+xhxos3sVb/6vDfWElEg+gsCA8=; b=nNXiLY1S2uvY666LawRwvep6nWo06TyDMZOVCntVj3LIzZnKffbHAruRFd5bzkOEx6 V7l2/Cj+AxGkK+qbb7OwYp3XahpJk/nbA4i+6jDai5rrLln7r1XxmRbneA+3yw+7642x UMHLKetCmO8Z7IA/aN7oaQpz8UJOOft+/KRYGH69YSldb+CRvD7ehtjdeXPMNpEIv0u2 wiO9ddM1vaVIGB00gBihpTDvTKcj96K1UYyPNfj+t5DJg8CKmsXxDjhIKY0oK5G+Vpa+ uEB1GngIn2nJT88/Sf4xFHA2AqCLmOzCtNf/xCj3n1AZxUjg8ZVhrrjQTlq8d+arat4a zttA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c9XJspHH; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq28si2533824edb.474.2020.09.29.04.54.41; Tue, 29 Sep 2020 04:55:04 -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=pass header.i=@kernel.org header.s=default header.b=c9XJspHH; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731338AbgI2Lvp (ORCPT + 99 others); Tue, 29 Sep 2020 07:51:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:50364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730790AbgI2LsN (ORCPT ); Tue, 29 Sep 2020 07:48:13 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1D0A1206E5; Tue, 29 Sep 2020 11:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601380093; bh=rpuIwHjr5pp8dtzsOLBHJuohrMMKLDs8y2804w8H0RU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c9XJspHHC/B1lCaoCxVIWp9XeTU3Sjco1k9QkSDDSedxS/3ieziTMUUFETZGFBiqw MCNbAC77DAfsK6KB92zoM4L7pUsuOcABebduMttJWLbnY//ZvHbDWI/kJb0sf4+E2S 0ZkuwBylhJNH2y16Mm1ipX3N2GFD826R+Rzv//Vk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wei Li , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.8 65/99] MIPS: Add the missing CPU_1074K into __get_cpu_type() Date: Tue, 29 Sep 2020 13:01:48 +0200 Message-Id: <20200929105932.929447184@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105929.719230296@linuxfoundation.org> References: <20200929105929.719230296@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wei Li [ Upstream commit e393fbe6fa27af23f78df6e16a8fd2963578a8c4 ] Commit 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.") split 1074K from the 74K as an unique CPU type, while it missed to add the 'CPU_1074K' in __get_cpu_type(). So let's add it back. Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.") Signed-off-by: Wei Li Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/include/asm/cpu-type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 75a7a382da099..3288cef4b168c 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h @@ -47,6 +47,7 @@ static inline int __pure __get_cpu_type(const int cpu_type) case CPU_34K: case CPU_1004K: case CPU_74K: + case CPU_1074K: case CPU_M14KC: case CPU_M14KEC: case CPU_INTERAPTIV: -- 2.25.1