<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/prom_init.c, branch linux-6.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-29T09:12:53Z</updated>
<entry>
<title>powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7</title>
<updated>2025-05-29T09:12:53Z</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2025-01-13T17:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8770e255c526c4813de4cf62bdb96eba7a631cbc'/>
<id>urn:sha1:8770e255c526c4813de4cf62bdb96eba7a631cbc</id>
<content type='text'>
[ Upstream commit 7e67ef889c9ab7246547db73d524459f47403a77 ]

Similar to the PowerMac3,1, the PowerBook6,7 is missing the #size-cells
property on the i2s node.

Depends-on: commit 045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells handling")
Signed-off-by: Andreas Schwab &lt;schwab@linux-m68k.org&gt;
Acked-by: Rob Herring (Arm) &lt;robh@kernel.org&gt;
[maddy: added "commit" work in depends-on to avoid checkpatch error]
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
Link: https://patch.msgid.link/875xmizl6a.fsf@igel.home
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>powerpc/prom_init: Use IS_ENABLED()</title>
<updated>2025-01-11T05:09:35Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2024-12-18T11:31:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=200f22fa48a8c670a1ba66d18d810c51055e6ae9'/>
<id>urn:sha1:200f22fa48a8c670a1ba66d18d810c51055e6ae9</id>
<content type='text'>
Use IS_ENABLED() for the device tree checks, so that more code is
checked by the compiler without having to build all the different
configurations.

Suggested-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
Link: https://patch.msgid.link/20241218113159.422821-1-mpe@ellerman.id.au

</content>
</entry>
<entry>
<title>powerpc/prom_init: Fixup missing powermac #size-cells</title>
<updated>2024-11-27T05:11:10Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2024-11-26T02:57:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf89c9434af122f28a3552e6f9cc5158c33ce50a'/>
<id>urn:sha1:cf89c9434af122f28a3552e6f9cc5158c33ce50a</id>
<content type='text'>
On some powermacs `escc` nodes are missing `#size-cells` properties,
which is deprecated and now triggers a warning at boot since commit
045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells
handling").

For example:

  Missing '#size-cells' in /pci@f2000000/mac-io@c/escc@13000
  WARNING: CPU: 0 PID: 0 at drivers/of/base.c:133 of_bus_n_size_cells+0x98/0x108
  Hardware name: PowerMac3,1 7400 0xc0209 PowerMac
  ...
  Call Trace:
    of_bus_n_size_cells+0x98/0x108 (unreliable)
    of_bus_default_count_cells+0x40/0x60
    __of_get_address+0xc8/0x21c
    __of_address_to_resource+0x5c/0x228
    pmz_init_port+0x5c/0x2ec
    pmz_probe.isra.0+0x144/0x1e4
    pmz_console_init+0x10/0x48
    console_init+0xcc/0x138
    start_kernel+0x5c4/0x694

As powermacs boot via prom_init it's possible to add the missing
properties to the device tree during boot, avoiding the warning. Note
that `escc-legacy` nodes are also missing `#size-cells` properties, but
they are skipped by the macio driver, so leave them alone.

Depends-on: 045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells handling")
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
Link: https://patch.msgid.link/20241126025710.591683-1-mpe@ellerman.id.au

</content>
</entry>
<entry>
<title>powerpc/64: Remove maple platform</title>
<updated>2024-10-29T12:01:52Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2024-10-13T10:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62f8f307c80e99ab18d38aa1a5bbbc18128ee5f8'/>
<id>urn:sha1:62f8f307c80e99ab18d38aa1a5bbbc18128ee5f8</id>
<content type='text'>
The maple platform was added in 2004 [1], to support the "Maple" 970FX
evaluation board.

It was later used for IBM JS20/JS21 machines, as well as the Bimini
machine, aka "Yellow Dog Powerstation".

Sadly all those machines have passed into memory, and there's been no
evidence for years that anyone is still using any of them.

Remove the platform and related code. It can always be reinstated if
there's interest.

Note that this has no impact on support for 970FX based Power Macs.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux-fullhistory.git/commit/?id=f0d068d65c5e555ffcfbc189de32598f6f00770c

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://patch.msgid.link/20241013102957.548291-1-mpe@ellerman.id.au

