Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5696812iog; Thu, 23 Jun 2022 03:39:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sOCgRMkI3hzVumH4kscTEe7hMVwztI8eE+RLAnhDgL/nt7/XATxjz5ETTJ0WsV5yntu9NY X-Received: by 2002:a05:6402:528f:b0:42a:c778:469e with SMTP id en15-20020a056402528f00b0042ac778469emr9739157edb.404.1655980767817; Thu, 23 Jun 2022 03:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655980767; cv=none; d=google.com; s=arc-20160816; b=ilOEU/mfBB5j1F8oMhZfBzUoU2skfFt/pxCpJs8vf6o2aY6BC9wuEHps+QI+VNjfrY d4myZgQ+jEgDx2NiI6iyBfSufq683SRzzO07ZnqrsTGlb2s/juVjq1jw2PvOEmEKnFhf Xwqah+wAUXqg//JgDw3LAOpCqq+RTPj5GMzCRtIvx3n4Tk5reUbO1Bj193JPcuGuE2dq WmPMlUX9Gp4/EBwxaiTrs6m5JrtDXqZcDqW3eWlxDHKHjZP1VWsf4CL7QwASPS52is+p uYAswFuAdLL1bJIFduF/VRKLfkbC01WNAR75EF+Ik/u0PTMSkPzvGrvkezaqEmQsVP56 Bphg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=VrNJeZOOoxsp333/0m3wcHIZFYPss3hVZ7DqYZoPrEM=; b=IIl0V9zeuS2Ao+ojl8eBtYaSAfJvCP+3SYSffu4tTjZ12Dh/cTvoUgaVSh70zkBKUQ HVKHFsuqLkyXCoIZ/3t7z1nHF2TtIVCpEr+DGHGjNtgVE5XYV6a7f6wXjSzz2dy3q5+A zWF57KjqvgTgPKbaJLapmlh/u/STfA7g7vBeYHe8inhEs0hJG6wcBGWS2SkCAXB/acck ens4df7o8ku1uTt/IxLjW7Z/4H992D9dqzaS9SAbktCwRuLRrn2ch2+H4UKhR33/3ENA mWY3jKLJa5nesht+Ku+Y1wVwtrEfLPM0rdePBzmhIOVep/EsKrI+VyrYAzEbuhn/z9Ic d5ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zQA+le9I; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m10-20020a056402510a00b00435a7f9aed5si6921761edd.598.2022.06.23.03.39.02; Thu, 23 Jun 2022 03:39:27 -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=@nifty.com header.s=dec2015msa header.b=zQA+le9I; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbiFWKJe (ORCPT + 99 others); Thu, 23 Jun 2022 06:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiFWKJd (ORCPT ); Thu, 23 Jun 2022 06:09:33 -0400 Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B940449C8E; Thu, 23 Jun 2022 03:09:31 -0700 (PDT) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 25NA94Bt030361; Thu, 23 Jun 2022 19:09:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 25NA94Bt030361 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1655978945; bh=VrNJeZOOoxsp333/0m3wcHIZFYPss3hVZ7DqYZoPrEM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zQA+le9IcciER0KVbr4wwcg45cS/xUXk6UDnJ05NNPEGXAy6mZvYU29OYi6lOmJEZ dgJmSlfrN/J3ioaPTbHcRP3MoR+bi3wKC1A39Uo2werJvmHuTh+/N/DBHshfLa8h5x 1KA0M+tYRkk+3Q/ZxW+NLhk85uUAOY73kSuCeYWHH7L5ysp8UFD+4GXrw5K3NkSPR+ W6hjnCN2C9Ge++kHVdNZ/U3gkZpnVYBOKl210mKwOkTz2HnSRPi4mXnacffBqQEj02 pjI2FX0cR8u0o4ODTO59clnyBCn/+T/9FmhWxTBCNy0Au3mLtcyF3iKsTMZj/rgNEJ g60XnIXZ1PYkQ== X-Nifty-SrcIP: [209.85.221.44] Received: by mail-wr1-f44.google.com with SMTP id i10so23445662wrc.0; Thu, 23 Jun 2022 03:09:05 -0700 (PDT) X-Gm-Message-State: AJIora+W09s21WkSli2lBE5mN+rHZP5FXSCm3zhba9uSrCUR71XykZL8 mR85CoELnkw2HxYWY8t9FC3eoYEAM7fRuNkVpHQ= X-Received: by 2002:adf:e104:0:b0:21b:9938:b07a with SMTP id t4-20020adfe104000000b0021b9938b07amr7634574wrz.682.1655978943781; Thu, 23 Jun 2022 03:09:03 -0700 (PDT) MIME-Version: 1.0 References: <20220613170902.1775211-1-masahiroy@kernel.org> <20220613170902.1775211-2-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Thu, 23 Jun 2022 19:08:27 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] s390/purgatory: hard-code obj-y in Makefile To: Alexander Gordeev Cc: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , linux-s390 , Ilya Leoshkevich , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, Jun 22, 2022 at 10:48 PM Alexander Gordeev wrote: > > On Tue, Jun 14, 2022 at 02:09:01AM +0900, Masahiro Yamada wrote: > > The purgatory/ directory is entirely guarded in arch/s390/Kbuild. > > CONFIG_ARCH_HAS_KEXEC_PURGATORY is bool type. > > > > $(CONFIG_ARCH_HAS_KEXEC_PURGATORY) is always 'y' when Kbuild visits > > this Makefile for building. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > arch/s390/purgatory/Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/s390/purgatory/Makefile b/arch/s390/purgatory/Makefile > > index 360ada80d20c..3e2c17ba04de 100644 > > --- a/arch/s390/purgatory/Makefile > > +++ b/arch/s390/purgatory/Makefile > > @@ -51,4 +51,4 @@ $(obj)/purgatory.ro: $(obj)/purgatory $(obj)/purgatory.chk FORCE > > $(obj)/kexec-purgatory.o: $(obj)/kexec-purgatory.S $(obj)/purgatory.ro FORCE > > $(call if_changed_rule,as_o_S) > > > > -obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += kexec-purgatory.o > > +obj-y += kexec-purgatory.o > > Applied, thanks! > > BTW, it looks like x86 and riscv also need similar change. A patch for x86 exists: https://lore.kernel.org/all/20220616072407.2317131-1-masahiroy@kernel.org/ I will send riscv patches later. > In addition, x86 use of CONFIG_ARCH_HAS_KEXEC_PURGATORY vs CONFIG_KEXEC_FILE > is not consistent with other architectures (may be even incorrect?). I thought of this when I reworked Makefiles, but did not touch this part. > > > -- > > 2.32.0 > > -- Best Regards Masahiro Yamada