Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4956130pxj; Wed, 12 May 2021 17:41:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBxPisGb251cvDkk8eLn5EK3np79MJED6nR78l9/o2zDXgTu0qR2gLdc0I25zcPIILeRTZ X-Received: by 2002:a17:906:ccdd:: with SMTP id ot29mr9254202ejb.72.1620866475576; Wed, 12 May 2021 17:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620866475; cv=none; d=google.com; s=arc-20160816; b=VCylRizoPmPdc3ZQr20QFlWEuLtgcQ9FJs76l4dZiFiWQYxEk1aDycZDsZEcgFSPGm pskbzM6cSoBq2LmCTgYyKZOXrfRdq5P7ABhxhmLeoe6FBUAt8eu1qHMHrVDUbLY239+Z XHk/Di1yeW/evSIiHS3mEKsqSOpB0bgBq3CZPwLWtpCBuQ2EsHm/xM+1Err4nDpj1REw bKJKEsmtLH4pE8UDrXvukxhAbkpdAA/4EyHsuZ/aRjheATjkrInhgR0zXymtmxME6PwH 3wU5B1asZJz8FItYJl2xlB7KWAF0NDuaTmw0vrJipHrKPXpT143GhA0le+qXO6Yu+KIf r80Q== 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:from:references :cc:to:subject:dkim-signature; bh=m1Ym4P6y/hm2oVL8zHXrN8eTzF+EWAufnHntEEAAPis=; b=C3WhlRRexk1ps5oABbTJEzP3/b7phS06qcu2ndgqS+jNM2ILLAaNh5/1jI81qtEVmF 2SidiEa74w7LRaIY0IDtaCMR/9xUV2gdCfVmOxXX59qKyyCJl5KtYGnAWjiNLHjTyyUx OqPcf6edf23znU6KuJgWAWLag0BssXkBZ8NYG6LfsX59jmTwhjeXFZx5iw89WJahEfeS HG5s1wSQ2g/T92yv28jddqI5fHYP5X5WonGoofXQEDdMAdJzr1a+3m4JhWzsum5mlaIx 1AhUXh9y7meEU6GmA1lCNIszUPnHCZHyuSjwVG6d1L5k5dZhqlAKW3i9igoi+hYQS/S+ eB3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EEL2DFdT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si641839edt.297.2021.05.12.17.40.52; Wed, 12 May 2021 17:41:15 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EEL2DFdT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344631AbhELUOK (ORCPT + 99 others); Wed, 12 May 2021 16:14:10 -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: linux-kernel@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