</content>
</entry>
<entry>
<title>powerpc/mm: Align memory_limit value specified using mem= kernel parameter</title>
<updated>2024-04-19T06:09:14Z</updated>
<author>
<name>Aneesh Kumar K.V (IBM)</name>
</author>
<published>2024-04-03T08:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ca096161cdccfa328acf6704a4615528471d309'/>
<id>urn:sha1:5ca096161cdccfa328acf6704a4615528471d309</id>
<content type='text'>
The value specified for the memory limit is used to set a restriction on
memory usage. It is important to ensure that this restriction is within
the linear map kernel address space range. The hash page table
translation uses a 16MB page size to map the kernel linear map address
space. htab_bolt_mapping() function aligns down the size of the range
while mapping kernel linear address space. Since the memblock limit is
enforced very early during boot, before we can detect the type of memory
translation (radix vs hash), we align the memory limit value specified
as a kernel parameter to 16MB. This alignment value will work for both
hash and radix translations.

Signed-off-by: Aneesh Kumar K.V (IBM) &lt;aneesh.kumar@kernel.org&gt;
Acked-by: Joel Savitz &lt;jsavitz@redhat.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/20240403083611.172833-1-aneesh.kumar@kernel.org

</content>
</entry>
<entry>
<title>powerpc: Add Power11 architected and raw mode</title>
<updated>2024-02-21T12:11:00Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2024-02-21T04:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2ed087ed35ca569d8179924ba560be248c758e5'/>
<id>urn:sha1:c2ed087ed35ca569d8179924ba560be248c758e5</id>
<content type='text'>
Add CPU table entries for raw and architected mode. Most fields are
copied from the Power10 table entries.

CPU, MMU and user (ELF_HWCAP) features are unchanged vs P10. However
userspace can detect P11 because the AT_PLATFORM value changes to
"power11".

The logical PVR value of 0x0F000007, passed to firmware via the
ibm_arch_vec, indicates the kernel can support a P11 compatible CPU,
which means at least ISA v3.1 compliant.

Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/20240221044623.1598642-1-mpe@ellerman.id.au

</content>
</entry>
<entry>
<title>powerpc: Annotate endianness of various variables and functions</title>
<updated>2023-10-19T06:12:47Z</updated>
<author>
<name>Benjamin Gray</name>
</author>
<published>2023-10-11T05:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88'/>
<id>urn:sha1:2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88</id>
<content type='text'>
Sparse reports several endianness warnings on variables and functions
that are consistently treated as big endian. There are no
multi-endianness shenanigans going on here so fix these low hanging
fruit up in one patch.

All changes are just type annotations; no endianness switching
operations are introduced by this patch.

Signed-off-by: Benjamin Gray &lt;bgray@linux.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://msgid.link/20231011053711.93427-7-bgray@linux.ibm.com

</content>
</entry>
<entry>
<title>powerpc/prom_init: drop PROM_BUG()</title>
<updated>2022-09-26T10:58:18Z</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2022-09-20T12:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4167aec98524fa4511b3222303a758b532b6009'/>
<id>urn:sha1:c4167aec98524fa4511b3222303a758b532b6009</id>
<content type='text'>
Unused, let's drop it.

Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Link: https://lore.kernel.org/r/20220920122302.99195-3-david@redhat.com

</content>
</entry>
<entry>
<title>Merge branch 'fixes' into next</title>
<updated>2022-07-09T09:29:34Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2022-07-09T09:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e74dabc3daf0c217cb5e8e849a8f6c02927950f'/>
<id>urn:sha1:7e74dabc3daf0c217cb5e8e849a8f6c02927950f</id>
<content type='text'>
Merge our fixes branch. In particular this brings in commit
986481618023 ("powerpc/book3e: Fix PUD allocation size in
map_kernel_page()") which fixes a build failure in next, because commit
2db2008e6363 ("powerpc/64e: Rewrite p4d_populate() as a static inline
function") depends on it.
</content>
</entry>
<entry>
<title>powerpc: Don't include asm/setup.h in asm/machdep.h</title>
<updated>2022-06-20T01:29:49Z</updated>
<author>
<name>Christophe Leroy</name>
</author>
<published>2022-06-11T16:55:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=113fe88eed53af08800f54a03e463636105831e0'/>
<id>urn:sha1:113fe88eed53af08800f54a03e463636105831e0</id>
<content type='text'>
asm/machdep.h doesn't need asm/setup.h

Remove it.

Add it directly in files that needs it.

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/3b1dfb19a2c3265fb4abc2bfc7b6eae9261a998b.1654966508.git.christophe.leroy@csgroup.eu

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