Skip to content
  1. Aug 05, 2009
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · ae830600
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (47 commits)
        ehea: Fix napi list corruption on ifconfig down
        igbvf: Allow VF driver to correctly recognize failure to set mac
        3c59x: Fix build failure with gcc 3.2
        sky2: Avoid transmits during sky2_down()
        iwlagn: do not send key clear commands when rfkill enabled
        libertas: Read buffer overflow
        drivers/net/wireless: introduce missing kfree
        drivers/net/wireless/iwlwifi: introduce missing kfree
        zd1211rw: fix unaligned access in zd_mac_rx
        cfg80211: fix regression on beacon world roaming feature
        cfg80211: add two missing NULL pointer checks
        ixgbe: Patch to modify 82598 PCIe completion timeout values
        bluetooth: rfcomm_init bug fix
        mlx4_en: Fix double pci unmapping.
        mISDN: Fix handling of receive buffer size in L1oIP
        pcnet32: VLB support fixes
        pcnet32: remove superfluous NULL pointer check in pcnet32_probe1()
        net: restore the original spinlock to protect unicast list
        netxen: fix coherent dma mask setting
        mISDN: Read buffer overflow
        ...
      ae830600
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · 2edb3898
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6: (23 commits)
        [SCSI] sd: Avoid sending extended inquiry to legacy devices
        [SCSI] libsas: fix wide port hotplug issues
        [SCSI] libfc: fix a circular locking warning during sending RRQ
        [SCSI] qla4xxx: Remove hiwat code so scsi eh does not get escalated when we can make progress
        [SCSI] qla4xxx: Fix srb lookup in qla4xxx_eh_device_reset
        [SCSI] qla4xxx: Fix Driver Fault Recovery Completion
        [SCSI] qla4xxx: add timeout handler
        [SCSI] qla4xxx: Correct Extended Sense Data Errors
        [SCSI] libiscsi: disable bh in and abort handler.
        [SCSI] zfcp: Fix tracing of request id for abort requests
        [SCSI] zfcp: Fix wka port processing
        [SCSI] zfcp: avoid double notify in lowmem scenario
        [SCSI] zfcp: Add port only once to FC transport class
        [SCSI] zfcp: Recover from stalled outbound queue
        [SCSI] zfcp: Fix erp escalation procedure
        [SCSI] zfcp: Fix logic for physical port close
        [SCSI] zfcp: Use -EIO for SBAL allocation failures
        [SCSI] zfcp: Use unchained mode for small ct and els requests
        [SCSI] zfcp: Use correct flags for zfcp_erp_notify
        [SCSI] zfcp: Return -ENOMEM for allocation failures in zfcp_fsf
        ...
      2edb3898
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · c71c090f
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        amd64_edac: print debug statements only on error
        amd64_edac: fix ECC checking
      c71c090f
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 78ec75cd
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/ttm: Read buffer overflow
        drm/radeon: Read buffer overflow
        drm/ttm: Fix a sync object leak.
        drm/radeon/kms: fix memory leak in radeon_driver_load_kms
        drm/radeon/kms: fix nomodeset.
        drm/ttm: Fix a potential comparison of structs.
        drm/radeon/kms: fix rv515 VRAM initialisation.
        drm/radeon: add some new r7xx pci ids
        drm: Catch stop possible NULL pointer reference
        drm: Small logic fix in drm_mode_setcrtc
      78ec75cd
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-2.6 · 1ee5332c
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-2.6:
        parisc: hppb.c - fix printk format strings
        parisc: parisc-agp.c - use correct page_mask function
        parisc: sticore.c - check return values
        parisc: dino.c - check return value of pci_assign_resource()
        parisc: hp_sdc_mlc.c - check return value of down_trylock()
        parisc: includecheck fix for ccio-dma.c
        parisc: Set correct bit in protection flags
        parisc: isa-eeprom - Fix loff_t usage
        parisc: fixed faulty check in lba_pci
        parisc: Fix read buffer overflow in pdc_stable driver
        parisc: Fix GOT overflow during module load on 64bit kernel
      1ee5332c
    • Jonathan Corbet's avatar
      flex_array: remove unneeded index calculation · 07868201
      Jonathan Corbet authored
      
      
      flex_array_get() calculates an index value, then drops it on the floor;
      simply remove it.
      
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Acked-by: default avatarDave Hansen <dave@linux.vnet.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      07868201
    • Linus Torvalds's avatar
      Merge branch 'perfcounters-fixes-for-linus' of... · a40694a3
      Linus Torvalds authored
      Merge branch 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        perf_counter: Set the CONFIG_PERF_COUNTERS default to y if CONFIG_PROFILING=y
        perf: Fix read buffer overflow
        perf top: Add mwait_idle_with_hints to skip_symbols[]
        perf tools: Fix faulty check
        perf report: Update for the new FORK/EXIT events
        perf_counter: Full task tracing
        perf_counter: Collapse inherit on read()
        tracing, perf_counter: Add help text to CONFIG_EVENT_PROFILE
        perf_counter tools: Fix link errors with older toolchains
      a40694a3
    • Linus Torvalds's avatar
      Merge branch 'sched-fixes-for-linus' of... · ea563424
      Linus Torvalds authored
      Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        sched: Fix race in cpupri introduced by cpumask_var changes
        sched: Fix latencytop and sleep profiling vs group scheduling
      ea563424
    • Linus Torvalds's avatar
      Merge branch 'timers-fixes-for-linus' of... · 7193675d
      Linus Torvalds authored
      Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        posix-timers: Fix oops in clock_nanosleep() with CLOCK_MONOTONIC_RAW
      7193675d
    • Linus Torvalds's avatar
      Merge branch 'tracing-fixes-for-linus' of... · 9c66812b
      Linus Torvalds authored
      Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        tracing: Fix missing function_graph events when we splice_read from trace_pipe
        tracing: Fix invalid function_graph entry
        trace: stop tracer in oops_enter()
        ftrace: Only update $offset when we update $ref_func
        ftrace: Fix the conditional that updates $ref_func
        tracing: only truncate ftrace files when O_TRUNC is set
        tracing: show proper address for trace-printk format
      9c66812b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · b5a7c9a0
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
        mfd: twl4030 irq fixes
      b5a7c9a0
    • Linus Torvalds's avatar
      Merge branch 'x86-fixes-for-linus' of... · 067e1813
      Linus Torvalds authored
      Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86: Work around compilation warning in arch/x86/kernel/apm_32.c
        x86, UV: Complete IRQ interrupt migration in arch_enable_uv_irq()
        x86, 32-bit: Fix double accounting in reserve_top_address()
        x86: Don't use current_cpu_data in x2apic phys_pkg_id
        x86, UV: Fix UV apic mode
        x86, UV: Fix macros for accessing large node numbers
        x86, UV: Delete mapping of MMR rangs mapped by BIOS
        x86, UV: Handle missing blade-local memory correctly
        x86: fix assembly constraints in native_save_fl()
        x86, msr: execute on the correct CPU subset
        x86: Fix assert syntax in vmlinux.lds.S
        x86: Make 64-bit efi_ioremap use ioremap on MMIO regions
        x86: Add quirk to make Apple MacBook5,2 use reboot=pci
        x86: Fix CPA memtype reserving in the set_pages_array*() cases
        x86, pat: Fix set_memory_wc related corruption
        x86: fix section mismatch for i386 init code
      067e1813
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq · 3f5760b9
      Linus Torvalds authored
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
        [CPUFREQ] Make cpufreq suspend code conditional on powerpc.
        [CPUFREQ] Fix a kobject reference bug related to managed CPUs
        [CPUFREQ] Do not set policy for offline cpus
        [CPUFREQ] Fix NULL pointer dereference regression in conservative governor
      3f5760b9
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2 · 624720e0
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
        nilfs2: fix missing unlock in error path of nilfs_mdt_write_page
        nilfs2: fix oops due to inconsistent state in page with discrete b-tree nodes
      624720e0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 849c9caa
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        [CIFS] Update readme to reflect forceuid mount parms
        cifs: Read buffer overflow
        cifs: show noforceuid/noforcegid mount options (try #2)
        cifs: reinstate original behavior when uid=/gid= options are specified
        [CIFS] Updates fs/cifs/CHANGES
        cifs: fix error handling in mount-time DFS referral chasing code
      849c9caa
    • Hannes Hering's avatar
      ehea: Fix napi list corruption on ifconfig down · 357eb46d
      Hannes Hering authored
      
      
      This patch fixes the napi list handling when an ehea interface is shut
      down to avoid corruption of the napi list.
      
      Signed-off-by: default avatarHannes Hering <hering2@de.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      357eb46d
    • Alexander Duyck's avatar
      igbvf: Allow VF driver to correctly recognize failure to set mac · e0cff5ed
      Alexander Duyck authored
      
      
      The VF driver was not correctly recognizing that it did not correctly set
      it's mac address.  As a result the VF driver was unable to receive network
      traffic until being unloaded and reloaded.  The issue was root caused to
      the fact that the CTS bit was not taken into account when checking for the
      request being NAKed.
      
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e0cff5ed
    • Dave Jones's avatar
      [CPUFREQ] Make cpufreq suspend code conditional on powerpc. · 4bc5d341
      Dave Jones authored
      The suspend code runs with interrupts disabled, and the powerpc workaround we
      do in the cpufreq suspend hook calls the drivers ->get method.
      
      powernow-k8's ->get does an smp_call_function_single
      which needs interrupts enabled
      
      cpufreq's suspend/resume code was added in 42d4dc3f
      
       to work around
      a hardware problem on ppc powerbooks.  If we make all this code
      conditional on powerpc, we avoid the issue above.
      
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      4bc5d341
    • Thomas Renninger's avatar
      [CPUFREQ] Fix a kobject reference bug related to managed CPUs · d5194dec
      Thomas Renninger authored
      The first offline/online cycle is successful, the second not.
      Doing:
      echo 0 >cpu1/online
      echo 1 >cpu1/online
      echo 0 >cpu1/online
      
      The last command will trigger:
      Jul 22 14:39:50 linux kernel: [  593.210125] ------------[ cut here ]------------
      Jul 22 14:39:50 linux kernel: [  593.210139] WARNING: at lib/kref.c:43 kref_get+0x23/0x2b()
      Jul 22 14:39:50 linux kernel: [  593.210144] Hardware name: To Be Filled By O.E.M.
      Jul 22 14:39:50 linux kernel: [  593.210148] Modules linked in: powernow_k8
      Jul 22 14:39:50 linux kernel: [  593.210158] Pid: 378, comm: kondemand/2 Tainted: G        W  2.6.31-rc2 #38
      Jul 22 14:39:50 linux kernel: [  593.210163] Call Trace:
      Jul 22 14:39:50 linux kernel: [  593.210171]  [<ffffffff812008e8>] ? kref_get+0x23/0x2b
      Jul 22 14:39:50 linux kernel: [  593.210181]  [<ffffffff81041926>] warn_slowpath_common+0x77/0xa4
      Jul 22 14:39:50 linux kernel: [  593.210190]  [<ffffffff81041962>] warn_slowpath_null+0xf/0x11
      Jul 22 14:39:50 linux kernel: [  593.210198]  [<ffffffff812008e8>] kref_get+0x23/0x2b
      Jul 22 14:39:50 linux kernel: [  593.210206]  [<ffffffff811ffa19>] kobject_get+0x1a/0x22
      Jul 22 14:39:50 linux kernel: [  593.210214]  [<ffffffff813e815d>] cpufreq_cpu_get+0x8a/0xcb
      Jul 22 14:39:50 linux kernel: [  593.210222]  [<ffffffff813e87d1>] __cpufreq_driver_getavg+0x1d/0x67
      Jul 22 14:39:50 linux kernel: [  593.210231]  [<ffffffff813ea18f>] do_dbs_timer+0x158/0x27f
      Jul 22 14:39:50 linux kernel: [  593.210240]  [<ffffffff810529ea>] worker_thread+0x200/0x313
      ...
      
      The output continues on every do_dbs_timer ondemand freq checking poll.
      This regression was introduced by git commit:
      3f4a782b
      
      
      
      The policy is released when the cpufreq device is removed in:
      __cpufreq_remove_dev():
      	/* if this isn't the CPU which is the parent of the kobj, we
      	 * only need to unlink, put and exit
      	 */
      
      Not creating the symlink is not sever at all.
      As long as:
      sysfs_remove_link(&sys_dev->kobj, "cpufreq");
      handles it gracefully that the symlink did not exist.
      Possibly no error should be returned at all, because ondemand
      governor would still provide the same functionality.
      Userspace in userspace gov case might be confused if the link
      is missing.
      
      Resolves http://bugzilla.kernel.org/show_bug.cgi?id=13903
      
      CC: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      CC: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      d5194dec
    • Prarit Bhargava's avatar
      [CPUFREQ] Do not set policy for offline cpus · 42c74b84
      Prarit Bhargava authored
      
      
      Suspend/Resume fails on multi socket, multi core systems because the cpufreq
      code erroneously sets the per_cpu policy_cpu value when a logical cpu is
      offline.
      
      This most notably results in missing sysfs files that are used to set the
      cpu frequencies of the various cpus.
      
      Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      42c74b84
    • Pallipadi, Venkatesh's avatar
      [CPUFREQ] Fix NULL pointer dereference regression in conservative governor · 26d204af
      Pallipadi, Venkatesh authored
      Commit ee88415c
      
      
      introduced this regression when it removed enable bit in cpu_dbs_info_s.
      That added a possibility of dbs_cpufreq_notifier getting called for a
      CPU that is not yet managed by conservative governor. That will happen
      as the transition notifier is set as soon as one CPU switches to
      conservative governor and other CPUs can get a NULL pointer dereference
      without the enable bit check. Add the enable bit back again.
      
      Reported-by: default avatarLermytte Christophe <Christophe.Lermytte@thomson.net>
      Signed-off-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      26d204af
    • Russell King's avatar
      mfd: twl4030 irq fixes · 1cef8e41
      Russell King authored
      
      
      The TWL4030 IRQ handler has a bug which leads to spinlock lock-up. It is
      calling the 'unmask' function in a process context. :The mask/unmask/ack
      functions are only designed to be called from the IRQ handler code,
      or the proper API interfaces found in linux/interrupt.h.
      
      Also there is no need to have IRQ chaining mechanism. The right way to
      handle this is to claim the parent interrupt as a standard interrupt
      and arrange for handle_twl4030_pih to take care of the rest of the devices.
      
      Mail thread on this issue can be found at:
      http://marc.info/?l=linux-arm-kernel&m=124629940123396&w=2
      
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Tested-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      1cef8e41
    • Ingo Molnar's avatar
      perf_counter: Set the CONFIG_PERF_COUNTERS default to y if CONFIG_PROFILING=y · f2654260
      Ingo Molnar authored
      
      
      If user has already enabled profiling support in the kernel
      (for oprofile, old-style profiling of ftrace) then offer up
      perfcounters with a y default in interactive kconfig sessions.
      
      Still keep it off by default otherwise.
      
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      f2654260
  2. Aug 04, 2009