Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1170354pxj; Fri, 18 Jun 2021 00:48:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzum82835bn3wfBi+YTwZvP5jMu87Ubs5N7QN0NexfUuTtRBcNjPjTjznioz1Db5nt0nwrw X-Received: by 2002:a92:7d07:: with SMTP id y7mr6414550ilc.68.1624002527660; Fri, 18 Jun 2021 00:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624002527; cv=none; d=google.com; s=arc-20160816; b=i1vEJ4QvFOEqzvlixT2E/iL/ImMB1RKEESPBsMFv1QXMNfErVNVDVdiO+Z0YtCYGpo oyJPSM7wajr++qz+bhCt5HbgOhHFPpSxJ1BpvAErcxHvHZQ3gfkqtwy5QZBvUnWXqD2t Czf3jlBEpFXxHzyEwxU9EJc+rBys14HsuR2B+EwjMnDKRBVHSzsC1v82lb71hoEdzH4T sSNjErl/++xYBtKmimOERUxSpDJ/VFcW+72/xdQ1ZvA9N663hvygvMpdyKaKviVf2mM2 j5bsqD/0Dd83afOemNqW46P4bos3dNDOePEKFWN7nm62tbhbwxpROt2mDg3beKfW6uc8 K6YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=vabqtuDuCUqS2K029UegjSdx5nB5rhP2REV9LWrTZ8g=; b=b7BifrLTJ4WbVBPaGcOlXpjbDNLLUzFssrxvmLJ5+RRHEdwahT6Awu32nm/VCBYefk aIWydU3nzy28VBNCOrfloZHCVZWVjZ8Fciw9M6K3+Tq5/nH5Wx76BruO4dXyqhLHhdD6 k/LYsmroyf9ZQmmHg3cmOjqRRGWhhOfvUTLV05M484Uwcoo7E4Ki1IZ6UkkaCJ2W7ikW bJwqDMwyMD2uhazu6qcudk/5As4M+wp/GqaOgidx2IdZQU74BIqJKXCbwdsd5y2lqesH mtxIPSQQEKZlQVuNHwzYaFdS+UkQ7jZpFbHQFAHLbeEQtBJrKOc4bdZ0yRD5EqZarN/i 7Cfw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si850760ilr.135.2021.06.18.00.48.34; Fri, 18 Jun 2021 00:48:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbhFREZw (ORCPT + 99 others); Fri, 18 Jun 2021 00:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbhFREZH (ORCPT ); Fri, 18 Jun 2021 00:25:07 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38FF6C061760 for ; Thu, 17 Jun 2021 21:22:58 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4G5m4H053yz9sf8; Fri, 18 Jun 2021 14:22:54 +1000 (AEST) From: Michael Ellerman To: Paul Mackerras , Benjamin Herrenschmidt , Christophe Leroy , jniethe5@gmail.com, naveen.n.rao@linux.vnet.ibm.com, Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <5d146b31b943e7ad674894421db4feef54804b9b.1621506159.git.christophe.leroy@csgroup.eu> References: <5d146b31b943e7ad674894421db4feef54804b9b.1621506159.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v1 01/12] powerpc: Rework PPC_RAW_xxx() macros for prefixed instructions Message-Id: <162398829178.1363949.13507267049091295423.b4-ty@ellerman.id.au> Date: Fri, 18 Jun 2021 13:51:31 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 May 2021 10:23:00 +0000 (UTC), Christophe Leroy wrote: > At the time being, we have PPC_RAW_PLXVP() and PPC_RAW_PSTXVP() which > provide a 64 bits value, and then it gets split by open coding to > format it into a 'struct ppc_inst' instruction. > > Instead, define a PPC_RAW_xxx_P() and a PPC_RAW_xxx_S() to be used > as is. Applied to powerpc/next. [01/12] powerpc: Rework PPC_RAW_xxx() macros for prefixed instructions https://git.kernel.org/powerpc/c/148a047602462ab04bff20f3529a255b0439d3df [02/12] powerpc/opcodes: Add shorter macros for registers for use with PPC_RAW_xx() https://git.kernel.org/powerpc/c/07cd18320ed816dec8ff6f58a2d8b33294dcceba [03/12] powerpc/lib/code-patching: Use PPC_RAW_() macros https://git.kernel.org/powerpc/c/8804d5beef9189fd2eae5aee14e1628436742e02 [04/12] powerpc/signal: Use PPC_RAW_xx() macros https://git.kernel.org/powerpc/c/1c9debbc2eb5391277ae6aa7d95f821e0c28613d [05/12] powerpc/modules: Use PPC_RAW_xx() macros https://git.kernel.org/powerpc/c/47b04699d0709f5ff12a8aa0b3050a6246eb570e [06/12] powerpc/security: Use PPC_RAW_BLR() and PPC_RAW_NOP() https://git.kernel.org/powerpc/c/e7304597560176d8755e2ae4abb599d0c4efe4f2 [07/12] powerpc/ftrace: Use PPC_RAW_MFLR() and PPC_RAW_NOP() https://git.kernel.org/powerpc/c/5a03e1e9728edce8f87e3e0bad6d4cd66329b129 [08/12] powerpc/ebpf64: Use PPC_RAW_MFLR() https://git.kernel.org/powerpc/c/e08021f8dbd256f480b7e172aa4e894219c901f2 [09/12] powerpc/ebpf32: Use _Rx macros instead of __REG_Rx ones https://git.kernel.org/powerpc/c/e0ea08c0cacf9370e3fd3ee8bb7456c61e79db66 [10/12] powerpc/lib/feature-fixups: Use PPC_RAW_xxx() macros https://git.kernel.org/powerpc/c/ef909ba954145e35c9e21352133e5e99c64ab3f4 [11/12] powerpc/traps: Start using PPC_RAW_xx() macros https://git.kernel.org/powerpc/c/deefd0ae990a689089ea1e4f5ad41799d63d4fd9 [12/12] powerpc: Replace PPC_INST_NOP by PPC_RAW_NOP() https://git.kernel.org/powerpc/c/f30becb5e9ec086257162f78be491c0920c616b7 cheers