Skip to contentSkip to conversation

mmotm 2010-07-27-14-56 uploaded

PATCH Superseded [email protected] 7 participants 15 messages Jul 27, 2010 – Jul 29, 2010 1 message not in the archive

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

git://zen-kernel.org/kernel/mmotm.git

It contains the following patches against 2.6.35-rc6:

origin.patch
dynamic-debug-move-ddebug_remove_module-down-into-free_module.patch drivers-rtc-rtc-rx8581c-fix-setdatetime.patch edac-mpc85xx-fix-coldplug-hotplug-module-autoloading.patch gpio-fix-spurious-printk-when-freeing-a-gpio.patch ptrace-dont-run-write_locktasklist_lock-if-the-parent-doesnt-ptrace-other-processes.patch linux-next.patch
next-remove-localversion.patch
fs-inodec-work-around-bug.patch
i-need-old-gcc.patch
include-linux-fsh-complete-hexification-of-fmode_-constants.patch
mm-vmap-area-cache.patch
acpi-fix-bogus-preemption-logic.patch
backlight-fix-88pm860x_bl-macro-collision.patch intel_agp-dont-oops-with-zero-stolen-memory.patch gcc-46-acpi-fix-unused-but-set-variables-in-acpi.patch gcc-46-kgdb-remove-set-but-unused-newpc.patch parport-prevent-arm-boards-frmo-crashing-when-cups-is-loaded.patch parport-prevent-arm-boards-frmo-crashing-when-cups-is-loaded-fix.patch fs-btrfs-use-memdup_user.patch
fs-btrfs-use-err_cast.patch
gcc-46-btrfs-clean-up-unused-variables-bugs.patch gcc-46-btrfs-clean-up-unused-variables-nonbugs.patch cifs-provide-user-with-a-hint-when-name-resolution-fails.patch drivers-gpu-drm-i915-remove-duplicate-structure-field-initialization.patch gcc-46-irq-move-alloc_desk_mask-variables-inside-ifdef.patch hpet-factor-timer-allocate-from-open.patch posix_timer-move-copy_to_usercreated_timer_id-down-in-timer_create.patch timersc-document-meaning-of-deferrable-timer.patch
timers-add-usleep-timer.patch
infiniband-remove-dependency-on-__gfp_nofail.patch kbuild-fix-config_cross_compile-issue-in-config.patch leds-route-kbd-leds-through-the-generic-leds-layer.patch mtd-sst25l-check-for-null-consistently.patch
mtd-return-1-if-verify-failed.patch
mtdpart-memory-accessor-interface-for-mtd-layer.patch score-fix-dereference-of-null-pointer-in-local_flush_tlb_page.patch e1000e-register-pm_qos-request-on-hardware-activation.patch drivers-video-backlight-s6e63m0c-set-permissions-on-gamma_table-file-to-0444.patch backlight-fix-blanking-for-lms283gf05-lcd.patch backlight-fix-blanking-for-l4f00242t03-lcd.patch
btusb-patch-add_apple_macbookpro62.patch parisc-fix-wrong-page-aligned-size-calculation-in-ioremapping-code.patch gcc-46-perf-fix-set-but-unused-variables-in-perf.patch gcc-46-kernel-fix-unused-but-set-warnings.patch security-add-const-to-security_task_setscheduler.patch sched-make-sched_param-argument-static-variables-in-some-sched_setscheduler-caller.patch percpu-fix-list_head-init-bug-in-__percpu_counter_init.patch scsi-add-__init-__exit-macros-to-ibmvstgtc.patch
osst-fix-read-buffer-overflow.patch gdth-unmap-ccb_phys-when-scsi_add_host-fails-in-gdth_eisa_probe_one.patch drivers-scsi-libsas-use-sam_good.patch ncr5380-bit-mr_dma_mode-set-twice-in-ncr5380_transfer_dma.patch drivers-scsi-remove-unnecessary-null-test.patch drivers-message-move-dereference-after-null-test.patch
mpt-fusion-convert-to-seq_file.patch
g_ncr5380-remove-misleading-pnp-error-message.patch g_ncr5380-fix-broken-mmio-compilation.patch dc395x-decrease-iteration-for-tag_number-of-max_command-in-start_scsi.patch drivers-scsi-correct-the-size-argument-to-kmalloc.patch scsi-remove-superfluous-null-pointer-check-from-scsi_kill_request.patch scsi-sdc-quiet-all-sparse-noise.patch drivers-scsi-qla2xxx-qla_osc-fix-continuation-line-formats.patch scsi-bfa-correct-onstack-wait_queue_head-declaration.patch drivers-scsi-chc-dont-use-vprintk-as-macro.patch bfa-wrong-fcport-h2i-message-tested-in-bfa_fcport_isr.patch scsi-use-__ux-types-for-headers-exported-to-user-space.patch scsi-fix-pmcraid-build-errors.patch
scsi-fix-be2iscsi-build.patch
scsi-fix-bnx2i-build-errors.patch
scsi-remove-private-bit-macros.patch
drivers-scsi-use-memdup_user.patch
drivers-scsi-use-newly-introduced-hex_to_bin-method.patch drivers-scsi-pmcraidc-remove-unwanted-cast-for-void-pointers.patch fs-bio-integrityc-remove-dependency-on-__gfp_nofail.patch fs-bio-integrityc-return-enomem-on-kmalloc-failure.patch drivers-usb-serial-io_tic-dont-return-0-if-writing-the-download-record-failed.patch scsi-sr-add-no_read_disc_info-scsi_device-flag.patch usb-storage-add-new-no_read_disc_info-quirk.patch usb-storage-add-new-no_read_disc_info-quirk-fix.patch scsi-sd-add-a-no_read_capacity_16-scsi_device-flag.patch usb-storage-add-new-no_read_capacity_16-quirk.patch
virtio_9ph-include-linux-typesh.patch
vfs-improve-comment-describing-fget_light.patch
vfs-o_-bit-numbers-uniqueness-check.patch vfs-introduce-fmode_neg_offset-for-allowing-negative-f_pos.patch vfs-clarify-that-nonseekable_open-will-never-fail.patch vfs-use-kmalloc-to-allocate-fdmem-if-possible.patch modpost-support-objects-with-more-than-64k-sections.patch
mm.patch
mm-use-memdup_user.patch
mm-use-err_cast.patch
mm-provide-init_mm-mm_context-initializer.patch
fs-move-code-out-of-bufferc.patch
hugetlb-call-mmu-notifiers-on-hugepage-cow.patch kmap_atomic-make-kunmap_atomic-harder-to-misuse.patch
define-madv_hugepage.patch
mm-rename-anon_vma_lock-to-vma_lock_anon_vma.patch mm-change-direct-call-of-spin_lockanon_vma-lock-to-inline-function.patch mm-track-the-root-oldest-anon_vma.patch
mm-track-the-root-oldest-anon_vma-fix.patch
mm-always-lock-the-root-oldest-anon_vma.patch mm-extend-ksm-refcounts-to-the-anon_vma-root.patch mm-extend-ksm-refcounts-to-the-anon_vma-root-fix.patch buffer_head-remove-redundant-test-from-wait_on_buffer.patch oom-check-pf_kthread-instead-of-mm-to-skip-kthreads.patch oom-pf_exiting-check-should-take-mm-into-account.patch oom-introduce-find_lock_task_mm-to-fix-mm-false-positives.patch oom-dump_tasks-use-find_lock_task_mm-too.patch
oom-improve-commentary-in-dump_tasks.patch oom-dump_tasks-use-find_lock_task_mm-too-dump_tasks-use-find_lock_task_mm-too-fix.patch oom-give-current-access-to-memory-reserves-if-it-has-been-killed.patch oom-avoid-sending-exiting-tasks-a-sigkill.patch oom-filter-tasks-not-sharing-the-same-cpuset.patch oom-sacrifice-child-with-highest-badness-score-for-parent.patch oom-sacrifice-child-with-highest-badness-score-for-parent-protect-dereferencing-of-tasks-comm.patch oom-sacrifice-child-with-highest-badness-score-for-parent-fix.patch oom-select-task-from-tasklist-for-mempolicy-ooms.patch oom-select-task-from-tasklist-for-mempolicy-ooms-add-has_intersects_mems_allowed-uma-variant.patch oom-select-task-from-tasklist-for-mempolicy-ooms-introduce-find_lock_task_mm-to-fix-mm-false-positives-fix.patch oom-enable-oom-tasklist-dump-by-default.patch oom-avoid-oom-killer-for-lowmem-allocations.patch
oom-extract-panic-helper-function.patch
oom-remove-special-handling-for-pagefault-ooms.patch oom-move-sysctl-declarations-to-oomh.patch
oom-remove-unnecessary-code-and-cleanup.patch mm-rename-try_set_zone_oom-to-try_set_zonelist_oom.patch oom-remove-constraint-argument-from-select_bad_process-and-__out_of_memory.patch oom-fold-__out_of_memory-into-out_of_memory.patch
mm-use-for_each_online_cpu-in-vmstat.patch
mmzoneh-remove-dead-prototype.patch topology-alternate-fix-for-ia64-tiger_defconfig-build-breakage.patch mempolicy-reduce-stack-size-of-migrate_pages.patch mempolicy-reduce-stack-size-of-migrate_pages-fix.patch avr32-invoke-oom-killer-from-page-fault.patch gcc-46-pagemap-avoid-unused-but-set-variable.patch
gcc-46-mm-fix-unused-but-set-warnings.patch tmpfs-add-accurate-compare-function-to-percpu_counter-library.patch tmpfs-make-tmpfs-scalable-with-percpu_counter-for-used-blocks.patch tmpfs-make-tmpfs-scalable-with-percpu_counter-for-used-update.patch shmem-reduce-one-time-of-locking-in-pagefault.patch shmem-reduce-one-time-of-locking-in-pagefault-fix.patch mmap-remove-unnecessary-lock-from-__vma_link.patch
rmap-always-add-new-vmas-at-the-end.patch
ksm-fix-ksm-swapin-time-optimization.patch
rmap-always-use-anon_vma-root-pointer.patch rmap-always-use-anon_vma-root-pointer-fix-false-positive-bug_on-in-__page_set_anon_rmap.patch rmap-always-use-anon_vma-root-pointer-fix-false-positive-bug_on-in-__page_set_anon_rmap-checkpatch-fixes.patch rmap-resurrect-page_address_in_vma-anon_vma-check.patch
add-anon_vma-bug-checks.patch radix-tree-implement-function-radix_tree_range_tag_if_tagged.patch mm-implement-writeback-livelock-avoidance-using-page-tagging.patch vmscan-zone_reclaim-dont-call-disable_swap_token.patch vmscan-recalculate-lru_pages-on-each-priority.patch vmscan-tracing-add-trace-events-for-kswapd-wakeup-sleeping-and-direct-reclaim.patch vmscan-tracing-add-trace-events-for-lru-page-isolation.patch vmscan-tracing-add-trace-events-for-lru-page-isolation-checkpatch-fixes.patch vmscan-tracing-add-trace-event-when-a-page-is-written.patch vmscan-tracing-add-a-postprocessing-script-for-reclaim-related-ftrace-events.patch vmscan-kill-prev_priority-completely.patch
vmscan-simplify-shrink_inactive_list.patch vmscan-simplify-shrink_inactive_list-checkpatch-fixes.patch vmscan-remove-unnecessary-temporary-vars-in-do_try_to_free_pages.patch vmscan-remove-unnecessary-temporary-vars-in-do_try_to_free_pages-checkpatch-fixes.patch vmscan-set-up-pagevec-as-late-as-possible-in-shrink_inactive_list.patch vmscan-set-up-pagevec-as-late-as-possible-in-shrink_page_list.patch vmscan-update-isolated-page-counters-outside-of-main-path-in-shrink_inactive_list.patch oom-dont-try-to-kill-oom_unkillable-child.patch oom-dont-try-to-kill-oom_unkillable-child-checkpatch-fixes.patch oom-oom_kill_process-doesnt-select-kthread-child.patch oom-make-oom_unkillable_task-helper-function.patch oom-oom_kill_process-needs-to-check-that-p-is-unkillable.patch oom-proc-pid-oom_score-treat-kernel-thread-honestly.patch oom-kill-duplicate-oom_disable-check.patch oom-move-oom_disable-check-from-oom_kill_task-to-out_of_memory.patch oom-cleanup-has_intersects_mems_allowed.patch oom-remove-child-mm-check-from-oom_kill_process.patch oom-give-the-dying-task-a-higher-priority.patch oom-multi-threaded-process-coredump-dont-make-deadlock.patch oom-move-badness-declaration-into-oomh.patch
oom-move-badness-declaration-into-oomh-fix.patch rmap-add-exclusive-page-to-private-anon_vma-on-swapin.patch mm-set-vm_fault_write-in-do_swap_page.patch drivers-base-nodec-reduce-stack-usage-of-node_read_meminfo.patch vmscan-avoid-subtraction-of-unsigned-types.patch vmscan-protect-reading-of-reclaim_stat-with-lru_lock.patch mmu-notifiers-remove-mmu-notifier-calls-in-apply_to_page_range.patch mmu-notifiers-remove-mmu-notifier-calls-in-apply_to_page_range-fix.patch writeback-reduce-calls-to-global_page_state-in-balance_dirty_pages.patch writeback-avoid-unnecessary-calculation-of-bdi-dirty-thresholds.patch writeback-avoid-unnecessary-calculation-of-bdi-dirty-thresholds-fix.patch writeback-add-comment-to-the-dirty-limit-functions.patch writeback-dont-redirty-tail-an-inode-with-dirty-pages.patch writeback-fix-queue_io-ordering.patch
writeback-merge-for_kupdate-and-for_kupdate-cases.patch vmscan-shrink_slab-require-number-of-lru_pages-not-page-order.patch vmscan-shrink_slab-require-number-of-lru_pages-not-page-order-fix.patch vmscan-shrink_slab-require-number-of-lru_pages-not-page-order-fix-fix.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch alpha-add-performance-monitor-interrupt-counter.patch alpha-add-wrperfmonh-header-file-to-aid-use-of-wrperfmon-palcall.patch alpha-implement-hw-performance-events-on-the-ev67-and-later-cpus.patch um-call-free_irq-only-on-enabled-channels.patch asm-generic-ioh-add-big-endian-versions-of-ioreadwrite1632.patch include-linux-compiler-gcch-use-__same_type-in-__must_be_array.patch alpha-h8300-m68k-remove-obsolete-asm-mdh-files.patch kernelh-remove-unused-nipquad-and-nipquad_fmt.patch submittingpatches-add-more-about-patch-descriptions.patch vfs-fix-warning-dirent-is-used-uninitialized-in-this-function.patch misc-rohm-bh1780gli-ambient-light-sensor-driver.patch hpilo-fix-pointer-warning-in-ilo_ccb_setup.patch drivers-misc-support-for-the-pressure-sensor-bmp085-from-bosch-sensortec.patch drivers-misc-support-for-the-pressure-sensor-bmp085-from-bosch-sensortec-fix.patch drivers-misc-support-for-the-pressure-sensor-bmp085-from-bosch-sensortec-update.patch drivers-misc-support-for-the-pressure-sensor-bmp085-from-bosch-sensortec-update-checkpatch-fixes.patch add-abi-documentation-for-the-bmp085-digital-pressure-sensor.patch bmp085-add-interface-documentation-and-link-to-datasheet.patch sys_personality-remove-the-bogus-checks-in-sys_personality-__set_personality-path.patch kernel-range-remove-unused-definition-of-array_size.patch init-mainc-fix-warning-calltimetv64-may-be-used-uninitialized.patch init-mainc-mark-do_one_initcall-as-__init_or_module.patch char-add-warn_on-in-misc_deregister.patch s390-remove-warn_on-for-misc_deregister-failures.patch gcc-46-printk-use-stable-variable-to-dump-kmsg-buffer.patch maintainers-update-arm-bcmring-mtd-nand-driver-file-patterns.patch maintainers-update-arm-nuvoton-w90x900-arm-architecture-file-patterns.patch maintainers-update-arm-voipac-pxa270-file-patterns.patch maintainers-update-arm-zipit-z2-support-file-patterns.patch maintainers-update-networking-file-patterns.patch maintainers-update-ppp-over-l2tp-file-patterns.patch maintainers-update-ricoh-smartmedia-xd-driver-file-patterns.patch maintainers-remove-section-smx-uio-interface.patch maintainers-update-spear-clock-framework-support-file-patterns.patch maintainers-remove-section-strip.patch maintainers-add-file-patterns-to-uclinux-for-renesas-h8-300.patch maintainers-update-drm-drivers-patterns.patch maintainers-add-patterns-to-cryptographic-random-number-generator.patch maintainers-add-patterns-to-dell-wmi-extras.patch maintainers-add-patterns-to-powerpc-embedded-ppc8xx.patch maintainers-add-patterns-to-omap-usb.patch
maintainers-remove-section-promise-dc4030.patch maintainers-add-patterns-to-ps3vram-driver.patch
maintainers-add-patterns-to-wimax-stack.patch maintainers-update-information-about-linux-test-project-maintainence.patch maintainers-update-laurent-pinchart-email.patch
maintainers-orphan-befs.patch
list-debugging-warn-when-deleting-a-deleted-entry.patch lib-vsprintf-useless-strlen-removed.patch edd-fix-possible-memory-leak-in-edd_init-error-path.patch edd-fix-possible-memory-leak-in-edd_init-error-path-fix.patch mmc-recognize-csd-structure.patch
mmc-recognize-csd-structure-fix.patch
mmc-split-mmc_sd_init_card.patch
mmc-implement-sd-combo-iomem-support.patch s5pc110-sdhci-s3c-can-override-host-capabilities.patch s5pc110-sdhci-s3c-support-on-s5pc110.patch
sdhci-add-no-hi-speed-bit-quirk-support.patch mmc-fix-all-hangs-related-to-mmc-sd-card-insert-removal-during-suspend-resume.patch mmc-fix-all-hangs-related-to-mmc-sd-card-insert-removal-during-suspend-resume-fix.patch mmc-make-sdhci-work-with-ricoh-mmc-controller.patch
sdhci-remove-useless-set_clock-check.patch
sdhci-8-bit-data-transfer-width-support.patch sdhci-dont-assign-mmc-caps-at-sdhci-directly.patch mmc-only-set-blockaddressed-for-2gib-cards.patch mmc-omap-fix-for-bus-width-which-improves-sd-cards-peformance.patch mmc-add-jz4740-mmc-driver.patch
mmc-add-jz4740-mmc-driver-v6.patch
sdhci-pltfm-switch-to-module-device-table-matching.patch sdhci-pltfm-reorganize-makefile-entries-to-support-soc-devices.patch sdhci-pltfm-add-support-for-cns3xxx-soc-devices.patch
sdio-allow-non-standard-sdio-cards.patch
omap_hsmmc-add-init_card-pass-through-callback.patch omap-pandora-pass-wl1251-information-to-sdio-core.patch tmio_mmc-make-ack_mmc_irqs-write-only.patch
tmio_mmc-allow-2-byte-requests-in-4-bit-mode.patch mmc-add-erase-secure-erase-trim-and-secure-trim-operations.patch mmc_block-add-discard-support.patch
omap_hsmmc-add-erase-capability.patch
block-add-secure-discard.patch
mmc_block-add-support-for-secure-discard.patch sdhci-turn-timeout-timer-into-delayed-work.patch sdhci-use-work-structs-instead-of-tasklets.patch sdhci-clear-interrupt-status-register-just-once.patch
sdhci-use-threaded-irq-handler.patch
sdhci-turn-host-lock-into-a-mutex.patch
sdhci-get-rid-of-card-detect-work.patch sdhci-get-rid-of-mdelays-where-it-is-safe-and-makes-sense.patch sdhci-use-jiffies-instead-of-a-timeout-counter.patch drivers-mmc-host-msm-sdcc-remove-dead-config-options.patch omap-hsmmc-fix-processing-of-all-dma-interrupts-as-block-completion.patch mmc_test-add-performance-tests.patch sdhci-s3c-add-sdhci_quirk_data_timeout_uses_sdclk-quirk.patch checkpatch-refactor-allowed-asm-includes-and-add-memoryh.patch checkpatchpl-add-check-for-space-after-struct-or-union-definition.patch checkpatch-fix-handling-of-leading-spaces.patch
checkpatch-change-externals-to-globals.patch scripts-checkpatchpl-add-more-exceptions-to-80-char-lines.patch drivers-hwmon-hdapsc-add-lenovo-thinkpad-t400-to-the-whitelist.patch hmc6352-add-driver-for-the-hmc6352-compass.patch hwmon-driver-for-smm665-six-channel-active-dc-output-controller-monitor.patch hwmon-smm665-driver-documentation.patch
hwmon-update-maintainers-for-smm665-driver.patch hwmon-add-support-for-jedec-jc-424-compliant-temperature-sensors.patch hwmon-add-support-for-jedec-jc-424-compliant-temperature-sensors-v3.patch hwmon-coretemp-update-hotplug-condition-check.patch hwmon-coretemp-enable-coretemp-device-add-operation-failure.patch hwmon-coretemp-documentation-update-and-cleanup.patch drivers-hwmon-coretempc-remove-unneeded-ifdef-config_hotplug_cpu.patch rwsem-fully-separate-code-pathes-to-wake-writers-vs-readers.patch rwsem-lighter-active-count-checks-when-waking-up-readers.patch rwsem-let-rwsem_waiting_bias-represent-any-number-of-waiting-threads.patch rwsem-wake-queued-readers-when-writer-blocks-on-active-read-lock.patch rwsem-smaller-wrappers-around-rwsem_down_failed_common.patch fix-vc-vc_origin-on-take_over_console.patch fix-vc-vc_origin-on-take_over_console-checkpatch-fixes.patch drivers-char-vtc-vc_do_resize-local-var-end-should-be-unsigned-long.patch drivers-char-vtc-vc_do_resize-local-var-end-should-be-unsigned-long-update.patch drivers-message-i2o-exec-osmc-add-missing-mutex_unlock.patch i2o-fix-overflow-of-copy_to_user.patch
i2o-check-return-code-from-put_user.patch autofs4-remove-unneeded-null-check-in-try_to_fill_dentry.patch nuc900-rtc-change-the-waiting-for-device-ready-implement.patch rtc-nuc900-fix-checking-of-args-during-time-setting.patch drivers-rtc-rtc-pcf8563c-remove-unused-struct.patch
rtc-pxa-remove-unused-field.patch
rtc-m48t59-kfreenull-is-ok.patch
rtc-rtc-mxc-remove-six-unused-fields.patch
rtc-fixes-and-new-functionality-for-fm3130.patch rtc-fixes-and-new-functionality-for-fm3130-fix.patch rtc-pxa-remove-unnecessary-private-ops-ioctl.patch drivers-rtc-rtc-pl031c-remove-unused-include-linux-versionh.patch rtc-driver-for-the-dryice-block-found-in-imx25-chips.patch rtc-add-intersil-isl12022-rtc-driver.patch rtc-m41t80-use-rtc_valid_tm-to-check-returned-tm.patch rtc-max6900-use-rtc_valid_tm-to-check-returning-tm.patch rtc-m48t59-use-rtc_valid_tm-to-check-returned-tm.patch rtc-m48t86-use-rtc_valid_tm-to-check-returned-tm.patch rtc-nuc900-make-returning-time-checking-function-valid.patch rtc-nuc900-modify-enable-disable-irqs-and-driver-data-setting-location.patch rtc-nuc900-fix-build-warning.patch
rtc-add-support-for-ds3232-rtc.patch
rtc-add-support-for-ds3232-rtc-fix.patch rtc-isl12022-properly-handle-military-hour-format.patch drivers-rtc-remove-unneeded-ifdef-config_pm.patch
rtc-rp5c01-add-nvram-support.patch gpio-max730x-make-pullups-configurable-via-platformdata.patch pcf857x-support-working-w-o-platform-data.patch gpiolib-decouple-might_sleep_if-from-debug.patch gpiolib-get-rid-of-struct-poll_desc-and-worklet.patch gpiolib-allow-nested-threaded-irqs-for-poll2.patch gpio-sx150x-add-semtech-i2c-sx150x-gpio-expander-driver.patch
fbdev-efifb-section-fixes.patch
fbcon-deinline-large-static-function-get_color.patch drivers-video-via-via-gpioc-fix-warning.patch fbcon-uninline-four-foo_update_attr-functions.patch drivers-video-fbmemc-simplify-strlen==0-check-in-fb_get_options.patch s3c-fb-change-to-depending-on-config_s3c_fb_dev.patch
s3c-fb-add-default-window-feature.patch s3c-fb-fix-distortedness-situation-for-the-mode-more-then-24bpp.patch s3c-fb-only-init-window-colour-key-controls-for-windows-with-blending.patch s3c-fb-initial-move-to-unifying-the-header-files.patch s3c-fb-udpate-to-support-s3c2416-s3c2443-style-hardware.patch s3c-fb-integrate-palette-setup-code-into-main-driver.patch s3c-fb-fix-various-null-references-on-framebuffer-memory-alloc-failure.patch s3c-fb-correct-framesel1-bitfield-defines-for-vidintcon0-register.patch s3c-fb-separate-s5pc100-and-s5pv210-framebuffer-driver-data-structures.patch s3c-fb-add-device-name-initialization.patch
s3c-fb-add-support-for-display-panning.patch
s3c-fb-add-wait-for-vsync-ioctl.patch s3c-fb-window-3-of-64xx-does-not-have-an-osd_d-register.patch s3c-fb-add-shadowcon-shadow-register-locking-support-for-s5pv210.patch s3c-fb-correct-window-osd-size-and-alpha-register-handling.patch s3c-fb-protect-window-specific-registers-during-updates.patch s3c-fb-fix-section-mismatch.patch
s3c-fb-add-support-for-dma-channel-control-on-s5pv210.patch s3c-fb-automatically-calculate-pixel-clock-when-none-is-given.patch arm-samsung-remove-pixclock-from-several-boards.patch fbdev-add-jz4740-framebuffer-driver.patch
fbdev-add-jz4740-framebuffer-driver-fix.patch
fbmem-vm_io-set-but-not-propagated.patch
jbd-remove-dependency-on-__gfp_nofail.patch hfsplus-identify-journal-info-block-in-volume-header.patch
hfsplus-fix-journal-detection.patch
reiserfs-remove-unused-local-wait.patch
fusion-fix-kernel-doc-warnings.patch
timerc-fix-kernel-doc-warning.patch
mtd-nand_base-fix-kernel-doc-warnings-typos.patch documentation-networking-wavelantxt-deleted-not-in-tree.patch docbook-need-xmldoclinks-for-all-doc-types.patch
cgroups-save-space-for-the-terminator.patch
blkdev-cgroup-whitelist-permission-fix.patch memcg-remove-experimental-from-swap-account-config.patch memcg-clean-up-try_charge-main-loop-v2.patch
memcg-clean-up-waiting-move-acct-v2.patch
memcg-clean-up-waiting-move-acct-v2-fix.patch
memcg-remove-redundant-codes.patch
memcg-remove-mem-from-arg-of-charge_common.patch memcg-use-find_lock_task_mm-in-memory-cgroups-oom.patch
memcg-avoid-css_get.patch
signalfd-fill-in-ssi_int-for-posix-timers-and-message-queues.patch procfs-simplify-conditional-processing-of-fs-proco.patch drivers-char-ipmi-ipmi_si_intfc-fix-warning-variable-addr_space-set-but-not-used.patch drivers-char-n_gsmc-add-missing-spin_unlock_irqrestore.patch drivers-char-add-packet-hub-driver-for-the-topcliff-pch.patch drivers-char-add-packet-hub-driver-for-the-topcliff-pch-update.patch cs5535-mfgpt-reuse-timers-that-have-never-been-set-up.patch partitions-fix-sometimes-unreadable-partition-strings.patch pids-fix-a-race-in-pid-generation-that-causes-pids-to-be-reused-immediately.patch pids-alloc_pidmap-remove-the-unnecessary-boundary-checks.patch delay-accounting-re-implement-c-for-getdelaysc-to-report-information-on-a-target-command.patch delay-accounting-re-implement-c-for-getdelaysc-to-report-information-on-a-target-command-checkpatch-fixes.patch delayacct-align-to-8-byte-boundary-on-64-bit-systems.patch edac-add-wissing-pieces-from-mpc85xx-fsl_soc_booke.patch edac-i5000-improve-handling-of-pci_enable_device-return-value.patch edac-i5400-improve-handling-of-pci_enable_device-return-value.patch dma-mapping-rename-arch_kmalloc_minalign-to-arch_dma_minalign.patch dma-mapping-unify-dma_get_cache_alignment-implementations.patch dma-mapping-parisc-set-arch_dma_minalign.patch drivers-scsi-53c700c-remove-dma_is_consistent-usage.patch dma-mapping-remove-dma_is_consistent-api.patch panic-keep-blinking-in-spite-of-long-spin-timer-mode.patch lib-bugc-make-warn-implementation-match-the-kernel-panicc-one.patch lib-bugc-make-warn-implementation-match-the-kernel-panicc-one-checkpatch-fixes.patch add-oops-end-marker-to-lib-bugc-warn-implementation.patch parport_serial-use-the-pci-irq-if-offered.patch
fs-sysv-add-v7-alias.patch
fs-sysv-v7-adjust-sanity-checks-for-some-volumes.patch fs-sysv-v7-adjust-sanity-checks-for-some-volumes-checkpatch-fixes.patch fs-sysv-superc-add-support-for-non-pdp11-v7-filesystems.patch fs-sysv-superc-add-support-for-non-pdp11-v7-filesystems-checkpatch-fixes.patch aio-do-not-return-erestartsys-and-friends-from-aio.patch aio-always-reinitialize-iocb-ki_run_list-at-the-end-of-aio_run_iocb.patch kfifo-kfifo_is_fullempty-should-return-bools-not-ints.patch kfifo-fix-kfifo-miss-use-of-nozamic.patch
kfifo-add-the-new-generic-kfifo-api.patch
kfifo-replace-the-old-non-generic-api.patch kfifo-add-example-files-to-the-kernel-sample-directory.patch kfifo-add-example-files-to-the-kernel-sample-directory-checkpatch-fixes.patch lib-decompress_bunzip2c-fix-checkstack-warning.patch
time-kill-off-config_generic_time.patch
vfs-add-super-operation-writeback_inodes.patch vfs-add-super-operation-writeback_inodes-fix.patch
vfs-take-2add-set_page_dirty_notag.patch
vfs-change-writeback_inodes-signature.patch
reiser4-export-remove_from_page_cache.patch
reiser4-export-remove_from_page_cache-fix.patch
reiser4-export-find_get_pages.patch
reiser4.patch
reiser4-rename-quota-methods.patch
reiser4-remove-inode_setattr.patch
reiser4-change-fsync-signature.patch
reiser4-writeback_inodes-implementation.patch reiser4-writeback_inodes-implementation-fix.patch reiser4-writeback_inodes-implementation-adjust-to-writeback-changes.patch reiser4-fixup-checkin-checkout-jnodes-for-entd.patch
reiser4-fixups.patch
reiser4-broke.patch
make-sure-nobodys-leaking-resources.patch
journal_add_journal_head-debug.patch
releasing-resources-with-children.patch
make-frame_pointer-default=y.patch
mutex-subsystem-synchro-test-module.patch mutex-subsystem-synchro-test-module-add-missing-header-file.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
add-debugging-aid-for-memory-initialisation-problems.patch workaround-for-a-pci-restoring-bug.patch
prio_tree-debugging-patch.patch
single_open-seq_release-leak-diagnostics.patch
add-a-refcount-check-in-dput.patch
getblk-handle-2tb-devices.patch

