08 Jun, 2011

1 commit


04 Jun, 2011

3 commits

  • In case of BCMA cards SPROM is located in the ChipCommon core, it is
    not mapped as separated host window. So far we have met only SPROMs rev
    8.
    SPROM layout seems to be the same as for SSB buses, so we decided to
    share SPROM struct and some defines.
    For now we extract MAC address only, this can be improved of course.

    Signed-off-by: Rafał Miłecki
    Signed-off-by: John W. Linville

    Rafał Miłecki
     
  • The brcm80211 driver in the staging tree has a cordic function to
    determine cosine and sine for a given angle. Feedback received from
    John Linville suggested that these kind of functions should be made
    available to others as a library function in the kernel tree. The
    b43 driver also has a cordic angle calculation implemented.

    Cc: linux-kernel@vger.kernel.org
    Cc: linux-wireless@vger.kernel.org
    Cc: "John W. Linville"
    Cc: Greg Kroah-Hartman
    Cc: Dan Carpenter
    Cc: Randy Dunlap
    Cc: Larry Finger
    Reviewed-by: Roland Vossen
    Reviewed-by: Henry Ptasinski
    Reviewed-by: Franky (Zhenhui) Lin
    Signed-off-by: Arend van Spriel
    Signed-off-by: John W. Linville

    Arend van Spriel
     
  • The brcm80211 driver in staging tree uses a crc8 function. Based on
    feedback from John Linville to move this to lib directory, the linux
    source has been searched. Although there is currently only one other
    kernel driver using this algorithm (ie. drivers/ssb) we are providing
    this as a library function for others to use.

    Cc: linux-kernel@vger.kernel.org
    Cc: linux-wireless@vger.kernel.org
    Cc: Dan Carpenter
    Cc: George Spelvin
    Cc: Randy Dunlap
    Reviewed-by: Henry Ptasinski
    Reviewed-by: Roland Vossen
    Reviewed-by: "Franky (Zhenhui) Lin"
    Signed-off-by: Arend van Spriel
    Signed-off-by: John W. Linville

    Arend van Spriel
     

02 Jun, 2011

3 commits


28 May, 2011

4 commits


27 May, 2011

3 commits


26 May, 2011

2 commits


25 May, 2011

1 commit


24 May, 2011

5 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: Deal with hyperthetical case of PAGE_SIZE > 2M
    slub: Remove node check in slab_free
    slub: avoid label inside conditional
    slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath
    slub: Avoid warning for !CONFIG_SLUB_DEBUG
    slub: Remove CONFIG_CMPXCHG_LOCAL ifdeffery
    slub: Move debug handlign in __slab_free
    slub: Move node determination out of hotpath
    slub: Eliminate repeated use of c->page through a new page variable
    slub: get_map() function to establish map of free objects in a slab
    slub: Use NUMA_NO_NODE in get_partial
    slub: Fix a typo in config name

    Linus Torvalds
     
  • Conflicts:
    mm/slub.c

    Pekka Enberg
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
    hwmon: (coretemp) Fix checkpatch errors
    hwmon: Remove pkgtemp driver
    hwmon: (coretemp) Merge pkgtemp with coretemp
    hwmon: (pmbus) Add support for Analog Devices ADM1275
    hwmon: (pmbus) Support for TI UCD90xxx series Sequencer and System Health Controllers
    hwmon: (pmbus) Add support for TI UCD9200 series of PWM System Controllers
    hwmon: (pmbus) Use device specific function to read fan configuration
    hwmon: (pmbus) Expand scope of device specific get_status function
    hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers
    hwmon: Driver for MAX16065 System Manager and compatibles
    hwmon: (sht15) add support for CRC validation
    hwmon: (sht15) add support for the status register
    hwmon: (sht15) clean-up the probe function
    hwmon: (sht15) general code clean-up
    hwmon: Add support for MAX6642

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf tools: Fix sample size bit operations
    perf tools: Fix ommitted mmap data update on remap
    watchdog: Change the default timeout and configure nmi watchdog period based on watchdog_thresh
    watchdog: Disable watchdog when thresh is zero
    watchdog: Only disable/enable watchdog if neccessary
    watchdog: Fix rounding bug in get_sample_period()
    perf tools: Propagate event parse error handling
    perf tools: Robustify dynamic sample content fetch
    perf tools: Pre-check sample size before parsing
    perf tools: Move evlist sample helpers to evlist area
    perf tools: Remove junk code in mmap size handling
    perf tools: Check we are able to read the event size on mmap

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    b43: fix comment typo reqest -> request
    Haavard Skinnemoen has left Atmel
    cris: typo in mach-fs Makefile
    Kconfig: fix copy/paste-ism for dell-wmi-aio driver
    doc: timers-howto: fix a typo ("unsgined")
    perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
    md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
    treewide: fix a few typos in comments
    regulator: change debug statement be consistent with the style of the rest
    Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
    audit: acquire creds selectively to reduce atomic op overhead
    rtlwifi: don't touch with treewide double semicolon removal
    treewide: cleanup continuations and remove logging message whitespace
    ath9k_hw: don't touch with treewide double semicolon removal
    include/linux/leds-regulator.h: fix syntax in example code
    tty: fix typo in descripton of tty_termios_encode_baud_rate
    xtensa: remove obsolete BKL kernel option from defconfig
    m68k: fix comment typo 'occcured'
    arch:Kconfig.locks Remove unused config option.
    treewide: remove extra semicolons
    ...

    Linus Torvalds
     

