ARC: [plat-axs10x] Enable SWAP
Subsystems (2)
PATCH 1/1 ARC: [plat-axs10x] Enable SWAP
SWAP support on ARC was fixed earlier by
commit 6e3761145a9b ("ARC: Fix CONFIG_SWAP")
so now we may safely enable it on platforms that have external media like USB and SD-card.
--- arch/arc/configs/axs101_defconfig | 1 - arch/arc/configs/axs103_defconfig | 1 - arch/arc/configs/axs103_smp_defconfig | 1 - 3 files changed, 3 deletions(-)
arch/arc/configs/axs101_defconfig +0 -1
@@ -1,4 +1,3 @@ -# CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y # CONFIG_CROSS_MEMORY_ATTACH is not set
arch/arc/configs/axs103_defconfig +0 -1
@@ -1,4 +1,3 @@ -# CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y # CONFIG_CROSS_MEMORY_ATTACH is not set
arch/arc/configs/axs103_smp_defconfig +0 -1
@@ -1,4 +1,3 @@ -# CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y # CONFIG_CROSS_MEMORY_ATTACH is not set
Signature · 1 line
2.17.1
Quoted 7 lines · Alexey Brodkin
SWAP support on ARC was fixed earlier by
commit6e3761145a9b("ARC: FixCONFIG_SWAP")
so now we may safely enable it on platforms that have external media like USB and SD-card.Signed-off-by Alexey Brodkin <abrodkin at synopsys.com>Cc stable at vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
Does this really qualify as a fix for backport ?
Quoted 4 lines
--- arch/arc/configs/axs101_defconfig | 1 - arch/arc/configs/axs103_defconfig | 1 - arch/arc/configs/axs103_smp_defconfig | 1 -
Also hsdk ?
Hi Vineet,
Quoted 9 lines · Vineet Gupta
Quoted 7 lines · Alexey Brodkin
SWAP support on ARC was fixed earlier by
commit6e3761145a9b("ARC: FixCONFIG_SWAP")
so now we may safely enable it on platforms that have external media like USB and SD-card.Signed-off-by Alexey Brodkin <abrodkin at synopsys.com>Cc stable at vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
Quoted 8 lines
Does this really qualify as a fix for backport ?
Quoted 4 lines
--- arch/arc/configs/axs101_defconfig | 1 - arch/arc/configs/axs103_defconfig | 1 - arch/arc/configs/axs103_smp_defconfig | 1 -Also hsdk ?
Exactly - in HSDK we happened to have SWAP from the very beginning so my intention was to align other boards so we get exactly the same behavior on all boards once SWAP was fixed by
commit 6e3761145a9b ("ARC: Fix CONFIG_SWAP").
Otherwise since this is just a matter of toggling a config option we may leave it up to user to decide if he/she wants to have SWAP enabled.
That said it should be fine in either way.
-Alexey
Quoted 4 lines · Alexey Brodkin
Exactly - in HSDK we happened to have SWAP from the very beginning so my intention was to align other boards so we get exactly the same behavior on all boards once SWAP was fixed by
commit6e3761145a9b("ARC: FixCONFIG_SWAP").
I figured this - the patch was pushed to my for-curr yesterday for 4.19 !