From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=BAYES_00, 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 E39D5C433B4 for ; Sat, 8 May 2021 09:44:29 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 221FF61090 for ; Sat, 8 May 2021 09:44:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 221FF61090 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Fcj8C3DRmz3bsq for ; Sat, 8 May 2021 19:44:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2401:3900:2:1::2; helo=ozlabs.org; envelope-from=srs0=9lys=kd=arndb.de=arnd@ozlabs.org; receiver=) Received: from ozlabs.org (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) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Fcj7q4NvNz2yYB for ; Sat, 8 May 2021 19:44:07 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) by ozlabs.org (Postfix) with ESMTP id 4Fcj7p64ZPz9sWk for ; Sat, 8 May 2021 19:44:06 +1000 (AEST) Received: by ozlabs.org (Postfix) id 4Fcj7p5gcKz9sWq; Sat, 8 May 2021 19:44:06 +1000 (AEST) Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=arndb.de (client-ip=212.227.126.131; helo=mout.kundenserver.de; envelope-from=arnd@arndb.de; receiver=) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (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 ozlabs.org (Postfix) with ESMTPS id 4Fcj7n5m3cz9sWk for ; Sat, 8 May 2021 19:44:05 +1000 (AEST) Received: from mail-ot1-f43.google.com ([209.85.210.43]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mv3M8-1lNmeQ0HlQ-00r0oM for ; Sat, 08 May 2021 11:44:02 +0200 Received: by mail-ot1-f43.google.com with SMTP id f75-20020a9d03d10000b0290280def9ab76so10070129otf.12 for ; Sat, 08 May 2021 02:44:01 -0700 (PDT) X-Gm-Message-State: AOAM530ntItPFVjLP3cDKoJXfnwpQyx9S4znCz3PfvV8llHUf9/bKd3e PYQkei7NvZnq3LdxnPe+HPBEaeuK/ecNvM15Gjw= X-Google-Smtp-Source: ABdhPJxFhzsIrfow7fAwvlmtou6ORnBbWJqvpZmFoIdc6w6cb007BMdpaZFI2RWn6E04IjP/CX0zkM/keM8BWM23C60= X-Received: by 2002:a9d:222a:: with SMTP id o39mr11660239ota.246.1620467040081; Sat, 08 May 2021 02:44:00 -0700 (PDT) MIME-Version: 1.0 References: <19e791d9-3226-4c13-b6e8-cdabdaaa0268@csgroup.eu> In-Reply-To: <19e791d9-3226-4c13-b6e8-cdabdaaa0268@csgroup.eu> From: Arnd Bergmann Date: Sat, 8 May 2021 11:43:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kernel crosscompilers To: Christophe Leroy Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:axmyjZVJf7gLGA2V8ffbl5TBg30zHsxQT3xQChASYJeNrNWtBam /J/dtgHjRKvnPsUipoRGts1yed4iUGwd7VQQVSyv5X0yI9GWQFdk5TdwzVJ/XH+DoZE1GGw AmIjZANv6FlesuXx2vNWDAo/2iIuPWtiVG5QidkCd7daDgIdpgvSXchzZOSW65y0Thxih6U 50y2Y3B1x/PGrO6ugHgYA== X-UI-Out-Filterresults: notjunk:1;V03:K0:LNVnLSnnsec=:0OiC16H36INOLWymCgDe5o 98rkjreHZILfpuZfgXVwUSALFcE2S3g8chq0FNivGhdZRvBoAIDVu14SJ2xZ7ENjf2wL7HZJl FsDDugketzfVxRP+S6DFYoORQrq6mxu2KK/6YZ8oM0e3lrqbwj7gvONjPen2tNXNo0Ker0a3V yznILVOpcbq5B6QM4SNvU0AjRyTL0MBf+cwBc5/pLTLCSMzZ9lmTuKMxCPI8E4tbtfILBPfjd 0weUq25c5M0UKntB/s42XnK5fIHy1gCNe4dez6NrF3sPs5IhngT8BNOpys+v+PoSjfE1E6zXf bLTFM+AGbwjUWH14w8Nvt8AUZtZ2QQYks/RSVGj0nbwPeUIRdDf+sVv6drRO2dxmTcrY2GcCJ qwt4jSbE2EbHuWiqvT3hg0SX+g7JxkCA0phpu/yOKlQAr6jnrc3VHgKQ1mU55qv417K3YQF4c C8Y8bsy7Qn9Wg0y+7hfmkOobXuqZLmdlITlvQKSdP2QF8d0akwiGqv8bXlGHLMw/SlNZCeIiV nyj1g8nLkaOcVjFzDrAZkY= 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: "linuxppc-dev@ozlabs.org" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sat, May 8, 2021 at 8:46 AM Christophe Leroy wrote: > > Something is going wrong with asm goto output. I implemented get_user() helpers with asm goto this > cycle (commit 5cd29b1fd3e8). I tested it with CLANG before submitting, it was working. BTW, can you point me to those patches? I think it would be nice if we could eventually converge parts of get_user()/put_user() implementation on something that works for all architectures, we do seem to rewrite these way too often. Ideally we'd have something in asm-generic that provides all the wrappers, and just requires an architecture to implement the inline asm helpers for each of the sizes. Arnd