[PATCH 3.17 17/47] of/fdt: memblock_reserve /memreserve/ regions in the case of partial overlap

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Ian Campbell commit 094cb98179f19b75acf9ff471daabf3948ce98e6 upstream. memblock_is_region_reserved() returns true in the case of a partial overlap, meaning that the current code fails to reser

[PATCH 3.17 19/47] drm/i915: Unlock panel even when LVDS is disabled

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit b0616c5306b342ceca07044dbc4f917d95c4f825 upstream. Otherwise we'll have backtraces in assert_panel_unlocked because the BIOS locks the register. In the reporter's case thi

[PATCH 3.17 16/47] drm/radeon: kernel panic in drm_calc_vbltimestamp_from_scanoutpos with 3.18.0-rc6

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Petr Mladek commit f5475cc43c899e33098d4db44b7c5e710f16589d upstream. I was unable too boot 3.18.0-rc6 because of the following kernel panic in drm_calc_vbltimestamp_from_scanoutpos(): [d

[PATCH 3.17 20/47] x86: Use $(OBJDUMP) instead of plain objdump

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Chris Clayton commit e2e68ae688b0a3766cd75aedf4ed4e39be402009 upstream. commit e6023367d779 'x86, kaslr: Prevent .bss from overlaping initrd' broke the cross compile of x86. It added a objdump

[PATCH 3.17 29/47] vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 3dc2b6a8d38cf6c7604ec25f3d50d6ec8da04435 ] In "vxlan: Call udp_sock_create" there was a logic error that resulted in the default for IPv6 VXLAN tunnels going

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Frederic Weisbecker
On Sun, Dec 14, 2014 at 11:50:20AM -0800, Linus Torvalds wrote: > On Sun, Dec 14, 2014 at 10:04 AM, Frederic Weisbecker > wrote: > > > > Such as: > > So I like your patch, but quite frankly, can we go one step further? > > Look at the callers of __schedule(). > > EVERY SINGLE ONE now has that l

[PATCH 3.17 08/47] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit 8d609725d4357f499e2103e46011308b32f53513 upstream. These BUGs can be erroneously triggered by frags which refer to tail pages within a compound page. The data in these page

[PATCH 3.17 32/47] net/mlx4_core: Limit count field to 24 bits in qp_alloc_res

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit 2d5c57d7fbfaa642fb7f0673df24f32b83d9066c ] Some VF drivers use the upper byte of "param1" (the qp count field) in mlx4_qp_reserve_range() to pass flags which

Re: [PATCH 0/2 v2] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 15:16:09 -0500 Steven Rostedt wrote: > 1) Allow traceopoints to be enabled right after mm_init(). By passing > in the trace_event= kernel command line parameter, tracepoints can be > enabled at boot up. For debugging things like the initialization of > interrupts, it is needed

[PATCH 3.17 06/47] mm: fix anon_vma_clone() error treatment

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Forrest commit c4ea95d7cd08d9ffd7fa75e6c5e0332d596dd11e upstream. Andrew Morton noticed that the error return from anon_vma_clone() was being dropped and replaced with -ENOMEM (which is

[PATCH 3.17 33/47] net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit f4713a3dfad045d46afcb9c2a7d0bba288920ed4 ] TCP timestamping introduced MSG_ERRQUEUE handling for TCP sockets. If the socket is of family AF_INET6, call ipv6_

[PATCH 3.17 35/47] rtnetlink: release net refcnt on error in do_setlink()

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit e0ebde0e131b529fd721b24f62872def5ec3718c ] rtnl_link_get_net() holds a reference on the 'struct net', we need to release it in case of error. CC: Eric W. Bie

[PATCH 3.17 34/47] bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf [ Upstream commit f6c6fda4c9e17940b0a2ba206b0408babfdc930c ] Fixes: 7f28fa10 ("bonding: add arp_ip_target netlink support") Reported-by: John Fastabend Cc: Scott Feldman Signed-o

[PATCH 3.17 37/47] mips: bpf: Fix broken BPF_MOD

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Denis Kirjanov [ Upstream commit 2e46477a12f6fd273e31a220b155d66e8352198c ] Remove optimize_div() from BPF_MOD | BPF_K case since we don't know the dividend and fix the emit_mod() by reading t

[PATCH 3.17 39/47] net: mvneta: fix race condition in mvneta_tx()

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5f478b41033606d325e420df693162e2524c2b94 ] mvneta_tx() dereferences skb to get skb->len too late, as hardware might have completed the transmit and TX completion

