Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp62766imn; Mon, 25 Jul 2022 10:10:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLA3cytGxOwwq9bQBmkg7ULjyj4EzsU2xDEDKfrtK16me5vJE4Un/22nr2nNQocurC7Omt X-Received: by 2002:a17:902:e78f:b0:16c:8741:fea1 with SMTP id cp15-20020a170902e78f00b0016c8741fea1mr13451802plb.89.1658769033095; Mon, 25 Jul 2022 10:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658769033; cv=none; d=google.com; s=arc-20160816; b=ycQgKYvuAAegrqUSvA24BfIxeMOHAXfL5JawNiBMEISyDTCCA01c+HXZNtuaTkbqne b75g2VwO1HYXXw2/UZSBYtKxfPWbPtGLo6e6NvdO7zUQRYnE+9pInJbbYoAtxRhEQ8qU GSqsd5CLysJz+Us/LSKUuXukxpP20RhejGnFkH1qgFbaaKUVF5V4Gx7CJs/oJquDxEp8 9rH22oHJ6XJpaaV2rW9ZVSMT4YeQgDkZH4Do8cWymbF75hIwoxn+JNfa9e2DxEjh8gRc /hALIIGPVVgVyuhr7X75ieiqb2RAxtStNLLRoPQPpKZ+t82Hd2YirFmRiMcPOOTNf2Ar pW9w== 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; bh=iItHm3Vk6EW6BDSEYYaGs+JJjW4XNUHsFzmNCV9XOzc=; b=uTqXht6IFVqs+l+wDvpxk4sOvs5WyRX8JuXcSswARPMH/QFV/mBOo+xgz//gwIIkLp 0j7RWo9i3S04FUffWpt02IBmcn3z7bXaAsLDJ21iZUz08RAVXIolhKN2lgC21mPZuNDb /fFwukCXYC76ZWuY4BSaC7WkGofpC5UQO3L+SgzD9848o2Wk3EkmmilzJpxHDmtn+RGV D7HbCAbv56+LYmq1cLNDPJb1plKIls/U/jy0z4WYxivtKb/5l48XEm5tgLY4HCb+lu6i ZZ9kM5piQ6tbNf4WiV4y9cWxWAAM3+7GpDITS507QCpuwl2MhlSiJglxXQ+AuNME8MOu ZXtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YwOUo1G3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020aa79f91000000b0052ad6e04b95si13452945pfr.202.2022.07.25.10.10.16; Mon, 25 Jul 2022 10:10: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=@google.com header.s=20210112 header.b=YwOUo1G3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235750AbiGYREl (ORCPT + 99 others); Mon, 25 Jul 2022 13:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiGYREk (ORCPT ); Mon, 25 Jul 2022 13:04:40 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B817DF88 for ; Mon, 25 Jul 2022 10:04:39 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id t17so6758435lfk.0 for ; Mon, 25 Jul 2022 10:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iItHm3Vk6EW6BDSEYYaGs+JJjW4XNUHsFzmNCV9XOzc=; b=YwOUo1G3f6D5LB/r1XJsmOwujkGirm8R4FRenyogUGCgdgc+RQafd3FV9kdoNZxSjA G7CYMubVI7Ujd1mssOntAkIDIgUblWYYJfsTRt6U8P6YqNjK1hNzIT9iLnKxMm7ZY3cl vmrqUzGt2l/uvs3PU9EkeHsLM7xkjt6Xp2ygefHpOXFjKl/yyEAGto77IwnrP8VO/dAL iD5bDhgevSbJytibVPDfLJuAczZW72pPxFNs2B0FouBzz6CoEP6710cwUXq+mNnAvrW9 tNqd9LAFfU/zG3GKYkwl1L8TFaUr5gcQp/iWSwvRS6tEmeg1gis4Xx6lcmjQOrGeuuwt AVBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iItHm3Vk6EW6BDSEYYaGs+JJjW4XNUHsFzmNCV9XOzc=; b=nqTIcmey/ccAWZMJtEYgjOH3BiqiSwO7R+V+IMjV/MePyoW5t5t7eC1+qxuTBzG2HY KeMSkd+Qm/XjTK/niVSVOU+uaBjVBs+Cw0aBDwHXbQdyyvVO6z1oy4Uc8ykLnLovYsqD btnde2tZW62Fk968bPV8pqkcuzP6vLHHwYZ0fr1fANqASBmHSW3tRfhHDG6kN0KOxj3r EPxEP7lJUn4Nl/BYir42xyO+/TWI9ZmoSWCAThaKCrJkQpoMp5DRydf/0lVWXNP4qYKq FIYxqq8Hg3BPXq4S8Hg0gWjdmu1bOM79dHVnNug54jEdAeSojwI/EeoCNKws1YxDRo0f Xg8w== X-Gm-Message-State: AJIora+jhyCkLdoCZcUIGBbln+2Hd0Mx+hp4X+Q1ykJnuKh+aTmpGbGs T8CJS85LqAygvdVmPHVQIR453qrHwRCmUUDweOMY6TNs3lo= X-Received: by 2002:a05:6512:1190:b0:48a:19d5:ef23 with SMTP id g16-20020a056512119000b0048a19d5ef23mr4715562lfr.401.1658768677590; Mon, 25 Jul 2022 10:04:37 -0700 (PDT) MIME-Version: 1.0 References: <20220725021902.625630-1-masahiroy@kernel.org> In-Reply-To: <20220725021902.625630-1-masahiroy@kernel.org> From: Nick Desaulniers Date: Mon, 25 Jul 2022 10:04:25 -0700 Message-ID: Subject: Re: [PATCH v2 1/2] riscv/purgatory: hard-code obj-y in Makefile To: Masahiro Yamada Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, Borislav Petkov , Li Zhengyu , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Sun, Jul 24, 2022 at 7:21 PM Masahiro Yamada wrote: > > The purgatory/ directory is entirely guarded in arch/riscv/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 Thanks for the patch! Reviewed-by: Nick Desaulniers > --- > > (no changes since v1) > > arch/riscv/purgatory/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/purgatory/Makefile b/arch/riscv/purgatory/Makefile > index d4df200f7edf..c2d14e2f345d 100644 > --- a/arch/riscv/purgatory/Makefile > +++ b/arch/riscv/purgatory/Makefile > @@ -92,4 +92,4 @@ quiet_cmd_bin2c = BIN2C $@ > $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE > $(call if_changed,bin2c) > > -obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += kexec-purgatory.o > +obj-y += kexec-purgatory.o > -- > 2.34.1 > -- Thanks, ~Nick Desaulniers