<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hte, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-11-20T10:59:08+00:00</updated>
<entry>
<title>hte: tegra: Fix missing error code in tegra_hte_test_probe()</title>
<updated>2023-11-20T10:59:08+00:00</updated>
<author>
<name>Harshit Mogalapalli</name>
<email>harshit.m.mogalapalli@oracle.com</email>
</author>
<published>2023-10-26T07:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2584e54502e1c77ce143d5874520f36240395e6f'/>
<id>urn:sha1:2584e54502e1c77ce143d5874520f36240395e6f</id>
<content type='text'>
[ Upstream commit b7c3ca3553d1de5e86c85636828e186d30cd0628 ]

The value of 'ret' is zero when of_hte_req_count() fails to get number
of entitties to timestamp. And returning success(zero) on this failure
path is incorrect.

Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver")
Signed-off-by: Harshit Mogalapalli &lt;harshit.m.mogalapalli@oracle.com&gt;
Reviewed-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>hte: Explicitly include correct DT includes</title>
<updated>2023-08-28T18:31:06+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2023-07-14T17:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=32bc7297d855608fcb13af62a95739a079b4f8e2'/>
<id>urn:sha1:32bc7297d855608fcb13af62a95739a079b4f8e2</id>
<content type='text'>
The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it was merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. As a result, there's a pretty much random mix of those include
files used throughout the tree. In order to detangle these headers and
replace the implicit includes with struct declarations, users need to
explicitly include the correct includes.

Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Link: https://lore.kernel.org/r/20230714174600.4057041-1-robh@kernel.org
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</content>
</entry>
<entry>
<title>hte: tegra-194: Use proper includes</title>
<updated>2023-04-26T22:44:30+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2023-02-08T17:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ca3d1a4b419acad3fca6828884acb03614f7558b'/>
<id>urn:sha1:ca3d1a4b419acad3fca6828884acb03614f7558b</id>
<content type='text'>
The test driver uses the gpiod consumer API so include the right
&lt;linux/gpio/consumer.h&gt; header. This may cause a problem with
struct of_device_id being implcitly pulled in by the legacy
header &lt;linux/gpio.h&gt; so include &lt;linux/mod_devicetable.h&gt;
explicitly as well.

While at it, drop explicit moduleparam.h (it's included with module.h)
and sort the headers.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: Use device_match_of_node()</title>
<updated>2023-04-26T22:44:19+00:00</updated>
<author>
<name>ye xingchen</name>
<email>ye.xingchen@zte.com.cn</email>
</author>
<published>2022-11-17T07:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9e0c2d40a40733fba605ff47a08f3eba2fab4fbb'/>
<id>urn:sha1:9e0c2d40a40733fba605ff47a08f3eba2fab4fbb</id>
<content type='text'>
Replace the open-code with device_match_of_node().

Signed-off-by: ye xingchen &lt;ye.xingchen@zte.com.cn&gt;
Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()</title>
<updated>2023-04-26T22:44:14+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@linaro.org</email>
</author>
<published>2023-04-19T14:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e078180d66848a6a890daf0a3ce28dc43cc66790'/>
<id>urn:sha1:e078180d66848a6a890daf0a3ce28dc43cc66790</id>
<content type='text'>
The "map_sz" is the number of elements in the "m" array so the &gt;
comparison needs to be changed to &gt;= to prevent an out of bounds
read.

Fixes: 09574cca6ad6 ("hte: Add Tegra194 HTE kernel provider")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: tegra: fix 'struct of_device_id' build error</title>
<updated>2023-04-26T22:44:06+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2022-12-15T16:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6680c835ada1b34e882d0a32612f7294c62e27e0'/>
<id>urn:sha1:6680c835ada1b34e882d0a32612f7294c62e27e0</id>
<content type='text'>
Without the extra #include, this driver produces a build failure
in some configurations.

drivers/hte/hte-tegra194-test.c:96:34: error: array type has incomplete element type 'struct of_device_id'
   96 | static const struct of_device_id tegra_hte_test_of_match[] = {

Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: Use of_property_present() for testing DT property presence</title>
<updated>2023-04-26T22:43:57+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2023-03-10T14:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=902dea62b3dda532172c0f4d0410fe595266b22c'/>
<id>urn:sha1:902dea62b3dda532172c0f4d0410fe595266b22c</id>
<content type='text'>
It is preferred to use typed property access functions (i.e.
of_property_read_&lt;type&gt; functions) rather than low-level
of_get_property/of_find_property functions for reading properties. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: handle nvidia,gpio-controller property</title>
<updated>2023-04-26T22:43:42+00:00</updated>
<author>
<name>Dipen Patel</name>
<email>dipenp@nvidia.com</email>
</author>
<published>2023-04-14T00:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d02b1cabc7c6fe0e237bf8a2a6a8813302cfd87c'/>
<id>urn:sha1:d02b1cabc7c6fe0e237bf8a2a6a8813302cfd87c</id>
<content type='text'>
The dt binding adds nvidia,gpio-controller property from Tegra234 SoC
onwards to simplify code handling gpio chip search. The gpio chip search
is needed for the AON GPIO GTE instances to map the hardware timestamp
GPIO request (coming from the GPIO framework) to the tegra HTE
providers. The patch also adds new gpio chip match function to match
from the fwnode instead of the gpio controller label. The addition
of the property does not break ABI for the existing Tegra194 code.

Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>hte: Deprecate nvidia,slices property</title>
<updated>2023-04-26T22:43:34+00:00</updated>
<author>
<name>Dipen Patel</name>
<email>dipenp@nvidia.com</email>
</author>
<published>2023-04-14T00:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0ebc475fb636df12222faa04dd989a4e3c87f31a'/>
<id>urn:sha1:0ebc475fb636df12222faa04dd989a4e3c87f31a</id>
<content type='text'>
The relevant DT bindings deprecates nvidia,slices property from
Tegra234 SoC onwards, moving the slices value per SoC data structure
instead.

Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
<entry>
<title>hte: Add Tegra234 provider</title>
<updated>2023-04-26T22:43:26+00:00</updated>
<author>
<name>Dipen Patel</name>
<email>dipenp@nvidia.com</email>
</author>
<published>2023-04-14T00:44:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b003fb5c9df8a8923bf46e0c00cc54edcfb0fbe3'/>
<id>urn:sha1:b003fb5c9df8a8923bf46e0c00cc54edcfb0fbe3</id>
<content type='text'>
The Tegra234 AON GPIO instance and LIC IRQ support HTE. For the GPIO
HTE support, it also requires to add mapping between GPIO and HTE
framework same as it was done with Tegra194 SoC.

Signed-off-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
</content>
</entry>
</feed>