Re: bluetooth: Add hci_h4p driver

2014-12-14 Thread Marcel Holtmann
Hi Pavel, >>> Hacks surrounding bluetooth address were removed; this results in >>> working driver with address that is probably not unique. >> >> Just set HCI_QUIRK_INVALID_BDADDR and let someone deal with that in >> userspace. You can use the btmgmt public-addr command for testing. >> > > Ok

[PATCH 3.17 38/47] net: mvneta: fix Tx interrupt delay

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: willy tarreau [ Upstream commit aebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 ] The mvneta driver sets the amount of Tx coalesce packets to 16 by default. Normally that does not cause any trouble s

[PATCH 3.17 36/47] gre: Set inner mac header in gro complete

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert [ Upstream commit 6fb2a756739aa507c1fd5b8126f0bfc2f070dc46 ] Set the inner mac header to point to the GRE payload when doing GRO. This is needed if we proceed to send the packet th

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:20:20PM -0500, Steven Rostedt wrote: > On Sun, 14 Dec 2014 10:14:44 -0800 > "Paul E. McKenney" wrote: > > > > > diff --git a/init/main.c b/init/main.c > > > index 800a0daede7e..060e60b6aa59 100644 > > > --- a/init/main.c > > > +++ b/init/main.c > > > @@ -561,6 +561,9 @

[PATCH 3.17 41/47] xen-netfront: use correct linear area after linearizing an skb

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel [ Upstream commit 11d3d2a16cc1f05c6ece69a4392e99efb85666a6 ] Commit 97a6d1bb2b658ac85ed88205ccd1ab809899884d (xen-netfront: Fix handling packets on compound pages with skb_lineari

[PATCH 3.17 42/47] netlink: use jhash as hashfn for rhashtable

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 7f19fc5e0b617593dcda0d9956adc78b559ef1f5 ] For netlink, we shouldn't be using arch_fast_hash() as a hashing discipline, but rather jhash() instead. Since net

[PATCH 3.17 43/47] Revert: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 2dbfff81a40b5b2be553042ad5c767e34fdd214c, which really is commit 558e4736f2e1b0e6323adf7a5e4df77ed6cfc1a4 upstream. Sorry for the confusion, this got applied twice, and reverted on

[PATCH 3.17 45/47] ALSA: hda - Add EAPD fixup for ASUS Z99He laptop

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f62f5eff3d40a56ad1cf0d81a6cac8dd8743e8a1 upstream. The same fixup to enable EAPD is needed for ASUS Z99He with AD1986A codec like another ASUS machine. Reported-and-tested

[PATCH 3.17 07/47] slab: fix nodeid bounds check for non-contiguous node IDs

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 7c3fbbdd04a681a1992ad6a3d7a36a63ff668753 upstream. The bounds check for nodeid in cache_alloc_node gives false positives on machines where the node IDs are not contig

[PATCH 3.17 23/47] media: smiapp: Only some selection targets are settable

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit b31eb901c4e5eeef4c83c43dfbc7fe0d4348cb21 upstream. Setting a non-settable selection target caused BUG() to be called. The check for valid selections only takes the selectio

[PATCH 3.17 22/47] media: s2255drv: fix payload size for JPG, MJPEG

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: sensoray-dev commit 1f391217ad8d7cd7b1e48e6e2abf49970cd91d18 upstream. length is the size of the buffer, not the payload. That's set using vb2_set_plane_payload(). Signed-off-by: Dean Anderso

[PATCH 3.17 26/47] sata_fsl: fix error handling of irq_of_parse_and_map

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit aad0b624129709c94c2e19e583b6053520353fa8 upstream. irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative result never works. S

