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=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 EF6EDC4360C for ; Wed, 12 May 2021 20:45:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9FD9613C0 for ; Wed, 12 May 2021 20:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387680AbhELUjW (ORCPT ); Wed, 12 May 2021 16:39:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:42844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241972AbhELTFX (ORCPT ); Wed, 12 May 2021 15:05:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8369D61352; Wed, 12 May 2021 19:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620846248; bh=xa58CVwlPFTKk5VCT+e/hoqrJMJkB1i6cFW/UTLtk2E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EEL2DFdT7SmaJst4zj7kJEthBkEzvj1ofPpdBS1yhtlEdalM+tVlYlx4WzNPKqYjv HxdkQwTpMmnJQYL+jbOBsWI3/4cF0wE9oASVP1BRZmx8qkRwW8epPBAxaKfguWuIUU bdriSaKbk7FhmzFpGHUKTx3mGSSn0JrlxilecNKJ8p5aou+mRdsvOr3urDHG+5eNmy zp01vv0B9CZuD3T26kJh23eIyceGwqV/eV2fbA29EfcjOZSKyr2v4oUgixX/OwYuB5 FpwFcwm+SwbWmTfEHMwPpK9lM0Z4UOW4XteaAMbD23AZWl8LqVOmTpx0cvq+xOVjcT bC91VgdT83GbQ== Subject: Re: [PATCH 5.12 000/677] 5.12.4-rc1 review To: Greg Kroah-Hartman , Naresh Kamboju Cc: open list , Shuah Khan , Florian Fainelli , patches@kernelci.org, lkft-triage@lists.linaro.org, Jon Hunter , linux-stable , Pavel Machek , Andrew Morton , Linus Torvalds , Guenter Roeck , clang-built-linux , "Maciej W. Rozycki" , Thomas Bogendoerfer , Huacai Chen References: <20210512144837.204217980@linuxfoundation.org> From: Nathan Chancellor Message-ID: <8615959b-9054-5c9f-0afa-f15672274d12@kernel.org> Date: Wed, 12 May 2021 12:04:04 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On 5/12/2021 11:51 AM, Greg Kroah-Hartman wrote: > On Thu, May 13, 2021 at 12:18:32AM +0530, Naresh Kamboju wrote: >> On Wed, 12 May 2021 at 23:26, Greg Kroah-Hartman >> wrote: >>> >>> On Wed, May 12, 2021 at 10:53:04PM +0530, Naresh Kamboju wrote: >>>> On Wed, 12 May 2021 at 21:27, Greg Kroah-Hartman >>>> wrote: >>>>> >>>>> This is the start of the stable review cycle for the 5.12.4 release. >>>>> There are 677 patches in this series, all will be posted as a response >>>>> to this one. If anyone has any issues with these being applied, please >>>>> let me know. >>>>> >>>>> Responses should be made by Fri, 14 May 2021 14:47:09 +0000. >>>>> Anything received after that time might be too late. >>>>> >>>>> The whole patch series can be found in one patch at: >>>>> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.12.4-rc1.gz >>>>> or in the git tree and branch at: >>>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.12.y >>>>> and the diffstat can be found below. >>>>> >>>>> thanks, >>>>> >>>>> greg k-h >>>> >>>> >>>> MIPS Clang build regression detected. >>>> MIPS gcc-10,9 and 8 build PASS. >>>> >>>>> Maciej W. Rozycki >>>>> MIPS: Reinstate platform `__div64_32' handler >>>> >>>> mips clang build breaks on stable rc 5.4 .. 5.12 due to below warnings / errors >>>> - mips (defconfig) with clang-12 >>>> - mips (tinyconfig) with clang-12 >>>> - mips (allnoconfig) with clang-12 >>>> >>>> make --silent --keep-going --jobs=8 >>>> O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=mips >>>> CROSS_COMPILE=mips-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache >>>> clang' >>>> kernel/time/hrtimer.c:318:2: error: couldn't allocate output register >>>> for constraint 'x' >>>> do_div(tmp, (u32) div); >>>> ^ >>>> include/asm-generic/div64.h:243:11: note: expanded from macro 'do_div' >>>> __rem = __div64_32(&(n), __base); \ >>>> ^ >>>> arch/mips/include/asm/div64.h:74:11: note: expanded from macro '__div64_32' >>>> __asm__("divu $0, %z1, %z2" \ >>>> ^ >>>> 1 error generated. >>> >>> Does this also show up in Linus's tree? The same MIPS patch is there as >>> well from what I can tell. >> >> No. >> Linus's tree builds MIPS clang successfully. > > Ick, ok, I'll go drop this and let a MIPS developer send us the correct > thing. > > thanks! > > greg k-h > I think you just need to grab commits c1d337d45ec0 ("MIPS: Avoid DIVU in `__div64_32' is result would be zero") and 25ab14cbe9d1 ("MIPS: Avoid handcoded DIVU in `__div64_32' altogether") to fix this up. Cheers, Nathan