[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdWM128G+TK+Y=FQ_Hhw7XTrYyDERCDN1MrknXDmbOofcA@mail.gmail.com>
Date: Mon, 9 Jan 2012 21:14:44 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Linux-Arch <linux-arch@...r.kernel.org>
Subject: Re: [PATCH 2/2] cpu: Register a generic CPU device on architectures
that currently do not
On Sun, Jan 8, 2012 at 21:55, Ben Hutchings <ben@...adent.org.uk> wrote:
> frv, h8300, microblaze, openrisc, score and xtensa currently do not
m68k is also handled in your patch.
um is still missing.
> register a CPU device. Add the config option GENERIC_CPU_DEVICES which
> causes a generic CPU device to be registered for each present CPU, and
> make all these architectures select it.
>
> Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
Thanks!
On m68k, it works on its own or combined with "[PATCH 1/2] topology:
Check for missing CPU devices."
It adds
/sys/devices/system/cpu/cpu0
|-- subsystem -> ../../../../bus/cpu
|-- topology
| |-- core_id
| |-- core_siblings
| |-- core_siblings_list
| |-- physical_package_id
| |-- thread_siblings
| `-- thread_siblings_list
`-- uevent
and
/sys/bus/cpu/devices/cpu0 -> ../../../devices/system/cpu/cpu0
Tested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists