[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6ad30931-85a1-37a1-ce80-9a8752ebb22a@huawei.com>
Date: Fri, 15 Jan 2021 13:44:42 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Palmer Dabbelt <palmer@...belt.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-riscv@...ts.infradead.org>,
<linux@...linux.org.uk>, Atish Patra <Atish.Patra@....com>,
<guoren@...nel.org>, Paul Walmsley <paul.walmsley@...ive.com>
Subject: Re: [PATCH v2] initramfs: Provide a common initrd reserve function
On 2021/1/15 10:33, Palmer Dabbelt wrote:
> On Wed, 13 Jan 2021 18:33:58 PST (-0800), wangkefeng.wang@...wei.com
> wrote:
>> The ARM and riscv have same logic to check and reserve
>> the memory of initrd, let's provide a common function to
>> reduce duplicated code.
>>
>> Add __LINUX_INITRD_H define in initrd.h to prevent build error
>> (found by kernel test robot <lkp@...el.com>) from the multiple
>> inclusion of same header file multiple time.
>
> This is doing a bunch of different things:
>
> * Fixing the lack of a preprocessor guard in initrd.h
> * Adding some generic code.
> * Converting two architectures over to that generic code.
>
> It needs to be split into four patches. I'm happy to take them via
> the RISC-V tree (with an Ack from for the arch/arm/ stuff), but not
> all together.
>
> It looks like csky copied this as well, they at least have exactly the
> same message.
Send v3, according to the suggestion,thanks.
Powered by blists - more mailing lists