linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARC: [plat-axs10x] Enable SWAP
@ 2018-08-02  8:50 Alexey Brodkin
  2018-08-06 17:56 ` Vineet Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2018-08-02  8:50 UTC (permalink / raw)
  To: linux-snps-arc; +Cc: linux-kernel, Vineet Gupta, Alexey Brodkin, stable

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.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: stable@vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
---
 arch/arc/configs/axs101_defconfig     | 1 -
 arch/arc/configs/axs103_defconfig     | 1 -
 arch/arc/configs/axs103_smp_defconfig | 1 -
 3 files changed, 3 deletions(-)

diff --git a/arch/arc/configs/axs101_defconfig b/arch/arc/configs/axs101_defconfig
index 3dbb2b3f60af..96b7258a76be 100644
--- a/arch/arc/configs/axs101_defconfig
+++ b/arch/arc/configs/axs101_defconfig
@@ -1,4 +1,3 @@
-# CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 # CONFIG_CROSS_MEMORY_ATTACH is not set
diff --git a/arch/arc/configs/axs103_defconfig b/arch/arc/configs/axs103_defconfig
index 4d7b85d4b2dc..72fc21ef1334 100644
--- a/arch/arc/configs/axs103_defconfig
+++ b/arch/arc/configs/axs103_defconfig
@@ -1,4 +1,3 @@
-# CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 # CONFIG_CROSS_MEMORY_ATTACH is not set
diff --git a/arch/arc/configs/axs103_smp_defconfig b/arch/arc/configs/axs103_smp_defconfig
index 92417e2e39f3..2ac89bd00e28 100644
--- a/arch/arc/configs/axs103_smp_defconfig
+++ b/arch/arc/configs/axs103_smp_defconfig
@@ -1,4 +1,3 @@
-# CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 # CONFIG_CROSS_MEMORY_ATTACH is not set
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: [plat-axs10x] Enable SWAP
  2018-08-02  8:50 [PATCH] ARC: [plat-axs10x] Enable SWAP Alexey Brodkin
@ 2018-08-06 17:56 ` Vineet Gupta
  2018-08-08 13:35   ` Alexey Brodkin
  0 siblings, 1 reply; 4+ messages in thread
From: Vineet Gupta @ 2018-08-06 17:56 UTC (permalink / raw)
  To: Alexey Brodkin, linux-snps-arc; +Cc: linux-kernel, Vineet Gupta, stable

On 08/02/2018 01:50 AM, Alexey Brodkin wrote:
> 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.
> 
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: stable@vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP

Does this really qualify as a fix for backport ?

> ---
>  arch/arc/configs/axs101_defconfig     | 1 -
>  arch/arc/configs/axs103_defconfig     | 1 -
>  arch/arc/configs/axs103_smp_defconfig | 1 -

Also hsdk ?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: [plat-axs10x] Enable SWAP
  2018-08-06 17:56 ` Vineet Gupta
@ 2018-08-08 13:35   ` Alexey Brodkin
  2018-08-08 16:28     ` Vineet Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2018-08-08 13:35 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: linux-kernel, stable, linux-snps-arc

Hi Vineet,

On Mon, 2018-08-06 at 10:56 -0700, Vineet Gupta wrote:
> On 08/02/2018 01:50 AM, Alexey Brodkin wrote:
> > 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.
> > 
> > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > Cc: stable@vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
> 
> Does this really qualify as a fix for backport ?
>
> > ---
> >  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: [plat-axs10x] Enable SWAP
  2018-08-08 13:35   ` Alexey Brodkin
@ 2018-08-08 16:28     ` Vineet Gupta
  0 siblings, 0 replies; 4+ messages in thread
From: Vineet Gupta @ 2018-08-08 16:28 UTC (permalink / raw)
  To: Alexey Brodkin; +Cc: linux-kernel, stable, linux-snps-arc

On 08/08/2018 06:35 AM, Alexey Brodkin wrote:
> 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").

I figured this - the patch was pushed to my for-curr yesterday for 4.19 !


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-08 16:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02  8:50 [PATCH] ARC: [plat-axs10x] Enable SWAP Alexey Brodkin
2018-08-06 17:56 ` Vineet Gupta
2018-08-08 13:35   ` Alexey Brodkin
2018-08-08 16:28     ` Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).