1. 20 12月, 2006 2 次提交
  2. 19 12月, 2006 5 次提交
  3. 14 12月, 2006 1 次提交
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
  4. 13 12月, 2006 1 次提交
  5. 11 12月, 2006 7 次提交
    • J
      [POWERPC] Generic BUG for powerpc · 73c9ceab
      Jeremy Fitzhardinge 提交于
      This makes powerpc use the generic BUG machinery.  The biggest reports the
      function name, since it is redundant with kallsyms, and not needed in general.
      
      There is an overall reduction of code, since module_32/64 duplicated several
      functions.
      
      Unfortunately there's no way to tell gcc that BUG won't return, so the BUG
      macro includes a goto loop.  This will generate a real jmp instruction, which
      is never used.
      
      [akpm@osdl.org: build fix]
      [paulus@samba.org: remove infinite loop in BUG_ON]
      Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Hugh Dickens <hugh@veritas.com>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      73c9ceab
    • K
      [POWERPC] Only export __mtdcr/__mfdcr if CONFIG_PPC_DCR is set · 45d8e7aa
      Kumar Gala 提交于
      On 85xx we don't build in dcr support because the core doesn't implement the
      instructions.  This caused problems when building an 85xx kernel.  Additionally
      made it so we only build __mtdcr/__mfdcr if we are CONFIG_PPC_DCR_NATIVE.
      
      The 85xx build issue wasPointed out by Dai Haruki.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      45d8e7aa
    • B
      [POWERPC] Remove old dcr.S · 4383162c
      Benjamin Herrenschmidt 提交于
      When I renamed dcr.S to dcr_low.S (and added dcr.c) it looks like the
      old dcr.S file didn't properly get removed.  This fixes it.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4383162c
    • P
      [POWERPC] Fix SPU coredump code for max_fdset removal · 39f44be3
      Paul Mackerras 提交于
          
      Commit bbea9f69 removed the max_fdset
      element of struct fdtable.  It appears that checking max_fds is
      sufficient now.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      39f44be3
    • B
      [POWERPC] Fix irq routing on some 32-bit PowerMacs · dae4828d
      Benjamin Herrenschmidt 提交于
      The changes to use pci_read_irq_line() broke interrupt parsing
      on some 32-bit powermacs (oops).  The reason is a bit obscure.
      The code to parse interrupts happens earlier now, during
      pcibios_fixup() as the PCI bus is being probed.  However, the
      current implementation pci_device_to_OF_node() for 32-bit
      powerpc relies, on machines like PowerMac which renumber PCI buses,
      on a table called pci_OF_bus_map containing a map of bus numbers
      between the kernel and the firmware which is setup only later.
      Thus, it fails to match the device node.  In addition, some of
      Apple internal PCI devices lack a proper PCI_INTERRUPT_PIN, thus
      preventing the fallback mapping code to work.
      
      This patch fixes it by making pci_device_to_OF_node() 32-bit
      implementation use a different algorithm that works without
      using the pci_OF_bus_map thing (which I intend to deprecate
      anyway). It's a bit slower but that function isn't called in
      any hot path hopefully.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      dae4828d
    • G
      [POWERPC] ps3: Add vuart support · 74e95d5d
      Geoff Levand 提交于
      Adds support for the PS3 virtual UART (vuart).  The vuart provides a
      bi-directional byte stream data link between logical partitions.
      
      This is needed for the ps3 graphics driver and the ps3 power
      control support to be able to communicate with the lv1 policy
      module.
      Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      74e95d5d
    • P
      [POWERPC] Support ibm,dynamic-reconfiguration-memory nodes · 0204568a
      Paul Mackerras 提交于
      For PAPR partitions with large amounts of memory, the firmware has an
      alternative, more compact representation for the information about the
      memory in the partition and its NUMA associativity information.  This
      adds the code to the kernel to parse this alternative representation.
      
      The other part of this patch is telling the firmware that we can
      handle the alternative representation.  There is however a subtlety
      here, because the firmware will invoke a reboot if the memory
      representation we request is different from the representation that
      firmware is currently using.  This is because firmware can't change
      the representation on the fly.  Further, some firmware versions used
      on POWER5+ machines have a bug where this reboot leaves the machine
      with an altered value of load-base, which will prevent any kernel
      booting until it is reset to the normal value (0x4000).  Because of
      this bug, we do NOT set fake_elf.rpanote.new_mem_def = 1, and thus we
      do not request the new representation on POWER5+ and earlier machines.
      We do request the new representation on POWER6, which uses the
      ibm,client-architecture-support call.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0204568a
  6. 09 12月, 2006 7 次提交
  7. 08 12月, 2006 17 次提交