1. 11 1月, 2007 3 次提交
    • A
      [MIPS] Alchemy: Fix PCI-memory access · 8a93c496
      Alexander Bigga 提交于
          
          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: NAlexander Bigga <ab@mycable.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
      ---
      8a93c496
    • A
      [MIPS] Fix N32 SysV IPC routines · e16d8df0
      Atsushi Nemoto 提交于
      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: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e16d8df0
    • A
      6b4cd275
  2. 10 1月, 2007 9 次提交
    • L
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · f3a2c3ee
      Linus Torvalds 提交于
      * '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
    • D
      IB/mthca: Don't execute QUERY_QP firmware command for QP in RESET state · f5e10529
      Dotan Barak 提交于
      If a QP being queried is in the RESET state, don't execute the
      QUERY_QP firmware command (because it will fail).
      Signed-off-by: NDotan Barak <dotanb@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f5e10529
    • H
      IB/ehca: Use proper GFP_ flags for get_zeroed_page() · f2d91361
      Hoang-Nam Nguyen 提交于
      Here is a patch for ehca to use proper flag, ie. GFP_ATOMIC
      resp. GFP_KERNEL, when calling get_zeroed_page() to prevent "Bug:
      scheduling while atomic...". This error does not cause a kernel panic
      but makes ipoib un-usable afterwards.  It is reproducible on
      2.6.20-rc4 if one does ifconfig down during a flood ping test.  I have
      not observed this error in earlier releases incl. 2.6.20-rc1.
      
      This error occurs when a qp event/irq is received and ehca event
      handler allocates a control block/page to obtain HCA error data block.
      Use of GFP_ATOMIC when in interrupt context prevents this issue.
      
      Signed-off-by Hoang-Nam Nguyen <hnguyen@de.ibm.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f2d91361
    • L
      Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa · 656829e2
      Linus Torvalds 提交于
      * 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa:
        [ALSA] version 1.0.14rc1
        [ALSA] usbaudio - Fix kobject_add() error at reconnection
        [ALSA] usb: usbmixer error path fix
        [ALSA] _snd_cmipci_uswitch_put doesn't set zero flags
        [ALSA] hda-codec - Fix NULL dereference in generic hda code
        [ALSA] hda_intel: ALSA HD Audio patch for Intel ICH9
        [ALSA] usb-audio: work around wrong frequency in CM6501 descriptors
        [ALSA] Fix potential NULL pointer dereference in echoaudio midi
        [ALSA] Audio: Add nvidia HD Audio controllers of MCP67 support to hda_intel.c
      656829e2
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 76a2f047
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [TCP]: Fix iov_len calculation in tcp_v4_send_ack().
        [NETFILTER]: nf_conntrack_netbios_ns: fix uninitialized member in expectation
        [TG3]: Add PHY workaround for 5755M.
        [BNX2]: Update version and reldate.
        [BNX2]: Fix bug in bnx2_nvram_write().
        [BNX2]: Fix 5709 Serdes detection.
        [BNX2]: Don't apply CRC PHY workaround to 5709.
        NetLabel: correct CIPSO tag handling when adding new DOI definitions
        NetLabel: correct locking in selinux_netlbl_socket_setsid()
        [Bluetooth] Correct SCO buffer for Broadcom based Dell laptops
        [Bluetooth] Correct SCO buffer for Broadcom based HP laptops
        [Bluetooth] Correct SCO buffer size for another ThinkPad laptop
        [Bluetooth] Handle device registration failures
        [Bluetooth] Fix uninitialized return value for RFCOMM sendmsg()
        [Bluetooth] More checks if DLC is still attached to the TTY
        [Bluetooth] Add packet size checks for CAPI messages
        [X25]: Trivial, SOCK_DEBUG's in x25_facilities missing newlines
        [INET]: Fix incorrect "inet_sock->is_icsk" assignment.
      76a2f047
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · 97bee8e2
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        pcnet_cs : add new id
        chelsio: error path fix
        s390: iucv Kconfig help description changes
        s390: qeth driver fixes: atomic context fixups
        s390: qeth driver fixes: packet socket
        s390: qeth driver fixes: VLAN hdr, perf stats
        forcedeth: sideband management fix
        Revert "[PATCH] e1000: disable TSO on the 82544 with slab debugging"
        qeth: fix uaccess handling and get rid of unused variable
        qla3xxx: Add delay to NVRAM register access.
        qla3xxx: Remove NETIF_F_LLTX from driver features.
        ixgb: Write RA register high word first, increment version
        ixgb: Maybe stop TX if not enough free descriptors
        ixgb: Fix early TSO completion
        [PATCH] ipw2100: Fix dropping fragmented small packet problem
        [PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix (select correct region)
      97bee8e2
    • L
      Merge branch 'merge' of master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc · 8ba1f279
      Linus Torvalds 提交于
      * 'merge' of master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc:
        [POWERPC] Fix bugs in the hypervisor call stats code
        [POWERPC] Fix corruption in hcall9
        [POWERPC] iSeries: fix setup initcall
        [POWERPC] iSeries: fix viopath initialisation
        [POWERPC] iSeries: fix lpevents initialisation
        [POWERPC] iSeries: fix proc/iSeries initialisation
        [POWERPC] iSeries: fix mf proc initialisation
        [POWERPC] disable PReP and EFIKA during make oldconfig
        [POWERPC] Fix mpc52xx serial driver to work for arch/ppc again
        [POWERPC] Don't include powerpc/sysdev/rom.o for arch/ppc builds
        [POWERPC] Fix mpc52xx fdt to use correct device_type for sound devices
        [POWERPC] 52xx: Don't use device_initcall to probe of_platform_bus
        [POWERPC] Add legacy iSeries to ppc64_defconfig
        [POWERPC] Update ppc64_defconfig
        [POWERPC] Fix manual assembly WARN_ON() in enter_rtas().
        [POWERPC] Avoid calling get_irq_server() with a real, not virtual irq.
        [POWERPC] Fix unbalanced uses of of_node_put
        [POWERPC] Fix bogus BUG_ON() in in hugetlb_get_unmapped_area()
      8ba1f279
    • L
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 599c8531
      Linus Torvalds 提交于
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] locking problem with __cpcmd.
        [S390] don't call handle_mm_fault() if in an atomic context.
        [S390] Fix vmalloc area size calculation.
        [S390] Fix cpu hotplug (missing 'online' attribute).
        [S390] cio: use barrier() in stsch_reset.
        [S390] memory detection misses 128k.
      599c8531
    • M
      [PATCH] i2c/pci: fix sis96x smbus quirk once and for all · 2f5c33b3
      Mark M. Hoffman 提交于
      The sis96x SMBus PCI device depends on two different quirks to run
      in a specific order.  Apart from being fragile, this was found to
      actually break on (at least) recent FC4, FC5, and FC6 kernels.  This
      patch fixes the quirks so that they work without relying on the
      compiler and/or linker to put them in any specific order.
      
        http://lists.lm-sensors.org/pipermail/lm-sensors/2006-April/015962.html
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189719
      
      I tested this patch.
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      Cc: Andrew Morton <akpm@osdl.org>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Greg K-H <greg@kroah.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2f5c33b3
  3. 09 1月, 2007 28 次提交