[GIT] Sparc

From: David Miller
Date: Tue Dec 14 2010 - 15:10:52 EST



This fixes two bugs.

First a fix from Daniel Hellstrom that eliminates a hard-coded HZ
constant in the LEON code.

Second, fix a regression in sparc64 firmware calls.

Some kinds of firmware calls are not safe to pass buffer addresses
over 4GB, they really aren't 64-bit safe universally especially on
older sparc64 systems.

So I fixed this in two steps:

1) Remove firmware interfaces unused by the kernel right now, which is
safer than trying to recode them to use bounce buffers or similar.

2) Add a bounce buffer for PROM console writes to ensure that the
buffer restrictions are met.

Tested successfully by the original bug reporter.

Please pull, thanks a lot!

The following changes since commit 6313e3c21743cc88bb5bd8aa72948ee1e83937b6:

Merge branches 'x86-fixes-for-linus', 'perf-fixes-for-linus' and 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (2010-12-08 06:40:59 -0800)

are available in the git repository at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git master

Daniel Hellstrom (1):
SPARC/LEON: removed constant timer initialization as if HZ=100, now it reflects the value of HZ

David S. Miller (9):
sparc64: Delete prom_puts() unused.
sparc: Remove prom_pathtoinode()
sparc: Kill prom devops_{32,64}.c
sparc64: Unexport prom_service_exists().
sparc64: Delete prom_setcallback().
sparc: Do not export prom_nb{get,put}char().
sparc: Pass buffer pointer all the way down to prom_{get,put}char().
sparc: Delete prom_*getchar().
sparc: Write to prom console using indirect buffer.

arch/sparc/include/asm/openprom.h | 2 +-
arch/sparc/include/asm/oplib_32.h | 35 +--------------
arch/sparc/include/asm/oplib_64.h | 46 +-------------------
arch/sparc/kernel/leon_kernel.c | 4 +-
arch/sparc/prom/Makefile | 1 -
arch/sparc/prom/console_32.c | 65 +++++----------------------
arch/sparc/prom/console_64.c | 81 ++++++----------------------------
arch/sparc/prom/devops_32.c | 87 -------------------------------------
arch/sparc/prom/devops_64.c | 67 ----------------------------
arch/sparc/prom/misc_64.c | 16 +------
arch/sparc/prom/printf.c | 35 ++++++++++++---
arch/sparc/prom/tree_32.c | 16 -------
arch/sparc/prom/tree_64.c | 18 --------
13 files changed, 64 insertions(+), 409 deletions(-)
delete mode 100644 arch/sparc/prom/devops_32.c
delete mode 100644 arch/sparc/prom/devops_64.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/