Re: [PATCH] m68k/mac: Make SCC reset work more reliably

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 14, 2014 at 9:31 AM, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:
On Mon, 13 Jan 2014, Geert Uytterhoeven wrote:
On Sun, Jan 12, 2014 at 2:56 PM, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
wrote:
For SCC initialization we cannot assume that the control register is
in the correct state to accept a register pointer. So first read from
the control register in order to "sync" up.

Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>

Thaks for your patch!

---


This patch fixes a boot failure (presumably caused by unhandled SCC
interrupt) on PowerBook 180 with CONFIG_EARLY_PRINTK and with the
bootloader not configured to wake up the serial ports.

AFAIK this happens only on PowerBooks. Even with this fix, Penguin
still has to wake the serial ports or else they don't function on
PowerBooks like this one.

IMHO the above should be part of the patch description (i.e. above the
three dashes), as it contains valuable information. Is that OK for you?

The first part is good information, especially if this were submitted to
-stable.

The rest, beginning with "AFAIK", is really guesswork based on anecdote
(e.g. reports from users not affected). Even the mailing list archives are
perhaps too permanent (e.g. the need for the wake-up workaround may go
away one day).

OK.

I'm unsure about submitting this to -stable. I don't like the idea that
the first debian user to boot a powerbook might see a crash (depending on
bootloader etc). But not all stable trees carry df66834a which is a
prerequisite. This patch is only applicable to 3.4.y and >= 3.9.y. Can you
nominate particular stable trees?

Sure, just add it to the comment, cfr. Documentation/stable_kernel_rules.txt:

 - If the patch requires other patches as prerequisites which can be
   cherry-picked than this can be specified in the following format in
   the sign-off area:

     Cc: <stable@xxxxxxxxxxxxxxx> # 3.3.x: a1f84a3: sched: Check for idle
     Cc: <stable@xxxxxxxxxxxxxxx> # 3.3.x: 1b9508f: sched: Rate-limit newidle
     Cc: <stable@xxxxxxxxxxxxxxx> # 3.3.x: fd21073: sched: Fix affinity logic
     Cc: <stable@xxxxxxxxxxxxxxx> # 3.3.x

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux