[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080918.192827.202370570.davem@davemloft.net>
Date: Thu, 18 Sep 2008 19:28:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: torvalds@...ux-foundation.org
CC: akpm@...ux-foundation.org, sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT]: Sparc
Two bug fixes:
1) psycho_pcierr_intr_other() dereferences a NULL pointer. Root
PCI controller config space accesses need to be done by hand.
Reported and tested by Meelis Roos on Sun Enterprise 3500.
2) We have several methods of booting up cpus, depending upon what
features the firmware and/or hypervisor support. On some of
those paths we have to call C code before the current_thread_info()
register can be setup properly.
By calling C code invokes _mcount when the kernel is built with
"-pg" (due to CONFIG_STACK_DEBUG or ftrace being enabled), and
_mcount does stack depth checking using the current thread register
because that defines the base of the current non-interrupt kernel
stack.
Fix this by marking these super-early-init routines as "notrace".
Also reported and tested by Meelis Roos.
Please pull, thanks a lot!
The following changes since commit 6bfb09a1005193be5c81ebac9f3ef85210142650:
Linus Torvalds (1):
Merge master.kernel.org:/home/rmk/linux-2.6-arm
are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git master
David S. Miller (2):
sparc64: Fix OOPS in psycho_pcierr_intr_other().
sparc64: Fix SMP bootup with CONFIG_STACK_DEBUG or ftrace.
arch/sparc64/kernel/irq.c | 5 +++--
arch/sparc64/kernel/pci_psycho.c | 8 +++++---
arch/sparc64/kernel/traps.c | 3 ++-
3 files changed, 10 insertions(+), 6 deletions(-)
--
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