Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp897030pxv; Thu, 15 Jul 2021 19:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfro4KOYSSJj0w8/mRqbAn/o30Q2kF12o2bipXPVd5y3nfpZfCbkDUNoPyj6zrkp6iNGg5 X-Received: by 2002:aa7:dd8d:: with SMTP id g13mr11304287edv.336.1626401758440; Thu, 15 Jul 2021 19:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626401758; cv=none; d=google.com; s=arc-20160816; b=Qerlku9IcJmarh8dXK3A4oxNKGm95ksvfwylbpkPkKWqzYSolUFWVSYxTlKhOwezoj 09gF4O7BchQ7Hyr5nG4fsp82HRaVL2s5xlen/y+PCGB42lBCYHsMOdkucIEUR84ttey5 +Yu2KfvdiCrQnsdrqYpqRJ4QVt1dn8eVYYHmP1kclygCAhm5qMhmN17XysrNm1G5W0kL F8XF52QQs5wMCCUJzGaO4eLMek4c3SmBcD3IRJhNo/tPjlLJcyDtpavJuHoAPWf30BXh w6aQ+iYVRQusddg7lBBCBF9fzWT0nIYNmELG+FuVhF4xC4FuRJd7CGp2l9pdjyXGq99u 9VoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bDpz3xiBhEz0ZZ2vw/9YGDuwg2vaRKleCOGcjaj3zg4=; b=lpD/uY0810svtnx0kC/dWS0KY3Fp53+DySlQuwfixzsUr68/JW8AOhXkd0cmobe37c Yeb5sMY4IyMC81ytKLsJvErbhN+FfluMUlvMjTL0GUS3n6YC06vuA2SvyUUOPFyRO9Lh neRSEa2ai5G0+3MJeOTWIQMjDtOMymwAd3akijOPSGEn/QVXTpuI8P/AGgE50R2zHwpP WjL8LQ4xvO3eK0lUyuCz5n3zBZL7wq4Fn1/eqaRMpD6K00EYgxy8GhUnJLavlefS/wd8 Nv4ifUsGq14J1o3+1zGyOwglJrug+WEwOEF7k6Il2jfcZEkSI+6+JrRNSWzmmM4CAved zqaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XaId+1qn; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si9711454eje.682.2021.07.15.19.15.35; Thu, 15 Jul 2021 19:15:58 -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=@gmail.com header.s=20161025 header.b=XaId+1qn; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbhGPCR2 (ORCPT + 99 others); Thu, 15 Jul 2021 22:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231313AbhGPCR1 (ORCPT ); Thu, 15 Jul 2021 22:17:27 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0AD5C06175F; Thu, 15 Jul 2021 19:14:32 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id b13so12368496ybk.4; Thu, 15 Jul 2021 19:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bDpz3xiBhEz0ZZ2vw/9YGDuwg2vaRKleCOGcjaj3zg4=; b=XaId+1qnRj2oNBeX0nz4OjboMoi0KPWUrc9e8pe/yfJdlg4lWqivxBZc2+1h4QdWbK yswl4M0mPayEhwrTlL1pWmAt8UpG/rzL71rzXBqpJPt+xiU8GeKPRQbvS6kbltJiUdJa b188EH4ApBzyF+jreycjfVEEHOIscxtViw0jQDBpG8mFWFyBGhJOHP7Kd9/cvmQuM5Jp XgyW0dWFaEmpBZBK5NGTnUgFqq0UHgiZ2Q7yGqEHZj0k1RPbaCXFjbkaCrGgIRWk/Hrs YG9nWZVh55IJJuS15fkNrnN/PytpMAPNWQybCGle4p/OfulLibTwplqNZTCVLQEDFx2e oR7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bDpz3xiBhEz0ZZ2vw/9YGDuwg2vaRKleCOGcjaj3zg4=; b=bO4a5XFjZ1MAa+PAKQ7gy4wQsGU9uYgTPyuCaPpJlbE0tjwODJMeBKbMVDNZPXp6Oq elHLG+NoZSaAh/4w/iOJzl9/+zk/MWODJcu1rXUmqBSWwf+OoWB/xB0UObU2OuTnrNp7 PfB7vV2pCLwZDr0ZrHuVmFAzubaNgSou0mx+cqnjFTWQEKUZMOE4uduzYZYkqjG3m+de +XCwHkD8wer32ytrZp9Uq8CD0L+e5TG5Gb24Bq85BTha4i9Ls1U4chf04MOIEJw+3p5z x/+wbW0871kJe/3wemtTv4mrtUAGMD8rJSS2QJ9wMSpR7FzaYJwdDTsQdszi9pCAPGdc MUzA== X-Gm-Message-State: AOAM532AF9LLb4YMYbpZVxhVOn3qPO68yYeneILqtoov2dJf0MTx7plE Zc+qnWFl3WmuhKEfED1fSw895eRrinHITJi2JUI= X-Received: by 2002:a25:df11:: with SMTP id w17mr9327459ybg.314.1626401672149; Thu, 15 Jul 2021 19:14:32 -0700 (PDT) MIME-Version: 1.0 References: <20210627135117.28641-1-bmeng.cn@gmail.com> <11706f7e-a53a-5640-d713-bc4562db71fa@huawei.com> <94a92009-ce49-bbe4-794c-0631520e4c3d@huawei.com> In-Reply-To: From: Bin Meng Date: Fri, 16 Jul 2021 10:14:20 +0800 Message-ID: Subject: Re: [PATCH] riscv: Fix 32-bit RISC-V boot failure To: Kefeng Wang Cc: Palmer Dabbelt , Atish Patra , linux-kernel , linux-riscv , stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 8, 2021 at 9:29 PM Bin Meng wrote: > > Hi Palmer, > > On Thu, Jul 1, 2021 at 10:20 AM Bin Meng wrote: > > > > On Thu, Jul 1, 2021 at 10:08 AM Kefeng Wang wrote: > > > > > > > > > On 2021/6/30 19:58, Bin Meng wrote: > > > > On Mon, Jun 28, 2021 at 11:21 AM Bin Meng wrot= e: > > > >> On Mon, Jun 28, 2021 at 10:28 AM Kefeng Wang wrote: > > > >>> > > > >>> On 2021/6/28 9:15, Bin Meng wrote: > > > >>>> On Mon, Jun 28, 2021 at 8:53 AM Kefeng Wang wrote: > > > >>>>> Hi=EF=BC=8C sorry for the mistake=EF=BC=8Cthe bug is fixed by > > > >>>>> > > > >>>>> https://lore.kernel.org/linux-riscv/20210602085517.127481-2-wan= gkefeng.wang@huawei.com/ > > > >>>> What are we on the patch you mentioned? > > > >>>> > > > >>>> I don't see it applied in the linux/master. > > > >>>> > > > >>>> Also there should be a "Fixes" tag and stable@vger.kernel.org cc= 'ed > > > >>>> because 32-bit is broken since v5.12. > > > >>> https://kernel.googlesource.com/pub/scm/linux/kernel/git/riscv/li= nux/+/c9811e379b211c67ba29fb09d6f644dd44cfcff2 > > > >>> > > > >>> it's on Palmer' riscv-next. > > > >> Not sure riscv-next is for which release? This is a regression and > > > >> should be on 5.13. > > > >> > > > >>> Hi Palmer, should I resend or could you help me to add the fixes = tag? > > > > Your patch mixed 2 things (fix plus one feature) together, so it is > > > > not proper to back port your patch. > > > > > > "mem=3D" will change the range of memblock, so the fix part must be i= ncluded. > > > > > > > Yes, so you can rebase the "mem=3D" changes on top of my patch. > > > > The practice is that we should not mix 2 things in one patch. I can > > imagine that you wanted to add "mem=3D" to RISC-V and suddenly found th= e > > existing logic was broken, so you sent one patch to do both. > > > > > > > > > > > > > Here is my 2 cents: > > > > > > > > 1. Drop your patch from riscv-next > > > > 2. Apply my patch as it is a simple fix to previous commit. This > > > > allows stable kernel to cherry-pick the fix to v5.12 and v5.13. > > > > 3. Rebase your patch against mine, and resend v2 > > > > > > > > Let me know if this makes sense. > > > > > > It is not a big problem for me, but I have no right abourt riscv-next= , > > > > > > let's wait Palmer's advise. > > > > > > > Sure. Palmer, let me know your thoughts. > > Ping? Ping?