[PATCH v3 1/2] lib/cmdline: add new function get_option_ull()

2021-01-22 Thread Wesley Zhao
In the future we would pass the unsigned long long parameter like(0x123456781234) in cmdline on the 64bit platform, so add a new option parse function get_option_ull() Signed-off-by: Wesley Zhao --- include/linux/kernel.h | 2 ++ lib/cmdline.c | 94

[PATCH v3 2/2] resource: Make it possible to reserve memory on 64bit platform

2021-01-22 Thread Wesley Zhao
For now "reserve=" is limitied to 32bit,not available on 64bit platform,so we change the get_option() to get_option_ull(added in patch: commit 4b6bfe96265e ("lib/cmdline: add new function get_option_ull()")) Signed-off-by: Wesley Zhao --- kernel/resource.c | 6 +++--

[PATCH v3 0/2] Make it possible to reserve memory on 64bit platform

2021-01-22 Thread Wesley Zhao
the /proc/iomem with 18000-180123455 : reserved. And some other tests with the get_option with the parameter(-12345678) and so on Wesley Zhao (2): lib/cmdline: add new function get_option_ull() resource: Make it possible to reserve memory on 64bit platform include/linux/kern

[PATCH v2 2/2] resource: Make it possible to reserve memory on 64bit platform

2021-01-16 Thread Wesley Zhao
For now "reserve=" is limitied to 32bit,not available on 64bit platform,so we change the get_option() to get_option_ull(added in patch: commit 4b6bfe96265e ("lib/cmdline: add new function get_option_ull()")) Signed-off-by: Wesley Zhao --- kernel/resource.c | 6 +++--

[PATCH v2 0/2] Make it possible to reserve memory on 64bit platform

2021-01-16 Thread Wesley Zhao
the /proc/iomem with 18000-180123455 : reserved. And some other tests with the get_option with the parameter(-12345678) and so on Wesley Zhao (2): lib/cmdline: add new function get_option_ull() resource: Make it possible to reserve memory on 64bit platform include/linux/kern

[PATCH v2 1/2] lib/cmdline: add new function get_option_ull()

2021-01-16 Thread Wesley Zhao
In the future we would pass the unsigned long long parameter like(0x123456781234) in cmdline on the 64bit platform, so add a new option parse function get_option_ull() Signed-off-by: Wesley Zhao --- include/linux/kernel.h | 2 ++ lib/cmdline.c | 94

[PATCH 2/2] resource: Make it possible to reserve memory on 64bit platform

2021-01-11 Thread Wesley Zhao
From: "Wesley.Zhao" For now "reserve=" is limitied to 32bit,not available on 64bit platform,so we change the get_option() to get_option_ull(added in patch: commit 4b6bfe96265e ("lib/cmdline: add new function get_option_ull()")) Signed-off-by: Wesley.Zhao --- kernel/resource.c | 6 +++--- 1 fil

[PATCH 1/2] lib/cmdline: add new function get_option_ull()

2021-01-11 Thread Wesley Zhao
From: "Wesley.Zhao" In the future we would pass the unsigned long long parameter like(0x123456781234) in cmdline on the 64bit platform, so add a new option parse function get_option_ull() Signed-off-by: Wesley.Zhao --- include/linux/kernel.h | 1 + lib/cmdline.c | 35