This is a note to let you know that I've just added the patch titled

    Revert: drm/i915: correctly order the ring init sequence

to the 3.4-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     revert-drm-i915-correctly-order-the-ring-init-sequence.patch
and it can be found in the queue-3.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From foo@baz Fri Sep 28 09:06:10 PDT 2012
Date: Fri, 28 Sep 2012 09:06:10 -0700
From: Greg Kroah-Hartman <[email protected]>
Subject: Revert: drm/i915: correctly order the ring init sequence

From: Greg Kroah-Hartman <[email protected]>

This reverts commit 57ecc93ce680b1ace1f9e79d588dabe32353202c which
really is commit 0d8957c8a90bbb5d34fab9a304459448a5131e06 upstream as it
has been reported to cause problems in the 3.4.y kernel series.

Cc: Herton Ronaldo Krzesinski <[email protected]>
Cc: Andreas Sturmlechner <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Yang Guang <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/gpu/drm/i915/intel_ringbuffer.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -258,6 +258,8 @@ static int init_ring_common(struct intel
        I915_WRITE_HEAD(ring, 0);
        ring->write_tail(ring, 0);
 
+       /* Initialize the ring. */
+       I915_WRITE_START(ring, obj->gtt_offset);
        head = I915_READ_HEAD(ring) & HEAD_ADDR;
 
        /* G45 ring initialization fails to reset head to zero */
@@ -283,11 +285,6 @@ static int init_ring_common(struct intel
                }
        }
 
