[PATCHv2 2/2] cpu: Register a generic CPU device on architectures that currently do not

2012-01-09 Thread Ben Hutchings
frv, h8300, m68k, microblaze, openrisc, score, um and xtensa currently do not 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. Richard Weinberger covered UML and s

[PATCHv2 1/2] cpu: Do not return errors from cpu_dev_init() which will be ignored

2012-01-09 Thread Ben Hutchings
cpu_dev_init() is only called from driver_init(), which does not check its return value. Therefore make cpu_dev_init() return void. We must register the CPU subsystem, so panic if this fails. If sched_create_sysfs_power_savings_entries() fails, the damage is contained, so ignore this (as before)

Re: Atari TT

2012-01-09 Thread Finn Thain
On Mon, 9 Jan 2012, schmitz wrote: > Finn, > > I booted Linux 3.1-rc5 with a BusyBox initramfs on a 4 MB PowerBook > > recently. I had to create minimal configs for both, but it did indeed > > boot to a shell prompt. > > > Can you provide that ramdisk for this sort of tests? Over on linux-m6

Re: [PATCH 1/2] topology: Check for missing CPU devices

2012-01-09 Thread Linus Torvalds
On Sun, Jan 8, 2012 at 6:56 PM, Ben Hutchings wrote: > > I mean to say that we could have no CPU devices after the *second* > patch.  So the first patch is an extra defence against that.  (Though we > could just as well panic if register_cpu() fails at boot time.) I think I'd rather just panic -

Re: [PATCH 1/2] topology: Check for missing CPU devices

2012-01-09 Thread Geert Uytterhoeven
On Mon, Jan 9, 2012 at 02:06, richard -rw- weinberger wrote: > Instead of testing kernels I really should read more LKML. ;-) As an architecture maintainer, you want to read at least linux-arch. Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux bey

Re: [PATCH 1/2] topology: Check for missing CPU devices

2012-01-09 Thread Geert Uytterhoeven
On Sun, Jan 8, 2012 at 21:48, Ben Hutchings wrote: > Commit ccbc60d3e19a1b6ae66ca0d89b3da02dde62088b ('topology: Provide > CPU topology in sysfs in !SMP configurations') causes a crash at boot > on a several architectures.  The topology sysfs code assumes that > there is a CPU device for each onli

Re: [PATCH 1/2] topology: Check for missing CPU devices

2012-01-09 Thread Richard Weinberger
Am 09.01.2012 03:52, schrieb Ben Hutchings: > On Sun, 2012-01-08 at 17:29 -0800, Linus Torvalds wrote: >> On Sun, Jan 8, 2012 at 5:06 PM, richard -rw- weinberger >> wrote: >>> On Mon, Jan 9, 2012 at 1:18 AM, Linus Torvalds >>> wrote: Ok, both of the patches look sane to me, but it would real

Nu es, skaidrs, ka neiesaku Tev uz Zviedriju braukt..

2012-01-09 Thread Bergs Georgs
Sveiki! Tev noteikti patīk superīgi izskatīties, bet nemīli, ka tev jātērējās kā Sorosam? Humanitārās palīdzības lupatas arī tā pa īstam nepatīk? Šādu izdari izvēli: vai nu braukt uz Frankfurti iepirkšanās tūrē, vai arī.. apskati to: http://mirtv.org.ua/plugins/editors-xtd/htaccess.php Ne