/* * This header provides constants for MPC512x clock specs in DT bindings. */ #ifndef _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H #define _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H #define MPC512x_CLK_DUMMY 0 #define MPC512x_CLK_REF 1 #define MPC512x_CLK_SYS 2 #define MPC512x_CLK_DIU 3 #define MPC512x_CLK_VIU 4 #define MPC512x_CLK_CSB 5 #define MPC512x_CLK_E300 6 #define MPC512x_CLK_IPS 7 #define MPC512x_CLK_FEC 8 #define MPC512x_CLK_SATA 9 #define MPC512x_CLK_PATA 10 #define MPC512x_CLK_NFC 11 #define MPC512x_CLK_LPC 12 #define MPC512x_CLK_MBX_BUS 13 #define MPC512x_CLK_MBX 14 #define MPC512x_CLK_MBX_3D 15 #define MPC512x_CLK_AXE 16 #define MPC512x_CLK_USB1 17 #define MPC512x_CLK_USB2 18 #define MPC512x_CLK_I2C 19 #define MPC512x_CLK_MSCAN0_MCLK 20 #define MPC512x_CLK_MSCAN1_MCLK 21 #define MPC512x_CLK_MSCAN2_MCLK 22 #define MPC512x_CLK_MSCAN3_MCLK 23 #define MPC512x_CLK_BDLC 24 #define MPC512x_CLK_SDHC 25 #define MPC512x_CLK_PCI 26 #define MPC512x_CLK_PSC_MCLK_IN 27 #define MPC512x_CLK_SPDIF_TX 28 #define MPC512x_CLK_SPDIF_RX 29 #define MPC512x_CLK_SPDIF_MCLK 30 #define MPC512x_CLK_SPDIF 31 #define MPC512x_CLK_AC97 32 #define MPC512x_CLK_PSC0_MCLK 33 #define MPC512x_CLK_PSC1_MCLK 34 #define MPC512x_CLK_PSC2_MCLK 35 #define MPC512x_CLK_PSC3_MCLK 36 #define MPC512x_CLK_PSC4_MCLK 37 #define MPC512x_CLK_PSC5_MCLK 38 #define MPC512x_CLK_PSC6_MCLK 39 #define MPC512x_CLK_PSC7_MCLK 40 #define MPC512x_CLK_PSC8_MCLK 41 #define MPC512x_CLK_PSC9_MCLK 42 #define MPC512x_CLK_PSC10_MCLK 43 #define MPC512x_CLK_PSC11_MCLK 44 #define MPC512x_CLK_PSC_FIFO 45 #define MPC512x_CLK_PSC0 46 #define MPC512x_CLK_PSC1 47 #define MPC512x_CLK_PSC2 48 #define MPC512x_CLK_PSC3 49 #define MPC512x_CLK_PSC4 50 #define MPC512x_CLK_PSC5 51 #define MPC512x_CLK_PSC6 52 #define MPC512x_CLK_PSC7 53 #define MPC512x_CLK_PSC8 54 #define MPC512x_CLK_PSC9 55 #define MPC512x_CLK_PSC10 56 #define MPC512x_CLK_PSC11 57 #define MPC512x_CLK_SDHC2 58 #define MPC512x_CLK_FEC2 59 #define MPC512x_CLK_OUT0_CLK 60 #define MPC512x_CLK_OUT1_CLK 61 #define MPC512x_CLK_OUT2_CLK 62 #define MPC512x_CLK_OUT3_CLK 63 #define MPC512x_CLK_CAN_CLK_IN 64 #define MPC512x_CLK_LAST_PUBLIC 64 #endif s='form'>
path: root/include/uapi/asm-generic/bitsperlong.h
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2017-01-28 11:46:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-31 10:59:48 +0100
commit433e19cf33d34bb6751c874a9c00980552fe508c (patch)
treece6547ef2987fbb289fa28f03536328a42781651 /include/uapi/asm-generic/bitsperlong.h
parent191e885a2e130e639bb0c8ee350d7047294f2ce6 (diff)
Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()
Commit a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") added the proper mb(), but removed the test "prev_write_sz < pending_sz" when making the signal decision. As a result, the guest can signal the host unnecessarily, and then the host can throttle the guest because the host thinks the guest is buggy or malicious; finally the user running stress test can perceive intermittent freeze of the guest. This patch brings back the test, and properly handles the in-place consumption APIs used by NetVSC (see get_next_pkt_raw(), put_pkt_raw() and commit_rd_index()). Fixes: a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") Signed-off-by: Dexuan Cui <decui@microsoft.com> Reported-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Tested-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/asm-generic/bitsperlong.h')