1. 15 3月, 2011 2 次提交
  2. 11 3月, 2011 1 次提交
  3. 10 3月, 2011 28 次提交
  4. 04 3月, 2011 4 次提交
  5. 02 3月, 2011 5 次提交
    • S
      powerpc: Fix memory limits when starting at a non-zero address · 6dd22700
      Scott Wood 提交于
      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: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      6dd22700
    • B
      powerpc/pseries: Reduce HVCS driver insanity · c7704d35
      Benjamin Herrenschmidt 提交于
      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: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      c7704d35
    • P
      powerpc: Mask smp_processor_id() false positive · 9ff0c61d
      Paul E. McKenney 提交于
      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: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      9ff0c61d
    • J
      powerpc/eeh: Remove one to many l's in the word. · 31116f0b
      Justin Mattock 提交于
      The patch below removes an extra "l" in the word.
      Signed-off-by: NJustin P. Mattock <justinmattock@gmail.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      31116f0b
    • G
      powerpc/macintosh: Fix __devexit annotation in rack-meter.c · e1f4dea4
      Grant Likely 提交于
      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: NGrant Likely <grant.likely@secretlab.ca>
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e1f4dea4