'num' can represent the value of out_sgs(in_sags), no need to pass
in constant parameters in 'virtqueue_add'.
Signed-off-by: liush
---
drivers/virtio/virtio_ring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/virtio/virtio_rin
From: Yangtao Li
Many flash devices read and write a single IO based on a multiple
of 4KB, and we support only 4KB page cache size now.
Since we already check page size in init_f2fs_fs(), so remove page
size check in sanity_check_raw_super().
Signed-off-by: Yangtao Li
Signed-off-by: Shaohua Li
From: Yangtao Li
Use F2FS_ROOT_INO, F2FS_NODE_INO and F2FS_META_INO macro
for better code readability.
Signed-off-by: Yangtao Li
Signed-off-by: Shaohua Liu
---
fs/f2fs/super.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 00e
From: Yangtao Li
Many flash devices read and write a single IO based on a multiple
of 4KB, and we support only 4KB page cache size now.
Since we already check page size in init_f2fs_fs(), so remove page
size check in sanity_check_raw_super().
Signed-off-by: Yangtao Li
Signed-off-by: Shaohua Li
From: Yangtao Li
Use F2FS_ROOT_INO, F2FS_NODE_INO and F2FS_META_INO macro
for better code readability.
Signed-off-by: Yangtao Li
Signed-off-by: Shaohua Liu
---
fs/f2fs/super.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 00e
From: Shaohua Liu
The argument to pfn_to_virt() should be pfn not the value of CSR_SATP.
Reviewed-by: Palmer Dabbelt
Reviewed-by: Anup Patel
Signed-off-by: liush
---
arch/riscv/mm/fault.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/mm/fault.c b/arch
From: Liu Shaohua
The argument to pfn_to_virt() should be pfn not the value of CSR_SATP.
Reviewed-by: Palmer Dabbelt
Reviewed-by: Anup Patel
Signed-off-by: liush
---
arch/riscv/mm/fault.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/mm/fault.c b/arch
This patch adds a simple cpuidle driver for RISC-V systems using
the WFI state. Other states will be supported in the future.
Reported-by: kernel test robot
Signed-off-by: liush
---
Changes in v3:
- fix the issue reported by kernel test robot
"drivers/cpuidle/cpuidle-riscv.c:22:12: wa
This patch adds a simple cpuidle driver for RISC-V systems using
the WFI state. Other states will be supported in the future.
Signed-off-by: liush
---
Changes in v2:
- call "mb()" before run "WFI" in cpu_do_idle
- modify commit description
- place "select CPU_ID
The argument to pfn_to_virt() should be pfn not the value of CSR_SATP.
Signed-off-by: liush
---
arch/riscv/mm/fault.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c
index 716d64e..3e560ec13 100644
--- a/arch/riscv/mm/fault.c
The argument to pfn_to_virt() should be pfn not the value of CSR_SATP.
Signed-off-by: liush
---
arch/riscv/mm/fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c
index 716d64e..9b4e088 100644
--- a/arch/riscv/mm/fault.c
+++ b
Hi Palmer,
> > This patch adds a cpuidle driver for systems based RISCV architecture.
> > This patch supports state WFI. Other states will be supported in the
> > future.
> >
> > Signed-off-by: liush
> > ---
> > arch/riscv/Kconfig | 7 +
This patch adds a cpuidle driver for systems based RISCV architecture.
This patch supports state WFI. Other states will be supported in the
future.
Signed-off-by: liush
---
arch/riscv/Kconfig | 7 +
arch/riscv/include/asm/cpuidle.h | 7 +
arch/riscv/kernel/Makefile
13 matches
Mail list logo