1. 15 Mar, 2011 2 commits
  2. 11 Mar, 2011 1 commit
  3. 10 Mar, 2011 28 commits
  4. 04 Mar, 2011 4 commits
  5. 02 Mar, 2011 5 commits
    • Scott Wood's avatar
      powerpc: Fix memory limits when starting at a non-zero address · 6dd22700
      Scott Wood authored
      memblock_enforce_memory_limit() takes the desired maximum quantity of memory
      to end up with, not an address above which memory will not be used.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      6dd22700
    • Benjamin Herrenschmidt's avatar
      powerpc/pseries: Reduce HVCS driver insanity · c7704d35
      Benjamin Herrenschmidt authored
      The HVCS driver, for those who don't know, is a driver for the "server" side
      of the IBM virtual terminal mechanism allowing Linux partitions to act as
      terminal servers under IBM PowerVM hypervisor. It's almost never used on
      the field at the moment.
      
      However, it's part of our configs, and in its current incarnation, will
      allocate the tty driver & major (with 64 minors) and create a kernel thread
      whether it's used or not, ie, whether the hypervisor did put a virtual
      terminal server device node in the partition or not (or whether running on
      a pseries machine or not even).
      
      This in turns causes modern distro's udev's to start trying to open all
      those 64 minors at boot, which, since they aren't linked to anything,
      causes the driver to spew errors in the kernel log for each of them.
      
      Not nice.
      
      This moves all that initialization to a function which is now only called
      the first time a terminal server virtual IO device is actually probed
      (that is almost never).
      
      There's still a _LOT_ of cleanup that can be done in this driver, some
      simple (almost all printk's statements in there shall either just be
      removed or in some case turned into better written & more informative
      messages, including using the dev_* variants etc...). This is left as
      an exercise for whoever actually cares about that driver.
      
      One could also try to be smart and dispose of all the tty related
      resources when the last instance of the VIO server device
      is removed (Hotplug anybody ?).
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      c7704d35
    • Paul E. McKenney's avatar
      powerpc: Mask smp_processor_id() false positive · 9ff0c61d
      Paul E. McKenney authored
      The rtas_event_scan() function uses smp_processor_id() to select a
      starting point in cpu_online_mask, and does so under the protection
      of get_online_cpus().  This might not select the current processor
      in any case, so switch to raw_smp_processor_id().
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      9ff0c61d
    • Justin Mattock's avatar
      powerpc/eeh: Remove one to many l's in the word. · 31116f0b
      Justin Mattock authored
      The patch below removes an extra "l" in the word.
      Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      31116f0b
    • Grant Likely's avatar
      powerpc/macintosh: Fix __devexit annotation in rack-meter.c · e1f4dea4
      Grant Likely authored
      The following warning was seen building rack-meter.c
      
      WARNING: drivers/built-in.o(.text+0xac784): Section mismatch in reference from the function rackmeter_shutdown() to the function .devexit.text:rackmeter_stop_cpu_sniffer()
      The function rackmeter_shutdown() references a function in an exit section.
      Often the function rackmeter_stop_cpu_sniffer() has valid usage outside the exit section
      and the fix is to remove the __devexit annotation of rackmeter_stop_cpu_sniffer.
      
      This patch resolves the warning by removing the __devexit annotation from
      rackmeter_stop_cpu_sniffer().
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e1f4dea4