1. 10 Jan, 2007 4 commits
    • Alexander Bigga's avatar
      [MIPS] Alchemy: Fix PCI-memory access · 8a93c496
      Alexander Bigga authored
          
          The problem was introduced in 2.6.18.3 with the casting of some
          36bit-defines (PCI memory) in au1000.h to resource_size_t which may be
          u32 or u64 depending on the experimental CONFIG_RESOURCES_64BIT.
          
          With unset CONFIG_RESOURCES_64BIT, the pci-memory cannot be accessed
          because the ioremap in arch/mips/au1000/common/pci.c already used the
          truncated addresses.
          With set CONFIG_RESOURCES_64BIT, things get even worse, because PCI-scan
          aborts, due to resource conflict: request_resource() in arch/mips/pci/pci.c
          fails because the maximum iomem-address is 0xffffffff (32bit) but the
          pci-memory-start-address is 0x440000000 (36bit).
          
          To get pci working again, I propose the following patch:
          
          1. remove the resource_size_t-casting from au1000.h again
          2. make the casting in arch/mips/au1000/common/pci.c (it's allowed and
          necessary here. The 36bit-handling will be done in __fixup_bigphys_addr).
          
          With this patch pci works again like in 2.6.18.2, the gcc-compile warnings
          in pci.c are gone and it doesn't depend on CONFIG_EXPERIMENTAL.
      Signed-off-by: default avatarAlexander Bigga <ab@mycable.de>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      
      ---
      8a93c496
    • Atsushi Nemoto's avatar
      [MIPS] Fix N32 SysV IPC routines · e16d8df0
      Atsushi Nemoto authored
      Add wrappers for N32 msg{snd,rcv}.  compat_sys_msg{snd,rcv} can not not be
      used as system call entries as is.  This fix is based on Kaz Kylheku's
      patch.
      
      Also change a type of last argument of sysn32_semctl to match its true
      size.
      Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e16d8df0
    • Atsushi Nemoto's avatar
      6b4cd275
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · f3a2c3ee
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
        IB/mthca: Don't execute QUERY_QP firmware command for QP in RESET state
        IB/ehca: Use proper GFP_ flags for get_zeroed_page()
        IB/mthca: Fix PRM compliance problem in atomic-send completions
        RDMA/ucma: Don't report events with invalid user context
        RDMA/ucma: Fix struct ucma_event leak when backlog is full
        RDMA/iwcm: iWARP connection timeouts shouldn't be reported as rejects
        IB/iser: Return error code when PDUs may not be sent
        IB/mthca: Fix off-by-one in FMR handling on memfree
      f3a2c3ee
  2. 09 Jan, 2007 36 commits