1. 10 Apr, 2009 3 commits
    • Suresh Siddha's avatar
      x86, CPA: Change idmap attribute before ioremap attribute setup · 43a432b1
      Suresh Siddha authored
      Change the identity mapping with the requested attribute first, before
      we setup the virtual memory mapping with the new requested attribute.
      
      This makes sure that there is no window when identity map'ed attribute
      may disagree with ioremap range on the attribute type.
      
      This also avoids doing cpa on the ioremap'ed address twice (first in
      ioremap_page_range and then in ioremap_change_attr using vaddr), and
      should improve ioremap performance a bit.
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      Signed-off-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      LKML-Reference: <20090409212708.373330000@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      43a432b1
    • Andy Grover's avatar
      x86: Document get_user_pages_fast() · a0d22f48
      Andy Grover authored
      While better than get_user_pages(), the usage of gupf(),
      especially the return values and the fact that it can
      potentially only partially pin the range, warranted some
      documentation.
      Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
      Cc: npiggin@suse.de
      Cc: akpm@linux-foundation.org
      LKML-Reference: <1239320729-3262-1-git-send-email-andy.grover@oracle.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a0d22f48
    • Weidong Han's avatar
      x86, intr-remap: fix eoi for interrupt remapping without x2apic · 746cddd3
      Weidong Han authored
      To simplify level irq migration in the presence of interrupt-remapping,
      Suresh used a virtual vector (io-apic pin number) to eliminate io-apic
      RTE modification. Level triggered interrupt will appear as an edge to
      the local apic cpu but still as level to the IO-APIC. So in addition to
      do the local apic EOI, it still needs to do IO-APIC directed EOI to clear
      the remote IRR bit in the IO-APIC RTE. Pls refer to Suresh's patch for
      more details (commit 0280f7c4).
      
      Now interrupt remapping is decoupled from x2apic, it also needs to do the
      directed EOI for apic. Otherwise, apic interrupts won't work correctly.
      Signed-off-by: default avatarWeidong Han <weidong.han@intel.com>
      Cc: iommu@lists.linux-foundation.org
      Cc: Weidong Han <weidong.han@intel.com>
      Cc: suresh.b.siddha@intel.com
      Cc: dwmw2@infradead.org
      Cc: allen.m.kay@intel.com
      LKML-Reference: <1239355037-22856-1-git-send-email-weidong.han@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      746cddd3
  2. 09 Apr, 2009 1 commit
  3. 08 Apr, 2009 4 commits
  4. 07 Apr, 2009 32 commits