vts: vts_kernel_checkpoint_test [1/2]
authorlele.liu <lele.liu@amlogic.com>
Thu, 4 Nov 2021 01:46:43 +0000 (01:46 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:34:42 +0000 (13:34 -0500)
PD#SWPL-63211

Problem:
short of dm_bow config

Solution:
enable dm_bow config

Verify:
local

Change-Id: I503d20b44651b91ab13449d51814c2b1b668d9d7
Signed-off-by: lele.liu <lele.liu@amlogic.com>
arch/arm64/configs/meson64_defconfig
drivers/md/dm-bow.c

index 7876a4840805f4c404131ffc37d5b525b5241633..aff57c3e7a78534d7a8dfc998ce5a29962184002 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_MEMCG=y
 CONFIG_MEMCG_SWAP=y
 CONFIG_CGROUP_SCHED=y
 CONFIG_CGROUP_BPF=y
+CONFIG_CHECKPOINT_RESTORE=y
 CONFIG_NAMESPACES=y
 CONFIG_SCHED_TUNE=y
 CONFIG_DEFAULT_USE_ENERGY_AWARE=y
@@ -397,6 +398,7 @@ CONFIG_DM_SNAPSHOT=y
 CONFIG_DM_VERITY=y
 CONFIG_DM_VERITY_FEC=y
 CONFIG_DM_VERITY_AVB=y
+CONFIG_DM_BOW=y
 CONFIG_NETDEVICES=y
 CONFIG_TUN=y
 # CONFIG_NET_VENDOR_3COM is not set
@@ -592,13 +594,13 @@ CONFIG_USB_DWC3_HOST=y
 CONFIG_USB_SERIAL=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_NCM=y
 CONFIG_USB_CONFIGFS_RNDIS=y
 CONFIG_USB_CONFIGFS_F_FS=y
 CONFIG_USB_CONFIGFS_F_MTP=y
 CONFIG_USB_CONFIGFS_F_PTP=y
 CONFIG_USB_CONFIGFS_F_ACC=y
 CONFIG_USB_CONFIGFS_F_AUDIO_SRC=y
-CONFIG_USB_CONFIGFS_NCM=y
 CONFIG_USB_CONFIGFS_UEVENT=y
 CONFIG_USB_CONFIGFS_F_MIDI=y
 CONFIG_MMC=y
index b45f0b2fcc7c85f982fb4b142b8e39bceb3f8d88..3ebe568a5200f74ec4fac7b4a90491e16f676bb7 100644 (file)
@@ -12,7 +12,9 @@
 #include <linux/module.h>
 
 #define DM_MSG_PREFIX "bow"
+#ifndef CONFIG_AMLOGIC_MODIFY
 #define SECTOR_SIZE 512
+#endif
 
 struct log_entry {
        u64 source;