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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F2EAC433F5 for ; Wed, 27 Oct 2021 16:14:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F1AC60F6F for ; Wed, 27 Oct 2021 16:14:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbhJ0QQn (ORCPT ); Wed, 27 Oct 2021 12:16:43 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:51897 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbhJ0QQm (ORCPT ); Wed, 27 Oct 2021 12:16:42 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 9A1515806A2; Wed, 27 Oct 2021 12:14:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 27 Oct 2021 12:14:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=KV/0XgKlMdmKe7kuRBM0TM1FwqG czle+Ubs/clKek54=; b=cvC4yQu45pJauSRA9F7us9kh8KXL+r4Hk8kVAGBFF1B 9rJvb2mLrrutKcqsoqPwnYC1e1OjM+Ju8gHqF+Gz3CuYE5O5XpafG1a6T/Z0sAMX lLsaWxsLK07b9LHtfKAAVdb4desSdfx3hEBLCimvz9qtVpbIOyPS1aKn5q54QstJ +wQK74fDM3q0Jlj9T1alJ2c7KGDC9UqGNTv4jgHeAcUmfK+BKSRFZcWOwZRPgrTj jtDYAqRRLQoUhkhUd5zwsuC3hKnZt76solND4EQDdsdBrSkxbtZCMPJdXtPpoW61 dCGsH++xPV7pb+kkFa+8xy0XslKWcjXe+aZ6fcMzUUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KV/0Xg KlMdmKe7kuRBM0TM1FwqGczle+Ubs/clKek54=; b=EDd5CWEd3zWrPPVDgVIhE7 kuFhHMhsukYtD6NY/xcgUSXA4/a1UgAXXE+JkH75xTauk1PRpY84VIgR815EdfpA rwVMm4591z9VZogpbAuktFtpAwxSTZEPfcbFUTAQy34CSBGWZlAchtIG6mcZdiQu iyQ2mZhccdlCwKF+M2x6Ing+Nd90WsBGtclE2rjB5NbXs2SZHrKIwsyuOFVimKNc Z5scP9f1Du3O09ElOnL/gAntaBE0SajCIogREBWdgH0ugq+qCqQ29qqXIV2LLnVa JGjTz5WGSl/b33Mai83l6zTd0GT8I655BBRnKEwo7ud+WEKbWeQM0fpli0tyXr8Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegtddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeuleeltd ehkeeltefhleduuddvhfffuedvffduveegheekgeeiffevheegfeetgfenucffohhmrghi nhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Oct 2021 12:14:15 -0400 (EDT) Date: Wed, 27 Oct 2021 18:14:12 +0200 From: Greg KH To: Thadeu Lima de Souza Cascardo Cc: stable@vger.kernel.org, "Naveen N. Rao" , Johan Almbladh , Christophe Leroy , Song Liu , Michael Ellerman Subject: Re: [PATCH 5.10] powerpc/bpf: Fix BPF_MOD when imm == 1 Message-ID: References: <20211027112804.1273985-1-cascardo@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211027112804.1273985-1-cascardo@canonical.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Oct 27, 2021 at 08:28:03AM -0300, Thadeu Lima de Souza Cascardo wrote: > From: "Naveen N. Rao" > > commit 8bbc9d822421d9ac8ff9ed26a3713c9afc69d6c8 upstream. > > Only ignore the operation if dividing by 1. > > Fixes: 156d0e290e969c ("powerpc/ebpf/jit: Implement JIT compiler for extended BPF") > Signed-off-by: Naveen N. Rao > Tested-by: Johan Almbladh > Reviewed-by: Christophe Leroy > Acked-by: Song Liu > Acked-by: Johan Almbladh > Signed-off-by: Michael Ellerman > Link: https://lore.kernel.org/r/c674ca18c3046885602caebb326213731c675d06.1633464148.git.naveen.n.rao@linux.vnet.ibm.com > > Signed-off-by: Thadeu Lima de Souza Cascardo > --- > arch/powerpc/net/bpf_jit_comp64.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > All now queued up, thanks. greg k-h