<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/include/asm/reg.h, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-04-20T03:21:44Z</updated>
<entry>
<title>powerpc: Remove duplicate SPRN_HSRR definitions</title>
<updated>2023-04-20T03:21:44Z</updated>
<author>
<name>Joel Stanley</name>
</author>
<published>2023-04-05T04:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92cb1eff88a67e95daaf39eccf777272e85398c6'/>
<id>urn:sha1:92cb1eff88a67e95daaf39eccf777272e85398c6</id>
<content type='text'>
There are two copies of these defines. Keep the older ones as they have
associated bit definitions.

Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/20230405045316.95003-1-joel@jms.id.au

</content>
</entry>
<entry>
<title>Merge branch 'topic/ppc-kvm' into next</title>
<updated>2023-04-04T12:10:32Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2023-04-04T12:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2837dbcef122c0ed2ae47a6c50211725c0dd373f'/>
<id>urn:sha1:2837dbcef122c0ed2ae47a6c50211725c0dd373f</id>
<content type='text'>
Merge our KVM topic branch to bring some KVM commits into next for wider
testing.
</content>
</entry>
<entry>
<title>KVM: PPC: Enable prefixed instructions for HV KVM and disable for PR KVM</title>
<updated>2023-04-03T05:45:59Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2023-03-08T06:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3800ef9c48c4497dafe5ede1b65d91d9ef9cf1e'/>
<id>urn:sha1:a3800ef9c48c4497dafe5ede1b65d91d9ef9cf1e</id>
<content type='text'>
Now that we can read prefixed instructions from a HV KVM guest and
emulate prefixed load/store instructions to emulated MMIO locations,
we can add HFSCR_PREFIXED into the set of bits that are set in the
HFSCR for a HV KVM guest on POWER10, allowing the guest to use
prefixed instructions.

PR KVM has not yet been extended to handle prefixed instructions in
all situations where we might need to emulate them, so prevent the
guest from enabling prefixed instructions in the FSCR for now.

Reviewed-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Tested-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@ozlabs.org&gt;
Tested-by: Sachin Sant &lt;sachinp@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/ZAgs25dCmLrVkBdU@cleo
</content>
</entry>
<entry>
<title>powerpc/perf: Properly detect mpc7450 family</title>
<updated>2023-03-30T12:35:43Z</updated>
<author>
<name>Christophe Leroy</name>
</author>
<published>2023-02-27T15:54:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7299f961fe5e4496db0bfaa9e819f5e97f3846b'/>
<id>urn:sha1:e7299f961fe5e4496db0bfaa9e819f5e97f3846b</id>
<content type='text'>
Unlike PVR_POWER8, etc ...., PVR_7450 represents a full PVR
value and not a family value.

To avoid confusion, do like E500 family and define the relevant
PVR_VER_xxxx values for the 7450 family:
  0x8000 ==&gt; 7450
  0x8001 ==&gt; 7455
  0x8002 ==&gt; 7447
  0x8003 ==&gt; 7447A
  0x8004 ==&gt; 7448

And use them to detect 7450 family for perf events.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Reported-by: Dan Carpenter &lt;error27@gmail.com&gt;
Link: https://lore.kernel.org/r/202302260657.7dM9Uwev-lkp@intel.com/
Fixes: ec3eb9d941a9 ("powerpc/perf: Use PVR rather than oprofile field to determine CPU version")
Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/99ca1da2e5a6cf82a8abf4bc034918e500e31781.1677513277.git.christophe.leroy@csgroup.eu

</content>
</entry>
<entry>
<title>KVM: PPC: Book3S HV: Update LPID allocator init for POWER9, Nested</title>
<updated>2022-05-13T11:33:33Z</updated>
<author>
<name>Nicholas Piggin</name>
</author>
<published>2022-01-23T12:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d506f159b2b9d0c9bee9bb43ccafb4f291143c2'/>
<id>urn:sha1:5d506f159b2b9d0c9bee9bb43ccafb4f291143c2</id>
<content type='text'>
The LPID allocator init is changed to:
- use mmu_lpid_bits rather than hard-coding;
- use KVM_MAX_NESTED_GUESTS for nested hypervisors;
- not reserve the top LPID on POWER9 and newer CPUs.

The reserved LPID is made a POWER7/8-specific detail.

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Reviewed-by: Fabiano Rosas &lt;farosas@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220123120043.3586018-3-npiggin@gmail.com

