<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/firmware/xilinx/zynqmp-debug.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-05-31T19:27:24Z</updated>
<entry>
<title>firmware: xilinx: Switch Michal Simek's email to new one</title>
<updated>2023-05-31T19:27:24Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@amd.com</email>
</author>
<published>2023-05-16T13:46:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a5cb804b68b4072e685bd76831ee647c489db4c8'/>
<id>urn:sha1:a5cb804b68b4072e685bd76831ee647c489db4c8</id>
<content type='text'>
@xilinx.com is still working but better to switch to new amd.com after
AMD/Xilinx acquisition.

Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
Link: https://lore.kernel.org/r/36d119221aa12369c601cd37160306aeb84fc973.1684244767.git.michal.simek@amd.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: Remove eemi ops for query_data</title>
<updated>2020-04-28T13:45:06Z</updated>
<author>
<name>Rajan Vaja</name>
<email>rajan.vaja@xilinx.com</email>
</author>
<published>2020-04-24T20:57:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6366c1bac3149c63752c03ea1c731d461d5349a7'/>
<id>urn:sha1:6366c1bac3149c63752c03ea1c731d461d5349a7</id>
<content type='text'>
Use direct function call for query_data instead of using eemi ops.

Signed-off-by: Rajan Vaja &lt;rajan.vaja@xilinx.com&gt;
Signed-off-by: Jolly Shah &lt;jolly.shah@xilinx.com&gt;
Link: https://lore.kernel.org/r/1587761887-4279-4-git-send-email-jolly.shah@xilinx.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: Remove eemi ops for get_api_version</title>
<updated>2020-04-28T13:38:38Z</updated>
<author>
<name>Rajan Vaja</name>
<email>rajan.vaja@xilinx.com</email>
</author>
<published>2020-04-24T20:57:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b9b3a8be28b31a3dbcb0ced07aa0d869f45cdb69'/>
<id>urn:sha1:b9b3a8be28b31a3dbcb0ced07aa0d869f45cdb69</id>
<content type='text'>
Use direct function calls instead of using eemi ops. So remove
eemi ops for get_api_version and use direct function call.

Signed-off-by: Rajan Vaja &lt;rajan.vaja@xilinx.com&gt;
Signed-off-by: Jolly Shah &lt;jolly.shah@xilinx.com&gt;
Link: https://lore.kernel.org/r/1587761887-4279-2-git-send-email-jolly.shah@xilinx.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: make firmware_debugfs_root static</title>
<updated>2020-04-15T08:25:20Z</updated>
<author>
<name>Jason Yan</name>
<email>yanaijie@huawei.com</email>
</author>
<published>2020-04-15T08:43:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f5ba30ba481dd8fd513c16262ab528a2a70780d9'/>
<id>urn:sha1:f5ba30ba481dd8fd513c16262ab528a2a70780d9</id>
<content type='text'>
Fix the following sparse warning:

drivers/firmware/xilinx/zynqmp-debug.c:38:15: warning: symbol
'firmware_debugfs_root' was not declared. Should it be static?

Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Jason Yan &lt;yanaijie@huawei.com&gt;
Link: https://lore.kernel.org/r/20200415084311.24857-1-yanaijie@huawei.com
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>drivers: Defer probe if firmware is not ready</title>
<updated>2019-03-18T12:45:27Z</updated>
<author>
<name>Rajan Vaja</name>
<email>rajan.vaja@xilinx.com</email>
</author>
<published>2019-03-04T23:18:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3d0313786470acb414b7d5fdd2202f061acffb02'/>
<id>urn:sha1:3d0313786470acb414b7d5fdd2202f061acffb02</id>
<content type='text'>
Driver needs ZynqMP firmware interface to call EEMI
APIs. In case firmware is not ready, dependent drivers
should wait until the firmware is ready.

Signed-off-by: Rajan Vaja &lt;rajan.vaja@xilinx.com&gt;
Signed-off-by: Jolly Shah &lt;jollys@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: fix debugfs write handler</title>
<updated>2019-03-18T12:43:54Z</updated>
<author>
<name>Jann Horn</name>
<email>jannh@google.com</email>
</author>
<published>2019-02-18T21:43:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b9472f7d8224460499dd7128ec944735ed5345a0'/>
<id>urn:sha1:b9472f7d8224460499dd7128ec944735ed5345a0</id>
<content type='text'>
 - Userspace wants to write a string with `len` bytes, not counting the
   terminating NULL, so we should allocate `len+1` bytes. It looks like the
   current code relied on having a nullbyte directly behind `kern_buff`,
   which happens to work reliably as long as `len` isn't one of the kmalloc
   size classes.
 - strncpy_from_user() is completely wrong here; userspace is giving us a
   (not necessarily null-terminated) buffer and its length.
   strncpy_from_user() is for cases in which we don't know the length.
 - Don't let broken userspace allocate arbitrarily big kmalloc allocations.

Just use memdup_user_nul(), which is designed precisely for things like
this.

Signed-off-by: Jann Horn &lt;jannh@google.com&gt;
Acked-by: Jolly Shah &lt;jolly.shah@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: Add debugfs for query data API</title>
<updated>2018-09-26T06:47:37Z</updated>
<author>
<name>Rajan Vaja</name>
<email>rajanv@xilinx.com</email>
</author>
<published>2018-09-12T19:38:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e60f02ddb4d2e29b0eb30dbe55475822c4bf3818'/>
<id>urn:sha1:e60f02ddb4d2e29b0eb30dbe55475822c4bf3818</id>
<content type='text'>
Add debugfs file to query platform specific data from firmware
using debugfs interface.

Signed-off-by: Rajan Vaja &lt;rajanv@xilinx.com&gt;
Signed-off-by: Jolly Shah &lt;jollys@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>firmware: xilinx: Add debugfs interface</title>
<updated>2018-09-26T06:47:35Z</updated>
<author>
<name>Rajan Vaja</name>
<email>rajanv@xilinx.com</email>
</author>
<published>2018-09-12T19:38:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b321725257c17335b6a8388530366caa2c581084'/>
<id>urn:sha1:b321725257c17335b6a8388530366caa2c581084</id>
<content type='text'>
Firmware-debug provides debugfs interface to all APIs.
Debugfs can be used to call firmware APIs with required
parameters.

Usage:
* Calling firmware API through debugfs:
  # echo "&lt;api-name&gt; &lt;arg1&gt; .. &lt;argn&gt;" &gt; /sys/.../zynqmp-firmware/pm

* Read output of last called firmware API:
  # cat /sys/.../zynqmp-firmware/pm

Refer ug1200 for more information on these APIs:
  * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf

Add basic debugfs file to get API version.

Signed-off-by: Rajan Vaja &lt;rajanv@xilinx.com&gt;
Signed-off-by: Jolly Shah &lt;jollys@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
</feed>
