On Wed, Oct 1, 2014 at 4:47 PM, Alexander Graf <ag...@suse.de> wrote: >> This is touching the same area as last night's >> "[RFC PATCH 00/16] kernel: Add support for poweroff handler call chain" >> https://lkml.org/lkml/2014/9/30/575 > > I agree, and I think your patch set is walking into a reasonable > direction. However, I really think it should convert all users of > pm_power_off - at which point you'll probably get to the same conclusion > that ppc_md.power_off is a bad idea :). > > So in a way, this patch set is semantically a prerequisite to the full > conversion you'd probably like to do :). > > Also, in your cover letter you describe that some methods power off the > CPU power while others power off the system power. How do you > distinguish between them with a call chain? You probably won't get > around to trigger the system power off callback after the CPU power off > callback ran ;).
I'll let Günther answer that... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev