Patch "Revert: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC" has been added to the 3.17-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

    Revert: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC

to the 3.17-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-acpi-ec-add-support-to-disallow-qr_ec-to-be-issued-before-completing-previous-qr_ec.patch
and it can be found in the queue-3.17 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Sun Dec 14 12:04:52 PST 2014
Date: Sun, 14 Dec 2014 12:04:52 -0800
To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Subject: Revert: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC

This reverts commit 2dbfff81a40b5b2be553042ad5c767e34fdd214c, which
really is commit 558e4736f2e1b0e6323adf7a5e4df77ed6cfc1a4 upstream.

Sorry for the confusion, this got applied twice, and reverted once, this
is the second revert and I hope to never touch it again...

Reported-by: Lv Zheng <lv.zheng@xxxxxxxxx>
Cc: Alexander Mezin <mezin.alexander@xxxxxxxxx>
Cc: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/acpi/ec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -299,11 +299,11 @@ static int acpi_ec_transaction_unlocked(
 	/* following two actions should be kept atomic */
 	ec->curr = t;
 	start_transaction(ec);
-	if (ec->curr->command == ACPI_EC_COMMAND_QUERY)
-		clear_bit(EC_FLAGS_QUERY_PENDING, &ec->flags);
 	spin_unlock_irqrestore(&ec->lock, tmp);
 	ret = ec_poll(ec);
 	spin_lock_irqsave(&ec->lock, tmp);
+	if (ec->curr->command == ACPI_EC_COMMAND_QUERY)
+		clear_bit(EC_FLAGS_QUERY_PENDING, &ec->flags);
 	ec->curr = NULL;
 	spin_unlock_irqrestore(&ec->lock, tmp);
 	return ret;


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-3.17/ipv6-gre-fix-wrong-skb-protocol-in-wccp.patch
queue-3.17/mm-fix-swapoff-hang-after-page-migration-and-fork.patch
queue-3.17/bond-check-length-of-ifla_bond_arp_ip_target-attributes.patch
queue-3.17/mm-vmpressure.c-fix-race-in-vmpressure_work_fn.patch
queue-3.17/drm-radeon-ignore-radeon_gem_gtt_wc-on-32-bit-x86.patch
queue-3.17/drm-i915-more-cautious-with-pch-fifo-underruns.patch
queue-3.17/revert-acpi-ec-add-support-to-disallow-qr_ec-to-be-issued-before-completing-previous-qr_ec.patch
queue-3.17/sata_fsl-fix-error-handling-of-irq_of_parse_and_map.patch
queue-3.17/i2c-omap-fix-i207-errata-handling.patch
queue-3.17/mm-fix-anon_vma_clone-error-treatment.patch
queue-3.17/netlink-use-jhash-as-hashfn-for-rhashtable.patch
queue-3.17/ahci-add-deviceids-for-sunrise-point-lp-sata-controller.patch
queue-3.17/fix-race-condition-between-vxlan_sock_add-and-vxlan_sock_release.patch
queue-3.17/net-mlx4_core-limit-count-field-to-24-bits-in-qp_alloc_res.patch
queue-3.17/ahci-disable-msi-on-samsung-0xa800-ssd.patch
queue-3.17/drm-radeon-kernel-panic-in-drm_calc_vbltimestamp_from_scanoutpos-with-3.18.0-rc6.patch
queue-3.17/gre-set-inner-mac-header-in-gro-complete.patch
queue-3.17/tg3-fix-ring-init-when-there-are-more-tx-than-rx-channels.patch
queue-3.17/drm-radeon-sync-all-bos-involved-in-a-cs-v2.patch
queue-3.17/slab-fix-nodeid-bounds-check-for-non-contiguous-node-ids.patch
queue-3.17/i2c-cadence-set-the-hardware-time-out-register-to-maximum-value.patch
queue-3.17/xen-netfront-use-correct-linear-area-after-linearizing-an-skb.patch
queue-3.17/mm-frontswap-invalidate-expired-data-on-a-dup-store-failure.patch
queue-3.17/of-fdt-memblock_reserve-memreserve-regions-in-the-case-of-partial-overlap.patch
queue-3.17/media-smiapp-only-some-selection-targets-are-settable.patch
queue-3.17/net-mvneta-fix-race-condition-in-mvneta_tx.patch
queue-3.17/net-timestamp-make-tcp_recvmsg-call-ipv6_recv_error-for-af_inet6-socks.patch
queue-3.17/xen-netfront-remove-bugs-on-paged-skb-data-which-crosses-a-page-boundary.patch
queue-3.17/nouveau-move-the-hotplug-ignore-to-correct-place.patch
queue-3.17/media-s2255drv-fix-payload-size-for-jpg-mjpeg.patch
queue-3.17/fat-fix-oops-on-corrupted-vfat-fs.patch
queue-3.17/alsa-usb-audio-don-t-resubmit-pending-urbs-at-midi-error-recovery.patch
queue-3.17/vxlan-fix-boolean-flip-in-vxlan_f_udp_zero_csum6_.patch
queue-3.17/drm-i915-unlock-panel-even-when-lvds-is-disabled.patch
queue-3.17/i2c-davinci-generate-stp-always-when-nack-is-received.patch
queue-3.17/net-mvneta-fix-tx-interrupt-delay.patch
queue-3.17/alsa-hda-add-eapd-fixup-for-asus-z99he-laptop.patch
queue-3.17/i2c-omap-fix-nack-and-arbitration-lost-irq-handling.patch
queue-3.17/rtnetlink-release-net-refcnt-on-error-in-do_setlink.patch
queue-3.17/x86-use-objdump-instead-of-plain-objdump.patch
queue-3.17/media-rc-core-fix-toggle-handling-in-the-rc6-decoder.patch
queue-3.17/drivers-input-evdev.c-don-t-kfree-a-vmalloc-address.patch
queue-3.17/ip_tunnel-the-lack-of-vti_link_ops-dellink-cause-kernel-panic.patch
queue-3.17/alsa-hda-fix-built-in-mic-at-resume-on-lenovo-ideapad-s210.patch
queue-3.17/mips-bpf-fix-broken-bpf_mod.patch
queue-3.17/drm-nouveau-gf116-remove-copy1-engine.patch
queue-3.17/net-sctp-use-max_header-for-headroom-reserve-in-output-path.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]