1. 23 1月, 2015 14 次提交
  2. 22 1月, 2015 14 次提交
  3. 21 1月, 2015 6 次提交
  4. 20 1月, 2015 1 次提交
  5. 29 12月, 2014 5 次提交
    • M
      powerpc/kvm: Create proper names for the kvm_host_state PMU fields · 9a4fc4ea
      Michael Ellerman 提交于
      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: NMichael Ellerman <mpe@ellerman.id.au>
      Acked-by: NAlexander Graf <agraf@suse.de>
      9a4fc4ea
    • A
      powerpc/lib: Do not include string.o in obj-y twice · 803d57de
      Andreas Ruprecht 提交于
      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: NAndreas Ruprecht <rupran@einserver.de>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      803d57de
    • P
      powerpc/44x/Akebono: Remove select of IBM_EMAC_RGMII_WOL · 01b14505
      Paul Bolle 提交于
      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: NPaul Bolle <pebolle@tiscali.nl>
      Acked-by: NAlistair Popple <alistair@popple.id.au>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      01b14505
    • I
      cxl: Disable SPAP register when freeing SPA · db7933f3
      Ian Munsie 提交于
      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: NIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      db7933f3
    • I
      cxl: Disable AFU debug flag · d6a6af2c
      Ian Munsie 提交于
      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: NIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      d6a6af2c