From patchwork Thu Mar 2 09:35:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandre Ghiti X-Patchwork-Id: 13156900 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05313C6FA8E for ; Thu, 2 Mar 2023 09:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R2SYwLT1kvcy6hdEOVSe5FJt+BjwI0pH4VFM8jQXrko=; b=QYdAazQQImjBvJ ZGXn9oqJjdl8uN9YfoemtwnthmD1gRqqHej4qb+LZD6YRR3xoxiIfV9xBGj7fTVE8CpXL+wO7M/Dd YQKrnbvcAWuloHnbEwr8NH9x7ibrILKzEq7FsN2F2qkKi3e4zYpFFs3MCoCQJ7T8QCCKlQLhmfk/V Y4K0C62Flrg+nxesENZoToifE8x/tyxAzGVQPtiQLH6+VxIL5o9Mj4mdYPm21EXp1mzPDDW8DWlZu plADYavHeIPK6K017bClBNfZsNdCPzh6ErLnJ43VfrXK63VgTBX02TARQJlsvtdJIzFzfVcURFuME LQKI9rbndeGBHEzKYUqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXfMq-001RTx-9I; Thu, 02 Mar 2023 09:36:52 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXfMl-001RPb-Ku for linux-riscv@lists.infradead.org; Thu, 02 Mar 2023 09:36:49 +0000 Received: by mail-wr1-x434.google.com with SMTP id t15so15854033wrz.7 for ; Thu, 02 Mar 2023 01:36:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; t=1677749804; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fzM+xDlvnOMEGzjeXRPSkpQm3q8SwokJ4gg6O0qi4nk=; b=2pKwrvWIyRi1OpIA1AfAvL3QfUnAmkzXMVZnDdYszZoGfKVRU7Y7Cg00FyqlVMAfzR 8KlQggPnGWQzsGSEwXZKdlUAPPE/CzI6mENSGPUNC7TJzGm4piwA2sFuDu6AZk3OrPZ5 jUTsjMfkhZt2pEIwEO00Long7JrfP10J+5zHSxBm8gOp+WEHDzueNJcprrOdnrLd9geN /fMRarw42gqFzn7wEDXX9VYME2EGY62hMrCuB2dGWNTpfH+fHchkHWK7Xi84tVLWepzD ug8wKExaiT/HyV/tIIiv8zBp3497WkVWRWojXOWeIiWOgBYuevFlPmQ47yK7c/rvtU27 cpFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677749804; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fzM+xDlvnOMEGzjeXRPSkpQm3q8SwokJ4gg6O0qi4nk=; b=brfIvQw1xb+QXYrA0CEOsaYc7DriR+MtJXnFg81cqi3HPZeZXeg9mi4nGI5PjZI03X jxEA+BhiLq/Oe9ymyNBGT95KjvPmd2tSQan+6veqHPslkol3MV/sLDb2j6TTSSy1dL6H 0MyEhBWG73JuQVbBXZYrJSxT/KrUsj6VqY924pElvFkRL3qCYj/CGVl0KVGS7XT9DSYr jpPjuNn/0ifs1kb0Uqz4jbEITh1Af9vIz+JbYnfxkI6noODxyuBA8J5iIyAHB0ZCzOXg LaEx5Kj7QtXG92fGn0BJzdhRvY2f+4FzLG46aA1qUEelVDfKksAMmUaw6kepJQFa9TOB lwew== X-Gm-Message-State: AO0yUKWCqu5gSopsKSqGBAhGzqeZ0zz97dwRISpaFJv7noxWHtooUqCC FXnfKt+s/6H7OscCNmwFztwCAQ== X-Google-Smtp-Source: AK7set9S0WvRgB6m8Y5j9Er6rP20ohMkWZVlQ7kaeMx2hJnOK1ueaGS8lSOcB0Pgql0gAxTneTtghw== X-Received: by 2002:a5d:4708:0:b0:2c7:658:f835 with SMTP id y8-20020a5d4708000000b002c70658f835mr8108283wrq.33.1677749803806; Thu, 02 Mar 2023 01:36:43 -0800 (PST) Received: from alex-rivos.home (amontpellier-656-1-456-62.w92-145.abo.wanadoo.fr. [92.145.124.62]) by smtp.gmail.com with ESMTPSA id p8-20020adfcc88000000b002c55b0e6ef1sm15340416wrj.4.2023.03.02.01.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 01:36:43 -0800 (PST) From: Alexandre Ghiti To: Jonathan Corbet , Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , "David S . Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Chris Zankel , Max Filippov , Arnd Bergmann , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org Cc: Palmer Dabbelt , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v4 01/24] alpha: Remove COMMAND_LINE_SIZE from uapi Date: Thu, 2 Mar 2023 10:35:16 +0100 Message-Id: <20230302093539.372962-2-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230302093539.372962-1-alexghiti@rivosinc.com> References: <20230302093539.372962-1-alexghiti@rivosinc.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230302_013647_800999_FF38C6CA X-CRM114-Status: GOOD ( 13.75 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Reviewed-by: Philippe Mathieu-Daudé --- arch/alpha/include/asm/setup.h | 4 ++-- arch/alpha/include/uapi/asm/setup.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/alpha/include/asm/setup.h b/arch/alpha/include/asm/setup.h index 262aab99e391..ea08ca45efa8 100644 --- a/arch/alpha/include/asm/setup.h +++ b/arch/alpha/include/asm/setup.h @@ -2,8 +2,6 @@ #ifndef __ALPHA_SETUP_H #define __ALPHA_SETUP_H -#include - /* * We leave one page for the initial stack page, and one page for * the initial process structure. Also, the console eats 3 MB for @@ -14,6 +12,8 @@ /* Remove when official MILO sources have ELF support: */ #define BOOT_SIZE (16*1024) +#define COMMAND_LINE_SIZE 256 + #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS #define KERNEL_START_PHYS 0x300000 /* Old bootloaders hardcoded this. */ #else diff --git a/arch/alpha/include/uapi/asm/setup.h b/arch/alpha/include/uapi/asm/setup.h index f881ea5947cb..9b3b5ba39b1d 100644 --- a/arch/alpha/include/uapi/asm/setup.h +++ b/arch/alpha/include/uapi/asm/setup.h @@ -2,6 +2,4 @@ #ifndef _UAPI__ALPHA_SETUP_H #define _UAPI__ALPHA_SETUP_H -#define COMMAND_LINE_SIZE 256 - #endif /* _UAPI__ALPHA_SETUP_H */