mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-19 09:53:01 +00:00
HV: add memmap param for hvlog in sos cmdline
Reserve memory for hv sbuf to avoid its possible overwriting on kernel memory. For apl-up2, move hv_log address to 0x5de00000 to avoid possible conflict with HV_RAM which start from 0x5e000000; For nuc6cayh, move HV_RAM_START to 0x20000000 to avoid possible conflict with hv_log which start from 0x1fe00000; Tracked-On: #3533 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
parent
12fc8e9c8d
commit
398137990e
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define BOOTARG_DEBUG "hvlog=2M@0x6de00000 " \
|
#define BOOTARG_DEBUG "hvlog=2M@0x6de00000 " \
|
||||||
|
"memmap=0x200000$0x6de00000 " \
|
||||||
"memmap=0x400000$0x6da00000 " \
|
"memmap=0x400000$0x6da00000 " \
|
||||||
"ramoops.mem_address=0x6da00000 " \
|
"ramoops.mem_address=0x6da00000 " \
|
||||||
"ramoops.mem_size=0x400000 " \
|
"ramoops.mem_size=0x400000 " \
|
||||||
|
@ -18,9 +18,10 @@
|
|||||||
#define SOS_COM2_IRQ 3U
|
#define SOS_COM2_IRQ 3U
|
||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define BOOTARG_DEBUG "hvlog=2M@0x6de00000 " \
|
#define BOOTARG_DEBUG "hvlog=2M@0x5de00000 " \
|
||||||
"memmap=0x400000$0x6da00000 " \
|
"memmap=0x200000$0x5de00000 " \
|
||||||
"ramoops.mem_address=0x6da00000 " \
|
"memmap=0x400000$0x5da00000 " \
|
||||||
|
"ramoops.mem_address=0x5da00000 " \
|
||||||
"ramoops.mem_size=0x400000 " \
|
"ramoops.mem_size=0x400000 " \
|
||||||
"ramoops.console_size=0x200000 " \
|
"ramoops.console_size=0x200000 " \
|
||||||
"reboot_panic=p,w "
|
"reboot_panic=p,w "
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
#define SOS_COM2_IRQ 3U
|
#define SOS_COM2_IRQ 3U
|
||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000"
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000 " \
|
||||||
|
"memmap=0x200000$0x1fe00000 "
|
||||||
#else
|
#else
|
||||||
#define SOS_BOOTARGS_DIFF ""
|
#define SOS_BOOTARGS_DIFF ""
|
||||||
#endif
|
#endif
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
#define SOS_COM2_IRQ 3U
|
#define SOS_COM2_IRQ 3U
|
||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000"
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000 " \
|
||||||
|
"memmap=0x200000$0x1fe00000 "
|
||||||
#else
|
#else
|
||||||
#define SOS_BOOTARGS_DIFF ""
|
#define SOS_BOOTARGS_DIFF ""
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,4 +4,4 @@ CONFIG_BOARD="nuc6cayh"
|
|||||||
# enable HSUART at PCI 0:18.0 by soldering Tx/Rx wires from M.2 connector;
|
# enable HSUART at PCI 0:18.0 by soldering Tx/Rx wires from M.2 connector;
|
||||||
CONFIG_SERIAL_PCI=y
|
CONFIG_SERIAL_PCI=y
|
||||||
CONFIG_SERIAL_PCI_BDF="0:18.0"
|
CONFIG_SERIAL_PCI_BDF="0:18.0"
|
||||||
CONFIG_HV_RAM_START=0x12200000
|
CONFIG_HV_RAM_START=0x20000000
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
#define SOS_COM2_IRQ 3U
|
#define SOS_COM2_IRQ 3U
|
||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000"
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000 " \
|
||||||
|
"memmap=0x200000$0x1fe00000 "
|
||||||
#else
|
#else
|
||||||
#define SOS_BOOTARGS_DIFF ""
|
#define SOS_BOOTARGS_DIFF ""
|
||||||
#endif
|
#endif
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
#define SOS_COM2_IRQ 3U
|
#define SOS_COM2_IRQ 3U
|
||||||
|
|
||||||
#ifndef CONFIG_RELEASE
|
#ifndef CONFIG_RELEASE
|
||||||
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000"
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000 " \
|
||||||
|
"memmap=0x200000$0x1fe00000 "
|
||||||
#else
|
#else
|
||||||
#define SOS_BOOTARGS_DIFF ""
|
#define SOS_BOOTARGS_DIFF ""
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user