Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3052833rwe; Mon, 29 Aug 2022 05:11:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR6AfJQmsw+nXQe19ZORj/dhN8T1cCVyjTRlajrLEcq0QE64qjZHwe/YpE52DDZirZXfnPws X-Received: by 2002:a17:90a:2ac1:b0:1fd:7e42:142f with SMTP id i1-20020a17090a2ac100b001fd7e42142fmr13079093pjg.181.1661775093596; Mon, 29 Aug 2022 05:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661775093; cv=none; d=google.com; s=arc-20160816; b=sjwLWrqkJoFRPl261xkvM4przeJ2LJghhtM5OnmN+B0BEhKJBc+Q2b4pge42G1Nd/x iAGfPexmVZYmQM+GYo18uWHzsFmtEsKsOIRDb7Qrh2jMaD3rE0F5buLa5Uh9D3xD8nvo X15vl+hWVEctvIKlFy/cPFO9vKJvjfFJVuPKVXnJK/A8YYixOCFLlPV8xCh5sK5/ypbu y/zn0BNpouJ48x+eSMN1MievT/UmGmWe0zXLqnR1CtxoW7nF2EGvvruVy+i6NKj/ROkx ra8McvqmbA3DPhzXBnc26CnxAfCwGckpeAQ0THRxWnqWu/f5ZQ8QNiVqMSPF6h41u/Tz Qb5w== 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=1QxSeSJu4Y9NcnH5tamDTYAl4QRolta+2vwBRlhdnhA=; b=zhXSPCPv+LbcNLPx4gNp+A2ZJc6CpOrgHvahMra8zIzmrDTtUq+dlREjbzPVcT0SVO Xbqvw7xVp/MvbKF3LgZ47mbi8Bx6Eza4Olmhal9SsEaEO98zu9Qcd9m6lAIQxkYKoIyZ 3j8Ew4XcTa7wirSp2E6VjHjTnG3wiaUrD/1kT6wAXB4Nhlbglm9PAuLEIqK+6PW8K+3l lSveOmIzBEkm2dlOHetLu1GuYl5T+SMIVkjJW6cRjaeHtuRBjTD/dB3HFp6HxvWmNqJp 8hchSDx+kK7oY3NWwbokc0Shwr99Kio/p/DiSCDTqxrdIHwjemPXbA0cuK/nEGsIMAx4 jSgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mjjxdch+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a170902ccc100b00174a1ae02a2si4217925ple.582.2022.08.29.05.11.22; Mon, 29 Aug 2022 05:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mjjxdch+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbiH2LEJ (ORCPT + 99 others); Mon, 29 Aug 2022 07:04:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbiH2LDc (ORCPT ); Mon, 29 Aug 2022 07:03:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ED5863F2F; Mon, 29 Aug 2022 04:02:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C4E06B80EF8; Mon, 29 Aug 2022 11:02:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28615C433C1; Mon, 29 Aug 2022 11:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661770946; bh=gDY/CAO2xu2cbXqwu7gHI+PkB7bikrLaRQziHHf6HB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mjjxdch+cMqOORd4FLqiLAhT6J9nq2n7IR85QqIpOiEI5XysWdBVfTUy6nVodY0JT BfHlYJ4z5hlY19etV/daGdE2GGJfn8kP7TmH2LVnud7mml70K6fRmnTJQGQdyySt4y MVG4DYpl4deCnxGKSPWUVzX65T/jfOXLfZD1ca50= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Helge Deller , Randy Dunlap Subject: [PATCH 5.15 005/136] parisc: Make CONFIG_64BIT available for ARCH=parisc64 only Date: Mon, 29 Aug 2022 12:57:52 +0200 Message-Id: <20220829105804.848825639@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829105804.609007228@linuxfoundation.org> References: <20220829105804.609007228@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Helge Deller commit 3dcfb729b5f4a0c9b50742865cd5e6c4dbcc80dc upstream. With this patch the ARCH= parameter decides if the CONFIG_64BIT option will be set or not. This means, the ARCH= parameter will give: ARCH=parisc -> 32-bit kernel ARCH=parisc64 -> 64-bit kernel This simplifies the usage of the other config options like randconfig, allmodconfig and allyesconfig a lot and produces the output which is expected for parisc64 (64-bit) vs. parisc (32-bit). Suggested-by: Masahiro Yamada Signed-off-by: Helge Deller Tested-by: Randy Dunlap Reviewed-by: Randy Dunlap Cc: # 5.15+ Signed-off-by: Greg Kroah-Hartman --- arch/parisc/Kconfig | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -142,10 +142,10 @@ menu "Processor type and features" choice prompt "Processor type" - default PA7000 + default PA7000 if "$(ARCH)" = "parisc" config PA7000 - bool "PA7000/PA7100" + bool "PA7000/PA7100" if "$(ARCH)" = "parisc" help This is the processor type of your CPU. This information is used for optimizing purposes. In order to compile a kernel @@ -156,21 +156,21 @@ config PA7000 which is required on some machines. config PA7100LC - bool "PA7100LC" + bool "PA7100LC" if "$(ARCH)" = "parisc" help Select this option for the PCX-L processor, as used in the 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748, D200, D210, D300, D310 and E-class config PA7200 - bool "PA7200" + bool "PA7200" if "$(ARCH)" = "parisc" help Select this option for the PCX-T' processor, as used in the C100, C110, J100, J110, J210XC, D250, D260, D350, D360, K100, K200, K210, K220, K400, K410 and K420 config PA7300LC - bool "PA7300LC" + bool "PA7300LC" if "$(ARCH)" = "parisc" help Select this option for the PCX-L2 processor, as used in the 744, A180, B132L, B160L, B180L, C132L, C160L, C180L, @@ -220,17 +220,8 @@ config MLONGCALLS Enabling this option will probably slow down your kernel. config 64BIT - bool "64-bit kernel" + def_bool "$(ARCH)" = "parisc64" depends on PA8X00 - help - Enable this if you want to support 64bit kernel on PA-RISC platform. - - At the moment, only people willing to use more than 2GB of RAM, - or having a 64bit-only capable PA-RISC machine should say Y here. - - Since there is no 64bit userland on PA-RISC, there is no point to - enable this option otherwise. The 64bit kernel is significantly bigger - and slower than the 32bit one. choice prompt "Kernel page size"