lkml.org 
[lkml]   [2021]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/2] Make it possible to reserve memory on 64bit platform
On Sat, Jan 16, 2021 at 02:41:11AM -0800, Wesley Zhao wrote:
> I was trying to reserve some memory to save logs incase that Android panic or hang and then
> I can read the logs from QNX side from the memory reserved before on the Qualcomm 8155 hypervisor platform,
> and I find the "reserve=" parameter only support 32bit,so I made some change and send these patches.

Your series has disrupter in-reply-to change, can you fix your tools to have
all patches in one email thread?

> testcase:
> I test on the qemu with some cmdline like[qemu-system-x86_64 -kernel linux-next/arch/x86_64/boot/bzImage
> -hda ubuntu-system.ext4 -append "root=/dev/sda init=/bin/bash console=ttyS0 reserve=0x180000000,0x123456"
> -nographic] and check the /proc/iomem with 180000000-180123455 : reserved.
> And some other tests with the get_option with the parameter(-12345678) and so on

It's good but I was talking about unit test. Look into cmdline_kunit.c.

> Wesley Zhao (2):
> lib/cmdline: add new function get_option_ull()
> resource: Make it possible to reserve memory on 64bit platform

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2021-01-18 21:10    [W:0.081 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site