Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1139298ybi; Fri, 12 Jul 2019 10:22:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYoynWrtbx7E3w9M07XATJeJORHFvIh+uTqoZGxClfrnuVNMPKHwZRE7yV2r537KEFcBSf X-Received: by 2002:a63:b919:: with SMTP id z25mr11927582pge.201.1562952158661; Fri, 12 Jul 2019 10:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562952158; cv=none; d=google.com; s=arc-20160816; b=aUte5Wy3JLW2tAvEddcBPil/KSPEz3HAj70YGvFuHzUpUpEqWwOs/7Mlq5A1+pT0uy J1BQNXg5buCwc/073wF1dy8O49kqzlu02ezypEnek3fqGlzOV0ZF7cVDTekCf49r9Vnm 1R5O+h3SMwE4QuhduaicqDYx2ZFSiDl9EZ34XFJBhvsDQLdt2d2WXYHk/vviv3DCJ8Ef NlObipJ+wJ75euPkZSdQzf5tmarYOwP1cyxi0OmqbEwuvGLQ99HxjEyDwufG8mA7uZb4 3Fg02aFtDjb+T6msR0Oscel1kjOPemnf4mhC5Qk+XvOU18IW1GVM7iMFng8SAhjWU+7m yqxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Y86B+PdKKJDbdW1gUs5mFvphSV2JGPYKaASKTwPsWos=; b=UrS2DUxjN0PexcEgPEl31TxaeB/APWFxq6lVPNK/4lmML+bTF/rmLcfzwHQDuDTER1 J0z2CMZ6m/0MOtt3H4xlfAZEX2zfkhRemEDMozspLIgzgCfeELwQQDjD3YT0jv0za3RV u1XptSiT+l2lIJrhXegLAFyyofsfynarJKqbwa8G0PhT0T8Pw194uPGEMd9WJjAK0Kw9 t+WF4lNz/VGZ+TINIltXMzfYmq6qrLsNH3bLV4dWYWALdW/V+/+sg+EabBoKmjd5uLUm KSQAbo7ur2cQXyGpEnCItWnpC29KzTknz0dp3V/opvkH6bQBRkzRu+SbDqdZwrHrdm0J RWiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si8860594pjb.8.2019.07.12.10.22.23; Fri, 12 Jul 2019 10:22:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727401AbfGLRVT (ORCPT + 99 others); Fri, 12 Jul 2019 13:21:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:57948 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727266AbfGLRVN (ORCPT ); Fri, 12 Jul 2019 13:21:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BF9B4AFB7; Fri, 12 Jul 2019 17:21:11 +0000 (UTC) From: Petr Tesarik To: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Martin Schwidefsky , Philipp Rudo , Masahiro Yamada , Greg Kroah-Hartman , Laura Abbott , Thomas Gleixner Cc: Petr Tesarik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] s390: add Linux banner to the compressed image Date: Fri, 12 Jul 2019 19:21:01 +0200 Message-Id: X-Mailer: git-send-email 2.16.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Various tools determine the kernel version from a given binary by scanning for the Linux banner string. This does not work if the banner string is compressed, but we can link it once more into the uncompressed portion of bzImage. Signed-off-by: Petr Tesarik --- arch/s390/boot/compressed/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index fa529c5b4486..9bc4685477c5 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -11,6 +11,7 @@ UBSAN_SANITIZE := n KASAN_SANITIZE := n obj-y := $(if $(CONFIG_KERNEL_UNCOMPRESSED),,decompressor.o) piggy.o info.o +obj-y += ../../../../init/banner.o targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4 targets += info.bin $(obj-y) -- 2.16.4