Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1979284pxb; Mon, 11 Oct 2021 17:57:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN2c0RqGsYHVjXGtDkFPvEcXe9yN6FDJgxXvCc/BkSLAybtNGOPaju34+7RYyzBaKrVY/y X-Received: by 2002:a17:907:168a:: with SMTP id hc10mr6123272ejc.214.1634000260411; Mon, 11 Oct 2021 17:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634000260; cv=none; d=google.com; s=arc-20160816; b=KuooMvox17408gvfso35JdXEX3Vuq0EqSzk2+NLQNWH2KzE9wZh/Kdqxld/CyECzk+ Y+LRwwIaYNLAlRFy0GKHtQk55IpPl0pgwloj++UyGLMZYKXYgfhzON9bxGlcLoiTlYyt NZFTxSkg4gX3sTFfjIF3cwE0JwHiF4XU+o2SFFNgZpi/u1Mb0UL5cMqyXn2cE5nhxDST O/JBOcpVvDk6FYy1G/QeQ6alHhD5icDFdVsbtAGFsLa8VMNZVbwj5IWYUceFhJMeLOlo YW8vWaGz9JhGIqr4oDSVuFy4Bdm8a+ofWIxaZEG9KwRJ/MSKLda9rzskPvGgLq8s5OtT akvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+LfgCO7EAgEsoRzsWZQ6lm9btjEYWgxQ5fe0hVyRwVk=; b=dZgyEPdERsXVKxNLh541aReFEz8bsKiRk8Pv79W+lKbh01l7KUVAJux6wLCgJVKraE Nzzntg712zOSA7zZq4hJ+A6x4aa64tMqUSls/pXP7y+a3Uwyr/oXvVuSt57H3xScUvmA HRVx1KxiI5USBGmuYW0OGo/Dl0/KuD61BEwcdxOwm7ZM3ZXuQxpM8cH2Re26yn5M+JDV 456WNHfGSWA7242+eZMI+aO+MQwz76ZPg1rv90vOz8qwsJjZwW7++tn2Gr1ThuERPE/O wuvfSmhXUHrJqvP6Ekjz7ZrR1WJqguf7+xhAADbaE7KTL49rXBh+hhz4mvIqFXAsq6oG hD8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cbvqkF3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si12611816edm.458.2021.10.11.17.57.09; Mon, 11 Oct 2021 17:57:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cbvqkF3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231671AbhJLAzT (ORCPT + 99 others); Mon, 11 Oct 2021 20:55:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:50330 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbhJLAzS (ORCPT ); Mon, 11 Oct 2021 20:55:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6CE6C60EE2; Tue, 12 Oct 2021 00:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633999997; bh=rADcbdxnrZ5MPsZ8lJCYjLoyw1wI9SqH6FD/5rH7vCE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cbvqkF3nWsEU9G1HODrRHUpYx8Wdg7YwxlDYf6jUnF9jJ1wrewB014/dVwCxWsVzx 1AouA0URAdT4Am8arNwtzgvDknrQ7JEkaSf5ie+gz3UY5j8B+iH5dP8xi1JcxFXiIS 5KVHeK9D3IcH4nf0bpnwdr/vB9skHYeAWgl4ttE4pmSjAhWbpbB7sBHilVVOfi5N0m +uCfvEUO3sYJaHoyMXW3iOMWjktqJJF3Ru5WOj6LFnwsW2Xl5UO3nIhjW4bxvZatI9 C8F1vpx6gowizknBUDwzBdtgER5LouV4ovOVY66rxShZgVIUTc5TLFg3M3/Gbz/Lyp 3rBZt4I+kCrVg== Date: Mon, 11 Oct 2021 20:53:16 -0400 From: Sasha Levin To: Christophe Leroy Cc: Naresh Kamboju , Greg Kroah-Hartman , open list , linux-stable , "Naveen N. Rao" , Johan Almbladh , Song Liu , Michael Ellerman Subject: Re: [PATCH 5.4 49/52] powerpc/bpf: Fix BPF_MOD when imm == 1 Message-ID: References: <20211011134503.715740503@linuxfoundation.org> <20211011134505.420785540@linuxfoundation.org> <21099a2e-b1d3-a1dd-be79-3e491afe20cc@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <21099a2e-b1d3-a1dd-be79-3e491afe20cc@csgroup.eu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 08:24:30PM +0200, Christophe Leroy wrote: > > >Le 11/10/2021 ? 19:33, Naresh Kamboju a ?crit?: >>stable-rc 5.4 build failed due this patch. >> - powerpc gcc-10-defconfig - FAILED >> - powerpc gcc-11-defconfig - FAILED >> - powerpc gcc-8-defconfig - FAILED >> - powerpc gcc-9-defconfig - FAILED >> >> >>On Mon, 11 Oct 2021 at 19:28, Greg Kroah-Hartman >> wrote: >>> >>>From: Naveen N. Rao >>> >>>[ Upstream commit 8bbc9d822421d9ac8ff9ed26a3713c9afc69d6c8 ] >>> >>>Only ignore the operation if dividing by 1. >> >> >> >>In file included from arch/powerpc/net/bpf_jit64.h:11, >> from arch/powerpc/net/bpf_jit_comp64.c:19: >>arch/powerpc/net/bpf_jit_comp64.c: In function 'bpf_jit_build_body': >>arch/powerpc/net/bpf_jit_comp64.c:415:46: error: implicit declaration >>of function 'PPC_RAW_LI'; did you mean 'PPC_RLWIMI'? > >PPC_RAW_LI() was added by commit 3a1812379163 ("powerpc/ppc-opcode: >Consolidate powerpc instructions from bpf_jit.h") > >Priori to that you have to use PPC_LI() instead, with the same arguments. I think that I forgot to reply: I've pushed a fixed patch resolved as proposed above. -- Thanks, Sasha