[RFC 0/5] restart cleanups

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Nov 1 12:38:17 EDT 2011


Can someone please check whether this code:

/* Hook for arm_pm_restart to ensure we execute the reset code
 * with the caches enabled. It seems at least the S3C2440 has a problem
 * resetting if there is bus activity interrupted by the reset.
 */
static void s3c24xx_pm_restart(char mode, const char *cmd)
{
        if (mode != 's') {
                unsigned long flags;

                local_irq_save(flags);
                __cpuc_flush_kern_all();
                __cpuc_flush_user_all();

                arch_reset(mode, cmd);
                local_irq_restore(flags);
        }

        /* fallback, or unhandled */
        arm_machine_restart(mode, cmd);
}

will be broken by any of these patches - and more importantly whether
this code can simply be deleted with these five patches applied.

Thanks.



More information about the linux-arm-kernel mailing list