riscv: Update k210 defconfigs
PATCH 1/1 riscv: Update k210 defconfigs
In preparation for SLOB deprecation, update the nommu_k210_* defconfigs to switch to using SLUB. To save memory, CONFIG_SLUB_CPU_PARTIAL is not selected.
--- arch/riscv/configs/nommu_k210_defconfig | 6 +++--- arch/riscv/configs/nommu_k210_sdcard_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
arch/riscv/configs/nommu_k210_defconfig +3 -3
@@ -23,9 +23,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y
@@ -39,6 +36,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_BLOCK is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set
arch/riscv/configs/nommu_k210_sdcard_defconfig +3 -3
@@ -15,9 +15,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y
@@ -32,6 +29,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_MQ_IOSCHED_KYBER is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set
Signature · 7 lines
2.38.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 6 lines · Damien Le Moal
In preparation for SLOB deprecation, update the nommu_k210_* defconfigs to switch to using SLUB. To save memory,
CONFIG_SLUB_CPU_PARTIALis not selected.Suggested-by Vlastimil Babka <[email protected]>Signed-off-by Damien Le Moal <[email protected]>
Hey,
Gave it a go w/ your v21 branch. To me, seems about as usable as it was before...
btw, what's the craic with that? Looks like you actually landed in upstream buildroot fairly soon after you pointed me at your series. Anything missing from buildroot, or did it all land?
Thanks,
Conor.
Quoted 61 lines
--- arch/riscv/configs/nommu_k210_defconfig | 6 +++--- arch/riscv/configs/nommu_k210_sdcard_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)arch/riscv/configs/nommu_k210_defconfig +3
-3@@ -23,9 +23,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y@@ -39,6 +36,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_BLOCK is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not setarch/riscv/configs/nommu_k210_sdcard_defconfig +3
-3@@ -15,9 +15,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y@@ -32,6 +29,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_MQ_IOSCHED_KYBER is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not setSignature · 7 lines
2.38.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 11 lines · Conor Dooley
Quoted 6 lines · Damien Le Moal
In preparation for SLOB deprecation, update the nommu_k210_* defconfigs to switch to using SLUB. To save memory,
CONFIG_SLUB_CPU_PARTIALis not selected.Suggested-by Vlastimil Babka <[email protected]>Signed-off-by Damien Le Moal <[email protected]>Hey,
Gave it a go w/ your v21 branch. To me, seems about as usable as it was before...
Please use upstream buildroot. Everything is in master for this board and that v21 branch is dead now.
Quoted 1 line
Tested-by Conor Dooley <[email protected]>
I used buildroot defconfigs sipeed_maix_bit_defconfig and sipeed_maix_bit_sd_card_defconfig. Both had the same issue with SLUB: lots of errors with the shell, including failures for the init shell commands. And sometimes I end up with a prompt but no way to run any shell command at all. I guess that depends on fragmentation of the memory after boot completes.
Quoted 4 lines
btw, what's the craic with that? Looks like you actually landed in upstream buildroot fairly soon after you pointed me at your series. Anything missing from buildroot, or did it all land?
Everything landed, plus some (some build fixes).
Palmer,
Please hold on before applying this patch. Discussion still going on about SLUB.
Quoted 65 lines
Thanks,
Conor.Quoted 61 lines
--- arch/riscv/configs/nommu_k210_defconfig | 6 +++--- arch/riscv/configs/nommu_k210_sdcard_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)arch/riscv/configs/nommu_k210_defconfig +3
-3@@ -23,9 +23,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y@@ -39,6 +36,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_BLOCK is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not setarch/riscv/configs/nommu_k210_sdcard_defconfig +3
-3@@ -15,9 +15,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_ADVISE_SYSCALLS is not set # CONFIG_KALLSYMS is not set CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_SLOB=y # CONFIG_MMU is not set CONFIG_SOC_CANAAN=y CONFIG_NONPORTABLE=y@@ -32,6 +29,9 @@ CONFIG_CMDLINE_FORCE=y # CONFIG_MQ_IOSCHED_KYBER is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set +# CONFIG_SLUB_CPU_PARTIAL is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_VM_EVENT_COUNTERS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not setSignature · 7 lines
2.38.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Signature · 8 lines
Damien Le Moal Western Digital Research _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 9 lines · Damien Le Moal
Quoted 8 lines · Conor Dooley
Quoted 6 lines · Damien Le Moal
In preparation for SLOB deprecation, update the nommu_k210_* defconfigs to switch to using SLUB. To save memory,
CONFIG_SLUB_CPU_PARTIALis not selected.Suggested-by Vlastimil Babka <[email protected]>Signed-off-by Damien Le Moal <[email protected]>
Quoted 6 lines
Quoted 3 lines
Hey,
Gave it a go w/ your v21 branch. To me, seems about as usable as it was before...Please use upstream buildroot. Everything is in master for this board and that v21 branch is dead now.
Ah cool, willdo.
Quoted 8 lines
Quoted 1 line
Tested-by Conor Dooley <[email protected]>I used buildroot defconfigs
sipeed_maix_bit_defconfigandsipeed_maix_bit_sd_card_defconfig. Both had the same issue with SLUB: lots of errors with the shell, including failures for the init shell commands. And sometimes I end up with a prompt but no way to run any shell command at all. I guess that depends on fragmentation of the memory after boot completes.
Yeah, I guess I was just fortunate (or unfortunate?) and did not see any
- but I only ran the most trivial of commands after boot. I did give it a couple of boots since I'd seen you mention problems but only 4/5 times.
Quoted 6 lines
Quoted 5 lines
btw, what's the craic with that? Looks like you actually landed in upstream buildroot fairly soon after you pointed me at your series. Anything missing from buildroot, or did it all land?
Quoted 6 lines
Everything landed, plus some (some build fixes).
Palmer,
Please hold on before applying this patch. Discussion still going on about SLUB.
I'm only keeping half an eye on that thread, lmk if you'd like me to re-test this at some point.
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv