1. 12 Jan, 2006 9 commits
  2. 11 Jan, 2006 6 commits
  3. 10 Jan, 2006 16 commits
  4. 09 Jan, 2006 9 commits
    • Jes Sorensen's avatar
      [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem · 1b1dcc1b
      Jes Sorensen authored
      
      
      This patch converts the inode semaphore to a mutex. I have tested it on
      XFS and compiled as much as one can consider on an ia64. Anyway your
      luck with it might be different.
      Modified-by: default avatarIngo Molnar <mingo@elte.hu>
      
      (finished the conversion)
      Signed-off-by: default avatarJes Sorensen <jes@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1b1dcc1b
    • Adrian Bunk's avatar
      spelling: s/retreive/retrieve/ · 943ffb58
      Adrian Bunk authored
      
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      943ffb58
    • Benjamin Herrenschmidt's avatar
      [PATCH] 4/5 powerpc: Add cpufreq support for all desktop G5 · 9a699aef
      Benjamin Herrenschmidt authored
      
      
      This patch adds cpufreq support for all desktop "tower" G5 models. The
      only G5 models still lacking cpufreq support at this point are the
      Xserve and possibly the new iMac iSight (not tested). I'll have those
      added soon. That patch uses the new platform functions interpreter to
      implement frequency and voltage switching on most models.
      
      Note that in order to find the low frequency value, I had to hack
      something that might now work properly on all models, so if the
      frequency value reported when running low speed looks bogus to you,
      please report it to me. (Appart from a bogus reported value, things
      should work fine).
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      9a699aef
    • Benjamin Herrenschmidt's avatar
      [PATCH] 3/5 powerpc: Add platform functions interpreter · 5b9ca526
      Benjamin Herrenschmidt authored
      
      
      This is the platform function interpreter itself along with the backends
      for UniN/U3/U4, mac-io, GPIOs and i2c. It adds the ability to execute
      those do-platform-* scripts in the device-tree (at least for most
      devices for which a backend is provided). This should replace the clock
      spreading hacks properly. It might also have an impact on all sort of
      machines since some of the scripts marked "at init" will now be executed
      on boot (or some other on sleep/wakeup), those will possibly do things
      that the kernel didn't do at all, like setting some values into some i2c
      devices (changing thermal sensor calibration or conversion rate) etc...
      Thus regression testing is MUCH welcome. Also loook for errors in dmesg.
      That's also why I've left rather verbose debugging enabled in this
      version of the patch.
      
      (I do expect some Windtunnel G4s to show some errors as they have an i2c
      clock chip on the PMU bus that uses some primitives that the i2c backend
      doesn't implement yet. I really need users that have one of those
      machine to come back to me so we can get that done right, though the
      errors themselves should be harmless, I suspect the machine might not
      run at full speed).
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      5b9ca526
    • Benjamin Herrenschmidt's avatar
      [PATCH] 2/5 powerpc: Rework PowerMac i2c part 2 · a28d3af2
      Benjamin Herrenschmidt authored
      
      
      This is the continuation of the previous patch. This one removes the old
      PowerMac i2c drivers (i2c-keywest and i2c-pmac-smu) and replaces them
      both with a single stub driver that uses the new PowerMac low i2c layer.
      
      Now that i2c-keywest is gone, the low-i2c code is extended to support
      interrupt driver transfers. All i2c busses now appear as platform
      devices. Compatibility with existing drivers should be maintained as the
      i2c bus names have been kept identical, except for the SMU bus but in
      that later case, all users has been fixed.
      
      With that patch added, matching a device node to an i2c_adapter becomes
      trivial.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      a28d3af2
    • Benjamin Herrenschmidt's avatar
      [PATCH] 1/5 powerpc: Rework PowerMac i2c part 1 · 730745a5
      Benjamin Herrenschmidt authored
      
      
      This is the first part of a rework of the PowerMac i2c code. It
      completely reworks the "low_i2c" layer. It is now more flexible,
      supports KeyWest, SMU and PMU i2c busses, and provides functions to
      match device nodes to i2c busses and adapters.
      
      This patch also extends & fix some bugs in the SMU driver related to i2c
      support and removes the clock spreading hacks from the pmac feature code
      rather than adapting them to the new API since they'll be replaced by
      the platform function code completely in patch 3/5
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      730745a5
    • Arnd Bergmann's avatar
      [PATCH] spufs: set irq affinity for running threads · 2fb9d206
      Arnd Bergmann authored
      
      
      For far, all SPU triggered interrupts always end up on
      the first SMT thread, which is a bad solution.
      
      This patch implements setting the affinity to the
      CPU that was running last when entering execution on
      an SPU. This should result in a significant reduction
      in IPI calls and better cache locality for SPE thread
      specific data.
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      2fb9d206
    • Arnd Bergmann's avatar
      [PATCH] spufs: fix sparse warnings · 6ff730c3
      Arnd Bergmann authored
      
      
      One local variable is missing an __iomem modifier,
      in another place, we pass a completely unused argument
      with a missing __user modifier.
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      6ff730c3
    • Arnd Bergmann's avatar
      [PATCH] spufs: abstract priv1 register access. · f0831acc
      Arnd Bergmann authored
      
      
      In a hypervisor based setup, direct access to the first
      priviledged register space can typically not be allowed
      to the kernel and has to be implemented through hypervisor
      calls.
      
      As suggested by Masato Noguchi, let's abstract the register
      access trough a number of function calls. Since there is
      currently no public specification of actual hypervisor
      calls to implement this, I only provide a place that
      makes it easier to hook into.
      
      Cc: Masato Noguchi <Masato.Noguchi@jp.sony.com>
      Cc: Geoff Levand <geoff.levand@am.sony.com>
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      f0831acc