Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3434759pxj; Tue, 15 Jun 2021 00:26:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxskQp6s3iAm5r8zeHJ6Y0n1j4S4zYdNuqLcRkZhbe28wd2MyHk3//Itnb8Qf80olJU1Ihb X-Received: by 2002:a6b:8b51:: with SMTP id n78mr1316485iod.143.1623741980011; Tue, 15 Jun 2021 00:26:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623741980; cv=none; d=google.com; s=arc-20160816; b=ETqIi+H8OR5nJthDPiUAkJujZfD9toIu8WgdBLZZOEHts/EevYSYGWwRMEyW7v1QL9 vxRaQdlT6mzN1GyWvD1UrS42tFaINsDnWyoJ6/+PK4CzkiaxH5L1z6OXOXijDaHk9yoo mPzZPcEB7QLkkWzCI6EMLTTIsH436AfxoB0zdIbtUecX7Xm8dqwohIBVr0v3uZNzh2Qn LdkBtTdQObjDlG8HcvvkjqV4zB9wux8bsgovlYxEzmvEw8LAHePKloPOQppDlVrzSolg cHvSa+GonaEzXKwWK/8gjQ0eg00wER8ZLbsgdKHV1/WtpQvwz86rkAMF0oQzkw0UPDjv e94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=NizeWvDV2a3kypIdAcmRPYpjgvWkrfDDCQYFuOwB/lY=; b=xescNjdhq3Sh9wR0DxIkOoN2B9ZI1uPfkyKpvKYLzZm9gRYP6wzMjCOiyS3Q8otBy8 rt5EYX/pmBT7HB5Iex/ynlYDB1hdi/iczmyw3bjmwGsbpeJXjU/8b8d3CjUWnUAlSF09 YywvsHtWmG75SqWAEbrfTLkpfnHsClRNzye1vXogYRwHHvvKI+wOU/EdMfK0/onHGM38 kbJiw94qUIb8TsiPNAITkW6q6ZwzBWhv3+SD3tbxhS9iZ96fE/vocIL7Pos60aqa/wvn aQqM91LupQ+NvImR2eV4J/DYTVyazBjFeSzOlNaEP/GjvKn7NSP5dTPG2Yn3gEwP6bJb 4j3g== 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 k7si18977051jad.43.2021.06.15.00.26.07; Tue, 15 Jun 2021 00:26:19 -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 S229898AbhFOH0k (ORCPT + 99 others); Tue, 15 Jun 2021 03:26:40 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:22840 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbhFOH0j (ORCPT ); Tue, 15 Jun 2021 03:26:39 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4G40FF50W0zBB5S; Tue, 15 Jun 2021 09:24:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ovWE20aMevL; Tue, 15 Jun 2021 09:24:33 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4G40FF45n3zBB1b; Tue, 15 Jun 2021 09:24:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 78ED48B7A5; Tue, 15 Jun 2021 09:24:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id U9H5EriO6hYV; Tue, 15 Jun 2021 09:24:33 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id DDFE68B7A4; Tue, 15 Jun 2021 09:24:32 +0200 (CEST) Subject: Re: [PATCH v2 00/12] powerpc: Cleanup use of 'struct ppc_inst' To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , naveen.n.rao@linux.vnet.ibm.com, jniethe5@gmail.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <87r1h3tx3a.fsf@mpe.ellerman.id.au> From: Christophe Leroy Message-ID: <0c2b2eb4-f58d-9ec3-4b98-af22cef188e2@csgroup.eu> Date: Tue, 15 Jun 2021 09:24:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87r1h3tx3a.fsf@mpe.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/06/2021 à 09:18, Michael Ellerman a écrit : > Christophe Leroy writes: >> This series is a cleanup of the use of 'struct ppc_inst'. >> >> A confusion is made between internal representation of powerpc >> instructions with 'struct ppc_inst' and in-memory code which is >> and will always be an array of 'unsigned int'. > > Why don't we use u32 *, to make it even more explicit what the expected > size is? > I guess that's historical, we could use u32 * We can convert it incrementaly maybe ?