1. 24 Oct, 2006 1 commit
  2. 23 Oct, 2006 3 commits
  3. 22 Oct, 2006 3 commits
  4. 17 Oct, 2006 2 commits
    • Mark A. Greer's avatar
      [POWERPC] More bootwrapper reorganization · c888554b
      Mark A. Greer authored
      More reorganization of the bootwrapper:
      - Add dtb section to zImage
      - ft_init now called by platform_init
      - Pack a flat dt before calling kernel
      - Remove size parameter from free
      - printf only calls console_ops.write it its not NULL
      - Some cleanup
      Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    • Paul Mackerras's avatar
      [POWERPC] Make sure interrupt enable gets restored properly · b0a779de
      Paul Mackerras authored
      The lazy IRQ disable patch missed a couple of places where the
      interrupt enable flags need to be restored correctly.  First, we
      weren't restoring the paca->hard_enabled flag on interrupt exit.
      Instead of saving it on entry, we compute it from the MSR_EE bit
      in the MSR we are restoring at exit.  Secondly, the MMU hash miss
      code was clearing both paca->soft_enabled and paca->hard_enabled
      but not restoring them in the case where hash_page was able to
      resolve the miss from the Linux page tables.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
  5. 16 Oct, 2006 4 commits
    • Geoff Levand's avatar
      [POWERPC] Make pSeries_lpar_hpte_insert static · 035223fb
      Geoff Levand authored
      Change the powerpc hpte_insert routines now called through ppc_md to
      static scope.
      Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    • David Gibson's avatar
      [POWERPC] Remove todc code from ARCH=powerpc · 0f03a43b
      David Gibson authored
      Apparently we've copied the todc drivers, for various RTCs used in
      embedded machines from ARCH=ppc to ARCH=powerpc, despite the fact that
      it's never used in the latter.  This patch removes it.
      If we ever need these drivers (which we probably shouldn't now the RTC
      class stuff is in), we can transfer them one by one from ARCH=ppc,
      removing from the hideous abomination which is the todc
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    • Olof Johansson's avatar
      [POWERPC] powerpc: Enable DEEPNAP power savings mode on 970MP · 5b43d20a
      Olof Johansson authored
      Without this patch, on an idle system I get:
      Total: 103.8W
      With this patch:
      Total: 65.0W
      If I lower HZ to 100, I can get it as low as:
      Total: 60.2W
      Another (older) Quad G5 went from 54W to 39W at HZ=250.
      Coming back out of Deep Nap takes 40-70 cycles longer than coming back
      from just Nap (which already takes quite a while). I don't think it'll
      be a performance issue (interrupt latency on an idle system), but in
      case someone does measurements feel free to report them.
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      Acked-by: default avatarMichael Buesch <mb@bu3sch.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    • Paul Mackerras's avatar
      [POWERPC] Lazy interrupt disabling for 64-bit machines · d04c56f7
      Paul Mackerras authored
      This implements a lazy strategy for disabling interrupts.  This means
      that local_irq_disable() et al. just clear the 'interrupts are
      enabled' flag in the paca.  If an interrupt comes along, the interrupt
      entry code notices that interrupts are supposed to be disabled, and
      clears the EE bit in SRR1, clears the 'interrupts are hard-enabled'
      flag in the paca, and returns.  This means that interrupts only
      actually get disabled in the processor when an interrupt comes along.
      When interrupts are enabled by local_irq_enable() et al., the code
      sets the interrupts-enabled flag in the paca, and then checks whether
      interrupts got hard-disabled.  If so, it also sets the EE bit in the
      MSR to hard-enable the interrupts.
      This has the potential to improve performance, and also makes it
      easier to make a kernel that can boot on iSeries and on other 64-bit
      machines, since this lazy-disable strategy is very similar to the
      soft-disable strategy that iSeries already uses.
      This version renames paca->proc_enabled to paca->soft_enabled, and
      changes a couple of soft-disables in the kexec code to hard-disables,
      which should fix the crash that Michael Ellerman saw.  This doesn't
      yet use a reserved CR field for the soft_enabled and hard_enabled
      flags.  This applies on top of Stephen Rothwell's patches to make it
      possible to build a combined iSeries/other kernel.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
  6. 15 Oct, 2006 22 commits
  7. 14 Oct, 2006 5 commits