Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 677B7C433E0 for ; Wed, 10 Jun 2020 11:35:06 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17781206F7 for ; Wed, 10 Jun 2020 11:35:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="iQ9Md8X6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17781206F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49hlK34Sk6zDqHg for ; Wed, 10 Jun 2020 21:35:03 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (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 49hkKd1Fv2zDqgf for ; Wed, 10 Jun 2020 20:50:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iQ9Md8X6; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49hkKc4JQ1z9sRW; Wed, 10 Jun 2020 20:50:28 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1591786228; bh=n+oeHGHJhM/+k40KWsfEX/3c6NEZVP7rB1vLKDHqSBc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iQ9Md8X6Bu29krYrJcdW4OMDBkdprdb9gCVengxkM7GgR5MAhpetRSjcQ0+W8ik+1 XTPFF04/zPqlI6d1YlQxw6q8mVh10YWtE3gH692HH0HFlW9243qlxqQMyIPLJdXYsz cMjuP6oyn1RCDqVTzZk8G3fGucpl/NcJ2BIMDZ0LtFr0lrvl5xeF79eZQyQUkBTvA2 ZpI8I57HQxQFwQbADJkJVk2aVUSgrToT4rc+lhEpbL9Q1dXPizBqofPdnQnxnCxZqU myI8GdQIBPID1VACNCznb2OPFgsPr1DUO2dI1VfHIY56X2p4yMsd1Ycs9zFMYJ4aIL oHWIcRBnyyIxA== From: Michael Ellerman To: Balamuruhan S Subject: Re: [PATCH 0/6] consolidate PowerPC instruction encoding macros In-Reply-To: <20200526081523.92463-1-bala24@linux.ibm.com> References: <20200526081523.92463-1-bala24@linux.ibm.com> Date: Wed, 10 Jun 2020 20:50:57 +1000 Message-ID: <87lfkvfb3i.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain 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: christophe.leroy@c-s.fr, ravi.bangoria@linux.ibm.com, jniethe5@gmail.com, Balamuruhan S , paulus@samba.org, sandipan@linux.ibm.com, naveen.n.rao@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Balamuruhan S writes: > ppc-opcode.h have base instruction encoding wrapped with stringify_in_c() > for raw encoding to have compatibility. But there are redundant macros for > base instruction encodings in bpf, instruction emulation test infrastructure > and powerpc selftests. > > Currently PPC_INST_* macros are used for encoding instruction opcode and PPC_* > for raw instuction encoding, this rfc patchset introduces PPC_RAW_* macros for > base instruction encoding and reuse it from elsewhere. With this change we can > avoid redundant macro definitions in multiple files and start adding new > instructions in ppc-opcode.h in future. Sorry this series collided with the prefixed instruction support and I didn't have time to resolve the conflicts. Can you please rebase on top of current mainline and resend. cheers