<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>k_work_submit() schedules in atomic context</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87830/k_work_submit-schedules-in-atomic-context</link><description>I have code that looks something like this: 
 static void some_worker(struct k_work *work) { struct state *state = CONTAINER_OF(work, struct state, some_work); k_spinlock_key_t key = k_spin_lock(&amp;amp;state-&amp;gt;lock); // Asserts with a recursive spinlock error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jun 2022 21:49:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87830/k_work_submit-schedules-in-atomic-context" /><item><title>RE: k_work_submit() schedules in atomic context</title><link>https://devzone.nordicsemi.com/thread/371511?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 21:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a33ada6f-11b3-4a9a-aa71-1766c7c83135</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Looks like this patch made it into v2.0.0.&amp;nbsp; Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: k_work_submit() schedules in atomic context</title><link>https://devzone.nordicsemi.com/thread/367614?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 12:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e5a045-c875-431a-b4e3-6c402429adc4</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes. Some more important fixes are cherry picked and added to NCS,&amp;nbsp;even though it is not a part of the Zephyr fork that is being used. This fix looks like&amp;nbsp;one of those fixes that should be picked out and added. We will try to incorporate it into the next version of NCS.&lt;/p&gt;
&lt;p&gt;Thank you for bringing this to our attention.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>