</content>
</entry>
<entry>
<title>KVM: PPC: Book3S HV: HFSCR[PREFIX] does not exist</title>
<updated>2022-05-13T11:33:19Z</updated>
<author>
<name>Nicholas Piggin</name>
</author>
<published>2022-01-22T10:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=861604614a94a7aabc111e4a18aaf5d56d270e8a'/>
<id>urn:sha1:861604614a94a7aabc111e4a18aaf5d56d270e8a</id>
<content type='text'>
This facility is controlled by FSCR only. Reserved bits should not be
set in the HFSCR register (although it's likely harmless as this
position would not be re-used, and the L0 is forgiving here too).

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Reviewed-by: Fabiano Rosas &lt;farosas@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220122105639.3477407-1-npiggin@gmail.com

</content>
</entry>
<entry>
<title>powerpc/inst: Move ppc_inst_t definition in asm/reg.h</title>
<updated>2021-12-09T11:41:21Z</updated>
<author>
<name>Christophe Leroy</name>
</author>
<published>2021-11-29T17:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b307576f37136d37d5e42b1d8713ec34a601a62'/>
<id>urn:sha1:9b307576f37136d37d5e42b1d8713ec34a601a62</id>
<content type='text'>
Because of circular inclusion of asm/hw_breakpoint.h, we
need to move definition of asm/reg.h outside of inst.h
so that asm/hw_breakpoint.h gets it without including
asm/inst.h

Also remove asm/inst.h from asm/uprobes.h as it's not
needed anymore.

Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/4b79f1491118af96b1ac0735e74aeca02ea4c04e.1638208156.git.christophe.leroy@csgroup.eu

</content>
</entry>
<entry>
<title>powerpc/config: Add CONFIG_BOOKE_OR_40x</title>
<updated>2021-12-09T11:41:19Z</updated>
<author>
<name>Christophe Leroy</name>
</author>
<published>2021-10-19T07:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=047a6fd40199eb55ffd18091f7ceae9743d972bf'/>
<id>urn:sha1:047a6fd40199eb55ffd18091f7ceae9743d972bf</id>
<content type='text'>
We have many functionnalities common to 40x and BOOKE, it leads to
many places with #if defined(CONFIG_BOOKE) || defined(CONFIG_40x).

We are going to add a few more with KUAP for booke/40x, so create
a new symbol which is defined when either BOOKE or 40x is defined.

Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/9a3dbd60924cb25c9f944d3d8205ac5a0d15e229.1634627931.git.christophe.leroy@csgroup.eu

</content>
</entry>
<entry>
<title>KVM: PPC: Book3S HV Nested: Fix TM softpatch HFAC interrupt emulation</title>
<updated>2021-08-25T06:37:17Z</updated>
<author>
<name>Nicholas Piggin</name>
</author>
<published>2021-08-11T16:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d82b392d9b3556b63e3f9916cf057ea847e173a9'/>
<id>urn:sha1:d82b392d9b3556b63e3f9916cf057ea847e173a9</id>
<content type='text'>
Have the TM softpatch emulation code set up the HFAC interrupt and
return -1 in case an instruction was executed with HFSCR bits clear,
and have the interrupt exit handler fall through to the HFAC handler.
When the L0 is running a nested guest, this ensures the HFAC interrupt
is correctly passed up to the L1.

The "direct guest" exit handler will turn these into PROGILL program
interrupts so functionality in practice will be unchanged. But it's
possible an L1 would want to handle these in a different way.

Also rearrange the FAC interrupt emulation code to match the HFAC format
while here (mainly, adding the FSCR_INTR_CAUSE mask).

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20210811160134.904987-5-npiggin@gmail.com

</content>
</entry>
<entry>
<title>powerpc: Move update_power8_hid0() into its only user</title>
<updated>2021-06-16T14:09:11Z</updated>
<author>
<name>Christophe Leroy</name>
</author>
<published>2021-06-09T06:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab3aab292cb2f417f63b8f4887c1dd01c2a831cd'/>
<id>urn:sha1:ab3aab292cb2f417f63b8f4887c1dd01c2a831cd</id>
<content type='text'>
update_power8_hid0() is used only by powernv platform subcore.c

Move it there.

Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/37f41d74faa0c66f90b373e243e8b1ee37a1f6fa.1623219019.git.christophe.leroy@csgroup.eu

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