The firmware size returned by request_firmware api is size_t which is
unsigned long in some platforms. Typeacast the size to u32 to match with
supported interface definition.
Change-Id: I61a484e74bf7932508295aac2fe7cfd7298d7953
Signed-off-by: Mahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org>
Currently advanced error reporting is enabled by pci msm
controller driver using custom API. Since AER root port
service driver provides exported API
pci_enable_pcie_error_reporting() use this API to enable
support for AER and get rid of custom API. Framework API
needs to be wrapped under QGKI kernel config to prevent
GKI ABI breakage.
Change-Id: I3856fdc958a6234fe5e0a888733ce9f57fa5a48e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
For invalid ioctl inputs from user, kgsl already returns -ENOIOCTLCMD error
code. Avoid flooding kernel log with such errors.
Change-Id: Iaf9c8eb0c51b221738482e2b4b02289913a2878e
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Added check to return fastrpc ioctl call when process exit sequence is
in progress.
Change-Id: I83915cb3fb75cc69d245a56800dcf42b492e01ea
Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Add support in the driver to manage power without enabling pm runtime.
UART driver gives control to user space client to vote for clock on/off
by exposing ioctls. These vote clock on/off APIs depend on PM runtime
framework for power related operations.
This change relaxes driver from depending on userspace ioctls to invoke
runtime resume/suspend for basic uart functionality which will now be
done by system suspend/resume. This will block PM framework API's and
use system suspend/resume API for UART on/off.
Change-Id: Idf0632c0e2d40907f7a226cd7e3e814d1c1f6751
Signed-off-by: Ashish Kori <akori@codeaurora.org>
Add driver to send and receive events from Slate
co-processor. The driver uses Glink channel to communicate
with Slate.
Change-Id: I2b7cf9a47e8947f79c7e9cd8b1311ff8c04bf848
Signed-off-by: Ajit Kumar <kajit@codeaurora.org>
Enable this driver to allow using standard APIs
to enable and disable AER support in endpoint
driver. In order to enable this driver
CONFIG_PCI_QTI needs to be enabled to prevent
GKI ABI breakage for GKI enabled configuration.
Change-Id: Icec7e6b10a7449d7dcf011afd73e1c573c16c8c5
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Enable CONFIG_INCREMENTAL_FS in LA guest to support APK
updates.
Change-Id: I0c202ba7d28b7393dcb47544728f8c042137ea28
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
Enable CONFIG_INCREMENTAL_FS in LA to support APK
updates.
Change-Id: I3dda81703af139c3554993c725189215c28f386c
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
Enable CONFIG_INCREMENTAL_FS in LA to support APK
updates.
Change-Id: Idf3c93412d5a87c9df7ac5e88ccdc0bae114621f
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
Use cyclic id allocator to avoid immediate reassignment of
same port id.
Assigning incremental port id gives more clarity over ports
assignment and makes it easy to debug problem in certain scenario.
Change-Id: Ib432ff641f4c81ba33ff0176cb67f1cdf4b3b1f9
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Commit 54fdb1e448 ("PCIe: ASPM: Save/restore ASPM-L1SS
controls for suspend/resume") restores PCI_L1SS_CTL1, then
PCI_L1SS_CTL2. It should do those in the reverse order, since
the Enable bits are in PCI_L1SS_CTL1. It also restores L1SS
state before we restore the PCIe Capability potentially enabling
ASPM as a whole. Fix the issue by changing order for both save
and restore.
Change-Id: I84e3db25b651b93dd4c037fa287f58edde90407a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Enabling crash dump (kdump) includes
* prepare contents of ELF header of a core dump file, /proc/vmcore,
using crash_prepare_elf64_headers(), and
* add two device tree properties, "linux,usable-memory-range" and
"linux,elfcorehdr", which represent respectively a memory range
to be used by crash dump kernel and the header's location
Change-Id: I0dd87adc9e9c958467ed6a7e822f826635b77504
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: James Morse <james.morse@arm.com>
Tested-and-reviewed-by: Bhupesh Sharma <bhsharma@redhat.com>
Git-commit: 3751e728cef2908c15974a5ae44627fd41ef3362
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Akshay Adiga <aadiga@codeaurora.org>