<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/soc/qcom/llcc-slice.c, branch jd/unified-crypt-queue</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/soc/qcom/llcc-slice.c?h=jd%2Funified-crypt-queue</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/soc/qcom/llcc-slice.c?h=jd%2Funified-crypt-queue'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2019-10-02T04:40:01Z</updated>
<entry>
<title>soc: qcom: Rename llcc-slice to llcc-qcom</title>
<updated>2019-10-02T04:40:01Z</updated>
<author>
<name>Vivek Gautam</name>
<email>vivek.gautam@codeaurora.org</email>
</author>
<published>2019-07-18T13:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a0e72a5ba48ae9c6449a32130d74506a854b79d2'/>
<id>urn:sha1:a0e72a5ba48ae9c6449a32130d74506a854b79d2</id>
<content type='text'>
The cleaning up was done without changing the driver file name
to ensure a cleaner bisect. Change the file name now to facilitate
making the driver generic in subsequent patch.

Signed-off-by: Vivek Gautam &lt;vivek.gautam@codeaurora.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc cleanup to get rid of sdm845 specific driver file</title>
<updated>2019-10-02T04:40:01Z</updated>
<author>
<name>Vivek Gautam</name>
<email>vivek.gautam@codeaurora.org</email>
</author>
<published>2019-07-18T13:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a14b820316e84310b1bad3701a8d4c9159377633'/>
<id>urn:sha1:a14b820316e84310b1bad3701a8d4c9159377633</id>
<content type='text'>
A single file should suffice the need to program the llcc for
various platforms. Get rid of sdm845 specific driver file to
make way for a more generic driver.

Signed-off-by: Vivek Gautam &lt;vivek.gautam@codeaurora.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc-slice: Fix typos</title>
<updated>2019-02-15T22:30:34Z</updated>
<author>
<name>Andy Gross</name>
<email>andy.gross@linaro.org</email>
</author>
<published>2019-02-15T22:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=32616b2121f75f40f66eefa04cc49052200c4181'/>
<id>urn:sha1:32616b2121f75f40f66eefa04cc49052200c4181</id>
<content type='text'>
This patch fixes typos in the llcc-slice driver.

Fixes: 72d1cd033154 ("qcom: soc: llcc-slice: Clear the global drv_data pointer on error")

Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>qcom: soc: llcc-slice: Consolidate some code</title>
<updated>2019-02-12T21:27:17Z</updated>
<author>
<name>Jordan Crouse</name>
<email>jcrouse@codeaurora.org</email>
</author>
<published>2018-12-11T20:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=ed10a259faa1bbdf77b8c2153b274b70c90cbb35'/>
<id>urn:sha1:ed10a259faa1bbdf77b8c2153b274b70c90cbb35</id>
<content type='text'>
Make the code a little bit clearer (and use less gotos)
by consolidating some of the initialization.

Signed-off-by: Jordan Crouse &lt;jcrouse@codeaurora.org&gt;
Reviewed-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>qcom: soc: llcc-slice: Clear the global drv_data pointer on error</title>
<updated>2019-02-12T21:27:14Z</updated>
<author>
<name>Jordan Crouse</name>
<email>jcrouse@codeaurora.org</email>
</author>
<published>2018-12-11T20:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=72d1cd033154f50e77cd4feb4e16c227b598632e'/>
<id>urn:sha1:72d1cd033154f50e77cd4feb4e16c227b598632e</id>
<content type='text'>
Currently the data structure for llc-slice is devm allocated and
stored as a global but never cleared if the probe function fails.
This is a problem because devm managed memory gets freed on probe
failure the API functions could access the pointer after it has been
freed.

Initialize the drv_data pointer to an error and reset it to an error
on probe failure or device destroy and add protection to the API
functions to make sure the memory doesn't get accessed.

Signed-off-by: Jordan Crouse &lt;jcrouse@codeaurora.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc-slice: Remove duplicated include from llcc-slice.c</title>
<updated>2018-11-28T23:37:20Z</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-11-19T01:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9095d0f8eae4bf6b4d63a36623ee1ad5a164df43'/>
<id>urn:sha1:9095d0f8eae4bf6b4d63a36623ee1ad5a164df43</id>
<content type='text'>
Remove duplicated include.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc-slice: Add error checks for API functions</title>
<updated>2018-11-14T17:59:03Z</updated>
<author>
<name>Jordan Crouse</name>
<email>jcrouse@codeaurora.org</email>
</author>
<published>2018-10-05T13:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=e0f2cfeb59c81cbcfc7fbcb7ec0636020499813b'/>
<id>urn:sha1:e0f2cfeb59c81cbcfc7fbcb7ec0636020499813b</id>
<content type='text'>
llcc_slice_getd can return a ERR_PTR code on failure. Add a IS_ERR_OR_NULL
check to subsequent API calls that use struct llcc_slice_desc to guard
against faults and to let the leaf drivers get away with safely using a
ERR_PTR() encoded "pointer" in the aftermath of a llcc_slice_getd error.

Signed-off-by: Jordan Crouse &lt;jcrouse@codeaurora.org&gt;
Reviewed-by: Vivek Gautam &lt;vivek.gautam@codeaurora.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom/llcc: add MODULE_LICENSE tag</title>
<updated>2018-11-14T17:56:36Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2018-07-06T12:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=8c1919a2b48f172bfb4db5aa93d5809dd26738b3'/>
<id>urn:sha1:8c1919a2b48f172bfb4db5aa93d5809dd26738b3</id>
<content type='text'>
The lack of a MODULE_LICENSE tag prevents building the llcc driver
as a loadable module:

FATAL: modpost: GPL-incompatible module llcc-slice.ko uses GPL-only symbol 'ktime_get'

This adds the appropriate license and description tags.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc-slice: Add missing include of sizes.h</title>
<updated>2018-09-13T21:11:33Z</updated>
<author>
<name>Niklas Cassel</name>
<email>niklas.cassel@linaro.org</email>
</author>
<published>2018-08-29T07:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=da8eaf9a6cee12a0a77c82ffb0c93818e050f0d7'/>
<id>urn:sha1:da8eaf9a6cee12a0a77c82ffb0c93818e050f0d7</id>
<content type='text'>
Add missing include of sizes.h.

drivers/soc/qcom/llcc-slice.c: In function ‘llcc_update_act_ctrl’:
drivers/soc/qcom/llcc-slice.c:41:44: error: ‘SZ_4K’ undeclared
 #define LLCC_TRP_ACT_CTRLn(n)         (n * SZ_4K)
                                            ^~~~~

Signed-off-by: Niklas Cassel &lt;niklas.cassel@linaro.org&gt;
Reviewed-by: Vivek Gautam &lt;vivek.gautam@codeaurora.org&gt;
Reviewed-by: Vinod Koul &lt;vkoul@kernel.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: Add support to register LLCC EDAC driver</title>
<updated>2018-09-13T20:53:58Z</updated>
<author>
<name>Venkata Narendra Kumar Gutta</name>
<email>vnkgutta@codeaurora.org</email>
</author>
<published>2018-09-12T18:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c081f3060fab316fcf103967a24e502d58488849'/>
<id>urn:sha1:c081f3060fab316fcf103967a24e502d58488849</id>
<content type='text'>
Cache error reporting controller detects and reports single and
double bit errors on Last Level Cache Controller (LLCC) cache.
Add required support to register LLCC EDAC driver as platform driver,
from LLCC driver.

Signed-off-by: Venkata Narendra Kumar Gutta &lt;vnkgutta@codeaurora.org&gt;
Reviewed-by: Evan Green &lt;evgreen@chromium.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
</feed>
