msm: 8625: Add support for the M2A_2 fiq handler

The FIQ handler gets triggered when the M2A_2
interrupt is fired by the NON-HLOS. The  FIQ
handler saves the CPU context and helps in
debugging the watch dog timeout issues.

Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
(cherry picked from commit ed8df5b5d13e3873adb6071c193799568dc9939f)

Change-Id: I3489027420e4c6f60fa27eb7fc2c6948bc98da8d
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: 8625: Send IPI_CPU_BACKTRACE when FIQ is raised

Currently only cpu0 context is getting saved when FIQ is raised.
So add support to unwind the call stacks of all the CPUs cores by
sending IPI_CPU_BACKTRACE.

Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
(cherry picked from commit a44d8a67ccccb258babbf5742a88d0c94054a57c)

Change-Id: Id783d1b0a6f521b6370322a7491d8d131a92641e
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: 7x27a: Add support for FIQ handler

Add support for FIQ handler on MSM7x27a to save
ACPU context.

CRs-Fixed: 449136
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/msm7k_fiq.c

Change-Id: I33d560e8421b8767bb39f41220fed805556c0446
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
ARM: fiq: Add fiq_set_type to configure lines for FIQ

The lines to be used as FIQ needs to be configured to be
set for the type as EGDE/LEVEL.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
(cherry picked from commit 1c01ace5f5e33b9644b3a8c48a2b80af91e3a658)

Change-Id: Idc92c3045cc854c6e0b113f6fc8eb84b23b2d902
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: 7x30: Add support for FIQ handler

Add support for FIQ handler on MSM7x30 to save
ACPU context.

Change-Id: I3e8b620406e71818203c1d13af45ebd9c581e810
Signed-off-by: Ramesh Gupta Guntha <rggupt@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: audio  VOIP fixes.

-msm: qdsp5: Moving initialization of wakelock and mutex to mvs init

Added change to move initialization of wakelock and mutex to mvs init
to reduce the VoIP startup time.

-msm: qdsp5: Exit VOIP thread at the end of MVS session

In the MVS open, a thread is created but the same is not getting exited
during the MVS release
Added logic to exit the thread in the release.

-msm: qdsp5: Fix for noise issue during VOIP call

Driver discards the downlink packets when input queue is full.
Added code to block processing of downlink packets in the write()
till a input queue free slot is available for write.

-msm: qdsp5v2: Fix for noise issue during VOIP call

Driver discards the downlink packets when input queue is full.
Added code to block processing of downlink packets in the write()
till a input queue free slot is available for write.

Change-Id: I8f238b572e5ee9f4321089f9fa87dd917098df0d
Signed-off-by: Kalyani Polepeddy  <kpolep@codeaurora.org>
msm: rpc: hold spinlock while doing wait_event

To prevent a race condition between wake_up called by
msm_rpcrouter_xprt_notify and wait_event in rr_read
hold a spinlock irqsave to prevent the system from going into
sleep when there is pending SMD data to process.

CRs-Fixed: 393416
Change-Id: Ic329c785fa8272857b7f067819d51a516a9cdc0d
Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
defconfig: msm7630: Disable Shadow Writes

Disable Shadow Writes for 7630

Change-Id: Id7ed3270ac0ea8b67887d8dea2a81911783a9875
CRs-fixed: 451292
Signed-off-by: Anshuman Dani <adani@codeaurora.org>
board-msm7x30: Increase the camera heap for framebuffer allocation

On jb_mr1, framebuffer surfaces also need to be allocated from
user-space. We can not fall back system heap for framebuffer
allocations. MDP couldn't access buffers from system heap.

So, the memory requirement for physically contigiuous buffers has
gone up. Increase the size of camera_preview heap (ADSP) by
3 * (required memory for 32 bpp framebuffer).

This increase is needed, as we have use-cases like stress tests,
which will put more load onto pmem_adsp.

CRs-Fixed: 457812

Change-Id: I6689aecfb4002e8ed32e55c4dad5de37fb94c13d
Signed-off-by: Neti Ravi Kumar <ravineti@codeaurora.org>
USB: msm72k_udc: Disable non-std charger feature by default & add debugfs

Add non-standard(proprietary) charger feature only for qrd7627a and
disable it by default and add a debugfs entry to enable it during
runtime if required using the following command:

echo 1 > /sys/kernel/debug/msm_hsusb/proprietary_chg

CRs-Fixed: 390597
CRs-Fixed: 386232
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
(cherry picked from commit 3c5dbb13665065fdd0f6cef9f826086dce09cbf7)

Change-Id: Ie61c603e1060933cc5c7e16f4d79bc7d0ef1f3d2
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
build: Fix target smd_rpc_sym.c

This change adds smd_rpc_sym.c to the git ignore and clean list.
usb: core: Fix building with CONFIG_USB_OTG turned on.
pmic8058: Move from PM8058 PWM to PM8XXX PWM.

PM8058 now uses the generic PWM driver instead of its own.
pm8xxx-vibrator: Add voltage level setting to timed_output class.

Userspace can now control the voltage of the vibrator, thus changing the
intensity.
msm: Separate configuration for each 7x30 target.

This change makes it easier to modify and add 7x30 devices into the
build.
mach-types: mogami & zeus

Author:    nobodyAtall <tsogkas@ceid.upatras.gr>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: If6149063b64d895152641a85b4d77d262e71264d
msm: Initial support for mogami & zeus

For now just a bare copy of the original msm7x30 files.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ie9c805926de31a885cad2c2d2a6c227059bfb282
defconfigs: Initial addition of mogami & zeus defconfigs

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I501faeab88051f249c569e678d7a92c3dabcae2a
socinfo: workaround for passing the CPU type

Author:    nobodyAtall <tsogkas@ceid.upatras.gr>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I1153813936128525f861d452f183bf1d995c9b73
Disable Unknown SOC ID WARN