Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp219786pxv; Wed, 30 Jun 2021 19:09:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwinJiMjXnfUQx1do0u8j79ud8AZUUC8fuPtRr2vQnPS/gTHC6adE11igS2/E932PkHbUNe X-Received: by 2002:a05:6638:1446:: with SMTP id l6mr11785554jad.14.1625105389696; Wed, 30 Jun 2021 19:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625105389; cv=none; d=google.com; s=arc-20160816; b=jc8ddypkgQInHtS4lwttFEzNUDT4LayN1mKUlE5P8gMZobusfpVK1iNqLvuYVQXvEm GYLJ7LOUSKzEgwVo9i9aZnLb2/3nvwKs1+kNJbk77S9NmOr1k5tjbj0U2wZB7g72rsg6 26DqzjuFl7zB5kXL8NS9U0Pgab//LPyiINYKykoGpNvNZ1hSS7YSrWMtIvIfkZSrMMR+ jUwOokcwS28jJyl6snsQ+HYn86BqUVR+fnN9Rhnv2qp3lM40u141OV3ZzYxjFEHr1xTB 1jqTX6gJe4dc+lKjLXOAS//od9qOJjqr8kCsZx6f0tq6ASRc7YUeVr7y4GInq5a9+bSC jSwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=qz/GXO70FaoPSbfbrlrCI/iSPGOyW6J4HlooQGxKVn0=; b=HbIrhRJF2Erpt+6aLMMHI3C2n0CQePCxIgCF1jjW9fynd99c95l0CjPXGVGL61aOJq njhq5x2mJFhqF+ICzxgkSzUkKCh9tvg5mdzekzRVP47dn6mmf6x45ghuz+SJeDPfbJPu sDCLdeU2hKe29HPZ2/lL54MFDQtCcPdgVM5PlUIwInnqds6z+BCnJAT6L99t0TEVg2qy ngAPYOPtu5EhuFhQI9CrVFLQaSeYG0ziW2QrWJktQVK6M9bhJS1ZLf/X143tIArmi0Ui tqxC8iCwqon0UHJaxbsRCMjlJLdb94gDvavAYS5H7rqd3bd4XSJyG3dKilP82tv6vKYo wyaw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o192si17028369jao.55.2021.06.30.19.09.35; Wed, 30 Jun 2021 19:09:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238592AbhGACLL (ORCPT + 99 others); Wed, 30 Jun 2021 22:11:11 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:5947 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238580AbhGACLK (ORCPT ); Wed, 30 Jun 2021 22:11:10 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GFhPS3Wgtz76Rf; Thu, 1 Jul 2021 10:05:16 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 1 Jul 2021 10:08:38 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 1 Jul 2021 10:08:38 +0800 Subject: Re: [PATCH] riscv: Fix 32-bit RISC-V boot failure To: Bin Meng CC: Palmer Dabbelt , Atish Patra , linux-kernel , linux-riscv , stable References: <20210627135117.28641-1-bmeng.cn@gmail.com> <11706f7e-a53a-5640-d713-bc4562db71fa@huawei.com> From: Kefeng Wang Message-ID: <94a92009-ce49-bbe4-794c-0631520e4c3d@huawei.com> Date: Thu, 1 Jul 2021 10:08:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, sorry for the mistake,the bug is fixed by >>>>> >>>>> https://lore.kernel.org/linux-riscv/20210602085517.127481-2-wangkefeng.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=" will change the range of memblock, so the fix part must be included. > > 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. > > Regards, > Bin > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv