<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/qcom/smem.c, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-04-20T02:55:06+00:00</updated>
<entry>
<title>soc: qcom: smem: Use write-combine remap for SMEM</title>
<updated>2016-04-20T02:55:06+00:00</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2016-03-29T04:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=afd356dfb3a4127b61a3519802a4db9046703724'/>
<id>urn:sha1:afd356dfb3a4127b61a3519802a4db9046703724</id>
<content type='text'>
Mapping the SMEM region as write combine makes the contiguous writes
in SMD perform better and also allows us to do unaligned read and writes
on ARM64.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Reviewed-by: Andy Gross &lt;andy.gross@linaro.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: smem: Move RPM message ram out of smem DT node</title>
<updated>2015-10-14T19:51:40+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-10-08T18:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d0bfd7c9b162612de55ca2d204403b90dc278db6'/>
<id>urn:sha1:d0bfd7c9b162612de55ca2d204403b90dc278db6</id>
<content type='text'>
SMEM is a software construct built on top of a DDR reserved region
and sometimes a device memory region called RPM message ram. Having
the RPM message ram in the smem DT node's reg property leads to the
smem node being located in different places depending on if the
message ram is being used or not. Let's add a qcom specific
property, qcom,rpm-msg-ram, and point to the device memory from
the SMEM node via a phandle.  As SMEM is a software construct, it
really needs to reside at the root of the DT regardless of whether
it's using the message ram or not.

Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: smem: Handle big endian CPUs</title>
<updated>2015-10-14T19:51:20+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-09-02T22:46:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9806884d8cd552e6926c162a022cc4b948f4abc8'/>
<id>urn:sha1:9806884d8cd552e6926c162a022cc4b948f4abc8</id>
<content type='text'>
The contents of smem are always in little endian, but the smem
driver is not capable of being used on big endian CPUs. Annotate
the little endian data members and update the code to do the
proper byte swapping.

Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: Make qcom_smem_get() return a pointer</title>
<updated>2015-10-14T19:51:20+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-09-02T22:46:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1a03964dec3cecb6382d172b9dfe318735c2cad7'/>
<id>urn:sha1:1a03964dec3cecb6382d172b9dfe318735c2cad7</id>
<content type='text'>
Passing a void ** almost always requires a cast at the call site.
Instead of littering the code with casts every time this function
is called, have qcom_smem_get() return a void pointer to the
location of the smem item. This frees the caller from having to
cast the pointer.

Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: smem: Avoid NULL pointer exception on remove</title>
<updated>2015-10-14T19:51:20+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-08-28T18:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f8c67df71bcdd863d623985c9e8dc78368c862db'/>
<id>urn:sha1:f8c67df71bcdd863d623985c9e8dc78368c862db</id>
<content type='text'>
Don't set a pointer to NULL and then dereference it in the next
line.

Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: smem: Fix errant private access</title>
<updated>2015-09-09T20:56:52+00:00</updated>
<author>
<name>Andy Gross</name>
<email>agross@codeaurora.org</email>
</author>
<published>2015-08-12T04:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=18912806bbf8bd6e2b5cb12317679790eb0e0ce4'/>
<id>urn:sha1:18912806bbf8bd6e2b5cb12317679790eb0e0ce4</id>
<content type='text'>
This patch corrects private partition item access.  Instead of falling back to
global for instances where we have an actual host and remote partition existing,
return the results of the private lookup.

Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: Add Shared Memory Manager driver</title>
<updated>2015-07-28T20:50:16+00:00</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@sonymobile.com</email>
</author>
<published>2015-06-26T21:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4b638df4c9d556a6d947d6dbac364bee37b68b8e'/>
<id>urn:sha1:4b638df4c9d556a6d947d6dbac364bee37b68b8e</id>
<content type='text'>
The Shared Memory Manager driver implements an interface for allocating
and accessing items in the memory area shared among all of the
processors in a Qualcomm platform.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Acked-by: Andy Gross &lt;agross@codeaurora.org&gt;
Signed-off-by: Andy Gross &lt;agross@codeaurora.org&gt;
</content>
</entry>
</feed>
