<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/misc/mei/pxp, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/misc/mei/pxp?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/misc/mei/pxp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-04-29T09:17:22Z</updated>
<entry>
<title>misc/mei: Add NULL check to component match callback functions</title>
<updated>2022-04-29T09:17:22Z</updated>
<author>
<name>Won Chung</name>
<email>wonchung@google.com</email>
</author>
<published>2022-04-18T17:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=84d4333c1e28cedfad37c5347b4a94a3565a454f'/>
<id>urn:sha1:84d4333c1e28cedfad37c5347b4a94a3565a454f</id>
<content type='text'>
Currently, component_match callback functions used in mei refers to the
driver name, assuming that the component device being matched has a
driver bound. It can cause a NULL pointer dereference when a device
without a driver bound registers a component. This is due to the nature
of the component framework where all registered components are matched
in any component_match callback functions. So even if a component is
registered by a totally irrelevant device, that component is also
shared to these callbacks for i915 driver.

To prevent totally irrelevant device being matched for i915 and causing
a NULL pointer dereference for checking driver name, add a NULL check on
dev-&gt;driver to check if there is a driver bound before checking the
driver name.

In the future, the string compare on the driver name, "i915" may need to
be refactored too.

Reviewed-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Reviewed-by: Prashant Malani &lt;pmalani@chromium.org&gt;
Signed-off-by: Won Chung &lt;wonchung@google.com&gt;
Acked-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mei: pxp: export pavp client to me client bus</title>
<updated>2021-10-04T17:10:17Z</updated>
<author>
<name>Vitaly Lubart</name>
<email>vitaly.lubart@intel.com</email>
</author>
<published>2021-09-24T19:14:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c2004ce99ed73788755d61b7b691ff072fdada20'/>
<id>urn:sha1:c2004ce99ed73788755d61b7b691ff072fdada20</id>
<content type='text'>
Export PAVP client to work with i915 driver,
for binding it uses kernel component framework.

v2:drop debug prints, refactor match code to match mei_hdcp (Tomas)

Signed-off-by: Vitaly Lubart &lt;vitaly.lubart@intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Daniele Ceraolo Spurio &lt;daniele.ceraolospurio@intel.com&gt;
Reviewed-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210924191452.1539378-3-alan.previn.teres.alexis@intel.com
</content>
</entry>
</feed>
