<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/sysdev/xics, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-06-09T08:29:51Z</updated>
<entry>
<title>powerpc/xics: fix refcount leak in icp_opal_init()</title>
<updated>2022-06-09T08:29:51Z</updated>
<author>
<name>Lv Ruyi</name>
</author>
<published>2022-04-02T01:34:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a42bc2494fadb453de00ce61042e588563ddc6d'/>
<id>urn:sha1:9a42bc2494fadb453de00ce61042e588563ddc6d</id>
<content type='text'>
[ Upstream commit 5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9 ]

The of_find_compatible_node() function returns a node pointer with
refcount incremented, use of_node_put() on it when done.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Lv Ruyi &lt;lv.ruyi@zte.com.cn&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220402013419.2410298-1-lv.ruyi@zte.com.cn
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>powerpc/sysdev: Add __init attribute to eligible functions</title>
<updated>2021-12-23T11:33:12Z</updated>
<author>
<name>Nick Child</name>
</author>
<published>2021-12-16T22:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c552983d0e65a8c923dfacc4f69b694205672c1'/>
<id>urn:sha1:6c552983d0e65a8c923dfacc4f69b694205672c1</id>
<content type='text'>
Some files functions in 'arch/powerpc/sysdev' are deserving of an `__init`
macro attribute. These functions are only called by other initialization
functions and therefore should inherit the attribute.
Also, change function declarations in header files to include `__init`.

Signed-off-by: Nick Child &lt;nick.child@ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20211216220035.605465-6-nick.child@ibm.com
</content>
</entry>
<entry>
<title>powerpc/xics: Set the IRQ chip data for the ICS native backend</title>
<updated>2021-09-15T12:05:53Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-09-13T13:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c006a06508db4841d256d82f42da392d6391f3d9'/>
<id>urn:sha1:c006a06508db4841d256d82f42da392d6391f3d9</id>
<content type='text'>
The ICS native driver relies on the IRQ chip data to find the struct
'ics_native' describing the ICS controller but it was removed by commit
248af248a8f4 ("powerpc/xics: Rename the map handler in a check handler").
Revert this change to fix the Microwatt SoC platform.

Fixes: 248af248a8f4 ("powerpc/xics: Rename the map handler in a check handler")
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Tested-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Reviewed-by: Joel Stanley &lt;joel@jms.id.au&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210913134056.3761960-1-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc: use IRQF_NO_DEBUG for IPIs</title>
<updated>2021-08-10T13:15:01Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-19T13:06:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17df41fec5b80b16ea4774495f1eb730e2225619'/>
<id>urn:sha1:17df41fec5b80b16ea4774495f1eb730e2225619</id>
<content type='text'>
There is no need to use the lockup detector ("noirqdebug") for IPIs.
The ipistorm benchmark measures a ~10% improvement on high systems
when this flag is set.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210719130614.195886-1-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Fix IRQ migration</title>
<updated>2021-08-10T13:15:01Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c80198a21792ac59412871e4e6fad5041c9be8e4'/>
<id>urn:sha1:c80198a21792ac59412871e4e6fad5041c9be8e4</id>
<content type='text'>
desc-&gt;irq_data points to the top level IRQ data descriptor which is
not necessarily in the XICS IRQ domain. MSIs are in another domain for
instance. Fix that by looking for a mapping on the low level XICS IRQ
domain.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-28-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Drop unmask of MSIs at startup</title>
<updated>2021-08-10T13:15:00Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e661f81a522eadfe4bc5bb1ec9fbae27c13f163'/>
<id>urn:sha1:1e661f81a522eadfe4bc5bb1ec9fbae27c13f163</id>
<content type='text'>
That was a workaround in the XICS domain because of the lack of MSI
domain. This is now handled.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-24-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Add support for IRQ domain hierarchy</title>
<updated>2021-08-10T13:15:00Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4f0aa3b4731430ad73fb4485e97f751c7500668'/>
<id>urn:sha1:e4f0aa3b4731430ad73fb4485e97f751c7500668</id>
<content type='text'>
XICS doesn't have any state associated with the IRQ. The support is
straightforward and simpler than for XIVE.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-21-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Add debug logging to the set_irq_affinity handlers</title>
<updated>2021-08-10T13:14:59Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53b34e8db73af98fa652641bf490384dc665d0f2'/>
<id>urn:sha1:53b34e8db73af98fa652641bf490384dc665d0f2</id>
<content type='text'>
It really helps to know how the HW is configured when tweaking the IRQ
subsystem.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-20-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Give a name to the default XICS IRQ domain</title>
<updated>2021-08-10T13:14:59Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d14f6c60b76fa7f3f89d81a95385576ca33b483'/>
<id>urn:sha1:7d14f6c60b76fa7f3f89d81a95385576ca33b483</id>
<content type='text'>
and clean up the error path.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-19-clg@kaod.org

</content>
</entry>
<entry>
<title>powerpc/xics: Rename the map handler in a check handler</title>
<updated>2021-08-10T13:14:59Z</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-07-01T13:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=248af248a8f45461662fb633eca4adf24ae704ad'/>
<id>urn:sha1:248af248a8f45461662fb633eca4adf24ae704ad</id>
<content type='text'>
This moves the IRQ initialization done under the different ICS backends
in the common part of XICS. The 'map' handler becomes a simple 'check'
on the HW IRQ at the FW level.

As we don't need an ICS anymore in xics_migrate_irqs_away(), the XICS
domain does not set a chip data for the IRQ.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210701132750.1475580-18-clg@kaod.org

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