#1 lore raw

mmotm 2010-07-27 - WARNING in ec_parse_io_ports()

Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Seen during very early boot:

[    0.302450] ------------[ cut here ]------------
[    0.302458] WARNING: at drivers/acpi/ec.c:864 ec_parse_io_ports+0x7d/0x110()
[    0.302460] Hardware name: Latitude E6500
[    0.302462] Could not request EC data io port 2352
[    0.302464] Modules linked in:
[    0.302469] Pid: 1, comm: swapper Not tainted 2.6.35-rc6-mmotm0727 #1
[    0.302471] Call Trace:
[    0.302476]  [<ffffffff81037551>] warn_slowpath_common+0x80/0x98
[    0.302481]  [<ffffffff810375fd>] warn_slowpath_fmt+0x41/0x43
[    0.302485]  [<ffffffff8103edff>] ? __request_region+0x94/0x141
[    0.302489]  [<ffffffff8124489a>] ec_parse_io_ports+0x7d/0x110
[    0.302493]  [<ffffffff8124481d>] ? ec_parse_io_ports+0x0/0x110
[    0.302498]  [<ffffffff8125f201>] acpi_walk_resources+0x7d/0xce
[    0.302502]  [<ffffffff812447be>] ec_parse_device+0x41/0xa0
[    0.302505]  [<ffffffff81244be2>] acpi_ec_add+0x81/0x10b
[    0.302509]  [<ffffffff81241b36>] acpi_device_probe+0x4b/0x11d
[    0.302515]  [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[    0.302519]  [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[    0.302523]  [<ffffffff8130a8da>] ? __driver_attach+0x0/0x6b
[    0.302527]  [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[    0.302531]  [<ffffffff8130a505>] driver_attach+0x19/0x1b
[    0.302535]  [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[    0.302539]  [<ffffffff8130ab80>] driver_register+0xb5/0x122
[    0.302544]  [<ffffffff81b4b8d9>] ? acpi_init+0x0/0xe4
[    0.302548]  [<ffffffff812421cf>] acpi_bus_register_driver+0x3e/0x40
[    0.302552]  [<ffffffff81b4bdf7>] acpi_ec_init+0x10/0x1c
[    0.302555]  [<ffffffff81b4b9a8>] acpi_init+0xcf/0xe4
[    0.302560]  [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[    0.302564]  [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[    0.302569]  [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[    0.302574]  [<ffffffff81595d80>] ? restore_args+0x0/0x30
[    0.302578]  [<ffffffff81b2cb76>] ? kernel_init+0x0/0x1c2
[    0.302581]  [<ffffffff81003550>] ? kernel_thread_helper+0x0/0x10
[    0.302662] ---[ end trace 4eaa2a86a8e2da22 ]---
[    0.302666] ------------[ cut here ]------------
[    0.302669] WARNING: at drivers/acpi/ec.c:870 ec_parse_io_ports+0xf8/0x110()
[    0.302672] Hardware name: Latitude E6500
[    0.302674] Could not request EC command io port 2356
[    0.302676] Modules linked in:
[    0.302679] Pid: 1, comm: swapper Tainted: G        W   2.6.35-rc6-mmotm0727 #1
[    0.302681] Call Trace:
[    0.302685]  [<ffffffff81037551>] warn_slowpath_common+0x80/0x98
[    0.302689]  [<ffffffff810375fd>] warn_slowpath_fmt+0x41/0x43
[    0.302694]  [<ffffffff8103edff>] ? __request_region+0x94/0x141
[    0.302697]  [<ffffffff81244915>] ec_parse_io_ports+0xf8/0x110
[    0.302701]  [<ffffffff8124481d>] ? ec_parse_io_ports+0x0/0x110
[    0.302705]  [<ffffffff8125f201>] acpi_walk_resources+0x7d/0xce
[    0.302709]  [<ffffffff812447be>] ec_parse_device+0x41/0xa0
[    0.302713]  [<ffffffff81244be2>] acpi_ec_add+0x81/0x10b
[    0.302717]  [<ffffffff81241b36>] acpi_device_probe+0x4b/0x11d
[    0.302721]  [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[    0.302725]  [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[    0.302729]  [<ffffffff8130a8da>] ? __driver_attach+0x0/0x6b
[    0.302733]  [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[    0.302737]  [<ffffffff8130a505>] driver_attach+0x19/0x1b
[    0.302741]  [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[    0.302745]  [<ffffffff8130ab80>] driver_register+0xb5/0x122
[    0.303006]  [<ffffffff81b4b8d9>] ? acpi_init+0x0/0xe4
[    0.303010]  [<ffffffff812421cf>] acpi_bus_register_driver+0x3e/0x40
[    0.303014]  [<ffffffff81b4bdf7>] acpi_ec_init+0x10/0x1c
[    0.303017]  [<ffffffff81b4b9a8>] acpi_init+0xcf/0xe4
[    0.303021]  [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[    0.303025]  [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[    0.303029]  [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[    0.303033]  [<ffffffff81595d80>] ? restore_args+0x0/0x30
[    0.303037]  [<ffffffff81b2cb76>] ? kernel_init+0x0/0x1c2
[    0.303040]  [<ffffffff81003550>] ? kernel_thread_helper+0x0/0x10
[    0.303043] ---[ end trace 4eaa2a86a8e2da23 ]---
[    0.303088] ACPI: EC: GPE = 0x11, I/O: command/status = 0x934, data = 0x930
#2 lore raw

Re: mmotm 2010-07-27 - WARNING in ec_parse_io_ports()

Quoted 6 lines · On Wednesday 28 July 2010 07:30:51 [email protected] wrote:
Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Seen during very early boot:

Yep, that's my fault.
I'll post a fix to Matthew's platform drivers list asap. For now just ignore it. The warning is a false positive one and is harmless.
Thanks for bringing this up!

Thomas

Quoted 3 lines
[    0.302450] ------------[ cut here ]------------
[    0.302458] WARNING: at drivers/acpi/ec.c:864 

ec_parse_io_ports+0x7d/0x110()

Quoted 2 lines
[    0.302460] Hardware name: Latitude E6500
[    0.302462] Could not request EC data io port 2352

Interesting io port 0x930..., definitely not default. You might want to double check with a fixed kernel if it is registered correctly in /proc/ioports and the WARNING vanishes. But no need to explicitly check, just have a look when you try a newer one anyway. Thanks.

#3 lore raw

mmotm 2010-07-27 - nouveau lockdep issues.

In reply to [email protected]
Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Hit this while the X server was on its way down during a 'shutdown -r now'. Worked fine in -rc5-mmotm0719. 'e16' is the Enlightenment window manager, if that matters.

[   93.181787] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[   99.802836] [drm] nouveau 0000:01:00.0: Allocating FIFO number 4
[   99.808875] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 4
[  103.262226] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  113.341948] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  123.421836] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  123.550520] [drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 4
[  123.551253] 
[  123.551253] ======================================================
[  123.551253] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
[  123.551253] 2.6.35-rc6-mmotm0727 #1
[  123.551253] ------------------------------------------------------
[  123.551253] e16/3822 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
[  123.551253]  (&(&mm->unused_lock)->rlock){+.+...}, at: [<ffffffff812a94bc>] drm_mm_put_block+0x10e/0x142
[  123.551253] 
[  123.551253] and this task is already holding:
[  123.551253]  (&(&dev_priv->context_switch_lock)->rlock){-.....}, at: [<ffffffff812bdbab>] nouveau_channel_free+0x10f/0x233
[  123.551253] which would create a new lock dependency:
[  123.551253]  (&(&dev_priv->context_switch_lock)->rlock){-.....} -> (&(&mm->unused_lock)->rlock){+.+...}
[  123.551253] 
[  123.551253] but this new dependency connects a HARDIRQ-irq-safe lock:
[  123.551253]  (&(&dev_priv->context_switch_lock)->rlock){-.....}
[  123.551253] ... which became HARDIRQ-irq-safe at:
[  123.551253]   [<ffffffff81065043>] __lock_acquire+0x301/0xd6a
[  123.551253]   [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.551253]   [<ffffffff81594dda>] _raw_spin_lock_irqsave+0x44/0x57
[  123.551253]   [<ffffffff812c264b>] nouveau_irq_handler+0x63/0x1920
[  123.551253]   [<ffffffff810817bb>] handle_IRQ_event+0xad/0x213
[  123.551253]   [<ffffffff81083bd2>] handle_fasteoi_irq+0xd1/0x115
[  123.551253]   [<ffffffff81004b6e>] handle_irq+0x122/0x133
[  123.551253]   [<ffffffff8100499f>] do_IRQ+0x57/0xaf
[  123.551253]   
[  123.604031] [drm] nouveau 0000:01:00.0: GPU lockup - switching to software fbcon
[  123.604031] [<ffffffff81595cd3>] ret_from_intr+0x0/0xf
[  123.604031]   [<ffffffff81000c73>] cpu_idle+0x85/0x169
[  123.604031]   [<ffffffff81b62061>] start_secondary+0x1b1/0x1b5
[  123.604031] 
[  123.604031] to a HARDIRQ-irq-unsafe lock:
[  123.604031]  (&(&mm->unused_lock)->rlock){+.+...}
[  123.604031] ... which became HARDIRQ-irq-unsafe at:
[  123.604031] ...  [<ffffffff810650c4>] __lock_acquire+0x382/0xd6a
[  123.604031]   [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]   [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]   [<ffffffff812a9669>] drm_mm_pre_get+0x24/0xb2
[  123.604031]   [<ffffffff812b748b>] ttm_bo_init+0x1fe/0x3c0
[  123.604031]   [<ffffffff812c5dce>] nouveau_bo_new+0x3ae/0x423
[  123.604031]   [<ffffffff812bf2c8>] nouveau_mem_init+0x293/0x487
[  123.604031]   [<ffffffff812bce55>] nouveau_card_init+0xa5e/0xd52
[  123.604031]   [<ffffffff812bd675>] nouveau_load+0x519/0x528
[  123.604031]   [<ffffffff812a74af>] drm_get_pci_dev+0x174/0x26a
[  123.604031]   [<ffffffff8158a14e>] nouveau_pci_probe+0x10/0x12
[  123.604031]   [<ffffffff812228ce>] local_pci_probe+0x3f/0x70
[  123.604031]   [<ffffffff81222c4c>] pci_device_probe+0x65/0x96
[  123.604031]   [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[  123.604031]   [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[  123.604031]   [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[  123.604031]   [<ffffffff8130a505>] driver_attach+0x19/0x1b
[  123.604031]   [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[  123.604031]   [<ffffffff8130ab80>] driver_register+0xb5/0x122
[  123.604031]   [<ffffffff81222e82>] __pci_register_driver+0x61/0xcd
[  123.604031]   [<ffffffff812a7839>] drm_pci_init+0x31/0x98
[  123.604031]   [<ffffffff812a003f>] drm_init+0x5d/0x61
[  123.604031]   [<ffffffff81b4e59a>] nouveau_init+0x48/0x4a
[  123.604031]   [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[  123.604031]   [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[  123.604031]   [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[  123.604031] 
[  123.604031] other info that might help us debug this:
[  123.604031] 
[  123.604031] 1 lock held by e16/3822:
[  123.604031]  #0:  (&(&dev_priv->context_switch_lock)->rlock){-.....}, at: [<ffffffff812bdbab>] nouveau_channel_free+0x10f/0x233
[  123.604031] 
[  123.604031] the dependencies between HARDIRQ-irq-safe lock and the holding lock:
[  123.604031] -> (&(&dev_priv->context_switch_lock)->rlock){-.....} ops: 15 {
[  123.604031]    IN-HARDIRQ-W at:
[  123.604031]                                        [<ffffffff81065043>] __lock_acquire+0x301/0xd6a
[  123.604031]                                        [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]                                        [<ffffffff81594dda>] _raw_spin_lock_irqsave+0x44/0x57
[  123.604031]                                        [<ffffffff812c264b>] nouveau_irq_handler+0x63/0x1920
[  123.604031]                                        [<ffffffff810817bb>] handle_IRQ_event+0xad/0x213
[  123.604031]                                        [<ffffffff81083bd2>] handle_fasteoi_irq+0xd1/0x115
[  123.604031]                                        [<ffffffff81004b6e>] handle_irq+0x122/0x133
[  123.604031]                                        [<ffffffff8100499f>] do_IRQ+0x57/0xaf
[  123.604031]                                        [<ffffffff81595cd3>] ret_from_intr+0x0/0xf
[  123.604031]                                        [<ffffffff81000c73>] cpu_idle+0x85/0x169
[  123.604031]                                        [<ffffffff81b62061>] start_secondary+0x1b1/0x1b5
[  123.604031]    INITIAL USE at:
[  123.604031]                                       [<ffffffff81065145>] __lock_acquire+0x403/0xd6a
[  123.604031]                                       [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]                                       [<ffffffff81594dda>] _raw_spin_lock_irqsave+0x44/0x57
[  123.604031]                                       [<ffffffff812c264b>] nouveau_irq_handler+0x63/0x1920
[  123.604031]                                       [<ffffffff810817bb>] handle_IRQ_event+0xad/0x213
[  123.604031]                                       [<ffffffff81083bd2>] handle_fasteoi_irq+0xd1/0x115
[  123.604031]                                       [<ffffffff81004b6e>] handle_irq+0x122/0x133
[  123.604031]                                       [<ffffffff8100499f>] do_IRQ+0x57/0xaf
[  123.604031]                                       [<ffffffff81595cd3>] ret_from_intr+0x0/0xf
[  123.604031]                                       [<ffffffff81000c73>] cpu_idle+0x85/0x169
[  123.604031]                                       [<ffffffff81b62061>] start_secondary+0x1b1/0x1b5
[  123.604031]  }
[  123.604031]  ... key      at: [<ffffffff8243b758>] __key.32520+0x0/0x8
[  123.604031]  ... acquired at:
[  123.604031]    [<ffffffff810648cd>] check_irq_usage+0x42/0x89
[  123.604031]    [<ffffffff810657d6>] __lock_acquire+0xa94/0xd6a
[  123.604031]    [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]    [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]    [<ffffffff812a94bc>] drm_mm_put_block+0x10e/0x142
[  123.604031]    [<ffffffff812bf7e2>] nouveau_gpuobj_del+0x14c/0x179
[  123.604031]    [<ffffffff812c02ad>] nouveau_gpuobj_ref_del+0x25d/0x284
[  123.604031]    [<ffffffff812e3fb2>] nv50_graph_destroy_context+0xd0/0xdc
[  123.604031]    [<ffffffff812bdbdd>] nouveau_channel_free+0x141/0x233
[  123.604031]    [<ffffffff812be5bf>] nouveau_ioctl_fifo_free+0x79/0x86
[  123.604031]    [<ffffffff8129fdab>] drm_ioctl+0x2b3/0x36b
[  123.604031]    [<ffffffff810ec6fc>] vfs_ioctl+0x31/0xa2
[  123.604031]    [<ffffffff810ed07b>] do_vfs_ioctl+0x496/0x4c9
[  123.604031]    [<ffffffff810ed105>] sys_ioctl+0x57/0x96
[  123.604031]    [<ffffffff8100272b>] system_call_fastpath+0x16/0x1b
[  123.604031] 
[  123.604031] 
[  123.604031] the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock:
[  123.604031] -> (&(&mm->unused_lock)->rlock){+.+...} ops: 10338 {
[  123.604031]    HARDIRQ-ON-W at:
[  123.604031]                                        [<ffffffff810650c4>] __lock_acquire+0x382/0xd6a
[  123.604031]                                        [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]                                        [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]                                        [<ffffffff812a9669>] drm_mm_pre_get+0x24/0xb2
[  123.604031]                                        [<ffffffff812b748b>] ttm_bo_init+0x1fe/0x3c0
[  123.604031]                                        [<ffffffff812c5dce>] nouveau_bo_new+0x3ae/0x423
[  123.604031]                                        [<ffffffff812bf2c8>] nouveau_mem_init+0x293/0x487
[  123.604031]                                        [<ffffffff812bce55>] nouveau_card_init+0xa5e/0xd52
[  123.604031]                                        [<ffffffff812bd675>] nouveau_load+0x519/0x528
[  123.604031]                                        [<ffffffff812a74af>] drm_get_pci_dev+0x174/0x26a
[  123.604031]                                        [<ffffffff8158a14e>] nouveau_pci_probe+0x10/0x12
[  123.604031]                                        [<ffffffff812228ce>] local_pci_probe+0x3f/0x70
[  123.604031]                                        [<ffffffff81222c4c>] pci_device_probe+0x65/0x96
[  123.604031]                                        [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[  123.604031]                                        [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[  123.604031]                                        [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[  123.604031]                                        [<ffffffff8130a505>] driver_attach+0x19/0x1b
[  123.604031]                                        [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[  123.604031]                                        [<ffffffff8130ab80>] driver_register+0xb5/0x122
[  123.604031]                                        [<ffffffff81222e82>] __pci_register_driver+0x61/0xcd
[  123.604031]                                        [<ffffffff812a7839>] drm_pci_init+0x31/0x98
[  123.604031]                                        [<ffffffff812a003f>] drm_init+0x5d/0x61
[  123.604031]                                        [<ffffffff81b4e59a>] nouveau_init+0x48/0x4a
[  123.604031]                                        [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[  123.604031]                                        [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[  123.604031]                                        [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[  123.604031]    SOFTIRQ-ON-W at:
[  123.604031]                                        [<ffffffff810650e5>] __lock_acquire+0x3a3/0xd6a
[  123.604031]                                        [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]                                        [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]                                        [<ffffffff812a9669>] drm_mm_pre_get+0x24/0xb2
[  123.604031]                                        [<ffffffff812b748b>] ttm_bo_init+0x1fe/0x3c0
[  123.604031]                                        [<ffffffff812c5dce>] nouveau_bo_new+0x3ae/0x423
[  123.604031]                                        [<ffffffff812bf2c8>] nouveau_mem_init+0x293/0x487
[  123.604031]                                        [<ffffffff812bce55>] nouveau_card_init+0xa5e/0xd52
[  123.604031]                                        [<ffffffff812bd675>] nouveau_load+0x519/0x528
[  123.604031]                                        [<ffffffff812a74af>] drm_get_pci_dev+0x174/0x26a
[  123.604031]                                        [<ffffffff8158a14e>] nouveau_pci_probe+0x10/0x12
[  123.604031]                                        [<ffffffff812228ce>] local_pci_probe+0x3f/0x70
[  123.604031]                                        [<ffffffff81222c4c>] pci_device_probe+0x65/0x96
[  123.604031]                                        [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[  123.604031]                                        [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[  123.604031]                                        [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[  123.604031]                                        [<ffffffff8130a505>] driver_attach+0x19/0x1b
[  123.604031]                                        [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[  123.604031]                                        [<ffffffff8130ab80>] driver_register+0xb5/0x122
[  123.604031]                                        [<ffffffff81222e82>] __pci_register_driver+0x61/0xcd
[  123.604031]                                        [<ffffffff812a7839>] drm_pci_init+0x31/0x98
[  123.604031]                                        [<ffffffff812a003f>] drm_init+0x5d/0x61
[  123.604031]                                        [<ffffffff81b4e59a>] nouveau_init+0x48/0x4a
[  123.604031]                                        [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[  123.604031]                                        [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[  123.604031]                                        [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[  123.604031]    INITIAL USE at:
[  123.604031]                                       [<ffffffff81065145>] __lock_acquire+0x403/0xd6a
[  123.604031]                                       [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]                                       [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]                                       [<ffffffff812a9669>] drm_mm_pre_get+0x24/0xb2
[  123.604031]                                       [<ffffffff812b748b>] ttm_bo_init+0x1fe/0x3c0
[  123.604031]                                       [<ffffffff812c5dce>] nouveau_bo_new+0x3ae/0x423
[  123.604031]                                       [<ffffffff812bf2c8>] nouveau_mem_init+0x293/0x487
[  123.604031]                                       [<ffffffff812bce55>] nouveau_card_init+0xa5e/0xd52
[  123.604031]                                       [<ffffffff812bd675>] nouveau_load+0x519/0x528
[  123.604031]                                       [<ffffffff812a74af>] drm_get_pci_dev+0x174/0x26a
[  123.604031]                                       [<ffffffff8158a14e>] nouveau_pci_probe+0x10/0x12
[  123.604031]                                       [<ffffffff812228ce>] local_pci_probe+0x3f/0x70
[  123.604031]                                       [<ffffffff81222c4c>] pci_device_probe+0x65/0x96
[  123.604031]                                       [<ffffffff8130a840>] driver_probe_device+0xe8/0x182
[  123.604031]                                       [<ffffffff8130a924>] __driver_attach+0x4a/0x6b
[  123.604031]                                       [<ffffffff81309a2f>] bus_for_each_dev+0x57/0x83
[  123.604031]                                       [<ffffffff8130a505>] driver_attach+0x19/0x1b
[  123.604031]                                       [<ffffffff8130a147>] bus_add_driver+0xae/0x205
[  123.604031]                                       [<ffffffff8130ab80>] driver_register+0xb5/0x122
[  123.604031]                                       [<ffffffff81222e82>] __pci_register_driver+0x61/0xcd
[  123.604031]                                       [<ffffffff812a7839>] drm_pci_init+0x31/0x98
[  123.604031]                                       [<ffffffff812a003f>] drm_init+0x5d/0x61
[  123.604031]                                       [<ffffffff81b4e59a>] nouveau_init+0x48/0x4a
[  123.604031]                                       [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
[  123.604031]                                       [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
[  123.604031]                                       [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
[  123.604031]  }
[  123.604031]  ... key      at: [<ffffffff8243b408>] __key.30042+0x0/0x8
[  123.604031]  ... acquired at:
[  123.604031]    [<ffffffff810648cd>] check_irq_usage+0x42/0x89
[  123.604031]    [<ffffffff810657d6>] __lock_acquire+0xa94/0xd6a
[  123.604031]    [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]    [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]    [<ffffffff812a94bc>] drm_mm_put_block+0x10e/0x142
[  123.604031]    [<ffffffff812bf7e2>] nouveau_gpuobj_del+0x14c/0x179
[  123.604031]    [<ffffffff812c02ad>] nouveau_gpuobj_ref_del+0x25d/0x284
[  123.604031]    [<ffffffff812e3fb2>] nv50_graph_destroy_context+0xd0/0xdc
[  123.604031]    [<ffffffff812bdbdd>] nouveau_channel_free+0x141/0x233
[  123.604031]    [<ffffffff812be5bf>] nouveau_ioctl_fifo_free+0x79/0x86
[  123.604031]    [<ffffffff8129fdab>] drm_ioctl+0x2b3/0x36b
[  123.604031]    [<ffffffff810ec6fc>] vfs_ioctl+0x31/0xa2
[  123.604031]    [<ffffffff810ed07b>] do_vfs_ioctl+0x496/0x4c9
[  123.604031]    [<ffffffff810ed105>] sys_ioctl+0x57/0x96
[  123.604031]    [<ffffffff8100272b>] system_call_fastpath+0x16/0x1b
[  123.604031] 
[  123.604031] 
[  123.604031] stack backtrace:
[  123.604031] Pid: 3822, comm: e16 Tainted: G        W   2.6.35-rc6-mmotm0727 #1
[  123.604031] Call Trace:
[  123.604031]  [<ffffffff81064876>] check_usage+0x351/0x366
[  123.604031]  [<ffffffff8106313b>] ? register_lock_class+0x1e/0x2c7
[  123.604031]  [<ffffffff810648cd>] check_irq_usage+0x42/0x89
[  123.604031]  [<ffffffff810657d6>] __lock_acquire+0xa94/0xd6a
[  123.604031]  [<ffffffff810652ba>] ? __lock_acquire+0x578/0xd6a
[  123.604031]  [<ffffffff812a94bc>] ? drm_mm_put_block+0x10e/0x142
[  123.604031]  [<ffffffff81065fca>] lock_acquire+0x10a/0x130
[  123.604031]  [<ffffffff812a94bc>] ? drm_mm_put_block+0x10e/0x142
[  123.604031]  [<ffffffff81594ce1>] _raw_spin_lock+0x36/0x45
[  123.604031]  [<ffffffff812a94bc>] ? drm_mm_put_block+0x10e/0x142
[  123.604031]  [<ffffffff812a94bc>] drm_mm_put_block+0x10e/0x142
[  123.604031]  [<ffffffff812bf7e2>] nouveau_gpuobj_del+0x14c/0x179
[  123.604031]  [<ffffffff812c02ad>] nouveau_gpuobj_ref_del+0x25d/0x284
[  123.604031]  [<ffffffff812e3fb2>] nv50_graph_destroy_context+0xd0/0xdc
[  123.604031]  [<ffffffff812bdbdd>] nouveau_channel_free+0x141/0x233
[  123.604031]  [<ffffffff8109a0f9>] ? trace_preempt_off+0x15/0x28
[  123.604031]  [<ffffffff8129fd9c>] ? drm_ioctl+0x2a4/0x36b
[  123.604031]  [<ffffffff812be5bf>] nouveau_ioctl_fifo_free+0x79/0x86
[  123.604031]  [<ffffffff8129fdab>] drm_ioctl+0x2b3/0x36b
[  123.604031]  [<ffffffff812be546>] ? nouveau_ioctl_fifo_free+0x0/0x86
[  123.604031]  [<ffffffff81064b97>] ? mark_lock+0x2d/0x1d8
[  123.604031]  [<ffffffff810ec6fc>] vfs_ioctl+0x31/0xa2
[  123.604031]  [<ffffffff810ed07b>] do_vfs_ioctl+0x496/0x4c9
[  123.604031]  [<ffffffff810ed105>] sys_ioctl+0x57/0x96
[  123.604031]  [<ffffffff8100272b>] system_call_fastpath+0x16/0x1b
#4 lore raw

Re: mmotm 2010-07-27 - nouveau lockdep issues.

Quoted 20 lines · On Wed, Jul 28, 2010 at 01:42:03AM -0400, [email protected] wrote:
Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Hit this while the X server was on its way down during a 'shutdown -r now'. Worked fine in -rc5-mmotm0719. 'e16' is the Enlightenment window manager, if that matters.

[   93.181787] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[   99.802836] [drm] nouveau 0000:01:00.0: Allocating FIFO number 4
[   99.808875] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 4
[  103.262226] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  113.341948] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  123.421836] [drm:output_poll_execute] *ERROR* delayed enqueue failed 1
[  123.550520] [drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 4
[  123.551253] 
[  123.551253] ======================================================
[  123.551253] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
[  123.551253] 2.6.35-rc6-mmotm0727 #1
[  123.551253] ------------------------------------------------------
Quoted 8 lines
[  123.551253] e16/3822 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
[  123.551253]  (&(&mm->unused_lock)->rlock){+.+...}, at: [<ffffffff812a94bc>] drm_mm_put_block+0x10e/0x142
[  123.551253] 
[  123.551253] and this task is already holding:
[  123.551253]  (&(&dev_priv->context_switch_lock)->rlock){-.....}, at: [<ffffffff812bdbab>] nouveau_channel_free+0x10f/0x233
[  123.551253] which would create a new lock dependency:
[  123.551253]  (&(&dev_priv->context_switch_lock)->rlock){-.....} -> (&(&mm->unused_lock)->rlock){+.+...}
[  123.551253] 

It's only theoritcal issue. If you want to quiet it down until it will be "fixed" properly, you can apply patch from http://lists.freedesktop.org/archives/nouveau/2010-July/005994.html

Marcin

#5 lore raw

Re: mmotm 2010-07-27-14-56 uploaded (staging/iio)

In reply to [email protected]
Quoted 7 lines · On Tue, 27 Jul 2010 14:56:50 -0700 [email protected] wrote:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

git://zen-kernel.org/kernel/mmotm.git

(from linux-next.patch ?)

In file included from drivers/staging/iio/accel/lis3l02dq_core.c:31:
drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want In file included from drivers/staging/iio/accel/lis3l02dq_core.c:35:
drivers/staging/iio/accel/lis3l02dq.h:161: error: field 'help' has incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_8':
drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_8':
drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_s16':
drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_s16':
drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_thresh_handler_th':
drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c:618: error: dereferencing pointer to incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_stop_device':
drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: initialization from incompatible pointer type drivers/staging/iio/imu/adis16350_core.c: In function 'adis16350_probe':
drivers/staging/iio/imu/adis16350_core.c:614: error: implicit declaration of function 'adis16350_configure_ring' drivers/staging/iio/imu/adis16350_core.c:657: error: implicit declaration of function 'adis16350_unconfigure_ring'

config attached.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#6 lore raw

Re: mmotm 2010-07-27-14-56 uploaded (staging/iio)

Thanks,

Sorry, my bad, will send fix out shortly.

Jonathan

Quoted 47 lines · On Tue, 27 Jul 2010 14:56:50 -0700 [email protected] wrote:
Quoted 8 lines

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

git://zen-kernel.org/kernel/mmotm.git

(from linux-next.patch ?)

In file included from drivers/staging/iio/accel/lis3l02dq_core.c:31:
drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want In file included from drivers/staging/iio/accel/lis3l02dq_core.c:35:
drivers/staging/iio/accel/lis3l02dq.h:161: error: field 'help' has incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_8':
drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_8':
drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_s16':
drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_s16':
drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_thresh_handler_th':
drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c:618: error: dereferencing pointer to incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_stop_device':
drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: initialization from incompatible pointer type drivers/staging/iio/imu/adis16350_core.c: In function 'adis16350_probe':
drivers/staging/iio/imu/adis16350_core.c:614: error: implicit declaration of function 'adis16350_configure_ring' drivers/staging/iio/imu/adis16350_core.c:657: error: implicit declaration of function 'adis16350_unconfigure_ring'

config attached.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#7 lore raw

cover staging:iio Build issue fixes

Hi Greg,

Sorry about this lot. I clearly missed one big case when build testing the last series of patches I sent you. Evidently never built them without buffering enabled.

Randy Dunlap found these 3 (posted to lkml in the thread,

mmotm 2010-07-27-14-56 uploaded (staging/iio)

I know of one remaining issue to do with some pointer arithmetic that won't work on 64 bit machines that I will try and get fixed shortly.

Jonathan Cameron (3):
staging:iio: iio_sw_ring_helper_state - add dummy case for no buffer
builds.
staging:iio:lis3l02dq add a thresh_timestamp field to state for no
ring case
staging:iio:adis1350 add dummy ring functions for no ring build case

 drivers/staging/iio/accel/lis3l02dq.h      |    2 ++
 drivers/staging/iio/accel/lis3l02dq_core.c |   14 +++++++-------
 drivers/staging/iio/imu/adis16350.h        |    8 ++++++++
 drivers/staging/iio/ring_sw.h              |    3 +++
 4 files changed, 20 insertions(+), 7 deletions(-)
#8 lore raw

Re: [PATCH 0/3] staging:iio Build issue fixes

Quoted 6 lines · Jonathan Cameron

Hi Greg,

Sorry about this lot. I clearly missed one big case when build testing the last series of patches I sent you. Evidently never built them without buffering enabled.

Quoted 6 lines

Randy Dunlap found these 3 (posted to lkml in the thread,

mmotm 2010-07-27-14-56 uploaded (staging/iio)

I know of one remaining issue to do with some pointer arithmetic that won't work on 64 bit machines that I will try and get fixed shortly.

Thanks. With these 3 patches applied, I still have this build warning:

In file included from linux-next-20100728/drivers/staging/iio/accel/lis3l02dq_core.c:31:
linux-next-20100728/drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list linux-next-20100728/drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want

Quoted 13 lines

Jonathan Cameron (3):
staging:iio: iio_sw_ring_helper_state - add dummy case for no buffer
builds.
staging:iio:lis3l02dq add a thresh_timestamp field to state for no
ring case
staging:iio:adis1350 add dummy ring functions for no ring build case

 drivers/staging/iio/accel/lis3l02dq.h      |    2 ++
 drivers/staging/iio/accel/lis3l02dq_core.c |   14 +++++++-------
 drivers/staging/iio/imu/adis16350.h        |    8 ++++++++
 drivers/staging/iio/ring_sw.h              |    3 +++
 4 files changed, 20 insertions(+), 7 deletions(-)
Signature · 2 lines
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Re: [PATCH 0/3] staging:iio Build issue fixes

Quoted 17 lines · On Wed, 28 Jul 2010 22:14:38 +0100 Jonathan Cameron wrote:
Quoted 16 lines · Randy Dunlap
Quoted 6 lines · Jonathan Cameron

Hi Greg,

Sorry about this lot. I clearly missed one big case when build testing the last series of patches I sent you. Evidently never built them without buffering enabled.

Quoted 6 lines

Randy Dunlap found these 3 (posted to lkml in the thread,

mmotm 2010-07-27-14-56 uploaded (staging/iio)

I know of one remaining issue to do with some pointer arithmetic that won't work on 64 bit machines that I will try and get fixed shortly.

Thanks. With these 3 patches applied, I still have this build warning:

Quoted 9 lines
Quoted 3 lines

In file included from linux-next-20100728/drivers/staging/iio/accel/lis3l02dq_core.c:31:
linux-next-20100728/drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list linux-next-20100728/drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want

Thanks, I missed that one. Shouldn't cause any actual problems (the function isn't actually called) but the warning is indicating that it is in the wrong place wrt to the ifdefs. I'll clear it up along with the pointer issue in the morning (and the silly lack of static in the 3rd patch that sparse indicated).

With these 3 patches applied, on linux-next 20100729, I'm getting:

ERROR: "iio_trigger_notify_done" [drivers/staging/iio/ring_sw.ko] undefined!

config file is attached.

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Jonathan Cameron (3):
staging:iio: iio_sw_ring_helper_state - add dummy case for no buffer
builds.
staging:iio:lis3l02dq add a thresh_timestamp field to state for no
ring case
staging:iio:adis1350 add dummy ring functions for no ring build case

Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
 drivers/staging/iio/accel/lis3l02dq.h      |    2 ++
 drivers/staging/iio/accel/lis3l02dq_core.c |   14 +++++++-------
 drivers/staging/iio/imu/adis16350.h        |    8 ++++++++
 drivers/staging/iio/ring_sw.h              |    3 +++
 4 files changed, 20 insertions(+), 7 deletions(-)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#11 lore raw

PATCH 1/3 staging:iio: iio_sw_ring_helper_state - add dummy case for no buffer builds.

In reply to Jonathan Cameron
---
 drivers/staging/iio/ring_sw.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/staging/iio/ring_sw.h +3 -0
index 0194e7f..7c27e2c 100644
@@ -222,5 +222,8 @@ void iio_sw_trigger_bh_to_ring(struct work_struct *work_s);
 #else /* CONFIG_IIO_RING_BUFFER*/
 static inline void iio_ring_sw_register_funcs(struct iio_ring_access_funcs *ra)
 {};
+struct iio_sw_ring_helper_state {
+	struct iio_dev			*indio_dev;
+};
 #endif /* !CONFIG_IIO_RING_BUFFER */
 #endif /* _IIO_RING_SW_H_ */
Signature · 1 line
1.7.1
#12 lore raw

PATCH 2/3 staging:iio:lis3l02dq add a thresh_timestamp field to state for no ring case

In reply to Jonathan Cameron
---
 drivers/staging/iio/accel/lis3l02dq.h      |    2 ++
 drivers/staging/iio/accel/lis3l02dq_core.c |   14 +++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)
drivers/staging/iio/accel/lis3l02dq.h +2 -0
index 44669ee..6e73055 100644
@@ -151,6 +151,7 @@ Form of high byte dependant on justification set in ctrl reg */
  * @helper:		data and func pointer allowing generic functions
  * @us:			actual spi_device
  * @work_thresh:	bh for threshold events
+ * @thresh_timestamp:	timestamp for threshold interrupts.
  * @inter:		used to check if new interrupt has been triggered
  * @trig:		data ready trigger registered with iio
  * @tx:			transmit buffer
@@ -161,6 +162,7 @@ struct lis3l02dq_state {
 	struct iio_sw_ring_helper_state	help;
 	struct spi_device		*us;
 	struct work_struct		work_thresh;
+	s64				thresh_timestamp;
 	bool				inter;
 	struct iio_trigger		*trig;
 	u8				*tx;
drivers/staging/iio/accel/lis3l02dq_core.c +7 -7
index b04f498..0ee9337 100644
@@ -615,7 +615,7 @@ static int lis3l02dq_thresh_handler_th(struct iio_dev *indio_dev,
 	struct lis3l02dq_state *st = lis3l02dq_h_to_s(h);
 
 	/* Stash the timestamp somewhere convenient for the bh */
-	h->last_timestamp = timestamp;
+	st->thresh_timestamp = timestamp;
 	schedule_work(&st->work_thresh);
 
 	return 0;
@@ -640,32 +640,32 @@ static void lis3l02dq_thresh_handler_bh_no_check(struct work_struct *work_s)
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_Z_HIGH)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_Z_HIGH,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_Z_LOW)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_Z_LOW,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_Y_HIGH)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_Y_HIGH,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_Y_LOW)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_Y_LOW,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_X_HIGH)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_X_HIGH,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 
 	if (t & LIS3L02DQ_REG_WAKE_UP_SRC_INTERRUPT_X_LOW)
 		iio_push_event(st->help.indio_dev, 0,
 			       IIO_EVENT_CODE_ACCEL_X_LOW,
-			       st->help.last_timestamp);
+			       st->thresh_timestamp);
 	/* reenable the irq */
 	enable_irq(st->us->irq);
 	/* Ack and allow for new interrupts */
Signature · 1 line
1.7.1
#13 lore raw

mmotm 2010-07-27 - hda-intel audio fails to initialize

In reply to [email protected]
Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Dell Latitude E6500. Soundcard has gone astray, it appears.

Quoted 1 line

From 2.6.35-rc3-mmotm0719 dmesg:

[    3.372928] usbcore: registered new interface driver usbhid
[    3.372931] usbhid: USB HID core driver 
[    3.395281] input: Dell WMI hotkeys as /devices/virtual/input/input5
[    3.396477] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    3.433604] input: HDA Intel Mic at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    3.433922] input: HDA Intel Mic at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    3.434402] input: HDA Intel Line Out at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    3.434668] input: HDA Intel HP Out at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    3.435552] ALSA device list:
[    3.435554]   #0: HDA Intel at 0xf6fdc000 irq 48
[    3.435588] Netfilter messages via NETLINK v0.30. 
[    3.435608] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Quoted 1 line

From 2.6.35-rc6-mmotm0727:

[    3.065797] usbcore: registered new interface driver usbhid
[    3.065800] usbhid: USB HID core driver
[    3.085379] input: Dell WMI hotkeys as /devices/virtual/input/input5
[    3.086706] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    3.086788] HDA Intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[    3.086841] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    3.095165] ALSA sound/pci/hda/hda_intel.c:1450: no codecs initialized
[    3.095492] HDA Intel 0000:00:1b.0: PCI INT A disabled
[    3.095640] ALSA device list:
[    3.095642]   No soundcards found.
[    3.095676] Netfilter messages via NETLINK v0.30.

Am I hitting a known issue? If not, what other info would help?

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#14 lore raw

Re: mmotm 2010-07-27 - hda-intel audio fails to initialize

At Wed, 28 Jul 2010 18:23:07 -0400,

Quoted 37 lines · [email protected] wrote:
Quoted 3 lines · On Tue, 27 Jul 2010 14:56:50 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Dell Latitude E6500. Soundcard has gone astray, it appears.

Quoted 1 line

From 2.6.35-rc3-mmotm0719 dmesg:

[    3.372928] usbcore: registered new interface driver usbhid
[    3.372931] usbhid: USB HID core driver 
[    3.395281] input: Dell WMI hotkeys as /devices/virtual/input/input5
[    3.396477] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    3.433604] input: HDA Intel Mic at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    3.433922] input: HDA Intel Mic at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    3.434402] input: HDA Intel Line Out at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    3.434668] input: HDA Intel HP Out at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    3.435552] ALSA device list:
[    3.435554]   #0: HDA Intel at 0xf6fdc000 irq 48
[    3.435588] Netfilter messages via NETLINK v0.30. 
[    3.435608] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Quoted 1 line

From 2.6.35-rc6-mmotm0727:

[    3.065797] usbcore: registered new interface driver usbhid
[    3.065800] usbhid: USB HID core driver
[    3.085379] input: Dell WMI hotkeys as /devices/virtual/input/input5
[    3.086706] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    3.086788] HDA Intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[    3.086841] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    3.095165] ALSA sound/pci/hda/hda_intel.c:1450: no codecs initialized
[    3.095492] HDA Intel 0000:00:1b.0: PCI INT A disabled
[    3.095640] ALSA device list:
[    3.095642]   No soundcards found.
[    3.095676] Netfilter messages via NETLINK v0.30.
Quoted 1 line

Am I hitting a known issue? If not, what other info would help?

This was already fixed, but in the same date (July 27) as mmotm was created. The commit is:

cd7643bfb772dc7103ed6fc8dda6b233a8e14178
Author: Jaroslav Kysela <[email protected]>
ALSA: hda-intel - fix function_id rework (add missing bitmask)

Takashi

#15 lore raw

Re: mmotm 2010-07-27 - hda-intel audio fails to initialize

Quoted 6 lines · Takashi Iwai

This was already fixed, but in the same date (July 27) as mmotm was created. The commit is:

cd7643bfb772dc7103ed6fc8dda6b233a8e14178
Author: Jaroslav Kysela <[email protected]>
ALSA: hda-intel - fix function_id rework (add missing bitmask)

Thanks, I cherry-picked that commit and my sound now works.

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel