recomended values for mm/ksm ,taken from the vanir kernel for tuna
 kswapd: reduce time spent in congestion_wait

By reducing the amount of time kswapd spends in
congestion_wait kswapd is able to free up more
memory in the background and therefore  reduce
the amount  of time spent in direct reclaim.

Change-Id: I46ebe577f8954d8ce9907430958fa0e53090979c
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Greg Grisco <ggrisco@codeaurora.org>
Signed-off-by: Quallenauge <Hamsi2k@freenet.de>
optimizations
these got removed
more mpu frequency table work
tune wifi starting time
up the omap hsmmc controller from 100mhz to 102mhz
regulater voltage data update
OMAP: DSSCOMP: Use vmalloc for large allocations

Use vmalloc for large allocations that do not need to be
contiguous.  This keeps more memory for kmalloc.

Change-Id: I76290a16498f8846e58559b867013b62bfa3662e
Signed-off-by: Lajos Molnar <lajos@ti.com>
ASoC: OMAP4 ABE: Add CONFIG_SND_OMAP4_ABE_USE_ALT_FW

This enables a build to load the alternate ABE Firmware.

Change-Id: I5772616c576234845d0e839067d5b85f232f12be
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
ASoC: OMAP4 ABE: Allow an alternate ABE firmware to be used.

On commit 52c46046 the ABE firmware was updated with a version that
included several improvements, but also disabled the digital
microphone (DMIC) feature.  In order to support DMIC on devices like
the Blaze, an alternate firmware (and matching code) must be
configured.

This commit allows an alternate firmware using
CONFIG_SND_OMAP4_ABE_USE_ALT_FW.

Change-Id: I2fd4aa8d03be802722dca973a71435b9965e80ea
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
OMAP:ABE: Fix schedule tablet formatting

Fixed the formatting of the code when the MultiFrame is set to 0

change
= 0/*...*/;
to
= 0; /*...*/

No operational changes are made to this file

Change-Id: I6b49e0f66f2fad16e540968c6ca926e450c60bf5
Signed-off-by: Dan Murphy <dmurphy@ti.com>
ASoC: ABE: update to ABE firmware 09.51.

New features:
- SRC 44.1 to 48 for MM_DL port (CBPr or Ping/Pong)
- Split monitoring of ABE filters saturation
- Table for filter saturation 8 or 16 kHz

Change-Id: I469a477612d4c927516e2bc96ea07d672bfcf3e0
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
Signed-off-by: Barry Woodward <b-woodward@ti.com>
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
ASoC: ABE HAL: Change ABE port priority table for BT voice call

Up to now the VX ports had a higher priority than BT port.
When voice call starts or stops, the ABE reference clock
changes between Modem clock and ABE system clock.
This change can produce noise on the multimedia tone played in the same time.
To avoid that the BT needs to have the priority.
Indeed, the ABE ref clock will stay at ABE system clock
inside/outside voice call.
As Vx ports have ASRC there's no problem of clock drift.

Change-Id: Ie04fe6705e6c85fe3c83bf684717ae48a10a43e7
Signed-off-by: Francois Mazard <f-mazard@ti.com>
HACK: ASoC: OMAP ABE: Save DL1 BE related gains

MM_EXT_DL gains were being lost when ABE was hitting OFF, because
they were not properly saved when DL1 last active BE was muted.

Save DL1 BE gains along with ABE context in order to avoid
losing their values when OFF is hit. Gain values are saved when
gains are muted. These gains were not properly muted if BT_VX_DL
or MM_EXT_DL port was enabled and DL2 path was active, since
PDM_DL1 port gets enabled(for DL1 or DL2) when ABE McPDM is started.

Change-Id: Ib0d658c65c134f7ee4baeb13f7e09f6299b1923a
Signed-off-by: Axel Castaneda Gonzalez <x0055901@ti.com>
ASoC: OMAP ABE: Update ports in order to support 44.1 KHz

With new ABE release the driver can support now 44.1 on MM DL
and TONES DL port. For MM DL port a true interpolation is done.
For TONES DL the ratio 12/11 is used.

Change-Id: Ic433e1576e7c86b1477c1854816caf5cefdceeed
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
ASoC: OMAP ABE: Allow FE ports to be muted independently

To avoid muting a FE due an active BE update. Digital muting
control for FEs should be independent of the number of active BEs
and dependent only on active FEs updates.

Change-Id: I227231939f24e93ecee41043a11bcef2045915da
Signed-off-by: Axel Castaneda Gonzalez <x0055901@ti.com>
ASoC: TWL6040: Configure Phoenix Audio at 88.2 only for 88.2 kHz

As with new release of ABE firmware the ABE is supporting 44.1kHz
we need to set Phoenix Audio clock to 96 kHz. Today this setting
is not well computed by the driver as it is associated to the
sample frequency

Change-Id: I46f432574f90140809c0ac0b2f393d386cbdb01b
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
ASoc: ABE VxREC: Create VxREC CPU DAI

VxREC DAI represents the Vx_REC input of the ROUTE_UL.
Vx_REC can be mono or stereo input even it mixes
different inputs such as Vx_UL, Vx_DL, TONES_DL and MM_DL

Change-Id: I7b67d7472bf500f89865953054f740844c1166a5
Signed-off-by: Francois Mazard <f-mazard@ti.com>
Signed-off-by: Pierre Moos <p-moos@ti.com>

Conflicts:
	sound/soc/omap/Kconfig
ASoc: ABE VxREC: fix voice UL/DL gains swapping

Change-Id: I301f41bff006b59985b2bcc2ada96082a4724d55
Signed-off-by: Francois Mazard <f-mazard@ti.com>
Signed-off-by: Pierre Moos <p-moos@ti.com>