1. 08 2月, 2007 2 次提交
    • A
      [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories · 9d041268
      Andrew Victor 提交于
      Now that Linux includes support for the Atmel AT91SAM9260 and
      AT91SAM9261 processors in addition to the original Atmel AT91RM9200
      (with support for more AT91 processors pending), the "mach-at91rm9200"
      and "arch-at91rm9200" directories should be renamed to indicate their
      more generic nature.
      
      The following git commands should be run BEFORE applying this patch:
        git-mv arch/arm/mach-at91rm9200 arch/arm/mach-at91
        git-mv include/asm-arm/arch-at91rm9200 include/asm-arm/arch-at91
      Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9d041268
    • A
      [ARM] 4119/1: AT91: Fix build of AT91SAM9260 · a93d48cc
      Andrew Victor 提交于
      Fix build failure of AT91SAM9260.
      
      The AT91RM9200 ethernet driver (at91_ether.c) stores platform data in a
      "struct at91_eth_data" structure, but the AT91SAM9260 (and AT91SAM9263)
      ethernet driver (macb.c) [developed on the AVR32 architecture] expects a
      "struct eth_platform_data".
      
      Since the platform data of the two drivers is very similar, we continue
      to use the "struct at91_eth_data" for all AT91 processors but add a
          #define eth_platform_data      at91_eth_data
      in board.h to keep the MACB driver happy.
      
      Original patch by Jan Altenberg.
      Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a93d48cc
  2. 07 2月, 2007 8 次提交
  3. 05 2月, 2007 1 次提交
  4. 04 2月, 2007 2 次提交
  5. 03 2月, 2007 1 次提交
  6. 02 2月, 2007 3 次提交
  7. 31 1月, 2007 4 次提交
  8. 30 1月, 2007 3 次提交
  9. 29 1月, 2007 2 次提交
  10. 28 1月, 2007 2 次提交
  11. 27 1月, 2007 8 次提交
    • D
      [SPARC64]: Set g4/g5 properly in sun4v dtlb-prot handling. · 86d43258
      David S. Miller 提交于
      Mirror the logic in the sun4u handler, we have to update
      both registers even when we branch out to window fault
      fixup handling.
      
      The way it works is that if we are in etrap processing a
      fault already, g4/g5 holds the original fault information.
      If we take a window spill fault while doing etrap, then
      we put the window spill fault info into g4/g5 and this is
      what the top-level fault handler ends up processing first.
      
      Then we retry the originally faulting instruction, and
      process the original fault at that time.
      
      This is all necessary because of how constrained the trap
      registers are in these code paths.  These cases trigger
      very rarely, so even if there is some performance implication
      it's doesn't happen very often.  In fact the rarity is why
      it took so long to trigger and find this particular bug.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86d43258
    • D
      Fix Maple PATA IRQ assignment. · 8cdf92a9
      David Woodhouse 提交于
      On the Maple board, the AMD8111 IDE is in legacy mode... except that it
      appears on IRQ 20 instead of IRQ 15. For drivers/ide this was handled by
      the architecture's "pci_get_legacy_ide_irq()" function, but in libata we
      just hard-code the numbers 14 and 15.
      
      This patch provides asm-powerpc/libata-portmap.h which maps the IRQ as
      appropriate, having added a pci_dev argument to the
      ATA_{PRIM,SECOND}ARY_IRQ macros.
      
      There's probably a better way to do this -- especially if we observe
      that the _only_ case in which this seemingly-generic
      "pci_get_legacy_ide_irq()" function returns anything other than 14 and
      15 for primary and secondary respectively is the case of the AMD8111 on
      the Maple board -- couldn't we handle that with a special case in the
      pata_amd driver, or perhaps with a PCI quirk for Maple to switch it into
      native mode during early boot and assign resources properly?
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      8cdf92a9
    • J
      [PATCH] Fix UML on non-standard VM split hosts · fe33f6f1
      Jeff Dike 提交于
      This fixes UML on hosts with non-standard VM splits.  We had changed the
      config variable that controls UML behavior on such hosts, but not
      propogated the change everywhere.  In particular, the values of STUB_CODE
      and STUB_DATA relied on the old variable.
      
      I also reformatted the HOST_VMSPLIT_3G help to make it more standard.
      
      Spotted by uml@flonatel.org.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Blaisorblade <blaisorblade@yahoo.it>
      Cc: Pravin <shindepravin@gmail.com>
      Cc: <uml@flonatel.org>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fe33f6f1
    • R
      [PATCH] x86_64 ia32 vDSO: define arch_vma_name · c633090e
      Roland McGrath 提交于
      This patch makes x86_64 define arch_vma_name for CONFIG_IA32_EMULATION.  This
      makes the ia32 vDSO mapping appear in /proc/PID/maps with "[vdso]" for ia32
      processes, as it does on native i386.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c633090e
    • R
      [PATCH] powerpc vDSO: use VM_ALWAYSDUMP · 3a0cfadb
      Roland McGrath 提交于
      This patch fixes core dumps to include the vDSO vma, which is left out now.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3a0cfadb
    • R
      [PATCH] x86_64 ia32 vDSO: use VM_ALWAYSDUMP · e03f0ca1
      Roland McGrath 提交于
      This patch fixes ia32 core dumps on x86_64 to include just one phdr for the
      vDSO vma.  Currently it writes a confused format with two phdrs for the
      address, one without contents and one with.  This patch removes the
      special-case core writing macros for the ia32 vDSO.  Instead, it uses
      VM_ALWAYSDUMP in the vma.  This changes core dumps so they no longer include
      the non-PT_LOAD phdrs from the vDSO, consistent with fixed native i386 core
      dumps.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e03f0ca1
    • R
      [PATCH] i386 vDSO: use VM_ALWAYSDUMP · f47aef55
      Roland McGrath 提交于
      This patch fixes core dumps to include the vDSO vma, which is left out now.
      It removes the special-case core writing macros, which were not doing the
      right thing for the vDSO vma anyway.  Instead, it uses VM_ALWAYSDUMP in the
      vma; there is no need for the fixmap page to be installed.  It handles the
      CONFIG_COMPAT_VDSO case by making elf_core_dump use the fake vma from
      get_gate_vma after real vmas in the same way the /proc/PID/maps code does.
      
      This changes core dumps so they no longer include the non-PT_LOAD phdrs from
      the vDSO.  I made the change to add them in the first place, but in turned out
      that nothing ever wanted them there since the advent of NT_AUXV.  It's cleaner
      to leave them out, and just let the phdrs inside the vDSO image speak for
      themselves.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f47aef55
    • R
      [PATCH] Fix CONFIG_COMPAT_VDSO · a1f3bb9a
      Roland McGrath 提交于
      I wouldn't mind if CONFIG_COMPAT_VDSO went away entirely.  But if it's there,
      it should work properly.  Currently it's quite haphazard: both real vma and
      fixmap are mapped, both are put in the two different AT_* slots, sysenter
      returns to the vma address rather than the fixmap address, and core dumps yet
      are another story.
      
      This patch makes CONFIG_COMPAT_VDSO disable the real vma and use the fixmap
      area consistently.  This makes it actually compatible with what the old vdso
      implementation did.
      Signed-off-by: NRoland McGrath <roland@redhat.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a1f3bb9a
  12. 26 1月, 2007 4 次提交