23 May, 2011

16 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (346 commits)
    ASoC: core: Don't set "(null)" as a driver name
    ALSA: hda - Use LPIB for ATI/AMD chipsets as default
    Revert "ALSA: hda - Use position_fix=3 as default for AMD chipsets"
    ASoC: Tegra: Fix compile when debugfs not enabled
    ASoC: spdif-dit: Add missing MODULE_*
    SOUND: OSS: Remove Au1550 driver.
    ALSA: hda - add Intel Panther Point HDMI codec id
    ALSA: emu10k1 - Add dB range to Bass and Treble for SB Live!
    ALSA: hda - Remove PCM mixer elements from Virtual Master of realtek
    ALSA: hda - Fix input-src parse in patch_analog.c
    ASoC: davinci-mcasp: enable ping-pong SRAM buffers
    ASoC: add iPAQ hx4700 machine driver
    ASoC: Asahi Kasei AK4641 codec driver
    ALSA: hda - Enable Realtek ALC269 codec input layer beep
    ALSA: intel8x0m: enable AMD8111 modem
    ALSA: HDA: Add jack detection for HDMI
    ALSA: sound, core, pcm_lib: fix xrun_log
    ASoC: Max98095: Move existing NULL check before pointer dereference.
    ALSA: sound, core, pcm_lib: xrun_log: log also in_interrupt
    ALSA: usb-audio - Add support for USB X-Fi S51 Pro
    ...

    Linus Torvalds
     
  • * 'kvm-updates/2.6.40' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (131 commits)
    KVM: MMU: Use ptep_user for cmpxchg_gpte()
    KVM: Fix kvm mmu_notifier initialization order
    KVM: Add documentation for KVM_CAP_NR_VCPUS
    KVM: make guest mode entry to be rcu quiescent state
    KVM: x86 emulator: Make jmp far emulation into a separate function
    KVM: x86 emulator: Rename emulate_grpX() to em_grpX()
    KVM: x86 emulator: Remove unused arg from emulate_pop()
    KVM: x86 emulator: Remove unused arg from writeback()
    KVM: x86 emulator: Remove unused arg from read_descriptor()
    KVM: x86 emulator: Remove unused arg from seg_override()
    KVM: Validate userspace_addr of memslot when registered
    KVM: MMU: Clean up gpte reading with copy_from_user()
    KVM: PPC: booke: add sregs support
    KVM: PPC: booke: save/restore VRSAVE (a.k.a. USPRG0)
    KVM: PPC: use ticks, not usecs, for exit timing
    KVM: PPC: fix exit accounting for SPRs, tlbwe, tlbsx
    KVM: PPC: e500: emulate SVR
    KVM: VMX: Cache vmcs segment fields
    KVM: x86 emulator: consolidate segment accessors
    KVM: VMX: Avoid reading %rip unnecessarily when handling exceptions
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (27 commits)
    bnx2x: allow device properly initialize after hotplug
    bnx2x: fix DMAE timeout according to hw specifications
    bnx2x: properly handle CFC DEL in cnic flow
    bnx2x: call dev_kfree_skb_any instead of dev_kfree_skb
    net: filter: move forward declarations to avoid compile warnings
    pktgen: refactor pg_init() code
    pktgen: use vzalloc_node() instead of vmalloc_node() + memset()
    net: skb_trim explicitely check the linearity instead of data_len
    ipv4: Give backtrace in ip_rt_bug().
    net: avoid synchronize_rcu() in dev_deactivate_many
    net: remove synchronize_net() from netdev_set_master()
    rtnetlink: ignore NETDEV_RELEASE and NETDEV_JOIN event
    net: rename NETDEV_BONDING_DESLAVE to NETDEV_RELEASE
    bridge: call NETDEV_JOIN notifiers when add a slave
    netpoll: disable netpoll when enslave a device
    macvlan: Forward unicast frames in bridge mode to lowerdev
    net: Remove linux/prefetch.h include from linux/skbuff.h
    ipv4: Include linux/prefetch.h in fib_trie.c
    netlabel: Remove prefetches from list handlers.
    drivers/net: add prefetch header for prefetch users
    ...

    Fixed up prefetch parts: removed a few duplicate prefetch.h includes,
    fixed the location of the igb prefetch.h, took my version of the
    skbuff.h code without the extra parentheses etc.

    Linus Torvalds
     
  • * 'exec_rm_compat' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc:
    exec: document acct_arg_size()
    exec: unify do_execve/compat_do_execve code
    exec: introduce struct user_arg_ptr
    exec: introduce get_user_arg_ptr() helper

    Linus Torvalds
     
  • Before the conversion of the NMI watchdog to perf event, the
    watchdog timeout was 5 seconds. Now it is 60 seconds. For my
    particular application, netbooks, 5 seconds was a better
    timeout. With a short timeout, we catch faults earlier and are
    able to send back a panic. With a 60 second timeout, the user is
    unlikely to wait and will instead hit the power button, causing
    us to lose the panic info.

    This change configures the NMI period to watchdog_thresh and
    sets the softlockup_thresh to watchdog_thresh * 2. In addition,
    watchdog_thresh was reduced to 10 seconds as suggested by Ingo
    Molnar.

    Signed-off-by: Mandeep Singh Baines
    Cc: Marcin Slusarz
    Cc: Don Zickus
    Cc: Peter Zijlstra
    Cc: Frederic Weisbecker
    Link: http://lkml.kernel.org/r/1306127423-3347-4-git-send-email-msb@chromium.org
    Signed-off-by: Ingo Molnar
    LKML-Reference:

    Mandeep Singh Baines
     
  • This restores the previous behavior of softlock_thresh.

    Currently, setting watchdog_thresh to zero causes the watchdog
    kthreads to consume a lot of CPU.

    In addition, the logic of proc_dowatchdog_thresh and
    proc_dowatchdog_enabled has been factored into proc_dowatchdog.

    Signed-off-by: Mandeep Singh Baines
    Cc: Marcin Slusarz
    Cc: Don Zickus
    Cc: Peter Zijlstra
    Cc: Frederic Weisbecker
    Link: http://lkml.kernel.org/r/1306127423-3347-3-git-send-email-msb@chromium.org
    Signed-off-by: Ingo Molnar
    LKML-Reference:

    Mandeep Singh Baines
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
    nilfs2: use mark_buffer_dirty to mark btnode or meta data dirty
    nilfs2: always set back pointer to host inode in mapping->host
    nilfs2: get rid of NILFS_I_NILFS
    nilfs2: use list_first_entry
    nilfs2: use empty_aops for gc-inodes
    nilfs2: implement resize ioctl
    nilfs2: add truncation routine of segment usage file
    nilfs2: add routine to move secondary super block
    nilfs2: add ioctl which limits range of segment to be allocated
    nilfs2: zero fill unused portion of super root block
    nilfs2: super root size should change depending on inode size
    nilfs2: get rid of private page allocator
    nilfs2: merge list_del()/list_add_tail() to list_move_tail()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6:
    ide/ide-scan-pci.c: Use for_each_pci_dev().
    ide: Use linux/mutex.h
    IDE: ide-floppy, remove unnecessary NULL check
    drivers/ide/pmac.c: Remove unnecessary casts of pci_get_drvdata
    ide: fix use after free in ide-acpi

    Linus Torvalds
     
  • Commit e66eed651fd1 ("list: remove prefetching from regular list
    iterators") removed the include of prefetch.h from list.h. The skbuff
    list traversal still had them.

    Quoth David Miller:
    "Please just remove the prefetches.

    Those are modelled after list.h as I intend to eventually convert
    SKB list handling to "struct list_head" but we're not there yet.

    Therefore if we kill prefetches from list.h we should kill it from
    these things in skbuff.h too."

    Requested-by: David Miller
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Get rid of this compile warning:

    In file included from arch/s390/kernel/compat_linux.c:37:0:
    include/linux/filter.h:139:23: warning: 'struct sk_buff' declared inside parameter list

    Signed-off-by: Heiko Carstens
    Signed-off-by: David S. Miller

    Heiko Carstens
     
  • The purpose of the check on data_len is to check linearity, so use the inline
    helper for this. No overhead and more explicit.

    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: David S. Miller

    Emmanuel Grumbach
     
  • s/NETDEV_BONDING_DESLAVE/NETDEV_RELEASE/ as Andy suggested.

    Signed-off-by: WANG Cong
    Cc: Andy Gospodarek
    Cc: Neil Horman
    Signed-off-by: David S. Miller

    Amerigo Wang
     
  • V3: rename NETDEV_ENSLAVE to NETDEV_JOIN

    Currently we do nothing when we enslave a net device which is running netconsole.
    Neil pointed out that we may get weird results in such case, so let's disable
    netpoll on the device being enslaved. I think it is too harsh to prevent
    the device being ensalved if it is running netconsole.

    By the way, this patch also removes the NETDEV_GOING_DOWN from netconsole
    netdev notifier, because netpoll will check if the device is running or not
    and we don't handle NETDEV_PRE_UP neither.

    This patch is based on net-next-2.6.

    Signed-off-by: WANG Cong
    Cc: Neil Horman
    Signed-off-by: David S. Miller

    Amerigo Wang
     
  • No longer needed.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Noticed by Linus.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Fixes build errors on s390 and probably other archs as well:

    In file included from net/ipv4/ip_forward.c:32:0:
    include/net/udp.h: In function 'udp_csum_outgoing':
    include/net/udp.h:141:2: error: implicit declaration of function 'prefetch'

    Signed-off-by: Heiko Carstens
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

22 May, 2011

2 commits

  • KVM does not hold any references to rcu protected data when it switches
    CPU into a guest mode. In fact switching to a guest mode is very similar
    to exiting to userspase from rcu point of view. In addition CPU may stay
    in a guest mode for quite a long time (up to one time slice). Lets treat
    guest mode as quiescent state, just like we do with user-mode execution.

    Signed-off-by: Gleb Natapov
    Signed-off-by: Avi Kivity

    Gleb Natapov
     
  • * commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits)
    rcu: provide rcu_virt_note_context_switch() function.
    rcu: get rid of signed overflow in check_cpu_stall()
    rcu: optimize rcutiny
    rcu: prevent call_rcu() from diving into rcu core if irqs disabled
    rcu: further lower priority in rcu_yield()
    rcu: introduce kfree_rcu()
    rcu: fix spelling
    rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
    rcu: Converge TINY_RCU expedited and normal boosting
    rcu: remove useless ->boosted_this_gp field
    rcu: code cleanups in TINY_RCU priority boosting.
    rcu: Switch to this_cpu() primitives
    rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings
    rcu: mark rcutorture boosting callback as being on-stack
    rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment
    rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
    rcu: Add forward-progress diagnostic for per-CPU kthreads
    rcu: add grace-period age and more kthread state to tracing
    rcu: fix tracing bug thinko on boost-balk attribution
    rcu: update tracing documentation for new rcutorture and rcuboost
    ...

    Pulling in rcu_virt_note_context_switch().

    Signed-off-by: Avi Kivity

    * commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits)
    rcu: provide rcu_virt_note_context_switch() function.
    rcu: get rid of signed overflow in check_cpu_stall()
    rcu: optimize rcutiny
    rcu: prevent call_rcu() from diving into rcu core if irqs disabled
    rcu: further lower priority in rcu_yield()
    rcu: introduce kfree_rcu()
    rcu: fix spelling
    rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
    rcu: Converge TINY_RCU expedited and normal boosting
    rcu: remove useless ->boosted_this_gp field
    rcu: code cleanups in TINY_RCU priority boosting.
    rcu: Switch to this_cpu() primitives
    rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings
    rcu: mark rcutorture boosting callback as being on-stack
    rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment
    rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
    rcu: Add forward-progress diagnostic for per-CPU kthreads
    rcu: add grace-period age and more kthread state to tracing
    rcu: fix tracing bug thinko on boost-balk attribution
    rcu: update tracing documentation for new rcutorture and rcuboost
    ...

    Avi Kivity