[PATCH 3.17 25/47] ahci: disable MSI on SAMSUNG 0xa800 SSD

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 ("ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks"

[PATCH 3.17 05/47] mm: fix swapoff hang after page migration and fork

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 2022b4d18a491a578218ce7a4eca8666db895a73 upstream. I've been seeing swapoff hangs in recent testing: it's cycling around trying unsuccessfully to find an mm for some remain

[PATCH 3.17 24/47] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Devin Ryles commit 249cd0a187ed4ef1d0af7f74362cc2791ec5581b upstream. This patch adds DeviceIDs for Sunrise Point-LP. Signed-off-by: Devin Ryles Signed-off-by: Tejun Heo Signed-off-by: Greg

[PATCH 3.17 27/47] ip_tunnel: the lack of vti_link_ops dellink() cause kernel panic

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: lucien [ Upstream commit 20ea60ca9952bd19d4b0d74719daba305aef5178 ] Now the vti_link_ops do not point the .dellink, for fb tunnel device (ip_vti0), the net_device will be removed as the defaul

[PATCH 3.17 30/47] Fix race condition between vxlan_sock_add and vxlan_sock_release

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Leitner [ Upstream commit 00c83b01d58068dfeb2e1351cca6fccf2a83fa8f ] Currently, when trying to reuse a socket, vxlan_sock_add will grab vn->sock_lock, locate a reusable socket, inc ref

[PATCH 3.17 28/47] ipv6: gre: fix wrong skb->protocol in WCCP

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Yuri Chislov [ Upstream commit be6572fdb1bfbe23b2624d477de50af50b02f5d6 ] When using GRE redirection in WCCP, it sets the wrong skb->protocol, that is, ETH_P_IP instead of ETH_P_IPV6 for the e

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:25:56PM -0500, Steven Rostedt wrote: > On Sun, 14 Dec 2014 10:18:35 -0800 > "Paul E. McKenney" wrote: > > > > With your feed back, and because I would like this to go into 3.19, I > > > would like to keep the current patch as is (with the read_mostly > > > update, which

[PATCH 3.10 15/24] net/mlx4_core: Limit count field to 24 bits in qp_alloc_res

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit 2d5c57d7fbfaa642fb7f0673df24f32b83d9066c ] Some VF drivers use the upper byte of "param1" (the qp count field) in mlx4_qp_reserve_range() to pass flags which

[PATCH 3.10 19/24] nEPT: Nested INVEPT

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nadav Har'El commit bfd0a56b90005f8c8a004baf407ad90045c2b11e upstream. If we let L1 use EPT, we should probably also support the INVEPT instruction. In our current nested EPT implementation,

[PATCH 3.10 16/24] rtnetlink: release net refcnt on error in do_setlink()

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit e0ebde0e131b529fd721b24f62872def5ec3718c ] rtnl_link_get_net() holds a reference on the 'struct net', we need to release it in case of error. CC: Eric W. Bie

[GIT PULL] aio: changes for 3.19

2014-12-14 Thread Benjamin LaHaise
Hello Linus & everyone, The following changes since commit b2776bf7149bddd1f4161f14f79520f17fc1d71d: Linux 3.18 (2014-12-07 14:21:05 -0800) are available in the git repository at: git://git.kvack.org/~bcrl/aio-next.git master for you to fetch changes up to 5f785de588735306ec4d7c875caf9d284

[PATCH 3.10 17/24] net: mvneta: fix Tx interrupt delay

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: willy tarreau [ Upstream commit aebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 ] The mvneta driver sets the amount of Tx coalesce packets to 16 by default. Normally that does not cause any trouble s

[PATCH 3.10 14/24] tg3: fix ring init when there are more TX than RX channels

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Thadeu Lima de Souza Cascardo [ Upstream commit a620a6bc1c94c22d6c312892be1e0ae171523125 ] If TX channels are set to 4 and RX channels are set to less than 4, using ethtool -L, the driver will

[PATCH 3.10 12/24] sata_fsl: fix error handling of irq_of_parse_and_map

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit aad0b624129709c94c2e19e583b6053520353fa8 upstream. irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative result never works. S

[PATCH 3.10 13/24] ipv6: gre: fix wrong skb->protocol in WCCP

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Yuri Chislov [ Upstream commit be6572fdb1bfbe23b2624d477de50af50b02f5d6 ] When using GRE redirection in WCCP, it sets the wrong skb->protocol, that is, ETH_P_IP instead of ETH_P_IPV6 for the e

[PATCH 3.10 11/24] ahci: disable MSI on SAMSUNG 0xa800 SSD

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 ("ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks"

[PATCH 3.10 10/24] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Devin Ryles commit 249cd0a187ed4ef1d0af7f74362cc2791ec5581b upstream. This patch adds DeviceIDs for Sunrise Point-LP. Signed-off-by: Devin Ryles Signed-off-by: Tejun Heo Signed-off-by: Greg

[PATCH 3.10 01/24] mm: frontswap: invalidate expired data on a dup-store failure

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Weijie Yang commit fb993fa1a2f669215fa03a09eed7848f2663e336 upstream. If a frontswap dup-store failed, it should invalidate the expired page in the backend, or it could trigger some data corru

[PATCH 1/2 v2] tracing: Move enabling tracepoints to just after rcu_init()

2014-12-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Enabling tracepoints at boot up can be very useful. The tracepoint can be initialized right after RCU has been. There's no need to wait for the early_initcall() to be called. That's too late for some things that can use tracepoints for debugging. Move the logic to

[PATCH 2/2 v2] tracing: Add tp_printk cmdline to have tracepoints go to printk()

2014-12-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add the kernel command line tp_printk option that will have tracepoints that are active sent to printk() as well as to the trace buffer. Passing "tp_printk" will activate this. To turn it off, the sysctl /proc/sys/kernel/tracepoint_printk can have '0' echoed into

[PATCH 0/2 v2] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
Version 2: Removed the update to tracepoint.c code and just call trace_init() after rcu_init() where call_rcu_sched() can be used. Version 1 at: http://lkml.kernel.org/r/20141214164104.307127...@goodmis.org This adds two new features: 1) Allow traceopoints to be enabled right after mm_init(

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Linus Torvalds
On Sun, Dec 14, 2014 at 10:04 AM, Frederic Weisbecker wrote: > > Such as: So I like your patch, but quite frankly, can we go one step further? Look at the callers of __schedule(). EVERY SINGLE ONE now has that loop around it that goes along the lines of do { .. disable preemption some

[GIT PULL] x86 fixes

2014-12-14 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 0e58af4e1d2166e9e33375a0f121e4867010d4f8 x86/tls: Disallow unusual TLS segments Misc fixes (mainly Andy's TLS fixes), plus a cleanup.

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Sat, Dec 13, 2014 at 08:36:34AM +0100, Ingo Molnar wrote: > > > > * Linus Torvalds wrote: > > > > > I'm also not sure if the bug ever happens with preemption > > > disabled. Sasha, was that you who reported that you cannot > > > reproduce it without preempt

Re: [PATCH v5] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-14 Thread Oleg Nesterov
On 12/12, David Hildenbrand wrote: > > void get_online_cpus(void) > { > @@ -103,8 +95,7 @@ void get_online_cpus(void) > return; > cpuhp_lock_acquire_read(); > mutex_lock(&cpu_hotplug.lock); > - apply_puts_pending(65536); > - cpu_hotplug.refcount++; > + atomic

Re: bluetooth: Add hci_h4p driver

2014-12-14 Thread Pavel Machek
Hi! > > Hacks surrounding bluetooth address were removed; this results in > > working driver with address that is probably not unique. > > Just set HCI_QUIRK_INVALID_BDADDR and let someone deal with that in > userspace. You can use the btmgmt public-addr command for testing. > Ok, it took me

Re: [PATCH v4] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-14 Thread Oleg Nesterov
On 12/12, David Hildenbrand wrote: > > > This is subjective, but how about > > > > static bool xxx(void) > > { > > mutex_lock(&cpu_hotplug.lock); > > if (atomic_read(&cpu_hotplug.refcount) == 0) > > return true; > > mutex_unlock(&cpu_h

RE: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-14 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:mho...@suse.cz] > Sent: Thursday, December 11, 2014 4:58 AM > To: KY Srinivasan > Cc: Yasuaki Ishimatsu; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; linux

Re: [PATCH v10 8/8] tpm: TPM 2.0 FIFO Interface

2014-12-14 Thread Scot Doyle
On Sun, 14 Dec 2014, Stefan Berger wrote: > On 12/14/2014 10:40 AM, Jarkko Sakkinen wrote: > > On Sun, Dec 14, 2014 at 09:48:26AM -0500, Stefan Berger wrote: > > > On 12/12/2014 02:46 PM, Jarkko Sakkinen wrote: > > > > Detect TPM 2.0 by sending idempotent TPM 2.x command. Ordinals for > > > > TPM 2

Re: [PATCH v4 2/3] PM / devfreq: tegra: add devfreq driver for Tegra Activity Monitor

2014-12-14 Thread Paul Walmsley
Hi I have not reviewed this code closely, but a few items just caught my eye at a brief glance. On Tue, 9 Dec 2014, Tomeu Vizoso wrote: > The ACTMON block can monitor several counters, providing averaging and firing > interrupts based on watermarking configuration. This implementation monitors

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:18:35 -0800 "Paul E. McKenney" wrote: > > With your feed back, and because I would like this to go into 3.19, I > > would like to keep the current patch as is (with the read_mostly > > update, which I'm currently testing). We can always change it later > > after call_rcu()

Re: Kernel boot panic 3.12-34 > 3.12.35

2014-12-14 Thread Borislav Petkov
On Sun, Dec 14, 2014 at 03:41:20PM +, Richard Farthing wrote: > I patched 3.12.34 to 3.12.35 and the attached now happens at boot. > Sorry I don't have better than a photo, cannot get past this. > > The root FS is EXT2. It's admittedly an old test machine that I'm using to > build up a new co

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:14:44 -0800 "Paul E. McKenney" wrote: > > diff --git a/init/main.c b/init/main.c > > index 800a0daede7e..060e60b6aa59 100644 > > --- a/init/main.c > > +++ b/init/main.c > > @@ -561,6 +561,9 @@ asmlinkage __visible void __init start_kernel(void) > > trap_init(); > >

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:15:38PM -0500, Steven Rostedt wrote: > On Sun, 14 Dec 2014 10:08:54 -0800 > "Paul E. McKenney" wrote: > > > On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: > > > On Sun, 14 Dec 2014 11:41:05 -0500 > > > Steven Rostedt wrote: > > > > > > > From: "Steven

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 09:41:04AM -0800, Andy Lutomirski wrote: > On Sun, Dec 14, 2014 at 9:37 AM, Paul E. McKenney > wrote: > > On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: > >> On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney > >> wrote: > >> > On Sat, Dec 13, 2014 at 11:2

Re: need help to clear kernel (2.6.16.17) cached memory

2014-12-14 Thread Bruno Prémont
Hi, On Sat, 13 December 2014 Manish Yadav wrote: > on my system (based on 2.6.16.17), i am trying to clear the cached > memory but it is not being cleared. > > mars# free -m > total used free sharedbuffers cached > Mem: 925459465

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:08:54 -0800 "Paul E. McKenney" wrote: > On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: > > On Sun, 14 Dec 2014 11:41:05 -0500 > > Steven Rostedt wrote: > > > > > From: "Steven Rostedt (Red Hat)" > > > > > > In order to move enabling of trace events to j

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 11:41:06AM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Enabling tracepoints at boot up can be very useful. The tracepoint > can be initialized right after memory has been. There's no need to > wait for the early_initcall() to be called. That's too l

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 12:44:31PM -0500, Steven Rostedt wrote: > On Sun, 14 Dec 2014 17:29:28 + (UTC) > Mathieu Desnoyers wrote: > > > Given that your reason for having this RCU-specific logic in tracepoint.c > > rather than within call_rcu*() is not slowing down a fast-path, how about > > c

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: > On Sun, 14 Dec 2014 11:41:05 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Red Hat)" > > > > In order to move enabling of trace events to just after mm_init(), the > > tracepoint enable code can not use call_rcu_sche

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Frederic Weisbecker
On Sat, Dec 13, 2014 at 08:36:34AM +0100, Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > I'm also not sure if the bug ever happens with preemption > > disabled. Sasha, was that you who reported that you cannot > > reproduce it without preemption? It strikes me that there's a > > race co

Re: [PATCH] USB: serial: add nt124 usb to serial driver

2014-12-14 Thread George McCollister
Johan, While working on the tx_empty changes you suggested it occurred to me that it might not be obvious to others that the firmware doesn't send a packet with the NT124_CTRL_TXEMPTY flag cleared when it begins transmitting. The practical implication is that if the driver sets tx_empty = true whe

Re: frequent lockups in 3.18rc4

2014-12-14 Thread Paul E. McKenney
On Sat, Dec 13, 2014 at 10:07:52AM -0800, Paul E. McKenney wrote: > On Sat, Dec 13, 2014 at 10:53:35AM -0500, Sasha Levin wrote: > > On 12/13/2014 03:30 AM, Ingo Molnar wrote: > > >> > This is my no_hz related config: > > >> > > > >> > $ grep NO_HZ .config > > >> > CONFIG_NO_HZ_COMMON=y > > >> > #

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 17:29:28 + (UTC) Mathieu Desnoyers wrote: > Given that your reason for having this RCU-specific logic in tracepoint.c > rather than within call_rcu*() is not slowing down a fast-path, how about > creating a new call_rcu_early() and call_rcu_sched_early() which can be > cal

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Andy Lutomirski
On Sun, Dec 14, 2014 at 9:37 AM, Paul E. McKenney wrote: > On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: >> On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney >> wrote: >> > On Sat, Dec 13, 2014 at 11:26:36PM -0800, Andy Lutomirski wrote: >> >> On Dec 13, 2014 10:58 PM, "Stephen

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: > On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney > wrote: > > On Sat, Dec 13, 2014 at 11:26:36PM -0800, Andy Lutomirski wrote: > >> On Dec 13, 2014 10:58 PM, "Stephen Rothwell" wrote: > >> > > >> > Hi Andy, > >> > > >> > The luto

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: linux-kernel@vger.kernel.org, "Linus Torvalds" > , "Ingo Molnar" , > "Andrew Morton" , "Thomas Gleixner" > , "Paul E. McKenney" > > Sent: Sunday, December 14, 2014 12:21:36 PM > Subject: Re: [PATCH 1/3] trace

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 12:14:57 -0500 Steven Rostedt wrote: > If IRQ setup, or other core pieces of code can use this, then I would > agree that rcu should be changed. But until then, I rather not add > another conditional to the core RCU code. Also, call_rcu*() is called from several hot paths. Th

Re: [PATCH RFC] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-14 Thread Stefan Wahren
Hi Marek, > Marek Vasut hat am 14. Dezember 2014 um 17:12 geschrieben: > > > > > static void __iomem *digctrl; > > #define DIGCTRL digctrl > > @@ -118,11 +119,12 @@ static void __init clk_misc_init(void) > > /* > > * 480 MHz seems too high to be ssp clock source directly, > > * so set frac0 to ge

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 17:05:49 + (UTC) Mathieu Desnoyers wrote: > > #ifdef CONFIG_MODULES > > /* > > * Tracepoint module list mutex protects the local module list. > > @@ -76,7 +85,16 @@ static inline void release_probes(struct tracepoint_func > > *old) > > if (old) { > > s

Re: [PATCH 0/3] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 11:41:04 -0500 Steven Rostedt wrote: > As the merge window is still open, and this code was not as complex > as I thought it might be. I'm thinking of pushing this in now. > > This will allow Thomas to debug his irq work for 3.20. Bah, my cover letters have sucked lately. Le

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: linux-kernel@vger.kernel.org > Cc: "Linus Torvalds" , "Ingo Molnar" > , "Andrew Morton" > , "Thomas Gleixner" , "Mathieu > Desnoyers" > , "Paul E. McKenney" > > Sent: Sunday, December 14, 2014 11:41:05 AM > Subject: [PATCH 1/3] tracep

[PATCH 05/18] blackfin/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/blackfin/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+)

[PATCH 07/18] ia64/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/ia64/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 14/18] sh/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/sh/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 09/18] metag/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/metag/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH 10/18] microblaze/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/microblaze/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertio

[PATCH 12/18] parisc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/parisc/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+),

[PATCH 17/18] xtensa/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/xtensa/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+

[PATCH 16/18] sparc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/sparc/include/asm/uaccess_64.h | 4 ++-- 1 file changed, 2 insertions

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 11:41:05 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > In order to move enabling of trace events to just after mm_init(), the > tracepoint enable code can not use call_rcu_sched() because rcu isn't > even initialized yet. Since this can only happen befo

[PATCH 03/18] arm64/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/arm64/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 13/18] powerpc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/powerpc/include/asm/uaccess.h | 6 +++--- 1 file changed, 3 insertion

[PATCH 18/18] m68k/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/m68k/include/asm/uaccess_mm.h | 4 ++-- 1 file changed, 2 insertions(

[PATCH 15/18] sparc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/sparc/include/asm/uaccess_32.h | 8 1 file changed, 4 insert

[PATCH 11/18] openrisc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/openrisc/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions

[PATCH 06/18] cris/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/cris/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 08/18] m32r/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/m32r/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 04/18] avr32/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/avr32/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH 02/18] alpha/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/alpha/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH 01/18] x86/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin --- arch/x86/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH 00/18] uaccess: fix sparse warning on get_user for bitwise types

2014-12-14 Thread Michael S. Tsirkin
At the moment, if p and x are both tagged as bitwise types, get_user(x, p) produces a sparse warning on many architectures. This is because *p on these architectures is loaded into long (typically using asm), then cast back to typeof(*p). When typeof(*p) is a bitwise type (which is uncommon), such

[PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" In order to move enabling of trace events to just after mm_init(), the tracepoint enable code can not use call_rcu_sched() because rcu isn't even initialized yet. Since this can only happen before SMP is set up (and even before interrupts are set up), there's no

<    1   2   3   4   5   >