Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp955353rdb; Wed, 1 Nov 2023 07:31:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGdiGSxhFD5kRGWp8DhK62u4ILZBVZQV6Db8f9l567OziYNwAn8dA7MfW0zhDShKK0VJlcO X-Received: by 2002:a17:902:d4c3:b0:1cc:5aef:f2d2 with SMTP id o3-20020a170902d4c300b001cc5aeff2d2mr7694606plg.60.1698849117136; Wed, 01 Nov 2023 07:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698849117; cv=none; d=google.com; s=arc-20160816; b=X6h/Ndjity7AJn7EMaa7amo2KWtfcwQ1yXOYSGt+jZ2D6c4OS+uG6CgJgCd9eSnXf4 nPg7VO0ANrptvBdcPHQqS+zQgIZM7hmlxM0lXxtbTokkekw9jjl+SmxyCfJqoTMncAf9 dRNHVMG3lfcyL4f0h9fAIJTGhaH3tu8yT8FjsTBGyn+vssyghrAGrEL/QPITN3KOGzo7 K+Bjc0vU+r065GhzYIeAhEyg1Boz8w0S7xRbGPVDSyGMFJpSdsgOAs9OiF0+g3/q4nEt hojhofl+laohi4KLPhG9r/e706i7TTz2qIo7DTasbGd/PQMBgW3madSwgRIGurSBqS4J 6ISw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=S3QnZ5TLVGUDyUEnC8ZSxV6bintznPVwiXrtpENX4kk=; fh=zcYvxzpmrfiwupy/cM/k5sdIZDKqxEx+KtCfoajBTz4=; b=k4tca4D+otuAttciyNepjl83LA+CuRqR9D9sP+qldhn8q6ikaZRAU1DfmcvpazJzi5 2xtiuNs4QmFkjYHVzt4UsruHu9FlwK1F2rbWrVPAttziv0iis84NkDhFvke1tTdCzcN3 SMS3HLV2w0IbwVSD1htO7weES/2ofZ8yqTH1/8lhW55A3wi2/sL0wb4lJ1UnbfsVvqs5 SppBskRjzjvC44BRE5B6yQnf+DgT8er7jBTPSFVZavhlmKx5fDgBX8N7HDzuf8E2maUm +QTmMTxKMgp/0QzNfUAcc3PukgmRTrsINImFlbkvnEWongFke4LZM5lzIlwaAZB5SfJ0 iIFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rQuJq07s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o9-20020a170903210900b001cc54fb60fbsi2962022ple.396.2023.11.01.07.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 07:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rQuJq07s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 94DA98080E2E; Wed, 1 Nov 2023 07:31:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344461AbjKAObk (ORCPT + 99 others); Wed, 1 Nov 2023 10:31:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235658AbjKAObi (ORCPT ); Wed, 1 Nov 2023 10:31:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23DD5118; Wed, 1 Nov 2023 07:31:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCDE2C433C7; Wed, 1 Nov 2023 14:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698849093; bh=S3QnZ5TLVGUDyUEnC8ZSxV6bintznPVwiXrtpENX4kk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rQuJq07sv+PfdvWLN44YdKyEL6wCflUbM5/TZ3B5jcrMso4+U/ZyHsv8FeCCjnpe4 MuVCOCmuV5m0ZVa2Te+iwRkfo1yFJU2OgGgEHl2V3xTJc0J4tEqLMRv+wTPSrdKuvk YTEKMEhOhIJycU2UlGI6ZcdgpyEYO9KDj5mxHrgxVDc6BjC1DSaZT+uVD2buHy1Hw+ qMMAZRYT3feZIljbISqCzhaCQOFTWxVtqJQPpJVLZz29JZnVL2xffF2XBV5qKXj8Sq PqFiE73TKdDlxAFpNgA3r22hhy2s1SaBkdvVlnRTIJpJiU+4wUpNExWSSEyRproy4F Yyn/oCDVbuWuQ== Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1c0fcbf7ae4so4862635fac.0; Wed, 01 Nov 2023 07:31:33 -0700 (PDT) X-Gm-Message-State: AOJu0YzTWSos6NMU3a3ZvEaZ09FkGESDcehHWieAZ/mJhu6JH1R2RfCZ 9FPdpCzQIIudM491NLoF3ZNZrUm8AUiQE3VkkGI= X-Received: by 2002:a05:6870:709c:b0:1d5:a17e:f62 with SMTP id v28-20020a056870709c00b001d5a17e0f62mr20914715oae.24.1698849093164; Wed, 01 Nov 2023 07:31:33 -0700 (PDT) MIME-Version: 1.0 References: <20231030113416.5208-1-jirislaby@kernel.org> In-Reply-To: <20231030113416.5208-1-jirislaby@kernel.org> From: Masahiro Yamada Date: Wed, 1 Nov 2023 23:30:56 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: dummy-tools: pretend we understand -fpatchable-function-entry To: "Jiri Slaby (SUSE)" Cc: linux-kernel@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, Naveen N Rao , Christophe Leroy , Michael Ellerman Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 07:31:54 -0700 (PDT) On Mon, Oct 30, 2023 at 8:34=E2=80=AFPM Jiri Slaby (SUSE) wrote: > > Commit 0f71dcfb4aef (powerpc/ftrace: Add support for > -fpatchable-function-entry) added a script to check for > -fpatchable-function-entry compiler support. The script expects compiler > to emit the section __patchable_function_entries and few nops after a > function entry. > > If the compiler understands and emits the above, > CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY is set. > > So teach dummy-tools' gcc about this. > > Signed-off-by: Jiri Slaby (SUSE) > Cc: Masahiro Yamada > Cc: Nathan Chancellor > Cc: Nick Desaulniers > Cc: Nicolas Schier > Cc: linux-kbuild@vger.kernel.org > Cc: Naveen N Rao > Cc: Christophe Leroy > Cc: Michael Ellerman > --- Applied to linux-kbuild. Thanks. --=20 Best Regards Masahiro Yamada