<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/kernel/irq/manage.c, branch linux-6.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-14T10:05:58Z</updated>
<entry>
<title>genirq/manage: Use the correct lock guard in irq_set_irq_wake()</title>
<updated>2025-05-14T10:05:58Z</updated>
<author>
<name>Jon Hunter</name>
</author>
<published>2025-05-14T09:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58eb5721a445ea0af310d1410d7117a1910627bc'/>
<id>urn:sha1:58eb5721a445ea0af310d1410d7117a1910627bc</id>
<content type='text'>
Commit 8589e325ba4f ("genirq/manage: Rework irq_set_irq_wake()") updated
the irq_set_irq_wake() to use the new guards for locking the interrupt
descriptor.

However, in doing so it inadvertently changed irq_set_irq_wake() such that
the 'chip_bus_lock' is no longer acquired. This has caused system suspend
tests to fail on some Tegra platforms.

Fix this by correcting the guard used in irq_set_irq_wake() to ensure the
'chip_bus_lock' is held.

Fixes: 8589e325ba4f ("genirq/manage: Rework irq_set_irq_wake()")
Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Link: https://lore.kernel.org/all/20250514095041.1109783-1-jonathanh@nvidia.com
</content>
</entry>
<entry>
<title>genirq: Use scoped_guard() to shut clang up</title>
<updated>2025-05-07T15:08:44Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-05-07T13:47:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97f4b999e0c894d3e48e318aa1130132031815b3'/>
<id>urn:sha1:97f4b999e0c894d3e48e318aa1130132031815b3</id>
<content type='text'>
This code pattern trips clang up:

     if (fail)
     	goto undo;

     guard(lock)(lock);
     do_stuff();
     return 0;

undo:
     ...

as it somehow extends the scope of the guard beyond the return statement.

Replace it with a scoped guard to help it to get its act together.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202505071809.ajpPxfoZ-lkp@intel.com/
</content>
</entry>
<entry>
<title>genirq: Remove unused remove_percpu_irq()</title>
<updated>2025-05-07T09:35:41Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2025-04-20T16:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aefc11550ebd08eadee6d643792c9092de2e472f'/>
<id>urn:sha1:aefc11550ebd08eadee6d643792c9092de2e472f</id>
<content type='text'>
remove_percpu_irq() has been unused since it was added in 2011 by
commit 31d9d9b6d830 ("genirq: Add support for per-cpu dev_id interrupts")

Remove it.

Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Link: https://lore.kernel.org/all/20250420164656.112641-1-linux@treblig.org

</content>
</entry>
<entry>
<title>genirq/manage: Rework irq_set_irqchip_state()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=193879e28be7bb26abc795e6b5096ef9fe3131cf'/>
<id>urn:sha1:193879e28be7bb26abc795e6b5096ef9fe3131cf</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.670808288@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework irq_get_irqchip_state()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=782249a997472acec7e8d8f04177750192712a19'/>
<id>urn:sha1:782249a997472acec7e8d8f04177750192712a19</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.612184618@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework teardown_percpu_nmi()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fec6d5cd24a35f5b03612dd02975e3be1b788b8'/>
<id>urn:sha1:5fec6d5cd24a35f5b03612dd02975e3be1b788b8</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.552884529@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework prepare_percpu_nmi()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65dd1f7ca94fde615684827af285a0475d177b9a'/>
<id>urn:sha1:65dd1f7ca94fde615684827af285a0475d177b9a</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.494561120@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework disable_percpu_irq()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e3f672b1949d58462e23abdc41c039a82e685fd'/>
<id>urn:sha1:8e3f672b1949d58462e23abdc41c039a82e685fd</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.435932527@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework irq_percpu_is_enabled()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b171f712d6ef1ae073d18e8ea9df1e96eb34f226'/>
<id>urn:sha1:b171f712d6ef1ae073d18e8ea9df1e96eb34f226</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.376836282@linutronix.de


</content>
</entry>
<entry>
<title>genirq/manage: Rework enable_percpu_irq()</title>
<updated>2025-05-07T07:08:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2025-04-29T06:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=508bd94c3ad4bd8b5dba8280198ce1eb31eb625a'/>
<id>urn:sha1:508bd94c3ad4bd8b5dba8280198ce1eb31eb625a</id>
<content type='text'>
Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://lore.kernel.org/all/20250429065422.315844964@linutronix.de


</content>
</entry>
</feed>