-       /* Initialize the ring. This must happen _after_ we've cleared the ring
-        * registers with the above sequence (the readback of the HEAD registers
-        * also enforces ordering), otherwise the hw might lose the new ring
-        * register values. */
-       I915_WRITE_START(ring, obj->gtt_offset);
        I915_WRITE_CTL(ring,
                        ((ring->size - PAGE_SIZE) & RING_NR_PAGES)
                        | RING_VALID);


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.4/macvtap-zerocopy-put-page-when-fail-to-get-all-requested-user-pages.patch
queue-3.4/scsi-bnx2i-fixed-null-ptr-deference-for-1g-bnx2-linux-iscsi-offload.patch
queue-3.4/drm-i915-hdmi-clear-audio-enable-bit-for-hot-plug.patch
queue-3.4/drivers-rtc-rtc-twl.c-ensure-all-interrupts-are-disabled-during-probe.patch
queue-3.4/net-fix-info-leak-in-compat-dev_ifconf.patch
queue-3.4/ubi-fix-a-horrible-memory-deallocation-bug.patch
queue-3.4/brcmfmac-fix-big-endian-host-configuration-data.patch
queue-3.4/net-allow-driver-to-limit-number-of-gso-segments-per-skb.patch
queue-3.4/arm-7527-1-uaccess-explicitly-check-__user-pointer-when-cpu_use_domains.patch
queue-3.4/arm-7526-1-traps-send-sigill-if-get_user-fails-on-undef-handling-path.patch
queue-3.4/ahci-add-alternate-identifier-for-the-88se9172.patch
queue-3.4/xhci-make-handover-code-more-robust.patch
queue-3.4/af_packet-remove-bug-statement-in-tpacket_destruct_skb.patch
queue-3.4/net-qmi_wwan-new-devices-uml290-and-k5006-z.patch
queue-3.4/memory-hotplug-fix-section-info-double-registration-bug.patch
queue-3.4/pch_uart-add-eg20t_port-lock-field-avoid-recursive-spinlocks.patch
queue-3.4/md-raid5-fix-calculate-of-degraded-when-a-replacement-becomes-active.patch
queue-3.4/alsa-hda-fix-missing-master-volume-for-stac9200-925x.patch
queue-3.4/bluetooth-add-support-for-apple-vendor-specific-devices.patch
queue-3.4/cifs-fix-return-value-in-cifsconverttoutf16.patch
queue-3.4/powerpc-85xx-p1022ds-fix-diu-lbc-switching-with-nand-enabled.patch
queue-3.4/brcmfmac-fix-big-endian-bug-in-i-scan.patch
queue-3.4/kthread_worker-reorganize-to-prepare-for-flush_kthread_work-reimplementation.patch
queue-3.4/media-avoid-sysfs-oops-when-an-rc_dev-s-raw-device-is-absent.patch
queue-3.4/tty-serial-imx-console-write-routing-is-unsafe-on-smp.patch
queue-3.4/bluetooth-use-usb_vendor_and_interface-for-broadcom-devices.patch
queue-3.4/staging-vt6656-failed-connection-incorrect-endian.patch
queue-3.4/bluetooth-btusb-add-vendor-specific-id-0a5c-21f4-bcm20702a0.patch
queue-3.4/sched-fix-race-in-task_group.patch
queue-3.4/scsi-hpsa-fix-handling-of-protocol-error.patch
queue-3.4/drm-i915-extract-connector-update-from-intel_ddc_get_modes-for-reuse.patch
queue-3.4/bluetooth-fix-use-after-free-bug-in-smp.patch
queue-3.4/acpi-pm-fix-resource_lock-dead-lock-in-acpi_power_on_device.patch
queue-3.4/drm-radeon-implement-acpi-vfct-vbios-fetch-v3.patch
queue-3.4/revert-drm-i915-correctly-order-the-ring-init-sequence.patch
queue-3.4/asoc-wm2000-correct-register-size.patch
queue-3.4/arm-fix-ioremap-of-address-zero.patch
queue-3.4/atm-fix-info-leak-via-getsockname.patch
queue-3.4/net-statically-initialize-init_net.dev_base_head.patch
queue-3.4/usb-fix-race-condition-when-removing-host-controllers.patch
queue-3.4/mmc-mxs-mmc-fix-deadlock-in-sdio-irq-case.patch
queue-3.4/bluetooth-rfcomm-fix-info-leak-in-ioctl-rfcommgetdevlist.patch
queue-3.4/can-janz-ican3-fix-support-for-older-hardware-revisions.patch
queue-3.4/bluetooth-l2cap-fix-info-leak-via-getsockname.patch
queue-3.4/media-cx25821-remove-bad-strcpy-to-read-only-char.patch
queue-3.4/drm-radeon-atom-rework-dig-modesetting-on-dce3.patch
queue-3.4/alsa-hda-fix-oops-at-codec-reset-reconfig.patch
queue-3.4/drm-radeon-split-atrm-support-out-from-the-atpx-handler-v3.patch
queue-3.4/mutex-place-lock-in-contended-state-after-fastpath_lock-failure.patch
queue-3.4/can-ti_hecc-fix-oops-during-rmmod.patch
queue-3.4/usb-option-replace-zte-k5006-z-entry-with-vendor-class-rule.patch
queue-3.4/hwmon-fam15h_power-tweak-runavg_range-on-resume.patch
queue-3.4/lockd-pass-service-to-per-net-up-and-down-functions.patch
queue-3.4/usb-ftdi_sio-do-not-claim-cdc-acm-function.patch
queue-3.4/kobject-fix-oops-with-input0-bad-kobj_uevent_env-content-in-show_uevent.patch
queue-3.4/staging-speakup-fix-an-improperly-declared-variable.patch
queue-3.4/kthread_worker-reimplement-flush_kthread_work-to-allow-freeing-the-work-item-being-executed.patch
queue-3.4/powerpc-85xx-p1022ds-disable-the-nand-flash-node-if-video-is-enabled.patch
queue-3.4/bluetooth-fix-sending-a-hci-authorization-request-over-le-links.patch
queue-3.4/macvtap-zerocopy-fix-truesize-underestimation.patch
queue-3.4/arm-7532-1-decompressor-reset-sctlr.tre-for-vmsa-armv7-cores.patch
queue-3.4/net-core-fix-potential-memory-leak-in-dev_set_alias.patch
queue-3.4/vmwgfx-corruption-in-vmw_event_fence_action_create.patch
queue-3.4/rt2800usb-added-rx-packet-length-validity-check.patch
queue-3.4/bluetooth-mgmt-fix-enabling-ssp-while-powered-off.patch
queue-3.4/sched-add-missing-call-to-calc_load_exit_idle.patch
queue-3.4/alsa-ice1724-use-linear-scale-for-ak4396-volume-control.patch
queue-3.4/vfs-make-o_path-file-descriptors-usable-for-fstat.patch
queue-3.4/tcp-apply-device-tso-segment-limit-earlier.patch
queue-3.4/net-qmi_wwan-add-vodafone-huawei-k5005-support.patch
queue-3.4/sfc-fix-maximum-number-of-tso-segments-and-minimum-tx-queue-size.patch
queue-3.4/mips-mm-add-compound-tail-page-_mapcount-when-mapped.patch
queue-3.4/usb-host-xhci-fix-compilation-error-for-non-pci-based-stacks.patch
queue-3.4/vfs-dcache-use-dcache_dentry_killed-instead-of-dcache_disconnected-in-d_kill.patch
queue-3.4/pch_uart-fix-parity-setting-issue.patch
queue-3.4/drm-nouveau-fix-booting-with-plymouth-dumb-support.patch
queue-3.4/usb-qmi_wwan-add-zte-vodafone-k3765-z.patch
queue-3.4/ehci-update-qtd-next-pointer-in-qh-overlay-region-during-unlink.patch
queue-3.4/net-qmi_wwan-add-zte-mf60.patch
queue-3.4/staging-android-alarm-ioctl-command-encoding-fix.patch
queue-3.4/scsi-mpt2sas-fix-for-issue-unable-to-boot-from-the-drive-connected-to-hba.patch
queue-3.4/af_packet-don-t-emit-packet-on-orig-fanout-group.patch
queue-3.4/drm-radeon-convert-radeon-vfct-code-to-use-acpi_get_table_with_size.patch
queue-3.4/redefine-atomic_init-and-atomic64_init-to-drop-the-casts.patch
queue-3.4/xen-m2p-do-not-reuse-kmap_op-dev_bus_addr.patch
queue-3.4/drm-radeon-force-dma32-to-fix-regression-rs4xx-rs6xx-rs740.patch
queue-3.4/mm-avoid-swapping-out-with-swappiness-0.patch
queue-3.4/perf_event-switch-to-internal-refcount-fix-race-with-close.patch
queue-3.4/isdnloop-fix-and-simplify-isdnloop_init.patch
queue-3.4/md-raid10-fix-problem-with-on-stack-allocation-of-r10bio-structure.patch
queue-3.4/bluetooth-change-signature-of-smp_conn_security.patch
queue-3.4/ipvs-fix-info-leak-in-getsockopt-ip_vs_so_get_timeout.patch
queue-3.4/atm-fix-info-leak-in-getsockopt-so_atmpvc.patch
queue-3.4/irq_remap-disable-irq-remapping-if-any-ioapic-lacks-an-iommu.patch
queue-3.4/drm-i915-fall-back-to-bit-banging-if-gmbus-fails-in-crt-edid-reads.patch
queue-3.4/nbd-clear-waiting_queue-on-shutdown.patch
queue-3.4/usb-host-xhci-fix-compliance-mode-on-sn65lvpe502cp-hardware.patch
queue-3.4/workqueue-unbound-rebind-morphing-in-rebind_workers-should-be-atomic.patch
queue-3.4/arm-7496-1-hw_breakpoint-don-t-rely-on-dfsr-to-show-watchpoint-access-type.patch
queue-3.4/bluetooth-mgmt-fix-enabling-le-while-powered-off.patch
queue-3.4/ecryptfs-copy-up-attributes-of-the-lower-target-inode-after-rename.patch
queue-3.4/mm-ia64-fix-a-memory-block-size-bug.patch
queue-3.4/usb-dwc3-ep0-correct-cache-sync-issue-in-case-of-ep0_bounced.patch
queue-3.4/hwmon-twl4030-madc-hwmon-initialize-uninitialized-structure-elements.patch
queue-3.4/staging-zcache-fix-cleancache-race-condition-with-shrinker.patch
queue-3.4/usb-ftdi_sio-pid-for-nzr-sem-16-usb.patch
queue-3.4/ibmveth-fix-alignment-of-rx-queue-bug.patch
queue-3.4/dmaengine-at_hdmac-check-that-each-sg-data-length-is-non-null.patch
queue-3.4/llc-fix-info-leak-via-getsockname.patch
queue-3.4/gpio-lpc32xx-fix-value-handling-of-gpio_direction_output.patch
queue-3.4/drivers-misc-sgi-xp-xpc_uv.c-sgi-xpc-fails-to-load-when-cpu-0-is-out-of-irq-resources.patch
queue-3.4/acpi-pm-use-kern_debug-when-no-power-resources-are-found.patch
queue-3.4/vmwgfx-add-dumb-ioctl-support.patch
queue-3.4/macvtap-zerocopy-fix-offset-calculation-when-building-skb.patch
queue-3.4/hid-fix-logitech-dj-missing-unifying-device-issue.patch
queue-3.4/md-don-t-truncate-size-at-4tb-for-raid0-and-linear.patch
queue-3.4/drm-radeon-don-t-disable-plls-that-are-in-use-by-other-crtcs.patch
queue-3.4/pch_uart-fix-missing-break-for-16-byte-fifo.patch
queue-3.4/drm-radeon-avoid-turning-off-spread-spectrum-for-used-pll.patch
queue-3.4/net-qmi_wwan-add-sierra-wireless-devices.patch
queue-3.4/mm-page_alloc-fix-the-page-address-of-higher-page-s-buddy-calculation.patch
queue-3.4/asix-support-dlink-dub-e100-h-w-ver-c1.patch
queue-3.4/ipv6-addrconf-avoid-calling-netdevice-notifiers-with-rcu-read-side-lock.patch
queue-3.4/digsig-add-hash-size-comparision-on-signature-verification.patch
queue-3.4/cpufreq-powernow-k8-workqueue-user-shouldn-t-migrate-the-kworker-to-another-cpu.patch
queue-3.4/intel-xhci-only-switch-the-switchable-ports.patch
queue-3.4/pch_uart-fix-rx-error-interrupt-setting-issue.patch
queue-3.4/input-i8042-disable-mux-on-toshiba-c850d.patch
queue-3.4/time-move-ktime_t-overflow-checking-into-timespec_valid_strict.patch
queue-3.4/cfg80211-fix-possible-circular-lock-on-reg_regdb_search.patch
queue-3.4/drm-radeon-ss-use-num_crtc-rather-than-hardcoded-6.patch
queue-3.4/rt2x00-fix-word-size-of-rt2500usb-mac_csr19-register.patch
queue-3.4/x86-fix-boot-on-twinhead-h12y.patch
queue-3.4/net-qmi_wwan-add-zte-mf821d.patch
queue-3.4/netconsole-remove-a-redundant-netconsole_target_put.patch
queue-3.4/arm-7513-1-make-sure-dtc-is-built-before-running-it.patch
queue-3.4/usb-ohci-at91-fix-null-pointer-in-ohci_hcd_at91_overcurrent_irq.patch
queue-3.4/media-lirc_sir-make-device-registration-work.patch
queue-3.4/alsa-hda-workaround-for-silent-output-on-vaio-z-with-alc889.patch
queue-3.4/bluetooth-hci-fix-info-leak-in-getsockopt-hci_filter.patch
queue-3.4/xen-boot-disable-numa-for-pv-guests.patch
queue-3.4/fbcon-fix-race-condition-between-console-lock-and-cursor-timer-v1.1.patch
queue-3.4/xhci-recognize-usb-3.0-devices-as-superspeed-at-powerup.patch
queue-3.4/nfs-fix-the-initialisation-of-the-readdir-cookieverf-array.patch
queue-3.4/drivers-rtc-rtc-rs5c348.c-fix-hour-decoding-in-12-hour-mode.patch
queue-3.4/hwmon-ad7314-add-name-sysfs-attribute.patch
queue-3.4/asus-laptop-hrws-hwrs-typo.patch
queue-3.4/bluetooth-fix-not-removing-power_off-delayed-work.patch
queue-3.4/staging-comedi-das08-correct-ao-output-for-das08jr-16-ao.patch
queue-3.4/usb-host-xhci-plat-use-ioremap_nocache.patch
queue-3.4/xhci-fix-a-logical-vs-bitwise-and-bug.patch
queue-3.4/rt2x00-fix-rfkill-polling-prior-to-interface-start.patch
queue-3.4/net_sched-gact-fix-potential-panic-in-tcf_gact.patch
queue-3.4/usb-add-device-quirk-for-joss-optical-touchboard.patch
queue-3.4/cciss-fix-handling-of-protocol-error.patch
queue-3.4/dma-pl330-fix-potential-null-pointer-dereference-in.patch
queue-3.4/asoc-samsung-dma-don-t-indicate-support-for-pause-resume.patch
queue-3.4/tracing-don-t-call-page_to_pfn-if-page-is-null.patch
queue-3.4/dma-pl330-check-the-pointer-returned-by-kzalloc.patch
queue-3.4/time-improve-sanity-checking-of-timekeeping-inputs.patch
queue-3.4/scsi-scsi-virtio-scsi-fix-address-translation-failure-of-highmem-pages-used-by-sg-list.patch
queue-3.4/mac80211-clear-bssid-on-auth-assoc-failure.patch
queue-3.4/macvtap-zerocopy-set-skbtx_dev_zerocopy-only-when-skb-is-built-successfully.patch
queue-3.4/usb-ftdi-sio-add-support-for-more-physik-instrumente-devices.patch
queue-3.4/fix-a-dead-loop-in-async_synchronize_full.patch
queue-3.4/mmc-card-skip-secure-erase-on-movinand-causes-unrecoverable-corruption.patch
queue-3.4/dccp-fix-info-leak-via-getsockopt-dccp_sockopt_ccid_tx_info.patch
queue-3.4/nfs-return-error-from-decode_getfh-in-decode-open.patch
queue-3.4/rt2x00-identify-asus-usb-n53-device.patch
queue-3.4/hpwdt-fix-kdump-issue-in-hpwdt.patch
queue-3.4/hwmon-ads7871-add-name-sysfs-attribute.patch
queue-3.4/usb-cdc-wdm-fix-wdm_find_device-return-value.patch
queue-3.4/sunrpc-fix-a-udp-transport-regression.patch
queue-3.4/openvswitch-reset-upper-layer-protocol-info-on-internal-devices.patch
queue-3.4/oprofile-s390-fix-uninitialized-memory-access-when-writing-to-oprofilefs.patch
queue-3.4/drm-radeon-fix-dig-encoder-selection-on-dce61.patch
queue-3.4/asus-nb-wmi-add-some-video-toggle-keys.patch
queue-3.4/mmc-sdhci-esdhc-break-out-early-if-clock-is-0.patch
queue-3.4/workqueue-reimplement-work_on_cpu-using-system_wq.patch
queue-3.4/md-make-sure-metadata-is-updated-when-spares-are-activated-or-removed.patch
queue-3.4/sound-tegra_alc5632-remove-hp-detect-gpio-inversion.patch
queue-3.4/pm-runtime-clear-power.deferred_resume-on-success-in-rpm_suspend.patch
queue-3.4/bluetooth-rfcomm-fix-info-leak-via-getsockname.patch
queue-3.4/pptp-lookup-route-with-the-proper-net-namespace.patch
queue-3.4/net-qmi_wwan-add-sierra-wireless-device-ids.patch
queue-3.4/nfsd-introduce-nfsd_destroy-helper.patch
queue-3.4/drm-udl-limit-modes-to-the-sku-pixel-limits.patch
queue-3.4/usb-ohci-at91-fix-pio-handling-in-relation-with-number-of-ports.patch
queue-3.4/drm-check-for-invalid-cursor-flags.patch
queue-3.4/fs-proc-fix-potential-unregister_sysctl_table-hang.patch
queue-3.4/drm-radeon-kms-extend-the-fujitsu-d3003-s2-board-connector-quirk-to-cover-later-silicon-stepping.patch
queue-3.4/target-fix-data_length-re-assignment-bug-with-scsi-overflow.patch
queue-3.4/time-avoid-making-adjustments-if-we-haven-t-accumulated-anything.patch
queue-3.4/rtlwifi-rtl8192ce-log-message-that-b_cut-device-may-not-work.patch
queue-3.4/dmaengine-at_hdmac-fix-comment-in-atc_prep_slave_sg.patch
queue-3.4/can-mcp251x-avoid-repeated-frame-bug.patch
queue-3.4/arm-omap-timer-obey-the-config_omap_32k_timer.patch
queue-3.4/staging-r8712u-fix-bug-in-r8712_recv_indicatepkt.patch
queue-3.4/drm-i915-fix-wrong-order-of-parameters-in-port-checking.patch
queue-3.4/libata-prevent-interface-errors-with-seagate-freeagent-goflex.patch
queue-3.4/bluetooth-hci-fix-info-leak-via-getsockname.patch
queue-3.4/nfsd-set-nfsd_serv-to-null-after-service-destruction.patch
queue-3.4/drm-radeon-atom-powergating-fixes-for-dce6.patch
queue-3.4/pm-runtime-fix-rpm_resume-return-value-for-power.no_callbacks-set.patch
queue-3.4/nfs-fix-a-problem-with-the-legacy-binary-mount-code.patch
queue-3.4/bluetooth-rfcomm-fix-info-leak-in-getsockopt-bt_security.patch
queue-3.4/rds-set-correct-msg_namelen.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to