From patchwork Tue Mar 21 10:48:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13182570 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E49FC7618D for ; Tue, 21 Mar 2023 10:50:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjCUKuF (ORCPT ); Tue, 21 Mar 2023 06:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230454AbjCUKtl (ORCPT ); Tue, 21 Mar 2023 06:49:41 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 020981991 for ; Tue, 21 Mar 2023 03:49:26 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D6FC63200C5C; Tue, 21 Mar 2023 06:49:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 Mar 2023 06:49:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1679395765; x= 1679482165; bh=Sb4jsHlaQCYItYoBUEr7TaMKOC5OYkGYt/uxG9hD3bE=; b=T kWYeZT17abL3Dce3Bp4dKk1XnRgB8pjJKlQRN20IiUzf7z3lM1UYvNg5j2NdiGkl MKJvZJQKNamEkX4DafXH4rofqYEPRycvYQzV6LcIINANAVjacWvBkfkryYz8iuqh 3+d1TwjYsE7M7DqL+GwCkLOik09vKAmxvjirk1+XVYFpytZtW53VZACcXhRPdLMS tnLHZhhoXkar3SD29cp0BHWAMUFM/Xa4YWB9/c9xZQdgXjIJWqK8pPh+j4cIpP9I r7MycckEABxOLTquS/pg3nsRKhGkNocF3IFmG89UT5RY7RNGOMnyH7o/xesWvE18 KNY/KleOP4oMLxoipi9Aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1679395765; x= 1679482165; bh=Sb4jsHlaQCYItYoBUEr7TaMKOC5OYkGYt/uxG9hD3bE=; b=b IMwiGFBslaDYbMGxQsHYxsteUoKFArpWOQN23Ud3zPaC/4kvR0BbXTqCnLvzIY40 eM69zMKLd8tcXLIXw0coDXTeV//tEihlBFG5L5VFbVcAzcZMU82qIjkkO4kor5it WDQzwYwxkjBVIA7o1sIt0DmxG2HM5TU1TrLvjJh1c97QAu9KHzR9Cv9uB5GxpcWi XFHHtVRb/PrUC//gJIejMVHv1VJ7xHn4AbLHemVN4t90oTgSef9kv0VDyVJfbvlb MAk572rUbrPUn23ekI4U+aufQoiiVyP+UT/WtmeSqjeIdlSHS6Lzc+xJBlDXldMf jETEQ3NZHnM3L4HIj8DwA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegtddgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghn ghesfhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepfeeludefheegvdeuvd dvgeekgfdvtdettdelieeihfegtedugeekhfdvhfejfedtnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhi hgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Mar 2023 06:49:24 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, philmd@linaro.org, sergei.shtylyov@gmail.com, aleksander.lobakin@intel.com, Jiaxun Yang Subject: [PATCH v2 12/12] MIPS: generic: Enable all CPUs supported by virt board in Kconfig Date: Tue, 21 Mar 2023 10:48:52 +0000 Message-Id: <20230321104852.25284-13-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) In-Reply-To: <20230321104852.25284-1-jiaxun.yang@flygoat.com> References: <20230321104852.25284-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Enable extra CPUs that may be supported by virt board, including R4x00 (R4000 in QEMU), Cavium Octeon (Octeon68XX in QEMU), loongson2e, loongson2f. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 940ade1c9449..53160d49387c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -155,12 +155,16 @@ config MIPS_GENERIC_KERNEL select PCI_DRIVERS_GENERIC select SMP_UP if SMP select SWAP_IO_SPACE + select SYS_HAS_CPU_CAVIUM_OCTEON + select SYS_HAS_CPU_LOONGSON2E + select SYS_HAS_CPU_LOONGSON2F select SYS_HAS_CPU_MIPS32_R1 select SYS_HAS_CPU_MIPS32_R2 select SYS_HAS_CPU_MIPS32_R6 select SYS_HAS_CPU_MIPS64_R1 select SYS_HAS_CPU_MIPS64_R2 select SYS_HAS_CPU_MIPS64_R6 + select SYS_HAS_CPU_R4X00 select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_64BIT_KERNEL select SYS_SUPPORTS_BIG_ENDIAN