Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp813611rwb; Thu, 11 Aug 2022 10:18:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR4TWitdQ/oljzi0xBWSJOFrPf9gwCIm2X6aSAmuEO0QefmOOgJHHYTSkMTm5aqq0RdeWDzB X-Received: by 2002:a17:907:a40d:b0:733:17c1:a246 with SMTP id sg13-20020a170907a40d00b0073317c1a246mr69613ejc.132.1660238308213; Thu, 11 Aug 2022 10:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660238308; cv=none; d=google.com; s=arc-20160816; b=uXT2MAZVNtqPLZDqp21WRd78vYflRcqLqxlHwZ2eaRio+0R16YHwKbDyqJadSAGKFf QHt+iepImR1zqZXFSDeHQIfAi5WULjopMNpVsnMf/MjAWbprK5nNflKwAZlqGExIkOE1 VhmaJLMG8/huicoEDkGHckDKRHV1sg/UXohLZzNYdK0xa38RucSYz/wmriHDFc5Zfs+j DXg5tGb2nPZaDHX3nlRayTPc19Fc7X4d9oStnNcGGBYUImjtMb4khnwwX00bI3XiVK7x GC/AdKmzZ5hBJHDuBi6x6czQDum1c6xY1KKJFF0XqsOy3GhFHoJ8AklHiKXL7zVTx3Ax f3vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=QSpm1V+Ji47xL0bb4a9x9poHrFEc/OWZ59EiV9Me3Jo=; b=rMry8YIimcpHT1xYPZNq1ahqYncEo1uf9SC0zDm2xnZ8JOclZW6gdWHVooWPwLbQcf b605sdbghsfe3cdmJEtU2J5IPhSqVwVhhxvMsYyBu6UUeGt7htzHT1Zc4hwZkui5hhsl 3q7DBnj2s1fS4dj/vQh2TxrWQvOFgIYYi2dT/oh2L2It9nLecgajapRs3htUaOO47fAu IKbM2riyAJJFTlM3mJLuPnxZhdwOdIGTik8RPxuIH8nRDuGuoVVsTywMeUIbBmLPTtu0 /hQLrGdstPBnG8FEkKIYlUBVXRWTN9BgN6OcpCdhAQeL8JrhxGfwdIxEEQSQrPnCdO5D 0E9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b="X/u+FLky"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr40-20020a1709073fa800b00732989ac0absi7395747ejc.42.2022.08.11.10.18.00; Thu, 11 Aug 2022 10:18:28 -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=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b="X/u+FLky"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235629AbiHKRNY (ORCPT + 99 others); Thu, 11 Aug 2022 13:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235285AbiHKRMy (ORCPT ); Thu, 11 Aug 2022 13:12:54 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BDC545F5A for ; Thu, 11 Aug 2022 09:53:25 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so5639695pjf.2 for ; Thu, 11 Aug 2022 09:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc; bh=QSpm1V+Ji47xL0bb4a9x9poHrFEc/OWZ59EiV9Me3Jo=; b=X/u+FLkyzkuFdNfRE6blckihWwEe3TVdXw9DwZWy9d6NmFNRbqRIMZgNpQ1i0+5NZ+ HPCExhGijUIVKwqUQvCM/RCTK4WG5knu0PEDJ9mGHGpczh44JzBRSUghHAWbo/eWjGPV Y5kpLfcGXHCvhDMnVbfnZ5P5cfwe3A90NsBHWuwDFuWDUmJQFI8MKy828C5d0EyH7/TZ DqM1l1lG1PyonBhq57LVAXrlmrNHbbXFrJ9VbfNXPDknsOO7UZb413p43bbnDNXvjPqx B7FTCG68mGzEE6eA/M3LwJKiSEFGOTkQLkGoKZT907VWu6GVat1dOmnn81YUEoBi8QPE D5tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc; bh=QSpm1V+Ji47xL0bb4a9x9poHrFEc/OWZ59EiV9Me3Jo=; b=f844sNIh0fWpMysQ9KHsLjUUfHfxFD5fEos1/6EMw9SMVM/Pe9O0+35vcCc9Km6hFK FkS0te6ZEGFsujAuEpQE7Fdf4RsoRXv8wahHcHa8GJUnG6Ph/LyOJ4xuUedaQ+mJBhEC ynnlGUpsutR9TxYTUAURCVCQAhzhL0VyY7bVIqrzGP7lsU+qROGnx5/zzCLjjtFsw/pC mCdklEO+gQlWpq4EXiTZNqROwpMhU3+pqlQasG6AC+WwDJkt2JhPloTJUE2o/ymkNorr sq26pGS0UL1emmbohi377VZgAd3lQLOsCIRiSwpvtWqrV9Dw4QjfpBO3TT97wBr0Mujc 154Q== X-Gm-Message-State: ACgBeo093TQOGTJthwlJ9CY4CuhO6pNcQe7+KngpZyRmy7EcJKSYb+qs XcSsu7z6tVcn3HTKQw7bQMromA== X-Received: by 2002:a17:902:dac5:b0:16f:63c:3e91 with SMTP id q5-20020a170902dac500b0016f063c3e91mr66920plx.169.1660236805100; Thu, 11 Aug 2022 09:53:25 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id c11-20020aa7952b000000b00528c22fbb45sm4441125pfp.141.2022.08.11.09.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 09:53:24 -0700 (PDT) Date: Thu, 11 Aug 2022 09:53:24 -0700 (PDT) X-Google-Original-Date: Thu, 11 Aug 2022 09:53:07 PDT (-0700) Subject: Re: [PATCH v2 1/2] riscv/purgatory: hard-code obj-y in Makefile In-Reply-To: <20220725021902.625630-1-masahiroy@kernel.org> CC: Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, masahiroy@kernel.org, bp@suse.de, lizhengyu3@huawei.com, ndesaulniers@google.com, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: masahiroy@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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, 24 Jul 2022 19:19:01 PDT (-0700), masahiroy@kernel.org 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 > --- > > (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 Thanks, these are on for-next.