Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1134757pxb; Sat, 16 Jan 2021 21:00:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcJicLtl5hNwFYPnI8d1NyhzuOGQtZkBxMCSTNJ2liVYe7IkXbmsFjy0bxLfXfaub2cGIW X-Received: by 2002:a05:6402:4c1:: with SMTP id n1mr15215986edw.66.1610859658777; Sat, 16 Jan 2021 21:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610859658; cv=none; d=google.com; s=arc-20160816; b=PBI6W9nlM7nYksAT+h3SpUdRA/OlhsXb2Gwk9xLY9ie6T3KbEMj1LrITe7IjLV1BnK IzFbqMiW9TdPjJh4S4f4rV+LUUYjIMLqmFlHdiWfd4iOL8psrQ+lku6N4g2y4rHThRKf 330GjcpYXsL/d6zRVcvbRvkBuI77mq6ruzhKK9x3yQbwchfZD9d8NsV+niNi/TdYa51R +DMsOvKCA7iNqE2/38Z3iDDBz1wAj1WaRoZzZAqqlW39tEVZLsABwudLZoLtt3LDFzrq PWG8KO3eBJzFDesr0fxDMprHD+n50tnJ4rX3hMzI/eHEkiXrEd7cnX4f+PsAjj4csDju OpNA== 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=MbHtUuvfb++/XnGOBXHZ0/FhebZQJ/Mb25g2lGLx+wU=; b=d9NMXIN8skWfSRUbLHkthHOhVUVrTPcjj2PINmqoBEAhWtKkRwkFkYmBynwgBCW+Q+ 5sRBlVF4Y/wpc3bgnEKNIY5gueJ+2nphBCwVpoTNRRirK55qa8nJWVQRUQ2uG7d+TcZx cjoYi9yfZwMo/8rDKEhO8eAxj6bS+VU+Mu1ynGGU3IRibzRLvk5vmuKVf9eaOfg4JSHy 7lsElTs6Qi0eeAtqGDa1giTjX6LoRednb4i4Tw9/BKZiTnuJItGGomVbFboXbrSy1k0r b4h/CICVdOe1Q0/+aZJJTB4T6EDJhHGtzAuOVWPKceAg/PPE4i5IHStgCgfnFJdJkzVu v8kw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si4990683ejd.440.2021.01.16.21.00.20; Sat, 16 Jan 2021 21:00:58 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbhAQE6p (ORCPT + 99 others); Sat, 16 Jan 2021 23:58:45 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11167 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbhAQE6o (ORCPT ); Sat, 16 Jan 2021 23:58:44 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJN1M1cKszl4mF; Sun, 17 Jan 2021 12:56:39 +0800 (CST) Received: from [10.174.177.244] (10.174.177.244) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Sun, 17 Jan 2021 12:57:56 +0800 Subject: Re: [PATCH v3 0/4] initrd: Use unified initrd reserve function in ARM/RISCV To: , , , Russell King , , Atish Patra CC: Palmer Dabbelt , , Paul Walmsley References: <20210115054606.124502-1-wangkefeng.wang@huawei.com> From: Kefeng Wang Message-ID: <48c006a8-a352-488c-4981-768faffbe343@huawei.com> Date: Sun, 17 Jan 2021 12:57:55 +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: <20210115054606.124502-1-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.177.244] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct Russell's mail address (from linux@armlinux.org.uk to rmk+kernel@armlinux.org.uk, should update the MAINTAINERS) On 2021/1/15 13:46, Kefeng Wang wrote: > Use the same implementation of initrd reserve to avoid duplication. > > v3: > - split into four patches, suggested-by Palmer Dabbelt > v2: > - fix build error found by kernel test robot > > Kefeng Wang (4): > initrd: Add the preprocessor guard in initrd.h > initramfs: Provide a common initrd reserve function > ARM: Covert to reserve_initrd_mem() > riscv: Covert to reserve_initrd_mem() > > arch/arm/mm/init.c | 43 +-------------------------------- > arch/riscv/mm/init.c | 54 +----------------------------------------- > include/linux/initrd.h | 11 +++++++++ > init/initramfs.c | 45 +++++++++++++++++++++++++++++++++++ > 4 files changed, 58 insertions(+), 95 deletions(-) >