Commit graph

9 commits

Author SHA1 Message Date
Karthikeyan Ramasubramanian
4c18b54ec3 net: ipc_router: Add support for COMPAT operations
Add support for compat_ioctl, compat_getsockopt, compat_setsockopt
operations to ensure compatibility for applications that require it.

Change-Id: I792577c0ea96fee27f47acb480bc1129a0eb2803
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2014-02-05 09:34:08 -08:00
Linux Build Service Account
587b1497d2 Merge "msm: ipc: Reserve head room before prepending header" 2014-02-02 14:29:39 -08:00
Linux Build Service Account
e6171f8378 Merge "msm: Move PIL and SSR headers" 2014-01-28 23:35:35 -08:00
Vikram Mulukutla
bd91122223 msm: Move PIL and SSR headers
Architectural changes in the ARM Linux kernel require moving
some MSM specific headers related to the peripheral image
loader and the subsystem restart drivers to include/soc/qcom.

subsystem_restart.h is used by external modules and thus
leave a proxy in include/soc/qcom for now. Once external modules
switch over to this new include path, the header in the
old location can be deleted.

Change-Id: I0680dc34481d09170ce2609259c5318a9e6dbf37
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2014-01-27 19:08:06 -08:00
Arun Kumar Neelakantam
e988d6a17f msm: smem_log: Support multiplatform
Convert to support multiplatform kernels. This requires drivers to be
located in generic functionality directories instead of specific mach
directories.

Move the smem_logging driver to the drivers/soc/qcom location to support
multiplatform.

Change-Id: I735ecf723c55147528f7593d3a6afac053410473
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2014-01-28 06:36:11 +05:30
Karthikeyan Ramasubramanian
00e6295cce msm: ipc: Reserve head room before prepending header
When forwarding messages from one link to another and when the header size
of the incoming link is smaller than the header size of the outgoing link,
a new SKB of appropriate size is allocated to prepend the header. Reserve
the appropriate headroom in the new SKB before prepending the header.

Change-Id: I23b33da71300d492caf8d96f67a8a4e829e45254
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2014-01-24 13:44:40 -07:00
Karthikeyan Ramasubramanian
f9e04ed6b3 net: ipc_router: Remove unused header file
subsystem_notif.h is not used to receive any notifications regarding
subsystem events. The underlying links are used to receive such events.
Hence remove including the unused header file.

Change-Id: I2b87ec34079f96e98082790b4ba7a0a3ad6ef626
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2014-01-20 18:27:50 -07:00
Karthikeyan Ramasubramanian
2770987287 net: ipc_router: Fix format specifiers in debug statements
%zu is the correct printk format specifier when printing size_t types.

Update printks to use %zu for size_t type variables.

Change-Id: I550b7853aeb1bdaaadf23ecfa9e1383b7f15ad89
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2014-01-20 18:26:28 -07:00
Karthikeyan Ramasubramanian
ab9df0516e msm: ipc: Support multi-platform
Upstream prefers existing drivers be converted to support multiplatform
kernels.  This requires drivers to be located in generic functionality
directories instead of specific mach directories.

Move IPC Router Core and Security drivers to the net/ipc_router location
to support multi-platform.

Move IPC Router SMD & HSIC transport(XPRT) drivers to the drivers/soc/qcom
location.

Change-Id: I770227f66dcb776b26086426f509568f991db757
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2014-01-13 13:51:09 -07:00