Re: [PATCH] ARC: [plat-axs10x] Enable SWAP

From: Alexey Brodkin
Date: Wed Aug 08 2018 - 09:35:09 EST


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@xxxxxxxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx # 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