Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4066956pxj; Tue, 8 Jun 2021 05:50:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1tsO0BKfy8NP89f2ckOdYjGLIacfI9m+QnF6M9GBKsKE3iaolh+oPA7NvkUhbkFTeHdvr X-Received: by 2002:aa7:de10:: with SMTP id h16mr25185137edv.154.1623156622411; Tue, 08 Jun 2021 05:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623156622; cv=none; d=google.com; s=arc-20160816; b=uTEV3hPIDaNc2Ku+wN+y/3nXQC3PqWGtm2sDzZeRwQuk+bGN99N0Dq4qyiHssv4jNW SdXfpqDwXQmKlUaZAOs5Nre3IbrGsqha0UQ2oLRwDE4JZEP5o+p4JLvwT6pGFR1cict+ lONPS7xJVn0KxMppPQwM8rNvivmbaT4wz+IZDI6z4WOTrxWCTBxPvgiNL+NN+ORteOxX iOpolO3uADzjUVky3Io/szlfLzNrra9P0iaYVkRZRkmZoGH4/PiWLcs+uVw8r234IQro LtWT9l3zBo7CUDgjiRC/L2t0ewH58btr4ssYVkJ/DJpnjUkUfdgXbqPLXYOnnIotNvV8 sABw== 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:references:cc :to:from:subject; bh=KFsb+468B4oGCD5+FDZbN8Utd22sK6XINo85PCd0HEI=; b=v2Pb938VtlsJ3ZSC98EiwpV0vGwxjfTkVPsYJ14GHX4cL1ghxIMj/AY1UiwkEPG+2D 0P3Jy7jU8CS+r9CW4FceolzWkJRP06PkIabo9jtcic0tb+r+/Wy/0a7fHYotOjf7/hq+ c2BIbDnA4hZQkZAkST0T/RZZTYkhcUzaV6IUDr8WDf4Fg/xz74aAfhwkmpHl8PipD3BW NZHPGbYSoZ8PaTlW336B58ri5VXgwF19ID0Z8jdMb/Jtdb2vSyA1togo5f61s5oHJk9D lSqp+27MIYj/YtLHJR5GHSDYBCqS22cJSNROkKIgjKqBxfcaNpFRnf72yuKNct8r4aXy BWNg== 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 g25si14837428eds.466.2021.06.08.05.49.58; Tue, 08 Jun 2021 05:50:22 -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 S232507AbhFHMsh (ORCPT + 99 others); Tue, 8 Jun 2021 08:48:37 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:2227 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232351AbhFHMsg (ORCPT ); Tue, 8 Jun 2021 08:48:36 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4FzqkB2cr1zBDc0; Tue, 8 Jun 2021 14:46:42 +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 5jIKldteYWR6; Tue, 8 Jun 2021 14:46:42 +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 4FzqkB1jkszBDbW; Tue, 8 Jun 2021 14:46:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2BA768B7BB; Tue, 8 Jun 2021 14:46:42 +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 71_pEKagHxiX; Tue, 8 Jun 2021 14:46:42 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8F21F8B7A8; Tue, 8 Jun 2021 14:46:41 +0200 (CEST) Subject: Re: [PATCH v2 00/12] powerpc: Cleanup use of 'struct ppc_inst' From: Christophe Leroy To: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, naveen.n.rao@linux.vnet.ibm.com, jniethe5@gmail.com, Paul Mackerras , Benjamin Herrenschmidt References: Message-ID: Date: Tue, 8 Jun 2021 14:46:22 +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: 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 Hi Michael, Le 20/05/2021 à 15:50, Christophe Leroy a écrit : > 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'. > > This series cleans it up. > > First patch is fixing detection of missing '__user' flag by sparse > when using get_user_instr(). > > Last part of the series does some source code cleanup in > optprobes, it is put at the ends of this series because of > clashes with the 'struct ppc_inst' cleanups. What are your plans about this series ? I fear that the more we wait the more we get additional bad uses of 'struct ppc_inst'. There are several people working around places that play with instructions, so I think the sooner it gets cleaned the better it is. Do you agree ? Thanks Christophe