Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp227193pxv; Wed, 30 Jun 2021 19:22:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKfdL6r1LD9GeyJIIdRv4DKYiX4yUrOUhdROcFqwGv0M8qXDdU0xowz9xJAdg0ERtqOZPO X-Received: by 2002:a05:6402:c92:: with SMTP id cm18mr50746162edb.29.1625106138676; Wed, 30 Jun 2021 19:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625106138; cv=none; d=google.com; s=arc-20160816; b=p2lS9qrlVTcpyNl1/llpAf9j1qXo7YTk19dw1ahXyRGnUvgjj5wL3guWZ2MyAhbuGW Vtdau9dIEQWhhW+99h5RG0JGznZsOWCS6KQm8caLFIFJySrONBF0eiWJP9yZD4D/d6Qy 6pZJDSzvFwl8al1g3RimbkE5DiieP+7iTqyYnGGNtVaXKSQUIwWWp1425V142rxbR3WZ +3FjCUJDMV3d2ywASwfUn1jhffyTKEhxcPPDueczFITZJ7gGmgQ2EjrgMnsTZ1RdEcdz 0OA4+rDM38PuFnaY80bE2LEqmwf8Ouf2wfNXuSajnCfO5TbFkoskymxFR9e82gBGsRO7 CGjA== 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=BZiA++i9/HIlLMmgO3JxJDUc1Suj7A+dnaQIqqLWGAY=; b=L4kIYVYtCjir/WsU6xGmTRNJDYuiGaoplqgNhdUI1Kh9y4P1vz6oDhKjYzXtvwbg1c J3J5Ng9+I58rTEyD5ugwC0ufLy3N+695zPE3jybRbiKYBzBkkLZ4YTs4omd9796SiiiG ZG2uPJycEJfzfT/3S+uyudcxVgADIvDOgkJP51u9W8Pcfsk+cminZc4o/HeEEnzxQLI5 Wl3uiPQLHgQPRDpISAvNDu99dUQUWQK3VEeDucB7XVjwAFQp9rz4ZvDx4x2f0cwIqKzb ekJ2YxWyyszMWpd9LTk65teOGBLqc/1KL09Ew9kAdipGWX2rw4IYbNY1ujoJKNWujcuR dDig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="F6VOyj/x"; 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 c20si22783160ede.303.2021.06.30.19.21.48; Wed, 30 Jun 2021 19:22:18 -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="F6VOyj/x"; 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 S238604AbhGACX2 (ORCPT + 99 others); Wed, 30 Jun 2021 22:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234257AbhGACX2 (ORCPT ); Wed, 30 Jun 2021 22:23:28 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7501C061756; Wed, 30 Jun 2021 19:20:58 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id i4so8401097ybe.2; Wed, 30 Jun 2021 19:20:58 -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=BZiA++i9/HIlLMmgO3JxJDUc1Suj7A+dnaQIqqLWGAY=; b=F6VOyj/xRpKG8vkwDSYJ6vYzHOcMY10qBExtNVeMavmRa6iWqczKrXubuAEQwXWeeD 8M3ITL3Edtxk+XiqTiP+5eMyRz68QBklfWmmvgXpPY9P2wgVS/JWvUM27EL7ANGVxi/B WCA+2OMRQJk/4klXovHBjNiChdj9lsdn9gTkGZLDlhOpHQ1GpKhL4UBGM+7zcEJgTG6T jF5ijbRvDVxNqQMFQMchkIr2WcxQjZcqFmPGgO9joEqwFcT5LS03hqy/6q1FVRjYqoDv b6qKKlYMeMF7cDEygCOAn/EqpMCHvJu3DIMIPW0FioUewqo1bD00BOeN9PR63wagc3Mh H98A== 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=BZiA++i9/HIlLMmgO3JxJDUc1Suj7A+dnaQIqqLWGAY=; b=CHcj/TOjF7mchg1TEwbwHAlv0h8cJGay+U3JEQswwzX8wUWq2SacMhjvhseN7tNP32 hpm4jDZXnJJSgRtavsnKasVfdqu75Xls1E8mWxr2eZ+8QzEKpw4q8Q+PjmKBQqcJax8T OJTcWOVDlhDHON0UgEwfw2zqIVFrn2SqaEFVptHFNdRJop5ZKo/o6fv8GWijNJxmSuEc UWd088NHLHWvye4rmTl7FppfdsEDWE3zDI9GPQ8TQKSqDXvGE+adV8O43l9jDx5kvq+6 BahHOHMwqKK8Q7m7dqhFMfYRIdqzN5AEav5u3kos8HglNMDQy7OXbcAajX+i83UkqPiL 3J1A== X-Gm-Message-State: AOAM531g8uydoUqvT/ZoQ36uiJl4c4UgdYKoGLtzkVPzkr6mfayVf4CZ ILFd49KlAKKKf7jiz8nqS3mLn3cW55PNy1uJvo0= X-Received: by 2002:a25:b7cd:: with SMTP id u13mr28799996ybj.152.1625106057861; Wed, 30 Jun 2021 19:20:57 -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: <94a92009-ce49-bbe4-794c-0631520e4c3d@huawei.com> From: Bin Meng Date: Thu, 1 Jul 2021 10:20:46 +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 1, 2021 at 10:08 AM Kefeng Wang wr= ote: > > > On 2021/6/30 19:58, Bin Meng wrote: > > On Mon, Jun 28, 2021 at 11:21 AM Bin Meng wrote: > >> 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-wangkef= eng.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/linux/= +/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 inclu= ded. > 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 the 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. Regards, Bin