From: Krzysztof Kozlowski <krzk@kernel.org>
To: Magnus Lindholm <linmag7@gmail.com>,
sparclinux@vger.kernel.org,
"David S . Miller" <davem@davemloft.net>,
Andreas Larsson <andreas@gaisler.com>
Cc: linux-kernel@vger.kernel.org, Oleg Nesterov <oleg@redhat.com>
Subject: Re: [PATCH 4/7] sparc64: add SPARC64 VII CPU, MMU and SMP support
Date: Sun, 4 Oct 2026 16:59:32 +0200 [thread overview]
Message-ID: <24db4eb5-19ac-404c-9dd8-c3af42bcf4cf@kernel.org> (raw)
In-Reply-To: <20261002161515.932316-5-linmag7@gmail.com>
On 02/10/2026 18:14, Magnus Lindholm wrote:
> diff --git a/arch/sparc/kernel/prom_64.c b/arch/sparc/kernel/prom_64.c
> index aa4799cbb9c1..11437bbfc73b 100644
> --- a/arch/sparc/kernel/prom_64.c
> +++ b/arch/sparc/kernel/prom_64.c
> @@ -564,6 +564,12 @@ static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg)
>
> cpu_data(cpuid).core_id = portid + 1;
> cpu_data(cpuid).proc_id = portid;
> + if (tlb_type == sparc64_vii &&
> + of_property_match_string(of_root, "model", "IKKAKU") >= 0) {
Are the values documented as ABI anywhere? Usually the compatible is the
ABI, not the model.
> + /* IKKAKU: two adjacent ITIDs per physical core. */
> + cpu_data(cpuid).core_id = (cpuid >> 1) + 1;
> + cpu_data(cpuid).proc_id = 0;
> + }
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-10-04 14:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 16:14 [PATCH 0/7] sparc64: add Fujitsu M3000 support Magnus Lindholm
2026-10-02 16:14 ` [PATCH 1/7] sparc64: return from the generic clear_page implementation Magnus Lindholm
2026-10-02 16:14 ` [PATCH 2/7] sparc64: honor queued spinlock layout in secondary startup Magnus Lindholm
2026-10-02 16:14 ` [PATCH 3/7] sparc64: avoid huge kernel PUD mappings on sun4u Magnus Lindholm
2026-10-02 16:14 ` [PATCH 4/7] sparc64: add SPARC64 VII CPU, MMU and SMP support Magnus Lindholm
2026-10-04 14:59 ` Krzysztof Kozlowski [this message]
2026-10-04 15:39 ` Magnus Lindholm
2026-10-02 16:14 ` [PATCH 5/7] sparc64: add M3000 Oberon PCIe support Magnus Lindholm
2026-10-02 16:14 ` [PATCH 6/7] tg3: normalize inherited M3000 register byte order Magnus Lindholm
2026-10-02 16:14 ` [PATCH 7/7] hvc: add an M3000 firmware console backend Magnus Lindholm
2026-10-04 12:50 ` Greg Kroah-Hartman
2026-10-04 15:24 ` Magnus Lindholm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24db4eb5-19ac-404c-9dd8-c3af42bcf4cf@kernel.org \
--to=krzk@kernel.org \
--cc=andreas@gaisler.com \
--cc=davem@davemloft.net \
--cc=linmag7@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®