Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp240440ybt; Tue, 7 Jul 2020 21:50:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1HOINRyk93Bbi5/u+MjogPT4gNFvYhTXDr+aVTE6f7RFZRuggFcssKIVjG/LXPVWTio7R X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr48824159ejb.405.1594183840293; Tue, 07 Jul 2020 21:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594183840; cv=none; d=google.com; s=arc-20160816; b=nKmLTzsonO+nwzx/TBF+RkVcwq/pAxZCaSQnwk4K3O/EaXTuXzBCp/mTncQ20SylEM LYupbqo7TvhcWgcdWxfDNkPmQZshvNFM9sSaaRVQ3Bkyv4lgyq53o+xdfyr4i5uOInpl TnAdv6ZXpcsv9hLcopj/eR0gbQwZ7ww80y7njeEdi2wypEkFfioPtA6dUtD2OSZD6LMb 4KQG9FSi4ZJBZFlWEwfonh4tpYd2tnPHdp4QXNKDiIsQ6FcaFDggKXL9e4W1kQM68mqL rgyjzqU74E0CP5ZO477HkFpPtcUKHxJ1DUQDGZQpIx8BsSD0lgAl0PbjgQSHpEnNYLcc SQZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=idSJz8cCtzIIpyu1Gg9GvukvEMsWBa2j5T9T7W7Qb7U=; b=awmK5e7swBPArjjrFlKXkZTgxiBaTI29y6h4Xm+8EkZRsq4EiUwUpjHRxkcjZOCsvt Gr43jM5o5Rv9KEu3F7y5RaUNnWnxu/kPcc4RJdI1MHESEhGg2JmR8E+zYtHVCYVGbd0g m4afhQnwGvPBPtMrhnm4BW5HIEtBmJoTRpbw3JfyHWXaWXYztz0hOnPMMGpci9vv2lQB g6Uj+b6Fkc7KaLj66FIGul2kfCrotF2a6WacoYG1f9zLwpeDJjO0oV0HjF3oTFcOEJI3 SDPpfgvrgGEW890pnUbAQ2kLu/AKYT1xMb4/RMTw4dq2pxzu1Ju75Cl0NRvZcxwojb15 jCMA== 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 n6si16734671edy.324.2020.07.07.21.50.17; Tue, 07 Jul 2020 21:50:40 -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 S1728783AbgGHEtg (ORCPT + 99 others); Wed, 8 Jul 2020 00:49:36 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:7856 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbgGHEtg (ORCPT ); Wed, 8 Jul 2020 00:49:36 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4B1n0C4zc4z9v12f; Wed, 8 Jul 2020 06:49:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id WuA_H24l4QZ1; Wed, 8 Jul 2020 06:49:31 +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 4B1n0C42Y8z9v12h; Wed, 8 Jul 2020 06:49:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 788828B77C; Wed, 8 Jul 2020 06:49:32 +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 PdPoikqdbpGg; Wed, 8 Jul 2020 06:49:32 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 471658B76B; Wed, 8 Jul 2020 06:49:30 +0200 (CEST) Subject: Re: [PATCH v2] powerpc/uaccess: Use flexible addressing with __put_user()/__get_user() From: Christophe Leroy To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , npiggin@gmail.com, segher@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <7b916759-1683-b4df-0d4b-b04b3fcd9a02@csgroup.eu> <878sg6862r.fsf@mpe.ellerman.id.au> <875zb98i5a.fsf@mpe.ellerman.id.au> <8b751738-a9d1-8f55-8f9b-9264c8ac7ed8@csgroup.eu> Message-ID: Date: Wed, 8 Jul 2020 06:49:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 07/07/2020 à 21:02, Christophe Leroy a écrit : > > > Le 07/07/2020 à 14:44, Christophe Leroy a écrit : >> >> >> Le 30/06/2020 à 03:19, Michael Ellerman a écrit : >>> Michael Ellerman writes: >>>> Christophe Leroy writes: >>>>> Hi Michael, >>>>> >>>>> I see this patch is marked as "defered" in patchwork, but I can't see >>>>> any related discussion. Is it normal ? >>>> >>>> Because it uses the "m<>" constraint which didn't work on GCC 4.6. >>>> >>>> https://github.com/linuxppc/issues/issues/297 >>>> >>>> So we should be able to pick it up for v5.9 hopefully. >>> >>> It seems to break the build with the kernel.org 4.9.4 compiler and >>> corenet64_smp_defconfig: >> >> Most likely a GCC bug ? >> >> It seems the problem vanishes with patch >> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/173de3b659fa3a5f126a0eb170522cccd909950f.1594125164.git.christophe.leroy@csgroup.eu/ >> > > Same kind of issue in signal_64.c now. > > The following patch fixes it: > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/810bd8840ef990a200f58c9dea9abe767ca02a3a.1594146723.git.christophe.leroy@csgroup.eu/ > > This time I confirm, with the two above mentioned patches, it builds OK with 4.9, see http://kisskb.ellerman.id.au/kisskb/head/810bd8840ef990a200f58c9dea9abe767ca02a3a/ Christophe