From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ABB7EE743C3 for ; Thu, 28 Sep 2023 21:10:05 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=tQiaTNqc; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RxR2N2Chwz3dVP for ; Fri, 29 Sep 2023 07:10:04 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=tQiaTNqc; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=145.40.73.55; helo=sin.source.kernel.org; envelope-from=song@kernel.org; receiver=lists.ozlabs.org) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4RxR1J0hh1z3dG9 for ; Fri, 29 Sep 2023 07:09:08 +1000 (AEST) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B0F2CCE222D for ; Thu, 28 Sep 2023 21:09:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BEB1C433D9 for ; Thu, 28 Sep 2023 21:09:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695935345; bh=7te1mmtwRAR7CnjCs+EpdXe/jmMMQFgw1qqKxIIPsH4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tQiaTNqc8UJR/3iLTF+2e52J5yaQlugX9dYPBfhXXPbWQxi25MmCdMx7KF+e30vkP YS4h5dG+L5T7DN/0q2Ils6qcU3UTuuvvBEZHrEm20IoG46Eo6KtYAk77eRgg8pS/NN TeteGAvB/B3ggREcJXb5oAwesn4i2UeVRS4zWL0FG6FQ5fwXzCft3ERMfUa52mkBdh OgK4HATQfZEDfZWoeLR+af26s6LzcgUbHUb3vNVdv7g2l+3stqlQWM+fHXynEKi3+z 9W9viwhlNIyNOWIhc9a4JMRPM7+lA7edwmDc2e9r7c6bL76jQXW4xv//G5DW9mTe64 316EZnJ0z+0tg== Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5045cb9c091so15171711e87.3 for ; Thu, 28 Sep 2023 14:09:05 -0700 (PDT) X-Gm-Message-State: AOJu0YxXvV5Xwr8kg0imWBpJozH1BDxlojvPv6I+dCoJFqLJAchu2i5y 229wet+FIj/enG95x8ZUFb1eiifeC2MOoEdAfXk= X-Google-Smtp-Source: AGHT+IHxEtFCbxS9MI1VFWusXoUBlvfGE+D0KZwKEIE5zEdHhgaN5BXgPngRbRFOCYv1VllS5IeyhBSrtieUv01AUDc= X-Received: by 2002:a19:4304:0:b0:503:7c0:ae96 with SMTP id q4-20020a194304000000b0050307c0ae96mr1876456lfa.20.1695935343374; Thu, 28 Sep 2023 14:09:03 -0700 (PDT) MIME-Version: 1.0 References: <20230928194818.261163-1-hbathini@linux.ibm.com> <20230928194818.261163-3-hbathini@linux.ibm.com> In-Reply-To: <20230928194818.261163-3-hbathini@linux.ibm.com> From: Song Liu Date: Thu, 28 Sep 2023 14:08:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 2/5] powerpc/bpf: implement bpf_arch_text_copy To: Hari Bathini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Song Liu , Daniel Borkmann , Alexei Starovoitov , Andrii Nakryiko , "Naveen N. Rao" , bpf@vger.kernel.org, linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Sep 28, 2023 at 12:48=E2=80=AFPM Hari Bathini wrote: > > bpf_arch_text_copy is used to dump JITed binary to RX page, allowing > multiple BPF programs to share the same page. Use the newly introduced > patch_instructions() to implement it. > > Signed-off-by: Hari Bathini Acked-by: Song Liu