Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp797509pxy; Thu, 22 Apr 2021 13:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPYyIxu17CSCACv3IYL5A6aBzX1VapnaWOYlSzWCYmNGBCIC/FFzvEkm0hkqdSpmVMbnyQ X-Received: by 2002:a62:bd13:0:b029:25c:5ec4:c2f3 with SMTP id a19-20020a62bd130000b029025c5ec4c2f3mr326597pff.35.1619124342074; Thu, 22 Apr 2021 13:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619124342; cv=none; d=google.com; s=arc-20160816; b=MtI+/yssE46c0R8YxTMjCxiCCoLYgXzbmTz1UE5F0/+KVsCCBr7gffhkHPqWMRyG8b RUHC8ryWHL2i+jqjfJ4jxZzmjR9kDvTO5o4DuPbpWpkRI8dsiz4oCPFEbCIJaOmQ5fww GGfnp3VVi1WZBy+ps5zruI9emkGW9/CUwtOCg9YTNY+Ebhbj+O7Po2ORzdWFfuF0rtjl mwSH7rQS1YbGe7BYnc5c5pcbZdn7zHIhN8965qaRvJWm4N7RzqwfvdeL1Mtmc50Df9Bu oNvuFaeYGTTNI29r2FgzN+NPxq4Y3pemx3yxur6HGiE2W78nOHv4mJ6efwx+f1vcuMOY S75w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=lrW9Vuc6rJNv52oS/USsoPALcY75kQ3tonnisjnJG+4=; b=t/e8h13bDAkg+mgRTA0pbVI/WmyAbL7tC1bxwI/VzqYzEy0mipr/G+Uoxq6kvdH5HI t7KSHuNWAgC02NK+dV4cDG1omPwlxox7luzyfguBneJCOaLvjxyKc0lGD81MDiArVkVA UokYt+cLG/p7ldStntQDUIU6N0NGOvzP3fCPtGQgl6dxMNsEnZxnLo0zYbNJ2v3gUgh3 FR02gE6FnxvJyaVt67gXCxB2JfTOjpTeEEhCvL/tAycUW1tunIZfKrXph3P8FfLqNS6+ LmfY2s5d5ysvOYXQoY7Ru3yvhmJ1pkTnY8UiPFmYpqBxsgplXgHkllsj+RCyZob9qtVG mKWQ== 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 u17si3907526pjn.141.2021.04.22.13.45.28; Thu, 22 Apr 2021 13:45:42 -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 S239276AbhDVUoS (ORCPT + 99 others); Thu, 22 Apr 2021 16:44:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236915AbhDVUoP (ORCPT ); Thu, 22 Apr 2021 16:44:15 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4F2F3C06174A; Thu, 22 Apr 2021 13:43:39 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 79CBA92009C; Thu, 22 Apr 2021 22:43:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 73C7C92009B; Thu, 22 Apr 2021 22:43:38 +0200 (CEST) Date: Thu, 22 Apr 2021 22:43:38 +0200 (CEST) From: "Maciej W. Rozycki" To: Guenter Roeck cc: Arnd Bergmann , Thomas Bogendoerfer , Huacai Chen , Huacai Chen , Jiaxun Yang , linux-arch@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 3/4] MIPS: Reinstate platform `__div64_32' handler In-Reply-To: <20210422183634.GA108385@roeck-us.net> Message-ID: References: <20210422183634.GA108385@roeck-us.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Apr 2021, Guenter Roeck wrote: > This patch results in: > > arch/mips/mti-malta/malta-time.c: In function 'plat_time_init': > ./arch/mips/include/asm/div64.h:76:3: error: inconsistent operand constraints in an 'asm' > > and similar errors when trying to compile malta_qemu_32r6_defconfig. Thanks for the heads-up, however the 0-DAY bot has caught this issue already last night and I would have addressed it earlier on if not for a failure of my Malta board :( which disrupted my verification. > I tried with gcc 8.3.0, 8.4.0, 9.3.0, and 10.3.0. > > Does this need some additional new compile flags ? MIPSr6 doesn't have the original division instruction along with the MD accumulator registers anymore, and consequently GCC cannot fit the constraint requested. We don't need that asm however. Maybe we didn't with GCC 2.95 either, but I suspect there was something to it. Anyway I have just posted a fix. Maciej