From patchwork Fri Jul 26 20:09:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 13743140 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 2FA01C3DA49 for ; Fri, 26 Jul 2024 20:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GYTOPWJHkgJxxfizvD3caevO/P3vRLKec9Crctj8j8M=; b=Z86wbd3eKbYJWWVS0Z2uuQEiTW YgQFxmDCX9RA49xf077Sb72yHxf7mo73IAjVWUX6kctGhftjDmAwXIIzID52wxsKiCQ36CXhH7JLV jCe0pK1i2siO52GHMk7/xTINVNdcbI+EVnHqo8AKfGF2yAK3Ld+lCv3KpcfPz3OZnkm6YXKljgdJD OXwHZ7akqH5iXoHv3ke3fY05Re5RcSrGunvFvFEVPjS+VzHPELYtcX12dW3XLDu3wLImRPq823GOA 8pYRXkUZ6PNZG1Byp7xe8uZaZ9ChsiWuAn0IC5cDsPjMoydGyxm4tSZ7uaCOd9/8VnW15UbBRgzn7 6/6tvWRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXRH3-00000004rnR-2CbW; Fri, 26 Jul 2024 20:10:45 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXRGe-00000004rjy-07eF for linux-arm-kernel@lists.infradead.org; Fri, 26 Jul 2024 20:10:21 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2f025b94e07so20156601fa.0 for ; Fri, 26 Jul 2024 13:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722024618; x=1722629418; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GYTOPWJHkgJxxfizvD3caevO/P3vRLKec9Crctj8j8M=; b=boRpU4iZZb61r7Loh25rRd7meOk9IJ9gYio56TKKALqnxn+Ngi+cG67pZb5Ga7S+AI Ynb171Ybpyrkei+mpOYbo/kTgqQ8mxcoAUiZgBHfFmYHB8EFq2eabVO2UiX1ZtH0qanY okXaU2amR6iWwKE5Bvr0T3FsHssnxFYii9GbAqHx31u0f2ed6w56s1gA70KTbCQwXNd6 iRTFaWziZK7HFy9xF8c4+7dcBXOEm0KsdZi+5DSaTIvgKWhdyS5ZVqUYGCcc2Aab5Kq/ bsTFKwZsglXDSNs40QXckMeKpRexipH0fBy6likgam5p5J9WQWNVATxRY5cEK0ZQYNDm USrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722024618; x=1722629418; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GYTOPWJHkgJxxfizvD3caevO/P3vRLKec9Crctj8j8M=; b=GZmjt3kOld8phgeqpUUiY7sgf2CsWNr+mCcvqBvU1qKfwy/2fjhW+FJC2HAhreCmLo mH0pr0KLhhyMbc7ppuanxa/pA9b3jAc9b+/NS6wj1ed6hSNst0wKJKK1eM56TI7jRdni xAW3TH/+edJdOchdocj17SZQG7Yy5tiIUOIhA5XxCkAWGKRKY5npQ2fEIH/jdRLCal6I EYpR6/4ZRRdbDHJlAtxwfiMHVBSM1q83Qja/03FbRumANo9yO5q2CbyWwRZyOXoJuv2Y 2iF6tD+fCXcCEDTTTKYXnjM55S2pPSZHE5tVbqGx+Ugh3IfILUMK+5YNXDvrU6FU/DN6 Tebg== X-Forwarded-Encrypted: i=1; AJvYcCUCPPzIPRvp40h7o7zqwgXJpIfMk2mrY5/eCWlVP56icS3mALexdDeRSbZbhCO4onYLobbrqGHedyOqPJzd8L+/dp+GTMlv/PreBmEP6Etb/pSVFTk= X-Gm-Message-State: AOJu0Yxz+0dr8O+nZp7kde2BO4pkw9NpdnBUZYJ++5X514sBMIAN8YaS Q/o0AuHYxGkmni2fLwbmZaD2mLrIPu5vtJ0ouM/I0d6wqrB1YzAF X-Google-Smtp-Source: AGHT+IFzF3aDLwsx+BWp5qqaeg19MV9AztxQhZQ3jFB7uE4QSZnckgqmDYIievoSx7HlTapIjVgWuA== X-Received: by 2002:a2e:9259:0:b0:2ec:5933:a62c with SMTP id 38308e7fff4ca-2f12edd688bmr4762641fa.22.1722024618048; Fri, 26 Jul 2024 13:10:18 -0700 (PDT) Received: from localhost.localdomain ([2a02:3035:a04:10eb:2f96:d20c:b4d3:e989]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac64eb3ab8sm2312191a12.71.2024.07.26.13.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 13:10:17 -0700 (PDT) From: Sedat Dilek To: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Torvalds Cc: Sedat Dilek Subject: [v4] arm64: Rename to KERNEL_IMAGE_COMPRESSED_INSTALL kconfig for compressed kernel image Date: Fri, 26 Jul 2024 22:09:30 +0200 Message-ID: <20240726201014.18484-1-sedat.dilek@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240726_131020_095414_65C87DF5 X-CRM114-Status: GOOD ( 13.05 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The COMPRESSED_INSTALL kconfig does not sound very meaningful. Rename from COMPRESSED_INSTALL kconfig to KERNEL_IMAGE_COMPRESSED_INSTALL. Fixes: commit 4c7be57f2 ("arm64: allow installing compressed image by default") Signed-off-by: Sedat Dilek --- arch/arm64/Kconfig | 6 +++--- arch/arm64/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ae527d1d409f..044527499022 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -2337,11 +2337,11 @@ config EFI allow the kernel to be booted as an EFI application. This is only useful on systems that have UEFI firmware. -config COMPRESSED_INSTALL - bool "Install compressed image by default" +config KERNEL_IMAGE_COMPRESSED_INSTALL + bool "Install compressed kernel image by default" help This makes the regular "make install" install the compressed - image we built, not the legacy uncompressed one. + kernel image we built, not the legacy uncompressed one. You can check that a compressed image works for you by doing "make zinstall" first, and verifying that everything is fine diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index f6bc3da1ef11..1d9b4978eb98 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -182,7 +182,7 @@ $(BOOT_TARGETS): vmlinux Image.%: Image $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ -ifeq ($(CONFIG_COMPRESSED_INSTALL),y) +ifeq ($(CONFIG_KERNEL_IMAGE_COMPRESSED_INSTALL),y) DEFAULT_KBUILD_IMAGE = $(KBUILD_IMAGE) else DEFAULT_KBUILD_IMAGE = $(boot)/Image @@ -235,8 +235,8 @@ define archhelp echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)' echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' echo ' image.fit - Flat Image Tree (arch/$(ARCH)/boot/image.fit)' - echo ' install - Install kernel (compressed if COMPRESSED_INSTALL set)' - echo ' zinstall - Install compressed kernel' + echo ' install - Install kernel image (compressed if KERNEL_IMAGE_COMPRESSED_INSTALL is set)' + echo ' zinstall - Install compressed kernel image' echo ' Install using (your) ~/bin/installkernel or' echo ' (distribution) /sbin/installkernel or' echo ' install to $$(INSTALL_PATH) and run lilo'