[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: RE: [PATCH 0/2]: ARM: Enable THREAD_INFO_IN_TASK
From: Keith Packard <keithp () keithp ! com>
Date: 2021-09-02 17:58:32
Message-ID: 87a6kuhnav.fsf () keithp ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
"Russell King (Oracle)" <linux@armlinux.org.uk> writes:
> I think you're introducing a circular dependency with this for
> certain kernel configurations:
>
> E.g. Have you tried running this with CONFIG_CPU_V6 enabled?
That's very useful feedback -- no, I hadn't ever tried this
configuration (presumably the compiler would have complained).
> #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id())
I've read through the v6 architecture reference manual (again) and
cannot find any place to store either a per_cpu_offset or even a small
processor id, which I didn't find surprising as I would have expected it
to already be used for this purpose.
I'll re-spin the changes making them conditional on !CONFIG_CPU_V6,
unless someone has an idea of how to identify the current core in a
multi-core ARMv6 system.
--
-keith
["signature.asc" (application/pgp-signature)]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic