1. 23 Jan, 2015 14 commits
  2. 22 Jan, 2015 14 commits
  3. 21 Jan, 2015 6 commits
  4. 20 Jan, 2015 1 commit
  5. 29 Dec, 2014 5 commits
    • Michael Ellerman's avatar
      powerpc/kvm: Create proper names for the kvm_host_state PMU fields · 9a4fc4ea
      Michael Ellerman authored
      We have two arrays in kvm_host_state that contain register values for
      the PMU. Currently we only create an asm-offsets symbol for the base of
      the arrays, and do the array offset in the assembly code.
      
      Creating an asm-offsets symbol for each field individually makes the
      code much nicer to read, particularly for the MMCRx/SIxR/SDAR fields, and
      might have helped us notice the recent double restore bug we had in this
      code.
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Acked-by: default avatarAlexander Graf <agraf@suse.de>
      9a4fc4ea
    • Andreas Ruprecht's avatar
      powerpc/lib: Do not include string.o in obj-y twice · 803d57de
      Andreas Ruprecht authored
      In the Makefile, string.o (which is generated from string.S) is
      included into the list of objects being built unconditionally
      (obj-y) in line 12.
      
      Additionally, if CONFIG_PPC64 is set, it is included again in
      line 17.
      
      This patch removes the latter unnecessary inclusion.
      Signed-off-by: default avatarAndreas Ruprecht <rupran@einserver.de>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      803d57de
    • Paul Bolle's avatar
      powerpc/44x/Akebono: Remove select of IBM_EMAC_RGMII_WOL · 01b14505
      Paul Bolle authored
      Commit 2a2c74b2 ("IBM Akebono: Add the Akebono platform") added a
      select of IBM_EMAC_RGMII_WOL. But that Kconfig symbol isn't (yet) part
      of the tree. So this select has been a nop since that commit was
      included in v3.16-rc1.
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Acked-by: default avatarAlistair Popple <alistair@popple.id.au>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      01b14505
    • Ian Munsie's avatar
      cxl: Disable SPAP register when freeing SPA · db7933f3
      Ian Munsie authored
      When we deactivate the AFU directed mode we free the scheduled process
      area, but did not clear the register in the hardware that has a pointer
      to it.
      
      This should be fine since we will have already cleared out every context
      and we won't do anything that would cause the hardware to access it
      until after we have allocated a new one, but just to be safe this patch
      clears out the register when we free the page.
      Signed-off-by: default avatarIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      db7933f3
    • Ian Munsie's avatar
      cxl: Disable AFU debug flag · d6a6af2c
      Ian Munsie authored
      Upon inspection of the implementation specific registers, it was
      discovered that the high bit of the implementation specific RXCTL
      register was enabled, which enables the DEADB00F debug feature.
      
      The debug feature causes MMIO reads to a disabled AFU to respond with
      0xDEADB00F instead of all Fs. In general this should not be visible as
      the kernel will only allow MMIO access to enabled AFUs, but there may be
      some circumstances where an AFU may become disabled while it is use.
      One such case would be an AFU designed to only be used in the dedicated
      process mode and to disable itself after it has completed it's work
      (however even in that case the effects of this debug flag would be
      limited as the userspace application must have completed any required
      MMIO accesses before the AFU disables itself with or without the flag).
      
      This patch removes the debug flag and replaces the magic value
      programmed into this register with a preprocessor define so it is
      clearer what the rest of this initialisation does.
      Signed-off-by: default avatarIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      d6a6af2c