]> git.ipfire.org Git - thirdparty/grsecurity-scrape.git/blob - test/changelog-test.txt
Auto commit, 1 new patch{es}.
[thirdparty/grsecurity-scrape.git] / test / changelog-test.txt
1 commit 5cbedec9d29ae9835ac38560f82cb98acc993647
2 Author: Benjamin Randazzo <benjamin@randazzo.fr>
3 Date: Sat Jul 25 16:36:50 2015 +0200
4
5 md: use kzalloc() when bitmap is disabled
6
7 In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a
8 mdu_bitmap_file_t called "file".
9
10 5769 file = kmalloc(sizeof(*file), GFP_NOIO);
11 5770 if (!file)
12 5771 return -ENOMEM;
13
14 This structure is copied to user space at the end of the function.
15
16 5786 if (err == 0 &&
17 5787 copy_to_user(arg, file, sizeof(*file)))
18 5788 err = -EFAULT
19
20 But if bitmap is disabled only the first byte of "file" is initialized
21 with zero, so it's possible to read some bytes (up to 4095) of kernel
22 space memory from user space. This is an information leak.
23
24 5775 /* bitmap disabled, zero the first byte and copy out */
25 5776 if (!mddev->bitmap_info.file)
26 5777 file->pathname[0] = '\0';
27
28 Signed-off-by: Benjamin Randazzo <benjamin@randazzo.fr>
29 Signed-off-by: NeilBrown <neilb@suse.com>
30
31 Conflicts:
32
33 drivers/md/md.c
34
35 drivers/md/md.c | 22 +++++++++++-----------
36 1 files changed, 11 insertions(+), 11 deletions(-)
37
38 commit ef22ba5ed995e594e32b3c6c80246b0037c98e7e
39 Author: Kinglong Mee <kinglongmee@gmail.com>
40 Date: Mon Jul 27 15:31:38 2015 +0800
41
42 nfs: Fix an oops caused by using other thread's stack space in ASYNC mode
43
44 An oops caused by using other thread's stack space in sunrpc ASYNC sending thread.
45
46 [ 9839.007187] ------------[ cut here ]------------
47 [ 9839.007923] kernel BUG at fs/nfs/nfs4xdr.c:910!
48 [ 9839.008069] invalid opcode: 0000 [#1] SMP
49 [ 9839.008069] Modules linked in: blocklayoutdriver rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm joydev iosf_mbi crct10dif_pclmul snd_timer crc32_pclmul crc32c_intel ghash_clmulni_intel snd soundcore ppdev pvpanic parport_pc i2c_piix4 serio_raw virtio_balloon parport acpi_cpufreq nfsd nfs_acl lockd grace auth_rpcgss sunrpc qxl drm_kms_helper virtio_net virtio_console virtio_blk ttm drm virtio_pci virtio_ring virtio ata_generic pata_acpi
50 [ 9839.008069] CPU: 0 PID: 308 Comm: kworker/0:1H Not tainted 4.0.0-0.rc4.git1.3.fc23.x86_64 #1
51 [ 9839.008069] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
52 [ 9839.008069] Workqueue: rpciod rpc_async_schedule [sunrpc]
53 [ 9839.008069] task: ffff8800d8b4d8e0 ti: ffff880036678000 task.ti: ffff880036678000
54 [ 9839.008069] RIP: 0010:[<ffffffffa0339cc9>] [<ffffffffa0339cc9>] reserve_space.part.73+0x9/0x10 [nfsv4]
55 [ 9839.008069] RSP: 0018:ffff88003667ba58 EFLAGS: 00010246
56 [ 9839.008069] RAX: 0000000000000000 RBX: 000000001fc15e18 RCX: ffff8800c0193800
57 [ 9839.008069] RDX: ffff8800e4ae3f24 RSI: 000000001fc15e2c RDI: ffff88003667bcd0
58 [ 9839.008069] RBP: ffff88003667ba58 R08: ffff8800d9173008 R09: 0000000000000003
59 [ 9839.008069] R10: ffff88003667bcd0 R11: 000000000000000c R12: 0000000000010000
60 [ 9839.008069] R13: ffff8800d9173350 R14: 0000000000000000 R15: ffff8800c0067b98
61 [ 9839.008069] FS: 0000000000000000(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
62 [ 9839.008069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
63 [ 9839.008069] CR2: 00007f988c9c8bb0 CR3: 00000000d99b6000 CR4: 00000000000407f0
64 [ 9839.008069] Stack:
65 [ 9839.008069] ffff88003667bbc8 ffffffffa03412c5 00000000c6c55680 ffff880000000003
66 [ 9839.008069] 0000000000000088 00000010c6c55680 0001000000000002 ffffffff816e87e9
67 [ 9839.008069] 0000000000000000 00000000477290e2 ffff88003667bab8 ffffffff81327ba3
68 [ 9839.008069] Call Trace:
69 [ 9839.008069] [<ffffffffa03412c5>] encode_attrs+0x435/0x530 [nfsv4]
70 [ 9839.008069] [<ffffffff816e87e9>] ? inet_sendmsg+0x69/0xb0
71 [ 9839.008069] [<ffffffff81327ba3>] ? selinux_socket_sendmsg+0x23/0x30
72 [ 9839.008069] [<ffffffff8164c1df>] ? do_sock_sendmsg+0x9f/0xc0
73 [ 9839.008069] [<ffffffff8164c278>] ? kernel_sendmsg+0x58/0x70
74 [ 9839.008069] [<ffffffffa011acc0>] ? xdr_reserve_space+0x20/0x170 [sunrpc]
75 [ 9839.008069] [<ffffffffa011acc0>] ? xdr_reserve_space+0x20/0x170 [sunrpc]
76 [ 9839.008069] [<ffffffffa0341b40>] ? nfs4_xdr_enc_open_noattr+0x130/0x130 [nfsv4]
77 [ 9839.008069] [<ffffffffa03419a5>] encode_open+0x2d5/0x340 [nfsv4]
78 [ 9839.008069] [<ffffffffa0341b40>] ? nfs4_xdr_enc_open_noattr+0x130/0x130 [nfsv4]
79 [ 9839.008069] [<ffffffffa011ab89>] ? xdr_encode_opaque+0x19/0x20 [sunrpc]
80 [ 9839.008069] [<ffffffffa0339cfb>] ? encode_string+0x2b/0x40 [nfsv4]
81 [ 9839.008069] [<ffffffffa0341bf3>] nfs4_xdr_enc_open+0xb3/0x140 [nfsv4]
82 [ 9839.008069] [<ffffffffa0110a4c>] rpcauth_wrap_req+0xac/0xf0 [sunrpc]
83 [ 9839.008069] [<ffffffffa01017db>] call_transmit+0x18b/0x2d0 [sunrpc]
84 [ 9839.008069] [<ffffffffa0101650>] ? call_decode+0x860/0x860 [sunrpc]
85 [ 9839.008069] [<ffffffffa0101650>] ? call_decode+0x860/0x860 [sunrpc]
86 [ 9839.008069] [<ffffffffa010caa0>] __rpc_execute+0x90/0x460 [sunrpc]
87 [ 9839.008069] [<ffffffffa010ce85>] rpc_async_schedule+0x15/0x20 [sunrpc]
88 [ 9839.008069] [<ffffffff810b452b>] process_one_work+0x1bb/0x410
89 [ 9839.008069] [<ffffffff810b47d3>] worker_thread+0x53/0x470
90 [ 9839.008069] [<ffffffff810b4780>] ? process_one_work+0x410/0x410
91 [ 9839.008069] [<ffffffff810b4780>] ? process_one_work+0x410/0x410
92 [ 9839.008069] [<ffffffff810ba7b8>] kthread+0xd8/0xf0
93 [ 9839.008069] [<ffffffff810ba6e0>] ? kthread_worker_fn+0x180/0x180
94 [ 9839.008069] [<ffffffff81786418>] ret_from_fork+0x58/0x90
95 [ 9839.008069] [<ffffffff810ba6e0>] ? kthread_worker_fn+0x180/0x180
96 [ 9839.008069] Code: 00 00 48 c7 c7 21 fa 37 a0 e8 94 1c d6 e0 c6 05 d2 17 05 00 01 8b 03 eb d7 66 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 e5 <0f> 0b 0f 1f 44 00 00 66 66 66 66 90 55 48 89 e5 41 54 53 89 f3
97 [ 9839.008069] RIP [<ffffffffa0339cc9>] reserve_space.part.73+0x9/0x10 [nfsv4]
98 [ 9839.008069] RSP <ffff88003667ba58>
99 [ 9839.071114] ---[ end trace cc14c03adb522e94 ]---
100
101 Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
102 Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
103
104 fs/nfs/internal.h | 21 +++++++++++++++++++++
105 fs/nfs/nfs4proc.c | 10 +++++++++-
106 2 files changed, 30 insertions(+), 1 deletions(-)
107
108 commit 79a18310c8c3f5e66e8b0d5ec4623b04734c982e
109 Author: Brad Spengler <spender@grsecurity.net>
110 Date: Sat Aug 1 14:55:32 2015 -0400
111
112 From: Colin Ian King <colin.king () canonical com>
113 Subject: [PATCH] KEYS: ensure we free the assoc array edit if edit is valid
114
115 __key_link_end is not freeing the associated array edit structure
116 and this leads to a 512 byte memory leak each time an identical
117 existing key is added with add_key().
118
119 The reason the add_key() system call returns okay is that
120 key_create_or_update() calls __key_link_begin() before checking to see
121 whether it can update a key directly rather than adding/replacing - which
122 it turns out it can. Thus __key_link() is not called through
123 __key_instantiate_and_link() and __key_link_end() must cancel the edit.
124
125 CVE-2015-1333
126
127 Signed-off-by: Colin Ian King <colin.king () canonical com>
128 Signed-off-by: David Howells <dhowells () redhat com>
129
130 security/keys/keyring.c | 8 +++++---
131 1 files changed, 5 insertions(+), 3 deletions(-)
132
133 commit 66b9be9914bf6c6d81a83b364cd992369ad7664e
134 Author: Shahed Shaikh <shahed.shaikh@qlogic.com>
135 Date: Wed Jul 29 07:55:35 2015 -0400
136
137 qlcnic: Fix corruption while copying
138
139 Use proper typecasting while performing byte-by-byte copy
140
141 Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
142 Signed-off-by: David S. Miller <davem@davemloft.net>
143
144 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 2 +-
145 1 files changed, 1 insertions(+), 1 deletions(-)
146
147 commit 6663f1a1d2bafc21dcb990066413f1580bd17a9a
148 Author: Eric Dumazet <edumazet@google.com>
149 Date: Wed Jul 29 12:01:41 2015 +0200
150
151 ipv6: flush nd cache on IFF_NOARP change
152
153 This patch is the IPv6 equivalent of commit
154 6c8b4e3ff81b ("arp: flush arp cache on IFF_NOARP change")
155
156 Without it, we keep buggy neighbours in the cache, with destination
157 MAC address equal to our own MAC address.
158
159 Tested:
160 tcpdump -i eth0 -s 0 ip6 -n -e &
161 ip link set dev eth0 arp off
162 ping6 remote // sends buggy frames
163 ip link set dev eth0 arp on
164 ping6 remote // should work once kernel is patched
165
166 Signed-off-by: Eric Dumazet <edumazet@google.com>
167 Reported-by: Mario Fanelli <mariofanelli@google.com>
168 Signed-off-by: David S. Miller <davem@davemloft.net>
169
170 net/ipv6/ndisc.c | 6 ++++++
171 1 files changed, 6 insertions(+), 0 deletions(-)
172
173 commit 5b6b6bc934c671c3583072b045fd44261f962243
174 Author: Guenter Roeck <linux@roeck-us.net>
175 Date: Sat Jul 4 13:23:42 2015 -0700
176
177 hwmon: (nct7802) Fix integer overflow seen when writing voltage limits
178
179 Writing a large value into a voltage limit attribute can result
180 in an overflow due to an auto-conversion from unsigned long to
181 unsigned int.
182
183 Cc: Constantine Shulyupin <const@MakeLinux.com>
184 Reviewed-by: Jean Delvare <jdelvare@suse.de>
185 Cc: stable@vger.kernel.org # v4.1+
186 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
187
188 drivers/hwmon/nct7802.c | 2 +-
189 1 files changed, 1 insertions(+), 1 deletions(-)
190
191 commit 24494632f692af77e1bc1a85959cf661405f4dec
192 Author: Dmitry Skorodumov <sdmitry@parallels.com>
193 Date: Tue Jul 28 18:38:32 2015 +0400
194
195 x86/efi: Use all 64 bit of efi_memmap in setup_e820()
196
197 The efi_info structure stores low 32 bits of memory map
198 in efi_memmap and high 32 bits in efi_memmap_hi.
199
200 While constructing pointer in the setup_e820(), need
201 to take into account all 64 bit of the pointer.
202
203 It is because on 64bit machine the function
204 efi_get_memory_map() may return full 64bit pointer and before
205 the patch that pointer was truncated.
206
207 The issue is triggered on Parallles virtual machine and
208 fixed with this patch.
209
210 Signed-off-by: Dmitry Skorodumov <sdmitry@parallels.com>
211 Cc: Denis V. Lunev <den@openvz.org>
212 Cc: <stable@vger.kernel.org>
213 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
214
215 arch/x86/boot/compressed/eboot.c | 4 ++++
216 1 files changed, 4 insertions(+), 0 deletions(-)
217
218 commit e559670082dc866b8d7460f965f715fdd577d961
219 Author: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
220 Date: Wed Jul 15 19:36:03 2015 -0700
221
222 efi: Check for NULL efi kernel parameters
223
224 Even though it is documented how to specifiy efi parameters, it is
225 possible to cause a kernel panic due to a dereference of a NULL pointer when
226 parsing such parameters if "efi" alone is given:
227
228 PANIC: early exception 0e rip 10:ffffffff812fb361 error 0 cr2 0
229 [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.2.0-rc1+ #450
230 [ 0.000000] ffffffff81fe20a9 ffffffff81e03d50 ffffffff8184bb0f 00000000000003f8
231 [ 0.000000] 0000000000000000 ffffffff81e03e08 ffffffff81f371a1 64656c62616e6520
232 [ 0.000000] 0000000000000069 000000000000005f 0000000000000000 0000000000000000
233 [ 0.000000] Call Trace:
234 [ 0.000000] [<ffffffff8184bb0f>] dump_stack+0x45/0x57
235 [ 0.000000] [<ffffffff81f371a1>] early_idt_handler_common+0x81/0xae
236 [ 0.000000] [<ffffffff812fb361>] ? parse_option_str+0x11/0x90
237 [ 0.000000] [<ffffffff81f4dd69>] arch_parse_efi_cmdline+0x15/0x42
238 [ 0.000000] [<ffffffff81f376e1>] do_early_param+0x50/0x8a
239 [ 0.000000] [<ffffffff8106b1b3>] parse_args+0x1e3/0x400
240 [ 0.000000] [<ffffffff81f37a43>] parse_early_options+0x24/0x28
241 [ 0.000000] [<ffffffff81f37691>] ? loglevel+0x31/0x31
242 [ 0.000000] [<ffffffff81f37a78>] parse_early_param+0x31/0x3d
243 [ 0.000000] [<ffffffff81f3ae98>] setup_arch+0x2de/0xc08
244 [ 0.000000] [<ffffffff8109629a>] ? vprintk_default+0x1a/0x20
245 [ 0.000000] [<ffffffff81f37b20>] start_kernel+0x90/0x423
246 [ 0.000000] [<ffffffff81f37495>] x86_64_start_reservations+0x2a/0x2c
247 [ 0.000000] [<ffffffff81f37582>] x86_64_start_kernel+0xeb/0xef
248 [ 0.000000] RIP 0xffffffff81ba2efc
249
250 This panic is not reproducible with "efi=" as this will result in a non-NULL
251 zero-length string.
252
253 Thus, verify that the pointer to the parameter string is not NULL. This is
254 consistent with other parameter-parsing functions which check for NULL pointers.
255
256 Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
257 Cc: Dave Young <dyoung@redhat.com>
258 Cc: <stable@vger.kernel.org>
259 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
260
261 arch/x86/platform/efi/efi.c | 5 +++++
262 drivers/firmware/efi/efi.c | 5 +++++
263 2 files changed, 10 insertions(+), 0 deletions(-)
264
265 commit 5ff384683c424fd7a1aa5c60f3f74aaea195be16
266 Author: Andy Lutomirski <luto@kernel.org>
267 Date: Thu Jul 30 14:31:31 2015 -0700
268
269 x86/xen: Probe target addresses in set_aliased_prot() before the hypercall
270
271 The update_va_mapping hypercall can fail if the VA isn't present
272 in the guest's page tables. Under certain loads, this can
273 result in an OOPS when the target address is in unpopulated vmap
274 space.
275
276 While we're at it, add comments to help explain what's going on.
277
278 This isn't a great long-term fix. This code should probably be
279 changed to use something like set_memory_ro.
280
281 Signed-off-by: Andy Lutomirski <luto@kernel.org>
282 Cc: Andrew Cooper <andrew.cooper3@citrix.com>
283 Cc: Andy Lutomirski <luto@amacapital.net>
284 Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
285 Cc: Borislav Petkov <bp@alien8.de>
286 Cc: Brian Gerst <brgerst@gmail.com>
287 Cc: David Vrabel <dvrabel@cantab.net>
288 Cc: Denys Vlasenko <dvlasenk@redhat.com>
289 Cc: H. Peter Anvin <hpa@zytor.com>
290 Cc: Jan Beulich <jbeulich@suse.com>
291 Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
292 Cc: Linus Torvalds <torvalds@linux-foundation.org>
293 Cc: Peter Zijlstra <peterz@infradead.org>
294 Cc: Sasha Levin <sasha.levin@oracle.com>
295 Cc: Steven Rostedt <rostedt@goodmis.org>
296 Cc: Thomas Gleixner <tglx@linutronix.de>
297 Cc: security@kernel.org <security@kernel.org>
298 Cc: <stable@vger.kernel.org>
299 Cc: xen-devel <xen-devel@lists.xen.org>
300 Link: http://lkml.kernel.org/r/0b0e55b995cda11e7829f140b833ef932fcabe3a.1438291540.git.luto@kernel.org
301 Signed-off-by: Ingo Molnar <mingo@kernel.org>
302
303 arch/x86/xen/enlighten.c | 40 ++++++++++++++++++++++++++++++++++++++++
304 1 files changed, 40 insertions(+), 0 deletions(-)
305
306 commit bdc543e6fa0c1cf74bca28aeb344a1e225d7e09b
307 Merge: 672a089 d0fff4d
308 Author: Brad Spengler <spender@grsecurity.net>
309 Date: Tue Jul 28 19:37:49 2015 -0400
310
311 Merge branch 'pax-test' into grsec-test
312
313 commit d0fff4d52431b3b92fb24b3baa7f25d5b7b88439
314 Author: Brad Spengler <spender@grsecurity.net>
315 Date: Tue Jul 28 19:37:28 2015 -0400
316
317 Revert PCID changes
318
319 arch/x86/include/asm/cpufeature.h | 1 -
320 arch/x86/include/asm/mmu_context.h | 10 +++++-----
321 arch/x86/include/asm/tlbflush.h | 20 +++++++++-----------
322 arch/x86/kernel/cpu/common.c | 31 ++++++++++++++-----------------
323 init/main.c | 3 ++-
324 5 files changed, 30 insertions(+), 35 deletions(-)
325
326 commit 672a0895cf976099d985d2a2ef0978fa3b5b5423
327 Author: Dave Hansen <dave.hansen@linux.intel.com>
328 Date: Mon Jul 20 16:01:53 2015 -0700
329
330 x86/mm: Add parenthesis for TLB tracepoint size calculation
331
332 flush_tlb_info->flush_start/end are both normal virtual
333 addresses. When calculating 'nr_pages' (only used for the
334 tracepoint), I neglected to put parenthesis in.
335
336 Thanks to David Koufaty for pointing this out.
337
338 Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
339 Cc: Andrew Morton <akpm@linux-foundation.org>
340 Cc: Linus Torvalds <torvalds@linux-foundation.org>
341 Cc: Peter Zijlstra <peterz@infradead.org>
342 Cc: Thomas Gleixner <tglx@linutronix.de>
343 Cc: dave@sr71.net
344 Cc: <stable@vger.kernel.org>
345 Link: http://lkml.kernel.org/r/20150720230153.9E834081@viggo.jf.intel.com
346 Signed-off-by: Ingo Molnar <mingo@kernel.org>
347
348 arch/x86/mm/tlb.c | 2 +-
349 1 files changed, 1 insertions(+), 1 deletions(-)
350
351 commit 5f1e4f78d034c849ab516a7e5d45475b95eb9a13
352 Author: Toshi Kani <toshi.kani@hp.com>
353 Date: Thu Jul 16 17:23:15 2015 -0600
354
355 x86/mm: Remove region_is_ram() call from ioremap
356
357 __ioremap_caller() calls region_is_ram() to walk through the
358 iomem_resource table to check if a target range is in RAM, which was
359 added to improve the lookup performance over page_is_ram() (commit
360 906e36c5c717 "x86: use optimized ioresource lookup in ioremap
361 function"). page_is_ram() was no longer used when this change was
362 added, though.
363
364 __ioremap_caller() then calls walk_system_ram_range(), which had
365 replaced page_is_ram() to improve the lookup performance (commit
366 c81c8a1eeede "x86, ioremap: Speed up check for RAM pages").
367
368 Since both checks walk through the same iomem_resource table for
369 the same purpose, there is no need to call both functions.
370
371 Aside of that walk_system_ram_range() is the only useful check at the
372 moment because region_is_ram() always returns -1 due to an
373 implementation bug. That bug in region_is_ram() cannot be fixed
374 without breaking existing ioremap callers, which rely on the subtle
375 difference of walk_system_ram_range() versus non page aligned ranges.
376
377 Once these offending callers are fixed we can use region_is_ram() and
378 remove walk_system_ram_range().
379
380 [ tglx: Massaged changelog ]
381
382 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
383 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
384 Cc: Roland Dreier <roland@purestorage.com>
385 Cc: Mike Travis <travis@sgi.com>
386 Cc: Luis R. Rodriguez <mcgrof@suse.com>
387 Cc: H. Peter Anvin <hpa@zytor.com>
388 Cc: Ingo Molnar <mingo@redhat.com>
389 Cc: Borislav Petkov <bp@alien8.de>
390 Cc: linux-mm@kvack.org
391 Link: http://lkml.kernel.org/r/1437088996-28511-3-git-send-email-toshi.kani@hp.com
392 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
393
394 arch/x86/mm/ioremap.c | 24 ++++++------------------
395 1 files changed, 6 insertions(+), 18 deletions(-)
396
397 commit 4eed17a1f681e80501895c461980734de2bf0c26
398 Author: Toshi Kani <toshi.kani@hp.com>
399 Date: Thu Jul 16 17:23:14 2015 -0600
400
401 x86/mm: Move warning from __ioremap_check_ram() to the call site
402
403 __ioremap_check_ram() has a WARN_ONCE() which is emitted when the
404 given pfn range is not RAM. The warning is bogus in two aspects:
405
406 - it never triggers since walk_system_ram_range() only calls
407 __ioremap_check_ram() for RAM ranges.
408
409 - the warning message is wrong as it says: "ioremap on RAM' after it
410 established that the pfn range is not RAM.
411
412 Move the WARN_ONCE() to __ioremap_caller(), and update the message to
413 include the address range so we get an actual warning when something
414 tries to ioremap system RAM.
415
416 [ tglx: Massaged changelog ]
417
418 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
419 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
420 Cc: Roland Dreier <roland@purestorage.com>
421 Cc: Luis R. Rodriguez <mcgrof@suse.com>
422 Cc: H. Peter Anvin <hpa@zytor.com>
423 Cc: Ingo Molnar <mingo@redhat.com>
424 Cc: Borislav Petkov <bp@alien8.de>
425 Cc: linux-mm@kvack.org
426 Link: http://lkml.kernel.org/r/1437088996-28511-2-git-send-email-toshi.kani@hp.com
427 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
428
429 arch/x86/mm/ioremap.c | 7 ++++---
430 1 files changed, 4 insertions(+), 3 deletions(-)
431
432 commit 9af4e75578b65827a05cae89a9cdb77d6caef754
433 Author: Toshi Kani <toshi.kani@hp.com>
434 Date: Thu Jul 16 17:23:16 2015 -0600
435
436 mm: Fix bugs in region_is_ram()
437
438 region_is_ram() looks up the iomem_resource table to check if
439 a target range is in RAM. However, it always returns with -1
440 due to invalid range checks. It always breaks the loop at the
441 first entry of the table.
442
443 Another issue is that it compares p->flags and flags, but it always
444 fails. flags is declared as int, which makes it as a negative value
445 with IORESOURCE_BUSY (0x80000000) set while p->flags is unsigned long.
446
447 Fix the range check and flags so that region_is_ram() works as
448 advertised.
449
450 Signed-off-by: Toshi Kani <toshi.kani@hp.com>
451 Reviewed-by: Dan Williams <dan.j.williams@intel.com>
452 Cc: Mike Travis <travis@sgi.com>
453 Cc: Luis R. Rodriguez <mcgrof@suse.com>
454 Cc: Andrew Morton <akpm@linux-foundation.org>
455 Cc: Roland Dreier <roland@purestorage.com>
456 Cc: linux-mm@kvack.org
457 Link: http://lkml.kernel.org/r/1437088996-28511-4-git-send-email-toshi.kani@hp.com
458 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
459
460 kernel/resource.c | 6 +++---
461 1 files changed, 3 insertions(+), 3 deletions(-)
462
463 commit db002defded430624dbef2561ceb76501c8f956b
464 Author: Tomas Winkler <tomas.winkler@intel.com>
465 Date: Thu Jun 18 11:41:03 2015 +0300
466
467 mei: prevent unloading mei hw modules while the device is opened.
468
469 chrdev_open() increases reference counter on cdev->owner. Instead of
470 assigning the owner to mei subsystem, the owner has to be set to the
471 underlaying HW module (mei_me or mei_txe), so once the device is opened
472 the HW module cannot be unloaded.
473
474 Cc: <stable@vger.kernel.org> #3.17+
475 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
476 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
477 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
478
479 drivers/misc/mei/main.c | 2 +-
480 1 files changed, 1 insertions(+), 1 deletions(-)
481
482 commit 426a498250be1cf7eb47a4b211754eac4c856fc9
483 Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
484 Date: Fri Jul 24 10:38:12 2015 -0400
485
486 ftrace: Fix breakage of set_ftrace_pid
487
488 Commit 4104d326b670 ("ftrace: Remove global function list and call function
489 directly") simplified the ftrace code by removing the global_ops list with a
490 new design. But this cleanup also broke the filtering of PIDs that are added
491 to the set_ftrace_pid file.
492
493 Add back the proper hooks to have pid filtering working once again.
494
495 Cc: stable@vger.kernel.org # 3.16+
496 Reported-by: Matt Fleming <matt@console-pimps.org>
497 Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
498 Tested-by: Matt Fleming <matt@console-pimps.org>
499 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
500
501 include/linux/ftrace.h | 3 ++
502 kernel/trace/ftrace.c | 52 +++++++++++++++++++++++++++++++----------------
503 2 files changed, 37 insertions(+), 18 deletions(-)
504
505 commit ecf07c60ecb962a459c5b466cafc51be06433e4d
506 Author: Matt Fleming <matt.fleming@intel.com>
507 Date: Tue Jul 21 15:55:09 2015 +0100
508
509 perf/x86/intel/cqm: Return cached counter value from IRQ context
510
511 Peter reported the following potential crash which I was able to
512 reproduce with his test program,
513
514 [ 148.765788] ------------[ cut here ]------------
515 [ 148.765796] WARNING: CPU: 34 PID: 2840 at kernel/smp.c:417 smp_call_function_many+0xb6/0x260()
516 [ 148.765797] Modules linked in:
517 [ 148.765800] CPU: 34 PID: 2840 Comm: perf Not tainted 4.2.0-rc1+ #4
518 [ 148.765803] ffffffff81cdc398 ffff88085f105950 ffffffff818bdfd5 0000000000000007
519 [ 148.765805] 0000000000000000 ffff88085f105990 ffffffff810e413a 0000000000000000
520 [ 148.765807] ffffffff82301080 0000000000000022 ffffffff8107f640 ffffffff8107f640
521 [ 148.765809] Call Trace:
522 [ 148.765810] <NMI> [<ffffffff818bdfd5>] dump_stack+0x45/0x57
523 [ 148.765818] [<ffffffff810e413a>] warn_slowpath_common+0x8a/0xc0
524 [ 148.765822] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
525 [ 148.765824] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
526 [ 148.765825] [<ffffffff810e422a>] warn_slowpath_null+0x1a/0x20
527 [ 148.765827] [<ffffffff811613f6>] smp_call_function_many+0xb6/0x260
528 [ 148.765829] [<ffffffff8107f640>] ? intel_cqm_stable+0x60/0x60
529 [ 148.765831] [<ffffffff81161748>] on_each_cpu_mask+0x28/0x60
530 [ 148.765832] [<ffffffff8107f6ef>] intel_cqm_event_count+0x7f/0xe0
531 [ 148.765836] [<ffffffff811cdd35>] perf_output_read+0x2a5/0x400
532 [ 148.765839] [<ffffffff811d2e5a>] perf_output_sample+0x31a/0x590
533 [ 148.765840] [<ffffffff811d333d>] ? perf_prepare_sample+0x26d/0x380
534 [ 148.765841] [<ffffffff811d3497>] perf_event_output+0x47/0x60
535 [ 148.765843] [<ffffffff811d36c5>] __perf_event_overflow+0x215/0x240
536 [ 148.765844] [<ffffffff811d4124>] perf_event_overflow+0x14/0x20
537 [ 148.765847] [<ffffffff8107e7f4>] intel_pmu_handle_irq+0x1d4/0x440
538 [ 148.765849] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
539 [ 148.765853] [<ffffffff81219bad>] ? vunmap_page_range+0x19d/0x2f0
540 [ 148.765854] [<ffffffff81219d11>] ? unmap_kernel_range_noflush+0x11/0x20
541 [ 148.765859] [<ffffffff814ce6fe>] ? ghes_copy_tofrom_phys+0x11e/0x2a0
542 [ 148.765863] [<ffffffff8109e5db>] ? native_apic_msr_write+0x2b/0x30
543 [ 148.765865] [<ffffffff8109e44d>] ? x2apic_send_IPI_self+0x1d/0x20
544 [ 148.765869] [<ffffffff81065135>] ? arch_irq_work_raise+0x35/0x40
545 [ 148.765872] [<ffffffff811c8d86>] ? irq_work_queue+0x66/0x80
546 [ 148.765875] [<ffffffff81075306>] perf_event_nmi_handler+0x26/0x40
547 [ 148.765877] [<ffffffff81063ed9>] nmi_handle+0x79/0x100
548 [ 148.765879] [<ffffffff81064422>] default_do_nmi+0x42/0x100
549 [ 148.765880] [<ffffffff81064563>] do_nmi+0x83/0xb0
550 [ 148.765884] [<ffffffff818c7c0f>] end_repeat_nmi+0x1e/0x2e
551 [ 148.765886] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
552 [ 148.765888] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
553 [ 148.765890] [<ffffffff811d07a6>] ? __perf_event_task_sched_in+0x36/0xa0
554 [ 148.765891] <<EOE>> [<ffffffff8110ab66>] finish_task_switch+0x156/0x210
555 [ 148.765898] [<ffffffff818c1671>] __schedule+0x341/0x920
556 [ 148.765899] [<ffffffff818c1c87>] schedule+0x37/0x80
557 [ 148.765903] [<ffffffff810ae1af>] ? do_page_fault+0x2f/0x80
558 [ 148.765905] [<ffffffff818c1f4a>] schedule_user+0x1a/0x50
559 [ 148.765907] [<ffffffff818c666c>] retint_careful+0x14/0x32
560 [ 148.765908] ---[ end trace e33ff2be78e14901 ]---
561
562 The CQM task events are not safe to be called from within interrupt
563 context because they require performing an IPI to read the counter value
564 on all sockets. And performing IPIs from within IRQ context is a
565 "no-no".
566
567 Make do with the last read counter value currently event in
568 event->count when we're invoked in this context.
569
570 Reported-by: Peter Zijlstra <peterz@infradead.org>
571 Signed-off-by: Matt Fleming <matt.fleming@intel.com>
572 Cc: Thomas Gleixner <tglx@linutronix.de>
573 Cc: Vikas Shivappa <vikas.shivappa@intel.com>
574 Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
575 Cc: Will Auld <will.auld@intel.com>
576 Cc: <stable@vger.kernel.org>
577 Link: http://lkml.kernel.org/r/1437490509-15373-1-git-send-email-matt@codeblueprint.co.uk
578 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
579
580 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 8 ++++++++
581 1 files changed, 8 insertions(+), 0 deletions(-)
582
583 commit f0b71d674319afc7cd3d408a95c315ab9332fea6
584 Author: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
585 Date: Thu Jul 23 12:05:40 2015 +0200
586
587 inet: frags: remove INET_FRAG_EVICTED and use list_evictor for the test
588
589 We can simply remove the INET_FRAG_EVICTED flag to avoid all the flags
590 race conditions with the evictor and use a participation test for the
591 evictor list, when we're at that point (after inet_frag_kill) in the
592 timer there're 2 possible cases:
593
594 1. The evictor added the entry to its evictor list while the timer was
595 waiting for the chainlock
596 or
597 2. The timer unchained the entry and the evictor won't see it
598
599 In both cases we should be able to see list_evictor correctly due
600 to the sync on the chainlock.
601
602 Joint work with Florian Westphal.
603
604 Tested-by: Frank Schreuder <fschreuder@transip.nl>
605 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
606 Signed-off-by: Florian Westphal <fw@strlen.de>
607 Signed-off-by: David S. Miller <davem@davemloft.net>
608
609 include/net/inet_frag.h | 7 +++++--
610 net/ipv4/inet_fragment.c | 1 -
611 net/ipv4/ip_fragment.c | 2 +-
612 net/ipv6/reassembly.c | 2 +-
613 4 files changed, 7 insertions(+), 5 deletions(-)
614
615 commit 5bab758a94075d04d16c2e693620149e80c80a6b
616 Author: Florian Westphal <fw@strlen.de>
617 Date: Thu Jul 23 12:05:39 2015 +0200
618
619 inet: frag: don't wait for timer deletion when evicting
620
621 Frank reports 'NMI watchdog: BUG: soft lockup' errors when
622 load is high. Instead of (potentially) unbounded restarts of the
623 eviction process, just skip to the next entry.
624
625 One caveat is that, when a netns is exiting, a timer may still be running
626 by the time inet_evict_bucket returns.
627
628 We use the frag memory accounting to wait for outstanding timers,
629 so that when we free the percpu counter we can be sure no running
630 timer will trip over it.
631
632 Reported-and-tested-by: Frank Schreuder <fschreuder@transip.nl>
633 Signed-off-by: Florian Westphal <fw@strlen.de>
634 Signed-off-by: David S. Miller <davem@davemloft.net>
635
636 net/ipv4/inet_fragment.c | 29 +++++++++++------------------
637 1 files changed, 11 insertions(+), 18 deletions(-)
638
639 commit 243266640fe195843ebaf0f06f00b81861d79083
640 Author: Florian Westphal <fw@strlen.de>
641 Date: Thu Jul 23 12:05:38 2015 +0200
642
643 inet: frag: change *_frag_mem_limit functions to take netns_frags as argument
644
645 Followup patch will call it after inet_frag_queue was freed, so q->net
646 doesn't work anymore (but netf = q->net; free(q); mem_limit(netf) would).
647
648 Tested-by: Frank Schreuder <fschreuder@transip.nl>
649 Signed-off-by: Florian Westphal <fw@strlen.de>
650 Signed-off-by: David S. Miller <davem@davemloft.net>
651
652 include/net/inet_frag.h | 8 ++++----
653 net/ieee802154/6lowpan/reassembly.c | 6 +++---
654 net/ipv4/inet_fragment.c | 4 ++--
655 net/ipv4/ip_fragment.c | 10 +++++-----
656 net/ipv6/netfilter/nf_conntrack_reasm.c | 6 +++---
657 net/ipv6/reassembly.c | 6 +++---
658 6 files changed, 20 insertions(+), 20 deletions(-)
659
660 commit 980c50f6c86defb6bc40d7912008fb5d7057b345
661 Author: Florian Westphal <fw@strlen.de>
662 Date: Thu Jul 23 12:05:37 2015 +0200
663
664 inet: frag: don't re-use chainlist for evictor
665
666 commit 65ba1f1ec0eff ("inet: frags: fix a race between inet_evict_bucket
667 and inet_frag_kill") describes the bug, but the fix doesn't work reliably.
668
669 Problem is that ->flags member can be set on other cpu without chainlock
670 being held by that task, i.e. the RMW-Cycle can clear INET_FRAG_EVICTED
671 bit after we put the element on the evictor private list.
672
673 We can crash when walking the 'private' evictor list since an element can
674 be deleted from list underneath the evictor.
675
676 Join work with Nikolay Alexandrov.
677
678 Fixes: b13d3cbfb8e8 ("inet: frag: move eviction of queues to work queue")
679 Reported-by: Johan Schuijt <johan@transip.nl>
680 Tested-by: Frank Schreuder <fschreuder@transip.nl>
681 Signed-off-by: Nikolay Alexandrov <nikolay@cumulusnetworks.com>
682 Signed-off-by: Florian Westphal <fw@strlen.de>
683 Signed-off-by: David S. Miller <davem@davemloft.net>
684
685 include/net/inet_frag.h | 2 ++
686 net/ipv4/inet_fragment.c | 8 +++-----
687 2 files changed, 5 insertions(+), 5 deletions(-)
688
689 commit 18dbb7c79efd6ad05708d5015e9ba1013b5e8d78
690 Author: Johan Hedberg <johan.hedberg@intel.com>
691 Date: Mon Jul 20 20:31:25 2015 +0300
692
693 Bluetooth: Fix NULL pointer dereference in smp_conn_security
694
695 The l2cap_conn->smp pointer may be NULL for various valid reasons where SMP has
696 failed to initialize properly. One such scenario is when crypto support is
697 missing, another when the adapter has been powered on through a legacy method.
698 The smp_conn_security() function should have the appropriate check for this
699 situation to avoid NULL pointer dereferences.
700
701 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
702 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
703 Cc: stable@vger.kernel.org # 4.0+
704
705 net/bluetooth/smp.c | 4 ++++
706 1 files changed, 4 insertions(+), 0 deletions(-)
707
708 commit f7806e7d24320350c2673c37682a4ebcede48fbb
709 Merge: 7da4469 9188503
710 Author: Brad Spengler <spender@grsecurity.net>
711 Date: Sun Jul 26 19:15:42 2015 -0400
712
713 Merge branch 'pax-test' into grsec-test
714
715 commit 918850373a254f92f9c146bcaa66ccbcc4da5aa2
716 Author: Brad Spengler <spender@grsecurity.net>
717 Date: Sun Jul 26 19:15:21 2015 -0400
718
719 Update to pax-linux-4.1.3-test10.patch:
720 - fixed compile errors on arm, reported by Michael Tremer <michael.tremer@ipfire.org>
721 - fixed the new pax_nouderef mechanism
722
723 arch/arm/include/asm/cpuidle.h | 2 +-
724 arch/arm/kernel/cpuidle.c | 2 +-
725 arch/x86/include/asm/cpufeature.h | 1 +
726 arch/x86/include/asm/mmu_context.h | 10 +++++-----
727 arch/x86/include/asm/tlbflush.h | 20 +++++++++++---------
728 arch/x86/kernel/cpu/common.c | 2 ++
729 drivers/clk/clk-mux.c | 4 ++--
730 drivers/clk/samsung/clk.h | 2 +-
731 drivers/gpio/gpio-omap.c | 2 +-
732 drivers/gpu/drm/tegra/sor.c | 7 +++++--
733 drivers/scsi/be2iscsi/be_main.c | 2 +-
734 include/linux/clk-provider.h | 6 +++---
735 init/main.c | 1 +
736 13 files changed, 35 insertions(+), 26 deletions(-)
737
738 commit 7da446903dcd5e93faba1291772a19f3e0e1f261
739 Merge: 8fa9f45 47942a0
740 Author: Brad Spengler <spender@grsecurity.net>
741 Date: Sun Jul 26 11:26:15 2015 -0400
742
743 Merge branch 'pax-test' into grsec-test
744
745 commit 47942a0e37ae866e4a24bbd468fc1f6fe881589d
746 Author: Brad Spengler <spender@grsecurity.net>
747 Date: Sun Jul 26 11:25:51 2015 -0400
748
749 Update to pax-linux-4.1.3-test9.patch:
750 - pax_nouderef no longer disables PCID/INVPCID so that they are still available in guest VMs
751 - fixed userland crashes under amd64/UDEREF/KERNEXEC caused by an oversight while backporting the NMI fixes, reported by Victor, ajj146 and Nicolas Simond
752
753 arch/x86/kernel/cpu/common.c | 31 ++++++++++++++++---------------
754 arch/x86/kernel/entry_64.S | 10 +++++++++-
755 init/main.c | 2 --
756 3 files changed, 25 insertions(+), 18 deletions(-)
757
758 commit 8fa9f4585fd2d0f71bcf2f6472643f1bcfced4ef
759 Author: Brad Spengler <spender@grsecurity.net>
760 Date: Sat Jul 25 16:12:36 2015 -0400
761
762 Protect kexec_load_disabled as well, even though it's disabled under
763 GRKERNSEC_KMEM already
764
765 kernel/kexec.c | 2 +-
766 kernel/sysctl.c | 2 +-
767 2 files changed, 2 insertions(+), 2 deletions(-)
768
769 commit b16ef6f1b3f856c0fd8fad389ab82294dd34fb37
770 Author: Brad Spengler <spender@grsecurity.net>
771 Date: Sat Jul 25 15:10:12 2015 -0400
772
773 Add additional missing Broadcom firmware
774
775 firmware/Makefile | 1 +
776 firmware/WHENCE | 1 +
777 firmware/bnx2/bnx2-mips-06-6.2.3.fw.ihex | 5804 ++++++++++++++++++++++++++++++
778 3 files changed, 5806 insertions(+), 0 deletions(-)
779
780 commit dc3a346dcef9b4aec5c6529c786350da2e470aea
781 Merge: 5523ddd 24124ed
782 Author: Brad Spengler <spender@grsecurity.net>
783 Date: Sat Jul 25 12:48:23 2015 -0400
784
785 Merge branch 'pax-test' into grsec-test
786
787 commit 24124edb545ae3bdbd00f4f3657a0a30a883580f
788 Author: Brad Spengler <spender@grsecurity.net>
789 Date: Sat Jul 25 12:47:40 2015 -0400
790
791 Update to pax-linux-4.1.3-test8.patch:
792 - backported the recent NMI fixes for CVE-2015-3290, CVE-2015-3291 and CVE-2015-5157, by Andy Lutomirski <luto@kernel.org> (https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/nmi-backport and http://seclists.org/oss-sec/2015/q3/168)
793
794 arch/x86/kernel/entry_64.S | 314 +++++++++++++++++++++++++++++---------------
795 arch/x86/kernel/nmi.c | 139 +++++++++-----------
796 2 files changed, 267 insertions(+), 186 deletions(-)
797
798 commit 5523ddde21cc0a2c16a0aed628e3488de0598f58
799 Author: Brad Spengler <spender@grsecurity.net>
800 Date: Sat Jul 25 11:49:44 2015 -0400
801
802 compile fix
803
804 kernel/sysctl.c | 4 +++-
805 1 files changed, 3 insertions(+), 1 deletions(-)
806
807 commit 4e0fa4c29dab6b0cf5e183d31b7f84dd83d86d9d
808 Author: Brad Spengler <spender@grsecurity.net>
809 Date: Sat Jul 25 11:28:15 2015 -0400
810
811 Implement modify_ldt sysctl toggle from https://lkml.org/lkml/2015/7/25/103,
812 make it not depend on CONFIG_MODIFY_LDT_SYSCALL, force modify_ldt to off
813 regardless of config setting if grsec is enabled (with the allowance to
814 turn it on at runtime), and harden up the implementation a bit
815
816 Documentation/sysctl/kernel.txt | 15 +++++++++++++++
817 arch/x86/Kconfig | 16 ++++++++++++++++
818 arch/x86/kernel/ldt.c | 18 ++++++++++++++++++
819 kernel/sysctl.c | 8 ++++++++
820 4 files changed, 57 insertions(+), 0 deletions(-)
821
822 commit 532568688f8e8535f3045cba322a8ecde5c47653
823 Author: Brad Spengler <spender@grsecurity.net>
824 Date: Sat Jul 25 11:02:49 2015 -0400
825
826 compile fix
827
828 grsecurity/grsec_sysctl.c | 2 +-
829 1 files changed, 1 insertions(+), 1 deletions(-)
830
831 commit 5e354cb8e19b2584a7b98bf998abb798cdc3a673
832 Author: Brad Spengler <spender@grsecurity.net>
833 Date: Sat Jul 25 10:59:07 2015 -0400
834
835 compile fix
836
837 include/linux/sysctl.h | 2 ++
838 1 files changed, 2 insertions(+), 0 deletions(-)
839
840 commit ff2992ddd0298fb7a507e599be8240ab5f6b2503
841 Author: Brad Spengler <spender@grsecurity.net>
842 Date: Sat Jul 25 10:50:51 2015 -0400
843
844 Add framework for having ambiently read-only sysctl variables.
845 Add all grsecurity sysctl entries to it, as well as security-relevant
846 upstream sysctl values (modules_disabled, kptr_restrict, etc)
847
848 grsecurity/grsec_init.c | 104 ++++++++++++++++++++++----------------------
849 grsecurity/grsec_sysctl.c | 104 ++++++++++++++++++++++----------------------
850 include/linux/sysctl.h | 2 +
851 kernel/events/core.c | 6 +-
852 kernel/module.c | 2 +-
853 kernel/printk/printk.c | 2 +-
854 kernel/sysctl.c | 89 +++++++++++++++++++++++++++++++++++---
855 lib/vsprintf.c | 4 +-
856 8 files changed, 195 insertions(+), 118 deletions(-)
857
858 commit d265460434f9f8ab420d67e961b5a80b3cd3dc82
859 Author: Alex Williamson <alex.williamson@redhat.com>
860 Date: Tue Jul 14 14:48:53 2015 -0600
861
862 iommu/vt-d: Fix VM domain ID leak
863
864 This continues the attempt to fix commit fb170fb4c548 ("iommu/vt-d:
865 Introduce helper functions to make code symmetric for readability").
866 The previous attempt in commit 71684406905f ("iommu/vt-d: Detach
867 domain *only* from attached iommus") overlooked the fact that
868 dmar_domain.iommu_bmp gets cleared for VM domains when devices are
869 detached:
870
871 intel_iommu_detach_device
872 domain_remove_one_dev_info
873 domain_detach_iommu
874
875 The domain is detached from the iommu, but the iommu is still attached
876 to the domain, for whatever reason. Thus when we get to domain_exit(),
877 we can't rely on iommu_bmp for VM domains to find the active iommus,
878 we must check them all. Without that, the corresponding bit in
879 intel_iommu.domain_ids doesn't get cleared and repeated VM domain
880 creation and destruction will run out of domain IDs. Meanwhile we
881 still can't call iommu_detach_domain() on arbitrary non-VM domains or
882 we risk clearing in-use domain IDs, as 71684406905f attempted to
883 address.
884
885 It's tempting to modify iommu_detach_domain() to test the domain
886 iommu_bmp, but the call ordering from domain_remove_one_dev_info()
887 prevents it being able to work as fb170fb4c548 seems to have intended.
888 Caching of unused VM domains on the iommu object seems to be the root
889 of the problem, but this code is far too fragile for that kind of
890 rework to be proposed for stable, so we simply revert this chunk to
891 its state prior to fb170fb4c548.
892
893 Fixes: fb170fb4c548 ("iommu/vt-d: Introduce helper functions to make
894 code symmetric for readability")
895 Fixes: 71684406905f ("iommu/vt-d: Detach domain *only* from attached
896 iommus")
897 Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
898 Cc: Jiang Liu <jiang.liu@linux.intel.com>
899 Cc: stable@vger.kernel.org # v3.17+
900 Signed-off-by: Joerg Roedel <jroedel@suse.de>
901
902 drivers/iommu/intel-iommu.c | 9 ++++++---
903 1 files changed, 6 insertions(+), 3 deletions(-)
904
905 commit 2a4ff00000e1d36651ec534b8ef59435b9798835
906 Author: Eric W. Biederman <ebiederm@xmission.com>
907 Date: Fri Jul 17 14:54:27 2015 -0500
908
909 mnt: In detach_mounts detach the appropriate unmounted mount
910
911 The handling of in detach_mounts of unmounted but connected mounts is
912 buggy and can lead to an infinite loop.
913
914 Correct the handling of unmounted mounts in detach_mount. When the
915 mountpoint of an unmounted but connected mount is connected to a
916 dentry, and that dentry is deleted we need to disconnect that mount
917 from the parent mount and the deleted dentry.
918
919 Nothing changes for the unmounted and connected children. They can be
920 safely ignored.
921
922 Cc: stable@vger.kernel.org
923 Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts
924 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
925
926 fs/namespace.c | 7 ++-----
927 1 files changed, 2 insertions(+), 5 deletions(-)
928
929 commit 4056b87d96d91d73041c360e8260a4a7b6d803ca
930 Author: Eric W. Biederman <ebiederm@xmission.com>
931 Date: Fri Jul 17 14:15:30 2015 -0500
932
933 mnt: Clarify and correct the disconnect logic in umount_tree
934
935 rmdir mntpoint will result in an infinite loop when there is
936 a mount locked on the mountpoint in another mount namespace.
937
938 This is because the logic to test to see if a mount should
939 be disconnected in umount_tree is buggy.
940
941 Move the logic to decide if a mount should remain connected to
942 it's mountpoint into it's own function disconnect_mount so that
943 clarity of expression instead of terseness of expression becomes
944 a virtue.
945
946 When the conditions where it is invalid to leave a mount connected
947 are first ruled out, the logic for deciding if a mount should
948 be disconnected becomes much clearer and simpler.
949
950 Fixes: e0c9c0afd2fc958ffa34b697972721d81df8a56f mnt: Update detach_mounts to leave mounts connected
951 Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts
952 Cc: stable@vger.kernel.org
953 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
954
955 fs/namespace.c | 35 +++++++++++++++++++++++++++++++----
956 fs/pnode.h | 2 --
957 2 files changed, 31 insertions(+), 6 deletions(-)
958
959 commit beae0745e79a74772b8d9a0c4ece83d23d851716
960 Author: Nicolas Schichan <nschichan@freebox.fr>
961 Date: Tue Jul 21 14:14:12 2015 +0200
962
963 ARM: net: fix condition for load_order > 0 when translating load instructions.
964
965 To check whether the load should take the fast path or not, the code
966 would check that (r_skb_hlen - load_order) is greater than the offset
967 of the access using an "Unsigned higher or same" condition. For
968 halfword accesses and an skb length of 1 at offset 0, that test is
969 valid, as we end up comparing 0xffffffff(-1) and 0, so the fast path
970 is taken and the filter allows the load to wrongly succeed. A similar
971 issue exists for word loads at offset 0 and an skb length of less than
972 4.
973
974 Fix that by using the condition "Signed greater than or equal"
975 condition for the fast path code for load orders greater than 0.
976
977 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
978 Signed-off-by: David S. Miller <davem@davemloft.net>
979
980 arch/arm/net/bpf_jit_32.c | 2 +-
981 1 files changed, 1 insertions(+), 1 deletions(-)
982
983 commit 36523ec244eb01a4fce02a1cbc0643eb80a55324
984 Author: Nicolas Schichan <nschichan@freebox.fr>
985 Date: Tue Jul 21 14:14:13 2015 +0200
986
987 ARM: net: handle negative offsets in BPF JIT.
988
989 Previously, the JIT would reject negative offsets known during code
990 generation and mishandle negative offsets provided at runtime.
991
992 Fix that by calling bpf_internal_load_pointer_neg_helper()
993 appropriately in the jit_get_skb_{b,h,w} slow path helpers and by forcing
994 the execution flow to the slow path helpers when the offset is
995 negative.
996
997 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
998 Signed-off-by: David S. Miller <davem@davemloft.net>
999
1000 arch/arm/net/bpf_jit_32.c | 47 ++++++++++++++++++++++++++++++++++++--------
1001 1 files changed, 38 insertions(+), 9 deletions(-)
1002
1003 commit 7202f5f549b01fe9fa5837c7102668895ea6916e
1004 Author: Nicolas Schichan <nschichan@freebox.fr>
1005 Date: Tue Jul 21 14:14:14 2015 +0200
1006
1007 ARM: net: fix vlan access instructions in ARM JIT.
1008
1009 This makes BPF_ANC | SKF_AD_VLAN_TAG and BPF_ANC | SKF_AD_VLAN_TAG_PRESENT
1010 have the same behaviour as the in kernel VM and makes the test_bpf LD_VLAN_TAG
1011 and LD_VLAN_TAG_PRESENT tests pass.
1012
1013 Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
1014 Signed-off-by: David S. Miller <davem@davemloft.net>
1015
1016 arch/arm/net/bpf_jit_32.c | 8 +++++---
1017 1 files changed, 5 insertions(+), 3 deletions(-)
1018
1019 commit 87b1904179ce906f1d9926a19184f6e38448e527
1020 Author: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1021 Date: Fri Jul 17 14:01:11 2015 +0300
1022
1023 net: ratelimit warnings about dst entry refcount underflow or overflow
1024
1025 Kernel generates a lot of warnings when dst entry reference counter
1026 overflows and becomes negative. That bug was seen several times at
1027 machines with outdated 3.10.y kernels. Most like it's already fixed
1028 in upstream. Anyway that flood completely kills machine and makes
1029 further debugging impossible.
1030
1031 Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1032 Signed-off-by: David S. Miller <davem@davemloft.net>
1033
1034 net/core/dst.c | 4 +++-
1035 1 files changed, 3 insertions(+), 1 deletions(-)
1036
1037 commit ba84fb968446cbe2499439d812ca80886a17d5c9
1038 Author: Simon Guinot <simon.guinot@sequanux.org>
1039 Date: Sun Jul 19 13:00:53 2015 +0200
1040
1041 net: mvneta: fix refilling for Rx DMA buffers
1042
1043 With the actual code, if a memory allocation error happens while
1044 refilling a Rx descriptor, then the original Rx buffer is both passed
1045 to the networking stack (in a SKB) and let in the Rx ring. This leads
1046 to various kernel oops and crashes.
1047
1048 As a fix, this patch moves Rx descriptor refilling ahead of building
1049 SKB with the associated Rx buffer. In case of a memory allocation
1050 failure, data is dropped and the original DMA buffer is put back into
1051 the Rx ring.
1052
1053 Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
1054 Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
1055 Cc: <stable@vger.kernel.org> # v3.8+
1056 Tested-by: Yoann Sculo <yoann@sculo.fr>
1057 Signed-off-by: David S. Miller <davem@davemloft.net>
1058
1059 drivers/net/ethernet/marvell/mvneta.c | 22 ++++++++++------------
1060 1 files changed, 10 insertions(+), 12 deletions(-)
1061
1062 commit b884f1d8eecd2404cf6f6dd1aba1ac0b93a37bca
1063 Author: Daniel Borkmann <daniel@iogearbox.net>
1064 Date: Fri Jul 17 22:38:43 2015 +0200
1065
1066 sched: cls_bpf: fix panic on filter replace
1067
1068 The following test case causes a NULL pointer dereference in cls_bpf:
1069
1070 FOO="1,6 0 0 4294967295,"
1071 tc filter add dev foo parent 1: bpf bytecode "$FOO" flowid 1:1 action ok
1072 tc filter replace dev foo parent 1: pref 49152 handle 0x1 \
1073 bpf bytecode "$FOO" flowid 1:1 action drop
1074
1075 The problem is that commit 1f947bf151e9 ("net: sched: rcu'ify cls_bpf")
1076 accidentally swapped the arguments of list_replace_rcu(), the old
1077 element needs to be the first argument and the new element the second.
1078
1079 Fixes: 1f947bf151e9 ("net: sched: rcu'ify cls_bpf")
1080 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1081 Acked-by: John Fastabend <john.r.fastabend@intel.com>
1082 Acked-by: Alexei Starovoitov <ast@plumgrid.com>
1083 Signed-off-by: David S. Miller <davem@davemloft.net>
1084
1085 net/sched/cls_bpf.c | 2 +-
1086 1 files changed, 1 insertions(+), 1 deletions(-)
1087
1088 commit b7bc68bc309cdb7ad58f8e4ec6b5db95f921178b
1089 Author: Daniel Borkmann <daniel@iogearbox.net>
1090 Date: Fri Jul 17 22:38:45 2015 +0200
1091
1092 sched: cls_flow: fix panic on filter replace
1093
1094 The following test case causes a NULL pointer dereference in cls_flow:
1095
1096 tc filter add dev foo parent 1: handle 0x1 flow hash keys dst action ok
1097 tc filter replace dev foo parent 1: pref 49152 handle 0x1 \
1098 flow hash keys mark action drop
1099
1100 To be more precise, actually two different panics are fixed, the first
1101 occurs because tcf_exts_init() is not called on the newly allocated
1102 filter when we do a replace. And the second panic uncovered after that
1103 happens since the arguments of list_replace_rcu() are swapped, the old
1104 element needs to be the first argument and the new element the second.
1105
1106 Fixes: 70da9f0bf999 ("net: sched: cls_flow use RCU")
1107 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1108 Acked-by: John Fastabend <john.r.fastabend@intel.com>
1109 Signed-off-by: David S. Miller <davem@davemloft.net>
1110
1111 net/sched/cls_flow.c | 5 +++--
1112 1 files changed, 3 insertions(+), 2 deletions(-)
1113
1114 commit f17540910375d47fe675bc5f1080cac1418b7332
1115 Author: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
1116 Date: Mon Jul 13 11:32:43 2015 +0200
1117
1118 parisc: mm: Fix a memory leak related to pmd not attached to the pgd
1119
1120 Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds")
1121 introduced a memory leak.
1122
1123 After this commit, the 'return' statement in pmd_free is executed in all
1124 cases. Even for pmd that are not attached to the pgd. So 'free_pages'
1125 can never be called anymore, leading to a memory leak.
1126
1127 Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
1128 Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
1129 Acked-by: Mikulas Patocka <mpatocka@redhat.com>
1130 Acked-by: Helge Deller <deller@gmx.de>
1131 Cc: stable@vger.kernel.org # v4.0+
1132 Signed-off-by: Helge Deller <deller@gmx.de>
1133
1134 arch/parisc/include/asm/pgalloc.h | 3 ++-
1135 1 files changed, 2 insertions(+), 1 deletions(-)
1136
1137 commit ad167680a92c235b342491acdde96e38987e6aa3
1138 Author: Seymour, Shane M <shane.seymour@hp.com>
1139 Date: Thu Jul 2 12:01:10 2015 +0000
1140
1141 st: null pointer dereference panic caused by use after kref_put by st_open
1142
1143 Two SLES11 SP3 servers encountered similar crashes simultaneously
1144 following some kind of SAN/tape target issue:
1145
1146 ...
1147 qla2xxx [0000:81:00.0]-801c:3: Abort command issued nexus=3:0:2 -- 1 2002.
1148 qla2xxx [0000:81:00.0]-801c:3: Abort command issued nexus=3:0:2 -- 1 2002.
1149 qla2xxx [0000:81:00.0]-8009:3: DEVICE RESET ISSUED nexus=3:0:2 cmd=ffff882f89c2c7c0.
1150 qla2xxx [0000:81:00.0]-800c:3: do_reset failed for cmd=ffff882f89c2c7c0.
1151 qla2xxx [0000:81:00.0]-800f:3: DEVICE RESET FAILED: Task management failed nexus=3:0:2 cmd=ffff882f89c2c7c0.
1152 qla2xxx [0000:81:00.0]-8009:3: TARGET RESET ISSUED nexus=3:0:2 cmd=ffff882f89c2c7c0.
1153 qla2xxx [0000:81:00.0]-800c:3: do_reset failed for cmd=ffff882f89c2c7c0.
1154 qla2xxx [0000:81:00.0]-800f:3: TARGET RESET FAILED: Task management failed nexus=3:0:2 cmd=ffff882f89c2c7c0.
1155 qla2xxx [0000:81:00.0]-8012:3: BUS RESET ISSUED nexus=3:0:2.
1156 qla2xxx [0000:81:00.0]-802b:3: BUS RESET SUCCEEDED nexus=3:0:2.
1157 qla2xxx [0000:81:00.0]-505f:3: Link is operational (8 Gbps).
1158 qla2xxx [0000:81:00.0]-8018:3: ADAPTER RESET ISSUED nexus=3:0:2.
1159 qla2xxx [0000:81:00.0]-00af:3: Performing ISP error recovery - ha=ffff88bf04d18000.
1160 rport-3:0-0: blocked FC remote port time out: removing target and saving binding
1161 qla2xxx [0000:81:00.0]-505f:3: Link is operational (8 Gbps).
1162 qla2xxx [0000:81:00.0]-8017:3: ADAPTER RESET SUCCEEDED nexus=3:0:2.
1163 rport-2:0-0: blocked FC remote port time out: removing target and saving binding
1164 sg_rq_end_io: device detached
1165 BUG: unable to handle kernel NULL pointer dereference at 00000000000002a8
1166 IP: [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1167 PGD 7e6586f067 PUD 7e5af06067 PMD 0 [1739975.390354] Oops: 0002 [#1] SMP
1168 CPU 0
1169 ...
1170 Supported: No, Proprietary modules are loaded [1739975.390463]
1171 Pid: 27965, comm: ABCD Tainted: PF X 3.0.101-0.29-default #1 HP ProLiant DL580 Gen8
1172 RIP: 0010:[<ffffffff8133b268>] [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1173 RSP: 0018:ffff8839dc1e7c68 EFLAGS: 00010202
1174 RAX: 0000000000000000 RBX: ffff883f0592fc00 RCX: 0000000000000090
1175 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000138
1176 RBP: 0000000000000138 R08: 0000000000000010 R09: ffffffff81bd39d0
1177 R10: 00000000000009c0 R11: ffffffff81025790 R12: 0000000000000001
1178 R13: ffff883022212b80 R14: 0000000000000004 R15: ffff883022212b80
1179 FS: 00007f8e54560720(0000) GS:ffff88407f800000(0000) knlGS:0000000000000000
1180 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
1181 CR2: 00000000000002a8 CR3: 0000007e6ced6000 CR4: 00000000001407f0
1182 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
1183 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
1184 Process ABCD (pid: 27965, threadinfo ffff8839dc1e6000, task ffff883592e0c640)
1185 Stack:
1186 ffff883f0592fc00 00000000fffffffa 0000000000000001 ffff883022212b80
1187 ffff883eff772400 ffffffffa03fa309 0000000000000000 0000000000000000
1188 ffffffffa04003a0 ffff883f063196c0 ffff887f0379a930 ffffffff8115ea1e
1189 Call Trace:
1190 [<ffffffffa03fa309>] st_open+0x129/0x240 [st]
1191 [<ffffffff8115ea1e>] chrdev_open+0x13e/0x200
1192 [<ffffffff811588a8>] __dentry_open+0x198/0x310
1193 [<ffffffff81167d74>] do_last+0x1f4/0x800
1194 [<ffffffff81168fe9>] path_openat+0xd9/0x420
1195 [<ffffffff8116946c>] do_filp_open+0x4c/0xc0
1196 [<ffffffff8115a00f>] do_sys_open+0x17f/0x250
1197 [<ffffffff81468d92>] system_call_fastpath+0x16/0x1b
1198 [<00007f8e4f617fd0>] 0x7f8e4f617fcf
1199 Code: eb d3 90 48 83 ec 28 40 f6 c6 04 48 89 6c 24 08 4c 89 74 24 20 48 89 fd 48 89 1c 24 4c 89 64 24 10 41 89 f6 4c 89 6c 24 18 74 11 <f0> ff 8f 70 01 00 00 0f 94 c0 45 31 ed 84 c0 74 2b 4c 8d a5 a0
1200 RIP [<ffffffff8133b268>] __pm_runtime_idle+0x28/0x90
1201 RSP <ffff8839dc1e7c68>
1202 CR2: 00000000000002a8
1203
1204 Analysis reveals the cause of the crash to be due to STp->device
1205 being NULL. The pointer was NULLed via scsi_tape_put(STp) when it
1206 calls scsi_tape_release(). In st_open() we jump to err_out after
1207 scsi_block_when_processing_errors() completes and returns the
1208 device as offline (sdev_state was SDEV_DEL):
1209
1210 1180 /* Open the device. Needs to take the BKL only because of incrementing the SCSI host
1211 1181 module count. */
1212 1182 static int st_open(struct inode *inode, struct file *filp)
1213 1183 {
1214 1184 int i, retval = (-EIO);
1215 1185 int resumed = 0;
1216 1186 struct scsi_tape *STp;
1217 1187 struct st_partstat *STps;
1218 1188 int dev = TAPE_NR(inode);
1219 1189 char *name;
1220 ...
1221 1217 if (scsi_autopm_get_device(STp->device) < 0) {
1222 1218 retval = -EIO;
1223 1219 goto err_out;
1224 1220 }
1225 1221 resumed = 1;
1226 1222 if (!scsi_block_when_processing_errors(STp->device)) {
1227 1223 retval = (-ENXIO);
1228 1224 goto err_out;
1229 1225 }
1230 ...
1231 1264 err_out:
1232 1265 normalize_buffer(STp->buffer);
1233 1266 spin_lock(&st_use_lock);
1234 1267 STp->in_use = 0;
1235 1268 spin_unlock(&st_use_lock);
1236 1269 scsi_tape_put(STp); <-- STp->device = 0 after this
1237 1270 if (resumed)
1238 1271 scsi_autopm_put_device(STp->device);
1239 1272 return retval;
1240
1241 The ref count for the struct scsi_tape had already been reduced
1242 to 1 when the .remove method of the st module had been called.
1243 The kref_put() in scsi_tape_put() caused scsi_tape_release()
1244 to be called:
1245
1246 0266 static void scsi_tape_put(struct scsi_tape *STp)
1247 0267 {
1248 0268 struct scsi_device *sdev = STp->device;
1249 0269
1250 0270 mutex_lock(&st_ref_mutex);
1251 0271 kref_put(&STp->kref, scsi_tape_release); <-- calls this
1252 0272 scsi_device_put(sdev);
1253 0273 mutex_unlock(&st_ref_mutex);
1254 0274 }
1255
1256 In scsi_tape_release() the struct scsi_device in the struct
1257 scsi_tape gets set to NULL:
1258
1259 4273 static void scsi_tape_release(struct kref *kref)
1260 4274 {
1261 4275 struct scsi_tape *tpnt = to_scsi_tape(kref);
1262 4276 struct gendisk *disk = tpnt->disk;
1263 4277
1264 4278 tpnt->device = NULL; <<<---- where the dev is nulled
1265 4279
1266 4280 if (tpnt->buffer) {
1267 4281 normalize_buffer(tpnt->buffer);
1268 4282 kfree(tpnt->buffer->reserved_pages);
1269 4283 kfree(tpnt->buffer);
1270 4284 }
1271 4285
1272 4286 disk->private_data = NULL;
1273 4287 put_disk(disk);
1274 4288 kfree(tpnt);
1275 4289 return;
1276 4290 }
1277
1278 Although the problem was reported on SLES11.3 the problem appears
1279 in linux-next as well.
1280
1281 The crash is fixed by reordering the code so we no longer access
1282 the struct scsi_tape after the kref_put() is done on it in st_open().
1283
1284 Signed-off-by: Shane Seymour <shane.seymour@hp.com>
1285 Signed-off-by: Darren Lavender <darren.lavender@hp.com>
1286 Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com>
1287 Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
1288 Cc: stable@vger.kernel.org
1289 Signed-off-by: James Bottomley <JBottomley@Odin.com>
1290
1291 drivers/scsi/st.c | 2 +-
1292 1 files changed, 1 insertions(+), 1 deletions(-)
1293
1294 commit 17389660416307cfab2095080c1e4471ee804f99
1295 Author: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
1296 Date: Fri Jul 17 16:23:42 2015 -0700
1297
1298 include, lib: add __printf attributes to several function prototypes
1299
1300 Using __printf attributes helps to detect several format string issues
1301 at compile time (even though -Wformat-security is currently disabled in
1302 Makefile). For example it can detect when formatting a pointer as a
1303 number, like the issue fixed in commit a3fa71c40f18 ("wl18xx: show
1304 rx_frames_per_rates as an array as it really is"), or when the arguments
1305 do not match the format string, c.f. for example commit 5ce1aca81435
1306 ("reiserfs: fix __RASSERT format string").
1307
1308 To prevent similar bugs in the future, add a __printf attribute to every
1309 function prototype which needs one in include/linux/ and lib/. These
1310 functions were mostly found by using gcc's -Wsuggest-attribute=format
1311 flag.
1312
1313 Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
1314 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1315 Cc: Felipe Balbi <balbi@ti.com>
1316 Cc: Joel Becker <jlbec@evilplan.org>
1317 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1318 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1319
1320 Conflicts:
1321
1322 include/linux/clkdev.h
1323 include/linux/configfs.h
1324 include/linux/printk.h
1325
1326 include/linux/clkdev.h | 5 +++--
1327 include/linux/compat.h | 2 +-
1328 include/linux/configfs.h | 3 ++-
1329 include/linux/cpu.h | 7 ++++---
1330 include/linux/dcache.h | 3 ++-
1331 include/linux/device.h | 15 +++++++--------
1332 include/linux/iommu.h | 2 +-
1333 include/linux/kernel.h | 9 +++++----
1334 include/linux/kobject.h | 5 +++--
1335 include/linux/mmiotrace.h | 2 +-
1336 include/linux/printk.h | 6 +++---
1337 lib/kobject.c | 5 +++--
1338 12 files changed, 35 insertions(+), 29 deletions(-)
1339
1340 commit 41d349e4ee5c4982523f42946a91bb78aa2a7cf6
1341 Author: Joonsoo Kim <js1304@gmail.com>
1342 Date: Fri Jul 17 16:24:15 2015 -0700
1343
1344 mm/page_owner: fix possible access violation
1345
1346 When I tested my new patches, I found that page pointer which is used
1347 for setting page_owner information is changed. This is because page
1348 pointer is used to set new migratetype in loop. After this work, page
1349 pointer could be out of bound. If this wrong pointer is used for
1350 page_owner, access violation happens. Below is error message that I
1351 got.
1352
1353 BUG: unable to handle kernel paging request at 0000000000b00018
1354 IP: [<ffffffff81025f30>] save_stack_address+0x30/0x40
1355 PGD 1af2d067 PUD 166e0067 PMD 0
1356 Oops: 0002 [#1] SMP
1357 ...snip...
1358 Call Trace:
1359 print_context_stack+0xcf/0x100
1360 dump_trace+0x15f/0x320
1361 save_stack_trace+0x2f/0x50
1362 __set_page_owner+0x46/0x70
1363 __isolate_free_page+0x1f7/0x210
1364 split_free_page+0x21/0xb0
1365 isolate_freepages_block+0x1e2/0x410
1366 compaction_alloc+0x22d/0x2d0
1367 migrate_pages+0x289/0x8b0
1368 compact_zone+0x409/0x880
1369 compact_zone_order+0x6d/0x90
1370 try_to_compact_pages+0x110/0x210
1371 __alloc_pages_direct_compact+0x3d/0xe6
1372 __alloc_pages_nodemask+0x6cd/0x9a0
1373 alloc_pages_current+0x91/0x100
1374 runtest_store+0x296/0xa50
1375 simple_attr_write+0xbd/0xe0
1376 __vfs_write+0x28/0xf0
1377 vfs_write+0xa9/0x1b0
1378 SyS_write+0x46/0xb0
1379 system_call_fastpath+0x16/0x75
1380
1381 This patch fixes this error by moving up set_page_owner().
1382
1383 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
1384 Cc: Mel Gorman <mgorman@suse.de>
1385 Cc: Vlastimil Babka <vbabka@suse.cz>
1386 Acked-by: Minchan Kim <minchan@kernel.org>
1387 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1388 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1389
1390 mm/page_alloc.c | 4 +++-
1391 1 files changed, 3 insertions(+), 1 deletions(-)
1392
1393 commit c7fc195271c087aaf6e7b9c19d632a03d0dcd44f
1394 Author: Joonsoo Kim <js1304@gmail.com>
1395 Date: Fri Jul 17 16:24:20 2015 -0700
1396
1397 mm/cma_debug: fix debugging alloc/free interface
1398
1399 CMA has alloc/free interface for debugging. It is intended that
1400 alloc/free occurs in specific CMA region, but, currently, alloc/free
1401 interface is on root dir due to the bug so we can't select CMA region
1402 where alloc/free happens.
1403
1404 This patch fixes this problem by making alloc/free interface per CMA
1405 region.
1406
1407 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
1408 Acked-by: Michal Nazarewicz <mina86@mina86.com>
1409 Cc: Sasha Levin <sasha.levin@oracle.com>
1410 Cc: Stefan Strogin <stefan.strogin@gmail.com>
1411 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1412 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1413
1414 mm/cma_debug.c | 4 ++--
1415 1 files changed, 2 insertions(+), 2 deletions(-)
1416
1417 commit bdce4b16c357b6f1aa0de2ebc1e9e737de7b3835
1418 Author: Joonsoo Kim <js1304@gmail.com>
1419 Date: Fri Jul 17 16:24:23 2015 -0700
1420
1421 mm/cma_debug: correct size input to bitmap function
1422
1423 In CMA, 1 bit in bitmap means 1 << order_per_bits pages so size of
1424 bitmap is cma->count >> order_per_bits rather than just cma->count.
1425 This patch fixes it.
1426
1427 Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
1428 Acked-by: Michal Nazarewicz <mina86@mina86.com>
1429 Cc: Sasha Levin <sasha.levin@oracle.com>
1430 Cc: Stefan Strogin <stefan.strogin@gmail.com>
1431 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1432 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1433
1434 mm/cma_debug.c | 7 ++++---
1435 1 files changed, 4 insertions(+), 3 deletions(-)
1436
1437 commit 9fdcb2243392e451c0dead8c1056085cedc295d9
1438 Author: Ming Lei <ming.lei@canonical.com>
1439 Date: Thu Jul 16 19:53:22 2015 +0800
1440
1441 blk-mq: set default timeout as 30 seconds
1442
1443 It is reasonable to set default timeout of request as 30 seconds instead of
1444 30000 ticks, which may be 300 seconds if HZ is 100, for example, some arm64
1445 based systems may choose 100 HZ.
1446
1447 Signed-off-by: Ming Lei <ming.lei@canonical.com>
1448 Fixes: c76cbbcf4044 ("blk-mq: put blk_queue_rq_timeout together in blk_mq_init_queue()"
1449 Signed-off-by: Jens Axboe <axboe@fb.com>
1450
1451 block/blk-mq.c | 2 +-
1452 1 files changed, 1 insertions(+), 1 deletions(-)
1453
1454 commit 1a4d0e757cc0e4685c9df14a70a1ac589f25a094
1455 Author: WANG Cong <xiyou.wangcong@gmail.com>
1456 Date: Tue Jul 14 16:35:54 2015 +0300
1457
1458 ipvlan: use rcu_deference_bh() in ipvlan_queue_xmit()
1459
1460 In tx path rcu_read_lock_bh() is held, so we need rcu_deference_bh().
1461 This fixes the following warning:
1462
1463 ===============================
1464 [ INFO: suspicious RCU usage. ]
1465 4.1.0-rc1+ #1007 Not tainted
1466 -------------------------------
1467 drivers/net/ipvlan/ipvlan.h:106 suspicious rcu_dereference_check() usage!
1468
1469 other info that might help us debug this:
1470
1471 rcu_scheduler_active = 1, debug_locks = 0
1472 1 lock held by dhclient/1076:
1473 #0: (rcu_read_lock_bh){......}, at: [<ffffffff817e8d84>] rcu_lock_acquire+0x0/0x26
1474
1475 stack backtrace:
1476 CPU: 2 PID: 1076 Comm: dhclient Not tainted 4.1.0-rc1+ #1007
1477 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
1478 0000000000000001 ffff8800d381bac8 ffffffff81a4154f 000000003c1a3c19
1479 ffff8800d4d0a690 ffff8800d381baf8 ffffffff810b849f ffff880117d41148
1480 ffff880117d40000 ffff880117d40068 0000000000000156 ffff8800d381bb18
1481 Call Trace:
1482 [<ffffffff81a4154f>] dump_stack+0x4c/0x65
1483 [<ffffffff810b849f>] lockdep_rcu_suspicious+0x107/0x110
1484 [<ffffffff8165a522>] ipvlan_port_get_rcu+0x47/0x4e
1485 [<ffffffff8165ad14>] ipvlan_queue_xmit+0x35/0x450
1486 [<ffffffff817ea45d>] ? rcu_read_unlock+0x3e/0x5f
1487 [<ffffffff810a20bf>] ? local_clock+0x19/0x22
1488 [<ffffffff810b4781>] ? __lock_is_held+0x39/0x52
1489 [<ffffffff8165b64c>] ipvlan_start_xmit+0x1b/0x44
1490 [<ffffffff817edf7f>] dev_hard_start_xmit+0x2ae/0x467
1491 [<ffffffff817ee642>] __dev_queue_xmit+0x50a/0x60c
1492 [<ffffffff817ee7a7>] dev_queue_xmit_sk+0x13/0x15
1493 [<ffffffff81997596>] dev_queue_xmit+0x10/0x12
1494 [<ffffffff8199b41c>] packet_sendmsg+0xb6b/0xbdf
1495 [<ffffffff810b5ea7>] ? mark_lock+0x2e/0x226
1496 [<ffffffff810a1fcc>] ? sched_clock_cpu+0x9e/0xb7
1497 [<ffffffff817d56f9>] sock_sendmsg_nosec+0x12/0x1d
1498 [<ffffffff817d7257>] sock_sendmsg+0x29/0x2e
1499 [<ffffffff817d72cc>] sock_write_iter+0x70/0x91
1500 [<ffffffff81199563>] __vfs_write+0x7e/0xa7
1501 [<ffffffff811996bc>] vfs_write+0x92/0xe8
1502 [<ffffffff811997d7>] SyS_write+0x47/0x7e
1503 [<ffffffff81a4d517>] system_call_fastpath+0x12/0x6f
1504
1505 Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.")
1506 Cc: Mahesh Bandewar <maheshb@google.com>
1507 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
1508 Acked-by: Mahesh Bandewar <maheshb@google.com>
1509 Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1510 Signed-off-by: David S. Miller <davem@davemloft.net>
1511
1512 drivers/net/ipvlan/ipvlan.h | 5 +++++
1513 drivers/net/ipvlan/ipvlan_core.c | 2 +-
1514 2 files changed, 6 insertions(+), 1 deletions(-)
1515
1516 commit 748406865b681031a76395feff1a21c70becfbb0
1517 Author: Alexei Starovoitov <ast@plumgrid.com>
1518 Date: Tue Jul 14 12:15:19 2015 -0700
1519
1520 tc: act_bpf: fix memory leak
1521
1522 prog->bpf_ops is populated when act_bpf is used with classic BPF and
1523 prog->bpf_name is optionally used with extended BPF.
1524 Fix memory leak when act_bpf is released.
1525
1526 Fixes: d23b8ad8ab23 ("tc: add BPF based action")
1527 Fixes: a8cb5f556b56 ("act_bpf: add initial eBPF support for actions")
1528 Acked-by: Daniel Borkmann <daniel@iogearbox.net>
1529 Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
1530 Signed-off-by: David S. Miller <davem@davemloft.net>
1531
1532 net/sched/act_bpf.c | 3 +++
1533 1 files changed, 3 insertions(+), 0 deletions(-)
1534
1535 commit 2e4619c3f6717c3574c94203d4acf985b6edf05b
1536 Author: WANG Cong <xiyou.wangcong@gmail.com>
1537 Date: Tue Jul 14 11:21:58 2015 -0700
1538
1539 fq_codel: fix return value of fq_codel_drop()
1540
1541 The ->drop() is supposed to return the number of bytes it dropped,
1542 however fq_codel_drop() returns the index of the flow where it drops
1543 a packet from.
1544
1545 Fix this by introducing a helper to wrap fq_codel_drop().
1546
1547 Cc: Eric Dumazet <edumazet@google.com>
1548 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
1549 Signed-off-by: Cong Wang <cwang@twopensource.com>
1550 Acked-by: Eric Dumazet <edumazet@google.com>
1551 Signed-off-by: David S. Miller <davem@davemloft.net>
1552
1553 net/sched/sch_fq_codel.c | 11 ++++++++++-
1554 1 files changed, 10 insertions(+), 1 deletions(-)
1555
1556 commit 18294b99527edea4cba5cc5aca498d23eafaa81f
1557 Author: WANG Cong <xiyou.wangcong@gmail.com>
1558 Date: Tue Jul 14 11:21:57 2015 -0700
1559
1560 net_sched: fix a use-after-free in sfq
1561
1562 Fixes: 25331d6ce42b ("net: sched: implement qstat helper routines")
1563 Cc: John Fastabend <john.fastabend@gmail.com>
1564 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
1565 Signed-off-by: Cong Wang <cwang@twopensource.com>
1566 Signed-off-by: David S. Miller <davem@davemloft.net>
1567
1568 net/sched/sch_sfq.c | 2 +-
1569 1 files changed, 1 insertions(+), 1 deletions(-)
1570
1571 commit c0cd739353abe2da2e9e08fef1f7ae4e6ae94a0f
1572 Author: WANG Cong <xiyou.wangcong@gmail.com>
1573 Date: Mon Jul 13 12:30:07 2015 -0700
1574
1575 fq_codel: fix a use-after-free
1576
1577 Fixes: 25331d6ce42b ("net: sched: implement qstat helper routines")
1578 Cc: John Fastabend <john.fastabend@gmail.com>
1579 Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
1580 Signed-off-by: Cong Wang <cwang@twopensource.com>
1581 Acked-by: Eric Dumazet <edumazet@google.com>
1582 Signed-off-by: David S. Miller <davem@davemloft.net>
1583
1584 net/sched/sch_fq_codel.c | 2 +-
1585 1 files changed, 1 insertions(+), 1 deletions(-)
1586
1587 commit 5309e574e2fc2c9eb51e3c6d0c18b963e54b6af3
1588 Author: Daniel Borkmann <daniel@iogearbox.net>
1589 Date: Mon Jul 13 00:06:02 2015 +0200
1590
1591 rtnetlink: reject non-IFLA_VF_PORT attributes inside IFLA_VF_PORTS
1592
1593 Similarly as in commit 4f7d2cdfdde7 ("rtnetlink: verify IFLA_VF_INFO
1594 attributes before passing them to driver"), we have a double nesting
1595 of netlink attributes, i.e. IFLA_VF_PORTS only contains IFLA_VF_PORT
1596 that is nested itself. While IFLA_VF_PORTS is a verified attribute
1597 from ifla_policy[], we only check if the IFLA_VF_PORTS container has
1598 IFLA_VF_PORT attributes and then pass the attribute's content itself
1599 via nla_parse_nested(). It would be more correct to reject inner types
1600 other than IFLA_VF_PORT instead of continuing parsing and also similarly
1601 as in commit 4f7d2cdfdde7, to check for a minimum of NLA_HDRLEN.
1602
1603 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1604 Cc: Roopa Prabhu <roopa@cumulusnetworks.com>
1605 Cc: Scott Feldman <sfeldma@gmail.com>
1606 Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
1607 Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
1608 Signed-off-by: David S. Miller <davem@davemloft.net>
1609
1610 net/core/rtnetlink.c | 11 +++++++----
1611 1 files changed, 7 insertions(+), 4 deletions(-)
1612
1613 commit 60e851424772877a48d95b4614a35ca7f8922b02
1614 Author: Herbert Xu <herbert@gondor.apana.org.au>
1615 Date: Mon Jul 13 16:04:13 2015 +0800
1616
1617 net: Clone skb before setting peeked flag
1618
1619 Shared skbs must not be modified and this is crucial for broadcast
1620 and/or multicast paths where we use it as an optimisation to avoid
1621 unnecessary cloning.
1622
1623 The function skb_recv_datagram breaks this rule by setting peeked
1624 without cloning the skb first. This causes funky races which leads
1625 to double-free.
1626
1627 This patch fixes this by cloning the skb and replacing the skb
1628 in the list when setting skb->peeked.
1629
1630 Fixes: a59322be07c9 ("[UDP]: Only increment counter on first peek/recv")
1631 Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
1632 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1633 Signed-off-by: David S. Miller <davem@davemloft.net>
1634
1635 net/core/datagram.c | 41 ++++++++++++++++++++++++++++++++++++++---
1636 1 files changed, 38 insertions(+), 3 deletions(-)
1637
1638 commit e8e18c6e6e66399c6c81847457e216931c78888a
1639 Author: Richard Stearn <richard@rns-stearn.demon.co.uk>
1640 Date: Mon Jul 13 11:38:24 2015 +0200
1641
1642 NET: AX.25: Stop heartbeat timer on disconnect.
1643
1644 This may result in a kernel panic. The bug has always existed but
1645 somehow we've run out of luck now and it bites.
1646
1647 Signed-off-by: Richard Stearn <richard@rns-stearn.demon.co.uk>
1648 Cc: stable@vger.kernel.org # all branches
1649 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1650 Signed-off-by: David S. Miller <davem@davemloft.net>
1651
1652 net/ax25/ax25_subr.c | 1 +
1653 1 files changed, 1 insertions(+), 0 deletions(-)
1654
1655 commit 6091b9490e663f1eb1195581b3c93fc752014aeb
1656 Author: Herbert Xu <herbert@gondor.apana.org.au>
1657 Date: Mon Jul 13 20:01:42 2015 +0800
1658
1659 net: Fix skb csum races when peeking
1660
1661 When we calculate the checksum on the recv path, we store the
1662 result in the skb as an optimisation in case we need the checksum
1663 again down the line.
1664
1665 This is in fact bogus for the MSG_PEEK case as this is done without
1666 any locking. So multiple threads can peek and then store the result
1667 to the same skb, potentially resulting in bogus skb states.
1668
1669 This patch fixes this by only storing the result if the skb is not
1670 shared. This preserves the optimisations for the few cases where
1671 it can be done safely due to locking or other reasons, e.g., SIOCINQ.
1672
1673 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1674 Acked-by: Eric Dumazet <edumazet@google.com>
1675 Signed-off-by: David S. Miller <davem@davemloft.net>
1676
1677 net/core/datagram.c | 15 +++++++++------
1678 1 files changed, 9 insertions(+), 6 deletions(-)
1679
1680 commit 03c466bdf7bbedcd25ee0ec9c0292967b44cc477
1681 Author: Dan Carpenter <dan.carpenter@oracle.com>
1682 Date: Sun Jul 12 01:20:55 2015 +0300
1683
1684 net/xen-netback: off by one in BUG_ON() condition
1685
1686 The > should be >=. I also added spaces around the '-' operations so
1687 the code is a little more consistent and matches the condition better.
1688
1689 Fixes: f53c3fe8dad7 ('xen-netback: Introduce TX grant mapping')
1690 Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
1691 Signed-off-by: David S. Miller <davem@davemloft.net>
1692
1693 drivers/net/xen-netback/netback.c | 6 +++---
1694 1 files changed, 3 insertions(+), 3 deletions(-)
1695
1696 commit ed39de3e75da10b25c2bb469c3be5c09049474d0
1697 Author: Neil Horman <nhorman@tuxdriver.com>
1698 Date: Tue Jul 7 14:02:18 2015 -0400
1699
1700 vmxnet3: prevent receive getting out of sequence on napi poll
1701
1702 vmxnet3's current napi path is built to count every rx descriptor we recieve,
1703 and use that as a count of the napi budget. That means its possible to return
1704 from a napi poll halfway through recieving a fragmented packet accross multiple
1705 dma descriptors. If that happens, the next napi poll will start with the
1706 descriptor ring in an improper state (e.g. the first descriptor we look at may
1707 have the end-of-packet bit set), which will cause a BUG halt in the driver.
1708
1709 Fix the issue by only counting whole received packets in the napi poll and
1710 returning that value, rather than the descriptor count.
1711
1712 Tested by the reporter and myself, successfully
1713
1714 Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
1715 CC: Shreyas Bhatewara <sbhatewara@vmware.com>
1716 CC: "David S. Miller" <davem@davemloft.net>
1717 Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
1718 Signed-off-by: David S. Miller <davem@davemloft.net>
1719
1720 drivers/net/vmxnet3/vmxnet3_drv.c | 8 ++++----
1721 1 files changed, 4 insertions(+), 4 deletions(-)
1722
1723 commit 3892929957683de4df7b0e8a0c17d7ebd5ca3e4f
1724 Author: Johannes Thumshirn <jthumshirn@suse.de>
1725 Date: Wed Jul 8 17:16:49 2015 +0200
1726
1727 macvtap: Destroy minor_idr on module_exit
1728
1729 Destroy minor_idr on module_exit, reclaiming the allocated memory.
1730
1731 This was detected by the following semantic patch (written by Luis Rodriguez
1732 <mcgrof@suse.com>)
1733 <SmPL>
1734 @ defines_module_init @
1735 declarer name module_init, module_exit;
1736 declarer name DEFINE_IDR;
1737 identifier init;
1738 @@
1739
1740 module_init(init);
1741
1742 @ defines_module_exit @
1743 identifier exit;
1744 @@
1745
1746 module_exit(exit);
1747
1748 @ declares_idr depends on defines_module_init && defines_module_exit @
1749 identifier idr;
1750 @@
1751
1752 DEFINE_IDR(idr);
1753
1754 @ on_exit_calls_destroy depends on declares_idr && defines_module_exit @
1755 identifier declares_idr.idr, defines_module_exit.exit;
1756 @@
1757
1758 exit(void)
1759 {
1760 ...
1761 idr_destroy(&idr);
1762 ...
1763 }
1764
1765 @ missing_module_idr_destroy depends on declares_idr && defines_module_exit && !on_exit_calls_destroy @
1766 identifier declares_idr.idr, defines_module_exit.exit;
1767 @@
1768
1769 exit(void)
1770 {
1771 ...
1772 +idr_destroy(&idr);
1773 }
1774 </SmPL>
1775
1776 Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
1777 Signed-off-by: David S. Miller <davem@davemloft.net>
1778
1779 drivers/net/macvtap.c | 1 +
1780 1 files changed, 1 insertions(+), 0 deletions(-)
1781
1782 commit ae8298739e89fcd27c26a55ee7633068ad39f201
1783 Author: Vaishali Thakkar <vthakkar1994@gmail.com>
1784 Date: Wed Jul 8 10:49:30 2015 +0530
1785
1786 net: systemport: Use eth_hw_addr_random
1787
1788 Use eth_hw_addr_random() instead of calling random_ether_addr().
1789 Here, this change is setting addr_assign_type to NET_ADDR_RANDOM.
1790
1791 The Coccinelle semantic patch that performs this transformation
1792 is as follows:
1793
1794 @@
1795 identifier a,b;
1796 @@
1797
1798 -random_ether_addr(a->b);
1799 +eth_hw_addr_random(a);
1800
1801 Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
1802 Tested-by: Florian Fainelli <f.fainelli@gmail.com>
1803 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
1804 Signed-off-by: David S. Miller <davem@davemloft.net>
1805
1806 drivers/net/ethernet/broadcom/bcmsysport.c | 2 +-
1807 1 files changed, 1 insertions(+), 1 deletions(-)
1808
1809 commit eee71120eb1a9bb5289bba524cd8a1d3c86f7916
1810 Author: Vutla, Lokesh <lokeshvutla@ti.com>
1811 Date: Thu Jul 2 18:33:28 2015 +0530
1812
1813 crypto: omap-des - Fix unmapping of dma channels
1814
1815 dma_unmap_sg() is being called twice after completing the
1816 task. Looks like this is a copy paste error when creating
1817 des driver.
1818 With this the following warn appears during boot:
1819
1820 [ 4.210457] ------------[ cut here ]------------
1821 [ 4.215114] WARNING: CPU: 0 PID: 0 at lib/dma-debug.c:1080 check_unmap+0x710/0x9a0()
1822 [ 4.222899] omap-des 480a5000.des: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x00000000ab2ce000] [size=8 bytes]
1823 [ 4.236785] Modules linked in:
1824 [ 4.239860] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.39-02999-g1bc045a-dirty #182
1825 [ 4.247918] [<c001678c>] (unwind_backtrace) from [<c0012574>] (show_stack+0x10/0x14)
1826 [ 4.255710] [<c0012574>] (show_stack) from [<c05a37e8>] (dump_stack+0x84/0xb8)
1827 [ 4.262977] [<c05a37e8>] (dump_stack) from [<c0046464>] (warn_slowpath_common+0x68/0x8c)
1828 [ 4.271107] [<c0046464>] (warn_slowpath_common) from [<c004651c>] (warn_slowpath_fmt+0x30/0x40)
1829 [ 4.279854] [<c004651c>] (warn_slowpath_fmt) from [<c02d50a4>] (check_unmap+0x710/0x9a0)
1830 [ 4.287991] [<c02d50a4>] (check_unmap) from [<c02d5478>] (debug_dma_unmap_sg+0x90/0x19c)
1831 [ 4.296128] [<c02d5478>] (debug_dma_unmap_sg) from [<c04a77d8>] (omap_des_done_task+0x1cc/0x3e4)
1832 [ 4.304963] [<c04a77d8>] (omap_des_done_task) from [<c004a090>] (tasklet_action+0x84/0x124)
1833 [ 4.313370] [<c004a090>] (tasklet_action) from [<c004a4ac>] (__do_softirq+0xf0/0x20c)
1834 [ 4.321235] [<c004a4ac>] (__do_softirq) from [<c004a840>] (irq_exit+0x98/0xec)
1835 [ 4.328500] [<c004a840>] (irq_exit) from [<c000f9ac>] (handle_IRQ+0x50/0xb0)
1836 [ 4.335589] [<c000f9ac>] (handle_IRQ) from [<c0008688>] (gic_handle_irq+0x28/0x5c)
1837
1838 Removing the duplicate call to dma_unmap_sg().
1839
1840 Cc: stable@vger.kernel.org
1841 Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
1842 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
1843 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1844
1845 drivers/crypto/omap-des.c | 3 ---
1846 1 files changed, 0 insertions(+), 3 deletions(-)
1847
1848 commit 18664b993af1d940bc2fc3a440845840615d77ad
1849 Author: Al Viro <viro@zeniv.linux.org.uk>
1850 Date: Sun Jul 12 10:34:29 2015 -0400
1851
1852 9p: don't leave a half-initialized inode sitting around
1853
1854 Cc: stable@vger.kernel.org # all branches
1855 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1856
1857 fs/9p/vfs_inode.c | 3 +--
1858 fs/9p/vfs_inode_dotl.c | 3 +--
1859 2 files changed, 2 insertions(+), 4 deletions(-)
1860
1861 commit 5490b434dd429b33e1c7eac3c19f0a8db54bd00e
1862 Author: Al Viro <viro@zeniv.linux.org.uk>
1863 Date: Sun Jul 12 10:39:45 2015 -0400
1864
1865 fix a braino in ovl_d_select_inode()
1866
1867 when opening a directory we want the overlayfs inode, not one from
1868 the topmost layer.
1869
1870 Reported-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
1871 Tested-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
1872 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1873
1874 fs/overlayfs/inode.c | 3 +++
1875 1 files changed, 3 insertions(+), 0 deletions(-)
1876
1877 commit 36b84539390fc30663a7a026eef598c4656124bc
1878 Author: Al Viro <viro@ZenIV.linux.org.uk>
1879 Date: Wed Jul 8 02:42:38 2015 +0100
1880
1881 freeing unlinked file indefinitely delayed
1882
1883 Normally opening a file, unlinking it and then closing will have
1884 the inode freed upon close() (provided that it's not otherwise busy and
1885 has no remaining links, of course). However, there's one case where that
1886 does *not* happen. Namely, if you open it by fhandle with cold dcache,
1887 then unlink() and close().
1888
1889 In normal case you get d_delete() in unlink(2) notice that dentry
1890 is busy and unhash it; on the final dput() it will be forcibly evicted from
1891 dcache, triggering iput() and inode removal. In this case, though, we end
1892 up with *two* dentries - disconnected (created by open-by-fhandle) and
1893 regular one (used by unlink()). The latter will have its reference to inode
1894 dropped just fine, but the former will not - it's considered hashed (it
1895 is on the ->s_anon list), so it will stay around until the memory pressure
1896 will finally do it in. As the result, we have the final iput() delayed
1897 indefinitely. It's trivial to reproduce -
1898
1899 void flush_dcache(void)
1900 {
1901 system("mount -o remount,rw /");
1902 }
1903
1904 static char buf[20 * 1024 * 1024];
1905
1906 main()
1907 {
1908 int fd;
1909 union {
1910 struct file_handle f;
1911 char buf[MAX_HANDLE_SZ];
1912 } x;
1913 int m;
1914
1915 x.f.handle_bytes = sizeof(x);
1916 chdir("/root");
1917 mkdir("foo", 0700);
1918 fd = open("foo/bar", O_CREAT | O_RDWR, 0600);
1919 close(fd);
1920 name_to_handle_at(AT_FDCWD, "foo/bar", &x.f, &m, 0);
1921 flush_dcache();
1922 fd = open_by_handle_at(AT_FDCWD, &x.f, O_RDWR);
1923 unlink("foo/bar");
1924 write(fd, buf, sizeof(buf));
1925 system("df ."); /* 20Mb eaten */
1926 close(fd);
1927 system("df ."); /* should've freed those 20Mb */
1928 flush_dcache();
1929 system("df ."); /* should be the same as #2 */
1930 }
1931
1932 will spit out something like
1933 Filesystem 1K-blocks Used Available Use% Mounted on
1934 /dev/root 322023 303843 1131 100% /
1935 Filesystem 1K-blocks Used Available Use% Mounted on
1936 /dev/root 322023 303843 1131 100% /
1937 Filesystem 1K-blocks Used Available Use% Mounted on
1938 /dev/root 322023 283282 21692 93% /
1939 - inode gets freed only when dentry is finally evicted (here we trigger
1940 than by remount; normally it would've happened in response to memory
1941 pressure hell knows when).
1942
1943 Cc: stable@vger.kernel.org # v2.6.38+; earlier ones need s/kill_it/unhash_it/
1944 Acked-by: J. Bruce Fields <bfields@fieldses.org>
1945 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1946
1947 fs/dcache.c | 7 +++++--
1948 1 files changed, 5 insertions(+), 2 deletions(-)
1949
1950 commit 96e42524166fe104eb4ce2337ec83d827c5a1f9b
1951 Author: Brad Spengler <spender@grsecurity.net>
1952 Date: Fri Jul 24 21:17:42 2015 -0400
1953
1954 cred_subscribers has to do with the ->cred and ->real_cred fields, not our
1955 delayed_cred field, so don't count it towards it to avoid a BUG() with
1956 DEBUG_CREDENTIALS enabled
1957
1958 kernel/cred.c | 1 -
1959 1 files changed, 0 insertions(+), 1 deletions(-)
1960
1961 commit 79a0711455de96f695e9eaf404a2e5e125ec918d
1962 Merge: 3aae0c0 b917aab
1963 Author: Brad Spengler <spender@grsecurity.net>
1964 Date: Fri Jul 24 07:30:44 2015 -0400
1965
1966 Merge branch 'pax-test' into grsec-test
1967
1968 Conflicts:
1969 drivers/net/ethernet/amd/xgbe/xgbe-dev.c
1970 drivers/tty/serial/8250/8250_core.c
1971 fs/proc/generic.c
1972
1973 commit b917aabeb2d7b2f8621726a3741a312141eb823e
1974 Merge: bd9c3c8 c8bde72
1975 Author: Brad Spengler <spender@grsecurity.net>
1976 Date: Fri Jul 24 07:19:46 2015 -0400
1977
1978 Update to pax-linux-4.1.3-test7.patch:
1979 - fixed another silly copy-paste error that would hang the kernel with i386 userland on an amd64 kernel, reported by spender
1980 - fixed silly copy-paste error that would cause early boot crashes on !PCID systems
1981 - disable the use of __int128 when the size overflow plugin is enabled
1982 - fixed plugin compile errors due to the previous update to gcc-common.h
1983 - Emese fixed a size overflow false positive, reported by gaima (https://forums.grsecurity.net/viewtopic.php?f=3&t=4232)
1984
1985 Merge branch 'linux-4.1.y' into pax-test
1986
1987 Conflicts:
1988 include/linux/kmemleak.h
1989
1990 commit 3aae0c06150f2d0edd5de7fdc451fcb9d92f6630
1991 Author: Brad Spengler <spender@grsecurity.net>
1992 Date: Wed Jul 22 20:06:19 2015 -0400
1993
1994 fix label typo in PCID alternatives, from pipacs
1995
1996 arch/x86/kernel/entry_64.S | 2 +-
1997 1 files changed, 1 insertions(+), 1 deletions(-)
1998
1999 commit 4e8c0f54ad0df5a9bd15a8a7d9dd80dd8f9abbca
2000 Author: Brad Spengler <spender@grsecurity.net>
2001 Date: Sun Jul 12 11:12:01 2015 -0400
2002
2003 sm750 constify compile fix
2004
2005 drivers/staging/sm750fb/sm750.c | 16 +++++++++++-----
2006 1 files changed, 11 insertions(+), 5 deletions(-)
2007
2008 commit 7b41532287be8596b40ff8a89260a2e77535ab6f
2009 Author: Brad Spengler <spender@grsecurity.net>
2010 Date: Sun Jul 12 10:33:11 2015 -0400
2011
2012 Update size_overflow hash table
2013
2014 .../size_overflow_plugin/size_overflow_hash.data | 713 +++++++++++++++-----
2015 1 files changed, 555 insertions(+), 158 deletions(-)
2016
2017 commit 180d814a4601c8f53bb5147cfb902e79a1936e44
2018 Author: Brad Spengler <spender@grsecurity.net>
2019 Date: Sun Jul 12 02:33:19 2015 -0400
2020
2021 serial constify compile fixes
2022
2023 drivers/tty/serial/8250/8250_core.c | 8 +++++---
2024 drivers/tty/serial/uartlite.c | 4 ++--
2025 2 files changed, 7 insertions(+), 5 deletions(-)
2026
2027 commit 338a2a25ce91d3355a1534f889019f7769ca7ba2
2028 Author: Brad Spengler <spender@grsecurity.net>
2029 Date: Sun Jul 12 02:05:44 2015 -0400
2030
2031 rtc constify compile fix
2032
2033 drivers/rtc/rtc-test.c | 6 ++++--
2034 1 files changed, 4 insertions(+), 2 deletions(-)
2035
2036 commit 48cf6904def83d1dfd7131960f69c2088d96a8a8
2037 Author: Brad Spengler <spender@grsecurity.net>
2038 Date: Sun Jul 12 01:45:49 2015 -0400
2039
2040 more amd xgbe constify compile fixes
2041
2042 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 2 +-
2043 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 4 ++--
2044 drivers/net/ethernet/amd/xgbe/xgbe.h | 8 ++++----
2045 3 files changed, 7 insertions(+), 7 deletions(-)
2046
2047 commit edb5beab2ed5cdc8b86cf2c00feded7b1ff7015a
2048 Author: Brad Spengler <spender@grsecurity.net>
2049 Date: Sun Jul 12 01:26:30 2015 -0400
2050
2051 hid sensor constify compile fix
2052
2053 drivers/hid/hid-sensor-custom.c | 4 ++--
2054 1 files changed, 2 insertions(+), 2 deletions(-)
2055
2056 commit 6426185a4a34d7fcdaad8affcf163378bc2f44a0
2057 Author: Brad Spengler <spender@grsecurity.net>
2058 Date: Sun Jul 12 01:15:39 2015 -0400
2059
2060 hid sensor constify fix
2061
2062 drivers/hid/hid-sensor-custom.c | 2 +-
2063 1 files changed, 1 insertions(+), 1 deletions(-)
2064
2065 commit d1a8ca75a5391570183688fc7a769a90ac09c49f
2066 Author: Brad Spengler <spender@grsecurity.net>
2067 Date: Sun Jul 12 01:09:37 2015 -0400
2068
2069 constify compile fix on dsa_netdevice_nb
2070
2071 net/dsa/dsa.c | 2 +-
2072 1 files changed, 1 insertions(+), 1 deletions(-)
2073
2074 commit b649e0688cb346fa71b84ff77dc52791c6d418ed
2075 Author: Brad Spengler <spender@grsecurity.net>
2076 Date: Sun Jul 12 00:57:38 2015 -0400
2077
2078 more amd xgbe compile fixes
2079
2080 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 2 +-
2081 drivers/net/ethernet/amd/xgbe/xgbe.h | 4 ++--
2082 2 files changed, 3 insertions(+), 3 deletions(-)
2083
2084 commit b4a813cf341440108d351bcd8114d7d6656184dd
2085 Author: Brad Spengler <spender@grsecurity.net>
2086 Date: Sun Jul 12 00:42:04 2015 -0400
2087
2088 compile fixes for amd xgbe driver
2089
2090 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 144 +++++++++++++++---------------
2091 1 files changed, 72 insertions(+), 72 deletions(-)
2092
2093 commit d78936ae01718c4f9a3dfe76cdbf4345df050d81
2094 Author: Brad Spengler <spender@grsecurity.net>
2095 Date: Sun Jul 12 00:13:37 2015 -0400
2096
2097 compile fix
2098
2099 grsecurity/gracl_fs.c | 3 ---
2100 1 files changed, 0 insertions(+), 3 deletions(-)
2101
2102 commit b7255f77200fb7b508be06c7b2dd3d1e3c403a5b
2103 Author: Brad Spengler <spender@grsecurity.net>
2104 Date: Sun Jul 12 00:07:19 2015 -0400
2105
2106 compile fix and fix tracefs const modification
2107
2108 fs/tracefs/inode.c | 6 ++++--
2109 grsecurity/gracl.c | 4 ++--
2110 2 files changed, 6 insertions(+), 4 deletions(-)
2111
2112 commit 83873aba9c78a658e782ec826cbb5b0e671e4da9
2113 Author: Brad Spengler <spender@grsecurity.net>
2114 Date: Sun Jul 12 00:02:28 2015 -0400
2115
2116 compile fix
2117
2118 include/linux/capability.h | 8 ++++++++
2119 1 files changed, 8 insertions(+), 0 deletions(-)
2120
2121 commit a24d90f1ab8314d612035d9fbf8d5de83a0818a8
2122 Author: Brad Spengler <spender@grsecurity.net>
2123 Date: Sat Jul 11 23:56:19 2015 -0400
2124
2125 Initial import of grsecurity 3.1 for Linux 4.1
2126
2127 Documentation/dontdiff | 2 +
2128 Documentation/kernel-parameters.txt | 7 +
2129 Makefile | 18 +-
2130 arch/alpha/include/asm/cache.h | 4 +-
2131 arch/alpha/kernel/osf_sys.c | 12 +-
2132 arch/arm/Kconfig | 1 +
2133 arch/arm/include/asm/thread_info.h | 9 +-
2134 arch/arm/kernel/process.c | 4 +-
2135 arch/arm/kernel/ptrace.c | 9 +
2136 arch/arm/kernel/traps.c | 7 +-
2137 arch/arm/mm/Kconfig | 2 +-
2138 arch/arm/mm/fault.c | 40 +-
2139 arch/arm/mm/mmap.c | 8 +-
2140 arch/arm/net/bpf_jit_32.c | 4 +
2141 arch/avr32/include/asm/cache.h | 4 +-
2142 arch/blackfin/include/asm/cache.h | 3 +-
2143 arch/cris/include/arch-v10/arch/cache.h | 3 +-
2144 arch/cris/include/arch-v32/arch/cache.h | 3 +-
2145 arch/frv/include/asm/cache.h | 3 +-
2146 arch/frv/mm/elf-fdpic.c | 4 +-
2147 arch/hexagon/include/asm/cache.h | 6 +-
2148 arch/ia64/Kconfig | 1 +
2149 arch/ia64/include/asm/cache.h | 3 +-
2150 arch/ia64/kernel/sys_ia64.c | 2 +
2151 arch/ia64/mm/hugetlbpage.c | 2 +
2152 arch/m32r/include/asm/cache.h | 4 +-
2153 arch/m68k/include/asm/cache.h | 4 +-
2154 arch/metag/mm/hugetlbpage.c | 1 +
2155 arch/microblaze/include/asm/cache.h | 3 +-
2156 arch/mips/Kconfig | 1 +
2157 arch/mips/include/asm/cache.h | 3 +-
2158 arch/mips/include/asm/thread_info.h | 11 +-
2159 arch/mips/kernel/irq.c | 3 +
2160 arch/mips/kernel/ptrace.c | 9 +
2161 arch/mips/mm/mmap.c | 4 +-
2162 arch/mn10300/proc-mn103e010/include/proc/cache.h | 4 +-
2163 arch/mn10300/proc-mn2ws0050/include/proc/cache.h | 4 +-
2164 arch/openrisc/include/asm/cache.h | 4 +-
2165 arch/parisc/include/asm/cache.h | 5 +-
2166 arch/parisc/kernel/sys_parisc.c | 4 +
2167 arch/powerpc/Kconfig | 1 +
2168 arch/powerpc/include/asm/cache.h | 3 +-
2169 arch/powerpc/include/asm/thread_info.h | 5 +-
2170 arch/powerpc/kernel/Makefile | 2 +
2171 arch/powerpc/kernel/irq.c | 3 +
2172 arch/powerpc/kernel/process.c | 10 +-
2173 arch/powerpc/kernel/ptrace.c | 14 +
2174 arch/powerpc/kernel/traps.c | 5 +
2175 arch/powerpc/mm/slice.c | 2 +-
2176 arch/s390/include/asm/cache.h | 4 +-
2177 arch/score/include/asm/cache.h | 4 +-
2178 arch/sh/include/asm/cache.h | 3 +-
2179 arch/sh/mm/mmap.c | 6 +-
2180 arch/sparc/include/asm/cache.h | 4 +-
2181 arch/sparc/include/asm/pgalloc_64.h | 1 +
2182 arch/sparc/include/asm/thread_info_64.h | 8 +-
2183 arch/sparc/kernel/process_32.c | 6 +-
2184 arch/sparc/kernel/process_64.c | 8 +-
2185 arch/sparc/kernel/ptrace_64.c | 14 +
2186 arch/sparc/kernel/sys_sparc_64.c | 8 +-
2187 arch/sparc/kernel/syscalls.S | 8 +-
2188 arch/sparc/kernel/traps_32.c | 8 +-
2189 arch/sparc/kernel/traps_64.c | 28 +-
2190 arch/sparc/kernel/unaligned_64.c | 2 +-
2191 arch/sparc/mm/fault_64.c | 2 +-
2192 arch/sparc/mm/hugetlbpage.c | 15 +-
2193 arch/tile/Kconfig | 1 +
2194 arch/tile/include/asm/cache.h | 3 +-
2195 arch/tile/mm/hugetlbpage.c | 2 +
2196 arch/um/include/asm/cache.h | 3 +-
2197 arch/unicore32/include/asm/cache.h | 6 +-
2198 arch/x86/Kconfig | 5 +
2199 arch/x86/ia32/ia32_aout.c | 2 +
2200 arch/x86/include/asm/floppy.h | 20 +-
2201 arch/x86/include/asm/io.h | 2 +-
2202 arch/x86/include/asm/page.h | 12 +-
2203 arch/x86/include/asm/paravirt_types.h | 23 +-
2204 arch/x86/include/asm/processor.h | 2 +-
2205 arch/x86/include/asm/thread_info.h | 8 +-
2206 arch/x86/kernel/dumpstack.c | 10 +-
2207 arch/x86/kernel/dumpstack_32.c | 2 +-
2208 arch/x86/kernel/dumpstack_64.c | 2 +-
2209 arch/x86/kernel/entry_32.S | 2 +-
2210 arch/x86/kernel/entry_64.S | 2 +-
2211 arch/x86/kernel/espfix_64.c | 2 +-
2212 arch/x86/kernel/ioport.c | 13 +
2213 arch/x86/kernel/irq_32.c | 3 +
2214 arch/x86/kernel/irq_64.c | 4 +
2215 arch/x86/kernel/msr.c | 10 +
2216 arch/x86/kernel/ptrace.c | 28 +
2217 arch/x86/kernel/signal.c | 9 +-
2218 arch/x86/kernel/sys_i386_32.c | 9 +-
2219 arch/x86/kernel/sys_x86_64.c | 8 +-
2220 arch/x86/kernel/traps.c | 5 +
2221 arch/x86/kernel/verify_cpu.S | 1 +
2222 arch/x86/kernel/vm86_32.c | 16 +
2223 arch/x86/kvm/lapic.h | 2 +-
2224 arch/x86/lib/usercopy.c | 2 +-
2225 arch/x86/mm/fault.c | 12 +-
2226 arch/x86/mm/hugetlbpage.c | 15 +-
2227 arch/x86/mm/init.c | 66 +-
2228 arch/x86/mm/init_32.c | 6 +-
2229 arch/x86/net/bpf_jit_comp.c | 4 +
2230 arch/x86/platform/efi/efi_64.c | 2 +-
2231 arch/x86/xen/Kconfig | 1 +
2232 arch/xtensa/variants/dc232b/include/variant/core.h | 2 +-
2233 arch/xtensa/variants/fsf/include/variant/core.h | 3 +-
2234 drivers/acpi/acpica/hwxfsleep.c | 11 +-
2235 drivers/acpi/custom_method.c | 4 +
2236 drivers/block/cciss.h | 30 +-
2237 drivers/block/smart1,2.h | 40 +-
2238 drivers/cdrom/cdrom.c | 2 +-
2239 drivers/char/Kconfig | 4 +-
2240 drivers/char/genrtc.c | 1 +
2241 drivers/char/mem.c | 17 +
2242 drivers/char/random.c | 5 +-
2243 drivers/cpufreq/sparc-us3-cpufreq.c | 2 -
2244 drivers/firewire/ohci.c | 4 +
2245 drivers/gpu/drm/drm_context.c | 50 +-
2246 drivers/gpu/drm/drm_drv.c | 11 +-
2247 drivers/gpu/drm/drm_lock.c | 18 +-
2248 drivers/gpu/drm/i915/i915_dma.c | 2 +
2249 drivers/gpu/drm/nouveau/nouveau_drm.c | 3 +-
2250 drivers/gpu/drm/nouveau/nouveau_ttm.c | 30 +-
2251 drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 +-
2252 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 10 +-
2253 drivers/hid/hid-wiimote-debug.c | 2 +-
2254 drivers/infiniband/hw/nes/nes_cm.c | 22 +-
2255 drivers/iommu/amd_iommu.c | 14 +-
2256 drivers/isdn/gigaset/bas-gigaset.c | 32 +-
2257 drivers/isdn/gigaset/ser-gigaset.c | 32 +-
2258 drivers/isdn/gigaset/usb-gigaset.c | 32 +-
2259 drivers/isdn/i4l/isdn_concap.c | 6 +-
2260 drivers/isdn/i4l/isdn_x25iface.c | 16 +-
2261 drivers/md/raid5.c | 8 +
2262 drivers/media/pci/solo6x10/solo6x10-g723.c | 2 +-
2263 drivers/media/radio/radio-cadet.c | 5 +-
2264 drivers/media/usb/dvb-usb/cinergyT2-core.c | 91 +-
2265 drivers/media/usb/dvb-usb/cinergyT2-fe.c | 182 +-
2266 drivers/media/usb/dvb-usb/dvb-usb-firmware.c | 37 +-
2267 drivers/media/usb/dvb-usb/technisat-usb2.c | 75 +-
2268 drivers/message/fusion/mptbase.c | 9 +
2269 drivers/misc/sgi-xp/xp_main.c | 12 +-
2270 drivers/net/ethernet/brocade/bna/bna_enet.c | 8 +-
2271 drivers/net/wan/lmc/lmc_media.c | 97 +-
2272 drivers/net/wan/z85230.c | 24 +-
2273 drivers/net/wireless/zd1211rw/zd_usb.c | 2 +-
2274 drivers/nfc/st21nfca/st21nfca.c | 11 +-
2275 drivers/pci/proc.c | 9 +
2276 drivers/platform/x86/asus-wmi.c | 12 +
2277 drivers/rtc/rtc-dev.c | 3 +
2278 drivers/scsi/bfa/bfa_fcs.c | 19 +-
2279 drivers/scsi/bfa/bfa_fcs_lport.c | 29 +-
2280 drivers/scsi/bfa/bfa_modules.h | 12 +-
2281 drivers/scsi/hpsa.h | 40 +-
2282 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
2283 drivers/staging/lustre/lustre/libcfs/module.c | 10 +-
2284 drivers/tty/sysrq.c | 2 +-
2285 drivers/tty/vt/keyboard.c | 22 +-
2286 drivers/uio/uio.c | 6 +-
2287 drivers/usb/core/hub.c | 5 +
2288 drivers/usb/gadget/configfs.c | 2 +-
2289 drivers/usb/gadget/function/f_uac1.c | 1 +
2290 drivers/usb/gadget/function/u_uac1.c | 1 +
2291 drivers/usb/host/hwa-hc.c | 9 +-
2292 drivers/video/fbdev/arcfb.c | 2 +-
2293 drivers/video/fbdev/matrox/matroxfb_DAC1064.c | 10 +-
2294 drivers/video/fbdev/matrox/matroxfb_Ti3026.c | 5 +-
2295 drivers/video/fbdev/sh_mobile_lcdcfb.c | 6 +-
2296 drivers/video/logo/logo_linux_clut224.ppm | 2720 ++++-----
2297 drivers/xen/xenfs/xenstored.c | 5 +
2298 firmware/Makefile | 1 +
2299 firmware/WHENCE | 19 +-
2300 firmware/bnx2/bnx2-mips-09-6.2.1b.fw.ihex | 6496 ++++++++++++++++++++
2301 fs/attr.c | 1 +
2302 fs/autofs4/waitq.c | 9 +
2303 fs/binfmt_aout.c | 7 +
2304 fs/binfmt_elf.c | 40 +-
2305 fs/compat.c | 20 +-
2306 fs/configfs/item.c | 4 +-
2307 fs/coredump.c | 17 +-
2308 fs/dcache.c | 3 +
2309 fs/debugfs/inode.c | 11 +-
2310 fs/exec.c | 218 +-
2311 fs/ext2/balloc.c | 4 +-
2312 fs/ext2/super.c | 8 +-
2313 fs/ext3/balloc.c | 4 +-
2314 fs/ext3/super.c | 8 +-
2315 fs/ext4/balloc.c | 4 +-
2316 fs/fcntl.c | 4 +
2317 fs/fhandle.c | 3 +-
2318 fs/file.c | 4 +
2319 fs/filesystems.c | 4 +
2320 fs/fs_struct.c | 20 +-
2321 fs/hugetlbfs/inode.c | 5 +-
2322 fs/inode.c | 6 +-
2323 fs/kernfs/dir.c | 6 +
2324 fs/mount.h | 4 +-
2325 fs/namei.c | 240 +-
2326 fs/namespace.c | 24 +
2327 fs/nfsd/nfscache.c | 2 +-
2328 fs/open.c | 38 +
2329 fs/overlayfs/super.c | 6 +-
2330 fs/pipe.c | 2 +-
2331 fs/posix_acl.c | 15 +-
2332 fs/proc/Kconfig | 10 +-
2333 fs/proc/array.c | 66 +-
2334 fs/proc/base.c | 163 +-
2335 fs/proc/cmdline.c | 4 +
2336 fs/proc/devices.c | 4 +
2337 fs/proc/fd.c | 17 +-
2338 fs/proc/generic.c | 64 +
2339 fs/proc/inode.c | 17 +
2340 fs/proc/internal.h | 11 +-
2341 fs/proc/interrupts.c | 4 +
2342 fs/proc/kcore.c | 3 +
2343 fs/proc/proc_net.c | 31 +
2344 fs/proc/proc_sysctl.c | 52 +-
2345 fs/proc/root.c | 8 +
2346 fs/proc/stat.c | 69 +-
2347 fs/proc/task_mmu.c | 66 +-
2348 fs/readdir.c | 19 +
2349 fs/reiserfs/item_ops.c | 24 +-
2350 fs/reiserfs/super.c | 4 +
2351 fs/select.c | 2 +
2352 fs/seq_file.c | 37 +-
2353 fs/stat.c | 20 +-
2354 fs/sysfs/dir.c | 30 +-
2355 fs/utimes.c | 7 +
2356 fs/xattr.c | 26 +-
2357 grsecurity/Kconfig | 1182 ++++
2358 grsecurity/Makefile | 54 +
2359 grsecurity/gracl.c | 2757 +++++++++
2360 grsecurity/gracl_alloc.c | 105 +
2361 grsecurity/gracl_cap.c | 127 +
2362 grsecurity/gracl_compat.c | 269 +
2363 grsecurity/gracl_fs.c | 451 ++
2364 grsecurity/gracl_ip.c | 386 ++
2365 grsecurity/gracl_learn.c | 207 +
2366 grsecurity/gracl_policy.c | 1786 ++++++
2367 grsecurity/gracl_res.c | 68 +
2368 grsecurity/gracl_segv.c | 304 +
2369 grsecurity/gracl_shm.c | 40 +
2370 grsecurity/grsec_chdir.c | 19 +
2371 grsecurity/grsec_chroot.c | 467 ++
2372 grsecurity/grsec_disabled.c | 445 ++
2373 grsecurity/grsec_exec.c | 189 +
2374 grsecurity/grsec_fifo.c | 26 +
2375 grsecurity/grsec_fork.c | 23 +
2376 grsecurity/grsec_init.c | 290 +
2377 grsecurity/grsec_ipc.c | 48 +
2378 grsecurity/grsec_link.c | 59 +
2379 grsecurity/grsec_log.c | 341 +
2380 grsecurity/grsec_mem.c | 48 +
2381 grsecurity/grsec_mount.c | 65 +
2382 grsecurity/grsec_pax.c | 45 +
2383 grsecurity/grsec_proc.c | 20 +
2384 grsecurity/grsec_ptrace.c | 30 +
2385 grsecurity/grsec_sig.c | 236 +
2386 grsecurity/grsec_sock.c | 244 +
2387 grsecurity/grsec_sysctl.c | 488 ++
2388 grsecurity/grsec_time.c | 16 +
2389 grsecurity/grsec_tpe.c | 78 +
2390 grsecurity/grsec_usb.c | 15 +
2391 grsecurity/grsum.c | 64 +
2392 include/drm/drmP.h | 23 +-
2393 include/linux/binfmts.h | 5 +-
2394 include/linux/capability.h | 5 +
2395 include/linux/compiler-gcc4.h | 5 +
2396 include/linux/compiler-gcc5.h | 5 +
2397 include/linux/compiler.h | 8 +
2398 include/linux/configfs.h | 2 +-
2399 include/linux/cred.h | 8 +-
2400 include/linux/dcache.h | 5 +-
2401 include/linux/fs.h | 24 +-
2402 include/linux/fs_struct.h | 2 +-
2403 include/linux/fsnotify.h | 6 +
2404 include/linux/gracl.h | 342 +
2405 include/linux/gracl_compat.h | 156 +
2406 include/linux/gralloc.h | 9 +
2407 include/linux/grdefs.h | 140 +
2408 include/linux/grinternal.h | 230 +
2409 include/linux/grmsg.h | 118 +
2410 include/linux/grsecurity.h | 247 +
2411 include/linux/grsock.h | 19 +
2412 include/linux/ipc_namespace.h | 2 +-
2413 include/linux/kallsyms.h | 18 +-
2414 include/linux/kmod.h | 5 +
2415 include/linux/kobject.h | 2 +-
2416 include/linux/mm.h | 12 +
2417 include/linux/mm_types.h | 4 +-
2418 include/linux/module.h | 4 +-
2419 include/linux/mount.h | 2 +-
2420 include/linux/netfilter/xt_gradm.h | 9 +
2421 include/linux/path.h | 4 +-
2422 include/linux/perf_event.h | 13 +-
2423 include/linux/pid_namespace.h | 2 +-
2424 include/linux/printk.h | 2 +-
2425 include/linux/proc_fs.h | 22 +-
2426 include/linux/proc_ns.h | 2 +-
2427 include/linux/random.h | 2 +-
2428 include/linux/rbtree_augmented.h | 4 +-
2429 include/linux/scatterlist.h | 12 +-
2430 include/linux/sched.h | 104 +-
2431 include/linux/security.h | 3 +-
2432 include/linux/seq_file.h | 5 +
2433 include/linux/shm.h | 4 +
2434 include/linux/skbuff.h | 3 +
2435 include/linux/slab.h | 9 -
2436 include/linux/sysctl.h | 4 +-
2437 include/linux/thread_info.h | 6 +-
2438 include/linux/tty.h | 2 +-
2439 include/linux/tty_driver.h | 4 +-
2440 include/linux/uidgid.h | 5 +
2441 include/linux/user_namespace.h | 2 +-
2442 include/linux/utsname.h | 2 +-
2443 include/linux/vermagic.h | 16 +-
2444 include/linux/vmalloc.h | 4 +
2445 include/net/af_unix.h | 2 +-
2446 include/net/ip.h | 2 +-
2447 include/net/neighbour.h | 2 +-
2448 include/net/net_namespace.h | 2 +-
2449 include/net/sock.h | 2 +-
2450 include/trace/events/fs.h | 53 +
2451 include/uapi/drm/i915_drm.h | 1 +
2452 include/uapi/linux/personality.h | 1 +
2453 init/Kconfig | 3 +-
2454 init/main.c | 35 +-
2455 ipc/mqueue.c | 1 +
2456 ipc/shm.c | 23 +
2457 ipc/util.c | 6 +
2458 kernel/auditsc.c | 2 +-
2459 kernel/bpf/syscall.c | 8 +-
2460 kernel/capability.c | 41 +-
2461 kernel/cgroup.c | 5 +-
2462 kernel/compat.c | 1 +
2463 kernel/configs.c | 11 +
2464 kernel/cred.c | 113 +-
2465 kernel/events/core.c | 14 +-
2466 kernel/exit.c | 10 +-
2467 kernel/fork.c | 86 +-
2468 kernel/futex.c | 4 +-
2469 kernel/kallsyms.c | 9 +
2470 kernel/kcmp.c | 4 +
2471 kernel/kmod.c | 95 +-
2472 kernel/kprobes.c | 7 +-
2473 kernel/ksysfs.c | 2 +
2474 kernel/locking/lockdep_proc.c | 10 +-
2475 kernel/module.c | 106 +-
2476 kernel/panic.c | 4 +-
2477 kernel/pid.c | 19 +-
2478 kernel/power/Kconfig | 2 +
2479 kernel/printk/printk.c | 5 +
2480 kernel/ptrace.c | 20 +-
2481 kernel/resource.c | 10 +
2482 kernel/sched/core.c | 11 +-
2483 kernel/signal.c | 37 +-
2484 kernel/sys.c | 64 +-
2485 kernel/sysctl.c | 71 +-
2486 kernel/taskstats.c | 6 +
2487 kernel/time/posix-timers.c | 8 +
2488 kernel/time/time.c | 5 +
2489 kernel/time/timekeeping.c | 3 +
2490 kernel/time/timer_list.c | 12 +
2491 kernel/time/timer_stats.c | 10 +-
2492 kernel/trace/trace_events_filter.c | 6 +
2493 kernel/trace/trace_syscalls.c | 8 +
2494 kernel/user_namespace.c | 15 +
2495 lib/Kconfig.debug | 7 +-
2496 lib/is_single_threaded.c | 3 +
2497 lib/list_debug.c | 65 +-
2498 lib/nlattr.c | 2 +
2499 lib/rbtree.c | 4 +-
2500 lib/vsprintf.c | 37 +-
2501 localversion-grsec | 1 +
2502 mm/Kconfig | 5 +-
2503 mm/Kconfig.debug | 1 +
2504 mm/filemap.c | 1 +
2505 mm/kmemleak.c | 4 +-
2506 mm/memory.c | 2 +-
2507 mm/mempolicy.c | 12 +-
2508 mm/migrate.c | 3 +-
2509 mm/mlock.c | 6 +-
2510 mm/mmap.c | 93 +-
2511 mm/mprotect.c | 8 +
2512 mm/page_alloc.c | 2 +-
2513 mm/process_vm_access.c | 6 +
2514 mm/shmem.c | 2 +-
2515 mm/slab.c | 2 +-
2516 mm/slab_common.c | 2 +-
2517 mm/slub.c | 22 +-
2518 mm/util.c | 3 +
2519 mm/vmalloc.c | 72 +-
2520 mm/vmstat.c | 29 +-
2521 net/appletalk/atalk_proc.c | 2 +-
2522 net/atm/lec.c | 6 +-
2523 net/atm/mpoa_caches.c | 42 +-
2524 net/bridge/br_mdb.c | 2 +
2525 net/can/bcm.c | 2 +-
2526 net/can/proc.c | 2 +-
2527 net/core/dev_ioctl.c | 7 +-
2528 net/core/filter.c | 8 +-
2529 net/core/net-procfs.c | 17 +-
2530 net/core/pktgen.c | 2 +-
2531 net/core/sock.c | 3 +-
2532 net/core/sysctl_net_core.c | 2 +-
2533 net/decnet/dn_dev.c | 2 +-
2534 net/ipv4/devinet.c | 6 +-
2535 net/ipv4/inet_hashtables.c | 5 +
2536 net/ipv4/ip_input.c | 7 +
2537 net/ipv4/ip_sockglue.c | 3 +-
2538 net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
2539 net/ipv4/route.c | 6 +-
2540 net/ipv4/tcp_input.c | 4 +-
2541 net/ipv4/tcp_ipv4.c | 24 +-
2542 net/ipv4/tcp_minisocks.c | 9 +-
2543 net/ipv4/tcp_timer.c | 11 +
2544 net/ipv4/udp.c | 24 +
2545 net/ipv6/addrconf.c | 13 +-
2546 net/ipv6/proc.c | 2 +-
2547 net/ipv6/tcp_ipv6.c | 23 +-
2548 net/ipv6/udp.c | 7 +
2549 net/ipx/ipx_proc.c | 2 +-
2550 net/irda/irproc.c | 2 +-
2551 net/llc/llc_proc.c | 2 +-
2552 net/netfilter/Kconfig | 10 +
2553 net/netfilter/Makefile | 1 +
2554 net/netfilter/nf_conntrack_core.c | 8 +
2555 net/netfilter/xt_gradm.c | 51 +
2556 net/netfilter/xt_hashlimit.c | 4 +-
2557 net/netfilter/xt_recent.c | 2 +-
2558 net/socket.c | 71 +-
2559 net/sunrpc/cache.c | 2 +-
2560 net/sunrpc/stats.c | 2 +-
2561 net/sysctl_net.c | 2 +-
2562 net/tipc/socket.c | 1 +
2563 net/unix/af_unix.c | 52 +-
2564 net/vmw_vsock/vmci_transport_notify.c | 30 +-
2565 net/vmw_vsock/vmci_transport_notify_qstate.c | 30 +-
2566 net/x25/sysctl_net_x25.c | 2 +-
2567 net/x25/x25_proc.c | 2 +-
2568 scripts/package/Makefile | 2 +-
2569 scripts/package/mkspec | 38 +-
2570 security/Kconfig | 369 +-
2571 security/apparmor/file.c | 4 +-
2572 security/apparmor/lsm.c | 8 +-
2573 security/commoncap.c | 29 +
2574 security/min_addr.c | 2 +
2575 security/selinux/hooks.c | 3 +-
2576 security/tomoyo/file.c | 12 +-
2577 security/tomoyo/mount.c | 4 +
2578 security/tomoyo/tomoyo.c | 20 +-
2579 security/yama/Kconfig | 2 +-
2580 sound/synth/emux/emux_seq.c | 14 +-
2581 sound/usb/line6/driver.c | 40 +-
2582 sound/usb/line6/toneport.c | 12 +-
2583 tools/gcc/.gitignore | 1 +
2584 tools/gcc/Makefile | 12 +
2585 tools/gcc/constify_plugin.c | 4 +
2586 tools/gcc/gen-random-seed.sh | 8 +
2587 tools/gcc/randomize_layout_plugin.c | 922 +++
2588 tools/gcc/size_overflow_plugin/.gitignore | 2 +
2589 .../size_overflow_plugin/size_overflow_hash.data | 690 ++-
2590 463 files changed, 26450 insertions(+), 2932 deletions(-)
2591
2592 commit bd9c3c87dd1c7919cde1008efd963724d9a3752b
2593 Author: Brad Spengler <spender@grsecurity.net>
2594 Date: Sat Jul 11 19:14:11 2015 -0400
2595
2596 Initial import of pax-linux-4.1.2-test2.patch
2597
2598 Documentation/dontdiff | 47 +-
2599 Documentation/kbuild/makefiles.txt | 39 +-
2600 Documentation/kernel-parameters.txt | 28 +
2601 Makefile | 108 +-
2602 arch/alpha/include/asm/atomic.h | 10 +
2603 arch/alpha/include/asm/elf.h | 7 +
2604 arch/alpha/include/asm/pgalloc.h | 6 +
2605 arch/alpha/include/asm/pgtable.h | 11 +
2606 arch/alpha/kernel/module.c | 2 +-
2607 arch/alpha/kernel/osf_sys.c | 8 +-
2608 arch/alpha/mm/fault.c | 141 +-
2609 arch/arm/Kconfig | 2 +-
2610 arch/arm/include/asm/atomic.h | 319 +-
2611 arch/arm/include/asm/barrier.h | 2 +-
2612 arch/arm/include/asm/cache.h | 5 +-
2613 arch/arm/include/asm/cacheflush.h | 2 +-
2614 arch/arm/include/asm/checksum.h | 14 +-
2615 arch/arm/include/asm/cmpxchg.h | 2 +
2616 arch/arm/include/asm/domain.h | 33 +-
2617 arch/arm/include/asm/elf.h | 9 +-
2618 arch/arm/include/asm/fncpy.h | 2 +
2619 arch/arm/include/asm/futex.h | 10 +
2620 arch/arm/include/asm/kmap_types.h | 2 +-
2621 arch/arm/include/asm/mach/dma.h | 2 +-
2622 arch/arm/include/asm/mach/map.h | 16 +-
2623 arch/arm/include/asm/outercache.h | 2 +-
2624 arch/arm/include/asm/page.h | 3 +-
2625 arch/arm/include/asm/pgalloc.h | 20 +
2626 arch/arm/include/asm/pgtable-2level-hwdef.h | 4 +-
2627 arch/arm/include/asm/pgtable-2level.h | 3 +
2628 arch/arm/include/asm/pgtable-3level.h | 3 +
2629 arch/arm/include/asm/pgtable.h | 54 +-
2630 arch/arm/include/asm/psci.h | 2 +-
2631 arch/arm/include/asm/smp.h | 2 +-
2632 arch/arm/include/asm/thread_info.h | 6 +-
2633 arch/arm/include/asm/tls.h | 3 +
2634 arch/arm/include/asm/uaccess.h | 96 +-
2635 arch/arm/include/uapi/asm/ptrace.h | 2 +-
2636 arch/arm/kernel/armksyms.c | 8 +-
2637 arch/arm/kernel/entry-armv.S | 110 +-
2638 arch/arm/kernel/entry-common.S | 40 +-
2639 arch/arm/kernel/entry-header.S | 60 +
2640 arch/arm/kernel/fiq.c | 3 +
2641 arch/arm/kernel/head.S | 2 +-
2642 arch/arm/kernel/module.c | 31 +-
2643 arch/arm/kernel/patch.c | 2 +
2644 arch/arm/kernel/process.c | 90 +-
2645 arch/arm/kernel/psci.c | 2 +-
2646 arch/arm/kernel/reboot.c | 1 +
2647 arch/arm/kernel/setup.c | 20 +-
2648 arch/arm/kernel/signal.c | 35 +-
2649 arch/arm/kernel/smp.c | 2 +-
2650 arch/arm/kernel/tcm.c | 4 +-
2651 arch/arm/kernel/traps.c | 6 +-
2652 arch/arm/kernel/vmlinux.lds.S | 6 +-
2653 arch/arm/kvm/arm.c | 10 +-
2654 arch/arm/lib/clear_user.S | 6 +-
2655 arch/arm/lib/copy_from_user.S | 6 +-
2656 arch/arm/lib/copy_page.S | 1 +
2657 arch/arm/lib/copy_to_user.S | 6 +-
2658 arch/arm/lib/csumpartialcopyuser.S | 4 +-
2659 arch/arm/lib/delay.c | 2 +-
2660 arch/arm/lib/uaccess_with_memcpy.c | 4 +-
2661 arch/arm/mach-exynos/suspend.c | 6 +-
2662 arch/arm/mach-keystone/keystone.c | 2 +-
2663 arch/arm/mach-mvebu/coherency.c | 4 +-
2664 arch/arm/mach-omap2/board-n8x0.c | 2 +-
2665 arch/arm/mach-omap2/omap-mpuss-lowpower.c | 4 +-
2666 arch/arm/mach-omap2/omap-smp.c | 1 +
2667 arch/arm/mach-omap2/omap-wakeupgen.c | 2 +-
2668 arch/arm/mach-omap2/omap_device.c | 4 +-
2669 arch/arm/mach-omap2/omap_device.h | 4 +-
2670 arch/arm/mach-omap2/omap_hwmod.c | 4 +-
2671 arch/arm/mach-omap2/powerdomains43xx_data.c | 5 +-
2672 arch/arm/mach-omap2/wd_timer.c | 6 +-
2673 arch/arm/mach-tegra/cpuidle-tegra20.c | 2 +-
2674 arch/arm/mach-tegra/irq.c | 1 +
2675 arch/arm/mach-ux500/pm.c | 1 +
2676 arch/arm/mach-ux500/setup.h | 7 -
2677 arch/arm/mach-zynq/platsmp.c | 1 +
2678 arch/arm/mm/Kconfig | 6 +-
2679 arch/arm/mm/alignment.c | 8 +
2680 arch/arm/mm/cache-l2x0.c | 2 +-
2681 arch/arm/mm/context.c | 10 +-
2682 arch/arm/mm/fault.c | 146 +
2683 arch/arm/mm/fault.h | 12 +
2684 arch/arm/mm/init.c | 39 +
2685 arch/arm/mm/ioremap.c | 4 +-
2686 arch/arm/mm/mmap.c | 30 +-
2687 arch/arm/mm/mmu.c | 182 +-
2688 arch/arm/net/bpf_jit_32.c | 3 +
2689 arch/arm/plat-iop/setup.c | 2 +-
2690 arch/arm/plat-omap/sram.c | 2 +
2691 arch/arm64/include/asm/atomic.h | 10 +
2692 arch/arm64/include/asm/barrier.h | 2 +-
2693 arch/arm64/include/asm/percpu.h | 8 +-
2694 arch/arm64/include/asm/pgalloc.h | 5 +
2695 arch/arm64/include/asm/uaccess.h | 1 +
2696 arch/arm64/mm/dma-mapping.c | 2 +-
2697 arch/avr32/include/asm/elf.h | 8 +-
2698 arch/avr32/include/asm/kmap_types.h | 4 +-
2699 arch/avr32/mm/fault.c | 27 +
2700 arch/frv/include/asm/atomic.h | 10 +
2701 arch/frv/include/asm/kmap_types.h | 2 +-
2702 arch/frv/mm/elf-fdpic.c | 3 +-
2703 arch/ia64/Makefile | 1 +
2704 arch/ia64/include/asm/atomic.h | 10 +
2705 arch/ia64/include/asm/barrier.h | 2 +-
2706 arch/ia64/include/asm/elf.h | 7 +
2707 arch/ia64/include/asm/pgalloc.h | 12 +
2708 arch/ia64/include/asm/pgtable.h | 13 +-
2709 arch/ia64/include/asm/spinlock.h | 2 +-
2710 arch/ia64/include/asm/uaccess.h | 27 +-
2711 arch/ia64/kernel/module.c | 45 +-
2712 arch/ia64/kernel/palinfo.c | 2 +-
2713 arch/ia64/kernel/sys_ia64.c | 7 +
2714 arch/ia64/kernel/vmlinux.lds.S | 2 +-
2715 arch/ia64/mm/fault.c | 32 +-
2716 arch/ia64/mm/init.c | 15 +-
2717 arch/m32r/lib/usercopy.c | 6 +
2718 arch/metag/include/asm/barrier.h | 2 +-
2719 arch/mips/cavium-octeon/dma-octeon.c | 2 +-
2720 arch/mips/include/asm/atomic.h | 355 +-
2721 arch/mips/include/asm/barrier.h | 2 +-
2722 arch/mips/include/asm/elf.h | 7 +
2723 arch/mips/include/asm/exec.h | 2 +-
2724 arch/mips/include/asm/hw_irq.h | 2 +-
2725 arch/mips/include/asm/local.h | 57 +
2726 arch/mips/include/asm/page.h | 2 +-
2727 arch/mips/include/asm/pgalloc.h | 5 +
2728 arch/mips/include/asm/pgtable.h | 3 +
2729 arch/mips/include/asm/uaccess.h | 1 +
2730 arch/mips/kernel/binfmt_elfn32.c | 7 +
2731 arch/mips/kernel/binfmt_elfo32.c | 7 +
2732 arch/mips/kernel/i8259.c | 2 +-
2733 arch/mips/kernel/irq-gt641xx.c | 2 +-
2734 arch/mips/kernel/irq.c | 6 +-
2735 arch/mips/kernel/pm-cps.c | 2 +-
2736 arch/mips/kernel/process.c | 12 -
2737 arch/mips/kernel/sync-r4k.c | 24 +-
2738 arch/mips/kernel/traps.c | 13 +-
2739 arch/mips/kvm/mips.c | 2 +-
2740 arch/mips/mm/fault.c | 25 +
2741 arch/mips/mm/mmap.c | 51 +-
2742 arch/mips/sgi-ip27/ip27-nmi.c | 6 +-
2743 arch/mips/sni/rm200.c | 2 +-
2744 arch/mips/vr41xx/common/icu.c | 2 +-
2745 arch/mips/vr41xx/common/irq.c | 4 +-
2746 arch/parisc/include/asm/atomic.h | 10 +
2747 arch/parisc/include/asm/elf.h | 7 +
2748 arch/parisc/include/asm/pgalloc.h | 6 +
2749 arch/parisc/include/asm/pgtable.h | 11 +
2750 arch/parisc/include/asm/uaccess.h | 4 +-
2751 arch/parisc/kernel/module.c | 50 +-
2752 arch/parisc/kernel/sys_parisc.c | 15 +
2753 arch/parisc/kernel/traps.c | 4 +-
2754 arch/parisc/mm/fault.c | 140 +-
2755 arch/powerpc/include/asm/atomic.h | 329 +-
2756 arch/powerpc/include/asm/barrier.h | 2 +-
2757 arch/powerpc/include/asm/elf.h | 12 +
2758 arch/powerpc/include/asm/exec.h | 2 +-
2759 arch/powerpc/include/asm/kmap_types.h | 2 +-
2760 arch/powerpc/include/asm/local.h | 46 +
2761 arch/powerpc/include/asm/mman.h | 2 +-
2762 arch/powerpc/include/asm/page.h | 8 +-
2763 arch/powerpc/include/asm/page_64.h | 7 +-
2764 arch/powerpc/include/asm/pgalloc-64.h | 7 +
2765 arch/powerpc/include/asm/pgtable.h | 1 +
2766 arch/powerpc/include/asm/pte-hash32.h | 1 +
2767 arch/powerpc/include/asm/reg.h | 1 +
2768 arch/powerpc/include/asm/smp.h | 2 +-
2769 arch/powerpc/include/asm/spinlock.h | 42 +-
2770 arch/powerpc/include/asm/uaccess.h | 141 +-
2771 arch/powerpc/kernel/Makefile | 5 +
2772 arch/powerpc/kernel/exceptions-64e.S | 4 +-
2773 arch/powerpc/kernel/exceptions-64s.S | 2 +-
2774 arch/powerpc/kernel/module_32.c | 15 +-
2775 arch/powerpc/kernel/process.c | 46 -
2776 arch/powerpc/kernel/signal_32.c | 2 +-
2777 arch/powerpc/kernel/signal_64.c | 2 +-
2778 arch/powerpc/kernel/traps.c | 21 +
2779 arch/powerpc/kernel/vdso.c | 5 +-
2780 arch/powerpc/kvm/powerpc.c | 2 +-
2781 arch/powerpc/lib/usercopy_64.c | 18 -
2782 arch/powerpc/mm/fault.c | 56 +-
2783 arch/powerpc/mm/mmap.c | 16 +
2784 arch/powerpc/mm/slice.c | 13 +-
2785 arch/powerpc/platforms/cell/spufs/file.c | 4 +-
2786 arch/s390/include/asm/atomic.h | 10 +
2787 arch/s390/include/asm/barrier.h | 2 +-
2788 arch/s390/include/asm/elf.h | 7 +
2789 arch/s390/include/asm/exec.h | 2 +-
2790 arch/s390/include/asm/uaccess.h | 13 +-
2791 arch/s390/kernel/module.c | 22 +-
2792 arch/s390/kernel/process.c | 24 -
2793 arch/s390/mm/mmap.c | 16 +
2794 arch/score/include/asm/exec.h | 2 +-
2795 arch/score/kernel/process.c | 5 -
2796 arch/sh/mm/mmap.c | 22 +-
2797 arch/sparc/include/asm/atomic_64.h | 110 +-
2798 arch/sparc/include/asm/barrier_64.h | 2 +-
2799 arch/sparc/include/asm/cache.h | 2 +-
2800 arch/sparc/include/asm/elf_32.h | 7 +
2801 arch/sparc/include/asm/elf_64.h | 7 +
2802 arch/sparc/include/asm/pgalloc_32.h | 1 +
2803 arch/sparc/include/asm/pgalloc_64.h | 1 +
2804 arch/sparc/include/asm/pgtable.h | 4 +
2805 arch/sparc/include/asm/pgtable_32.h | 15 +-
2806 arch/sparc/include/asm/pgtsrmmu.h | 5 +
2807 arch/sparc/include/asm/setup.h | 4 +-
2808 arch/sparc/include/asm/spinlock_64.h | 35 +-
2809 arch/sparc/include/asm/thread_info_32.h | 1 +
2810 arch/sparc/include/asm/thread_info_64.h | 2 +
2811 arch/sparc/include/asm/uaccess.h | 1 +
2812 arch/sparc/include/asm/uaccess_32.h | 28 +-
2813 arch/sparc/include/asm/uaccess_64.h | 24 +-
2814 arch/sparc/kernel/Makefile | 2 +-
2815 arch/sparc/kernel/prom_common.c | 2 +-
2816 arch/sparc/kernel/smp_64.c | 8 +-
2817 arch/sparc/kernel/sys_sparc_32.c | 2 +-
2818 arch/sparc/kernel/sys_sparc_64.c | 52 +-
2819 arch/sparc/kernel/traps_64.c | 27 +-
2820 arch/sparc/lib/Makefile | 2 +-
2821 arch/sparc/lib/atomic_64.S | 57 +-
2822 arch/sparc/lib/ksyms.c | 6 +-
2823 arch/sparc/mm/Makefile | 2 +-
2824 arch/sparc/mm/fault_32.c | 292 +
2825 arch/sparc/mm/fault_64.c | 486 +
2826 arch/sparc/mm/hugetlbpage.c | 22 +-
2827 arch/sparc/mm/init_64.c | 10 +-
2828 arch/tile/include/asm/atomic_64.h | 10 +
2829 arch/tile/include/asm/uaccess.h | 4 +-
2830 arch/um/Makefile | 4 +
2831 arch/um/include/asm/kmap_types.h | 2 +-
2832 arch/um/include/asm/page.h | 3 +
2833 arch/um/include/asm/pgtable-3level.h | 1 +
2834 arch/um/kernel/process.c | 16 -
2835 arch/x86/Kconfig | 11 +-
2836 arch/x86/Kconfig.cpu | 6 +-
2837 arch/x86/Kconfig.debug | 4 +-
2838 arch/x86/Makefile | 13 +-
2839 arch/x86/boot/Makefile | 3 +
2840 arch/x86/boot/bitops.h | 4 +-
2841 arch/x86/boot/boot.h | 2 +-
2842 arch/x86/boot/compressed/Makefile | 3 +
2843 arch/x86/boot/compressed/efi_stub_32.S | 16 +-
2844 arch/x86/boot/compressed/efi_thunk_64.S | 4 +-
2845 arch/x86/boot/compressed/head_32.S | 4 +-
2846 arch/x86/boot/compressed/head_64.S | 12 +-
2847 arch/x86/boot/compressed/misc.c | 11 +-
2848 arch/x86/boot/cpucheck.c | 16 +-
2849 arch/x86/boot/header.S | 6 +-
2850 arch/x86/boot/memory.c | 2 +-
2851 arch/x86/boot/video-vesa.c | 1 +
2852 arch/x86/boot/video.c | 2 +-
2853 arch/x86/crypto/aes-x86_64-asm_64.S | 4 +
2854 arch/x86/crypto/aesni-intel_asm.S | 106 +-
2855 arch/x86/crypto/blowfish-x86_64-asm_64.S | 7 +
2856 arch/x86/crypto/camellia-aesni-avx-asm_64.S | 10 +
2857 arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 10 +
2858 arch/x86/crypto/camellia-x86_64-asm_64.S | 7 +
2859 arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 51 +-
2860 arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 25 +-
2861 arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 4 +-
2862 arch/x86/crypto/ghash-clmulni-intel_asm.S | 4 +
2863 arch/x86/crypto/salsa20-x86_64-asm_64.S | 4 +
2864 arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 9 +
2865 arch/x86/crypto/serpent-avx2-asm_64.S | 9 +
2866 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 4 +
2867 arch/x86/crypto/sha1_ssse3_asm.S | 10 +-
2868 arch/x86/crypto/sha256-avx-asm.S | 2 +
2869 arch/x86/crypto/sha256-avx2-asm.S | 2 +
2870 arch/x86/crypto/sha256-ssse3-asm.S | 2 +
2871 arch/x86/crypto/sha512-avx-asm.S | 2 +
2872 arch/x86/crypto/sha512-avx2-asm.S | 2 +
2873 arch/x86/crypto/sha512-ssse3-asm.S | 2 +
2874 arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 25 +-
2875 arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 4 +
2876 arch/x86/crypto/twofish-x86_64-asm_64.S | 3 +
2877 arch/x86/ia32/ia32_signal.c | 23 +-
2878 arch/x86/ia32/ia32entry.S | 164 +-
2879 arch/x86/ia32/sys_ia32.c | 4 +-
2880 arch/x86/include/asm/alternative-asm.h | 43 +-
2881 arch/x86/include/asm/alternative.h | 4 +-
2882 arch/x86/include/asm/apic.h | 2 +-
2883 arch/x86/include/asm/apm.h | 4 +-
2884 arch/x86/include/asm/atomic.h | 269 +-
2885 arch/x86/include/asm/atomic64_32.h | 100 +
2886 arch/x86/include/asm/atomic64_64.h | 164 +-
2887 arch/x86/include/asm/barrier.h | 4 +-
2888 arch/x86/include/asm/bitops.h | 18 +-
2889 arch/x86/include/asm/boot.h | 7 +-
2890 arch/x86/include/asm/cache.h | 5 +-
2891 arch/x86/include/asm/calling.h | 92 +-
2892 arch/x86/include/asm/checksum_32.h | 12 +-
2893 arch/x86/include/asm/cmpxchg.h | 39 +
2894 arch/x86/include/asm/compat.h | 2 +-
2895 arch/x86/include/asm/cpufeature.h | 16 +-
2896 arch/x86/include/asm/desc.h | 78 +-
2897 arch/x86/include/asm/desc_defs.h | 6 +
2898 arch/x86/include/asm/div64.h | 2 +-
2899 arch/x86/include/asm/elf.h | 33 +-
2900 arch/x86/include/asm/emergency-restart.h | 2 +-
2901 arch/x86/include/asm/fpu-internal.h | 8 +-
2902 arch/x86/include/asm/futex.h | 14 +-
2903 arch/x86/include/asm/hw_irq.h | 4 +-
2904 arch/x86/include/asm/i8259.h | 2 +-
2905 arch/x86/include/asm/io.h | 21 +-
2906 arch/x86/include/asm/irqflags.h | 5 +
2907 arch/x86/include/asm/kprobes.h | 9 +-
2908 arch/x86/include/asm/local.h | 106 +-
2909 arch/x86/include/asm/mman.h | 15 +
2910 arch/x86/include/asm/mmu.h | 16 +-
2911 arch/x86/include/asm/mmu_context.h | 136 +-
2912 arch/x86/include/asm/module.h | 17 +-
2913 arch/x86/include/asm/nmi.h | 19 +-
2914 arch/x86/include/asm/page.h | 1 +
2915 arch/x86/include/asm/page_64.h | 8 +-
2916 arch/x86/include/asm/paravirt.h | 46 +-
2917 arch/x86/include/asm/paravirt_types.h | 15 +-
2918 arch/x86/include/asm/pgalloc.h | 23 +
2919 arch/x86/include/asm/pgtable-2level.h | 2 +
2920 arch/x86/include/asm/pgtable-3level.h | 4 +
2921 arch/x86/include/asm/pgtable.h | 128 +-
2922 arch/x86/include/asm/pgtable_32.h | 14 +-
2923 arch/x86/include/asm/pgtable_32_types.h | 15 +-
2924 arch/x86/include/asm/pgtable_64.h | 22 +-
2925 arch/x86/include/asm/pgtable_64_types.h | 5 +
2926 arch/x86/include/asm/pgtable_types.h | 26 +-
2927 arch/x86/include/asm/preempt.h | 2 +-
2928 arch/x86/include/asm/processor.h | 49 +-
2929 arch/x86/include/asm/ptrace.h | 13 +-
2930 arch/x86/include/asm/qrwlock.h | 4 +-
2931 arch/x86/include/asm/realmode.h | 4 +-
2932 arch/x86/include/asm/reboot.h | 10 +-
2933 arch/x86/include/asm/rmwcc.h | 84 +-
2934 arch/x86/include/asm/rwsem.h | 60 +-
2935 arch/x86/include/asm/segment.h | 27 +-
2936 arch/x86/include/asm/smap.h | 43 +
2937 arch/x86/include/asm/smp.h | 14 +-
2938 arch/x86/include/asm/stackprotector.h | 4 +-
2939 arch/x86/include/asm/stacktrace.h | 32 +-
2940 arch/x86/include/asm/switch_to.h | 4 +-
2941 arch/x86/include/asm/thread_info.h | 23 +-
2942 arch/x86/include/asm/tlbflush.h | 75 +-
2943 arch/x86/include/asm/uaccess.h | 192 +-
2944 arch/x86/include/asm/uaccess_32.h | 28 +-
2945 arch/x86/include/asm/uaccess_64.h | 169 +-
2946 arch/x86/include/asm/word-at-a-time.h | 2 +-
2947 arch/x86/include/asm/x86_init.h | 10 +-
2948 arch/x86/include/asm/xen/page.h | 2 +-
2949 arch/x86/include/asm/xsave.h | 14 +-
2950 arch/x86/include/uapi/asm/e820.h | 2 +-
2951 arch/x86/kernel/Makefile | 2 +-
2952 arch/x86/kernel/acpi/boot.c | 4 +-
2953 arch/x86/kernel/acpi/sleep.c | 4 +
2954 arch/x86/kernel/acpi/wakeup_32.S | 6 +-
2955 arch/x86/kernel/alternative.c | 88 +-
2956 arch/x86/kernel/apic/apic.c | 4 +-
2957 arch/x86/kernel/apic/apic_flat_64.c | 4 +-
2958 arch/x86/kernel/apic/apic_noop.c | 2 +-
2959 arch/x86/kernel/apic/bigsmp_32.c | 2 +-
2960 arch/x86/kernel/apic/io_apic.c | 8 +-
2961 arch/x86/kernel/apic/probe_32.c | 2 +-
2962 arch/x86/kernel/apic/vector.c | 4 +-
2963 arch/x86/kernel/apic/x2apic_cluster.c | 4 +-
2964 arch/x86/kernel/apic/x2apic_phys.c | 2 +-
2965 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
2966 arch/x86/kernel/apm_32.c | 21 +-
2967 arch/x86/kernel/asm-offsets.c | 20 +
2968 arch/x86/kernel/asm-offsets_64.c | 1 +
2969 arch/x86/kernel/cpu/Makefile | 4 -
2970 arch/x86/kernel/cpu/amd.c | 2 +-
2971 arch/x86/kernel/cpu/common.c | 140 +-
2972 arch/x86/kernel/cpu/intel_cacheinfo.c | 14 +-
2973 arch/x86/kernel/cpu/mcheck/mce.c | 31 +-
2974 arch/x86/kernel/cpu/mcheck/p5.c | 3 +
2975 arch/x86/kernel/cpu/mcheck/winchip.c | 3 +
2976 arch/x86/kernel/cpu/microcode/core.c | 2 +-
2977 arch/x86/kernel/cpu/microcode/intel.c | 4 +-
2978 arch/x86/kernel/cpu/mtrr/main.c | 2 +-
2979 arch/x86/kernel/cpu/mtrr/mtrr.h | 2 +-
2980 arch/x86/kernel/cpu/perf_event.c | 8 +-
2981 arch/x86/kernel/cpu/perf_event_amd_iommu.c | 2 +-
2982 arch/x86/kernel/cpu/perf_event_intel.c | 6 +-
2983 arch/x86/kernel/cpu/perf_event_intel_bts.c | 6 +-
2984 arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 +-
2985 arch/x86/kernel/cpu/perf_event_intel_pt.c | 44 +-
2986 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 2 +-
2987 arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 +-
2988 arch/x86/kernel/cpu/perf_event_intel_uncore.h | 2 +-
2989 arch/x86/kernel/cpuid.c | 2 +-
2990 arch/x86/kernel/crash_dump_64.c | 2 +-
2991 arch/x86/kernel/doublefault.c | 8 +-
2992 arch/x86/kernel/dumpstack.c | 24 +-
2993 arch/x86/kernel/dumpstack_32.c | 25 +-
2994 arch/x86/kernel/dumpstack_64.c | 62 +-
2995 arch/x86/kernel/e820.c | 4 +-
2996 arch/x86/kernel/early_printk.c | 1 +
2997 arch/x86/kernel/entry_32.S | 360 +-
2998 arch/x86/kernel/entry_64.S | 651 +-
2999 arch/x86/kernel/espfix_64.c | 13 +-
3000 arch/x86/kernel/ftrace.c | 18 +-
3001 arch/x86/kernel/head64.c | 13 +-
3002 arch/x86/kernel/head_32.S | 228 +-
3003 arch/x86/kernel/head_64.S | 149 +-
3004 arch/x86/kernel/i386_ksyms_32.c | 12 +
3005 arch/x86/kernel/i8259.c | 10 +-
3006 arch/x86/kernel/io_delay.c | 2 +-
3007 arch/x86/kernel/ioport.c | 2 +-
3008 arch/x86/kernel/irq.c | 8 +-
3009 arch/x86/kernel/irq_32.c | 45 +-
3010 arch/x86/kernel/jump_label.c | 8 +-
3011 arch/x86/kernel/kgdb.c | 21 +-
3012 arch/x86/kernel/kprobes/core.c | 28 +-
3013 arch/x86/kernel/kprobes/opt.c | 16 +-
3014 arch/x86/kernel/ksysfs.c | 2 +-
3015 arch/x86/kernel/ldt.c | 31 +-
3016 arch/x86/kernel/livepatch.c | 12 +-
3017 arch/x86/kernel/machine_kexec_32.c | 6 +-
3018 arch/x86/kernel/mcount_64.S | 19 +-
3019 arch/x86/kernel/module.c | 78 +-
3020 arch/x86/kernel/msr.c | 2 +-
3021 arch/x86/kernel/nmi.c | 34 +-
3022 arch/x86/kernel/nmi_selftest.c | 4 +-
3023 arch/x86/kernel/paravirt-spinlocks.c | 2 +-
3024 arch/x86/kernel/paravirt.c | 45 +-
3025 arch/x86/kernel/paravirt_patch_64.c | 8 +
3026 arch/x86/kernel/pci-calgary_64.c | 2 +-
3027 arch/x86/kernel/pci-iommu_table.c | 2 +-
3028 arch/x86/kernel/pci-swiotlb.c | 2 +-
3029 arch/x86/kernel/process.c | 56 +-
3030 arch/x86/kernel/process_32.c | 34 +-
3031 arch/x86/kernel/process_64.c | 20 +-
3032 arch/x86/kernel/ptrace.c | 20 +-
3033 arch/x86/kernel/pvclock.c | 8 +-
3034 arch/x86/kernel/reboot.c | 44 +-
3035 arch/x86/kernel/reboot_fixups_32.c | 2 +-
3036 arch/x86/kernel/relocate_kernel_64.S | 3 +-
3037 arch/x86/kernel/setup.c | 27 +-
3038 arch/x86/kernel/setup_percpu.c | 29 +-
3039 arch/x86/kernel/signal.c | 17 +-
3040 arch/x86/kernel/smp.c | 2 +-
3041 arch/x86/kernel/smpboot.c | 31 +-
3042 arch/x86/kernel/step.c | 10 +-
3043 arch/x86/kernel/sys_i386_32.c | 184 +
3044 arch/x86/kernel/sys_x86_64.c | 22 +-
3045 arch/x86/kernel/tboot.c | 14 +-
3046 arch/x86/kernel/time.c | 8 +-
3047 arch/x86/kernel/tls.c | 7 +-
3048 arch/x86/kernel/tracepoint.c | 4 +-
3049 arch/x86/kernel/traps.c | 53 +-
3050 arch/x86/kernel/tsc.c | 2 +-
3051 arch/x86/kernel/uprobes.c | 2 +-
3052 arch/x86/kernel/vm86_32.c | 6 +-
3053 arch/x86/kernel/vmlinux.lds.S | 147 +-
3054 arch/x86/kernel/vsyscall_64.c | 16 +-
3055 arch/x86/kernel/x8664_ksyms_64.c | 6 +-
3056 arch/x86/kernel/x86_init.c | 6 +-
3057 arch/x86/kernel/xsave.c | 10 +-
3058 arch/x86/kvm/cpuid.c | 21 +-
3059 arch/x86/kvm/emulate.c | 2 +-
3060 arch/x86/kvm/lapic.c | 2 +-
3061 arch/x86/kvm/paging_tmpl.h | 2 +-
3062 arch/x86/kvm/svm.c | 8 +
3063 arch/x86/kvm/vmx.c | 82 +-
3064 arch/x86/kvm/x86.c | 8 +-
3065 arch/x86/lguest/boot.c | 3 +-
3066 arch/x86/lib/atomic64_386_32.S | 164 +
3067 arch/x86/lib/atomic64_cx8_32.S | 104 +-
3068 arch/x86/lib/checksum_32.S | 100 +-
3069 arch/x86/lib/clear_page_64.S | 3 +
3070 arch/x86/lib/cmpxchg16b_emu.S | 3 +
3071 arch/x86/lib/copy_page_64.S | 18 +-
3072 arch/x86/lib/copy_user_64.S | 60 +-
3073 arch/x86/lib/copy_user_nocache_64.S | 14 +
3074 arch/x86/lib/csum-copy_64.S | 18 +-
3075 arch/x86/lib/csum-wrappers_64.c | 8 +-
3076 arch/x86/lib/getuser.S | 74 +-
3077 arch/x86/lib/insn.c | 8 +-
3078 arch/x86/lib/iomap_copy_64.S | 2 +
3079 arch/x86/lib/memcpy_64.S | 6 +
3080 arch/x86/lib/memmove_64.S | 3 +-
3081 arch/x86/lib/memset_64.S | 3 +
3082 arch/x86/lib/mmx_32.c | 243 +-
3083 arch/x86/lib/msr-reg.S | 2 +
3084 arch/x86/lib/putuser.S | 90 +-
3085 arch/x86/lib/rwsem.S | 6 +-
3086 arch/x86/lib/thunk_64.S | 2 +
3087 arch/x86/lib/usercopy_32.c | 357 +-
3088 arch/x86/lib/usercopy_64.c | 20 +-
3089 arch/x86/mm/Makefile | 4 +
3090 arch/x86/mm/extable.c | 25 +-
3091 arch/x86/mm/fault.c | 570 +-
3092 arch/x86/mm/gup.c | 6 +-
3093 arch/x86/mm/highmem_32.c | 4 +
3094 arch/x86/mm/hugetlbpage.c | 24 +-
3095 arch/x86/mm/init.c | 101 +-
3096 arch/x86/mm/init_32.c | 111 +-
3097 arch/x86/mm/init_64.c | 46 +-
3098 arch/x86/mm/iomap_32.c | 4 +
3099 arch/x86/mm/ioremap.c | 45 +-
3100 arch/x86/mm/kmemcheck/kmemcheck.c | 4 +-
3101 arch/x86/mm/mmap.c | 40 +-
3102 arch/x86/mm/mmio-mod.c | 10 +-
3103 arch/x86/mm/numa.c | 2 +-
3104 arch/x86/mm/pageattr.c | 33 +-
3105 arch/x86/mm/pat.c | 20 +-
3106 arch/x86/mm/pat_rbtree.c | 2 +-
3107 arch/x86/mm/pf_in.c | 10 +-
3108 arch/x86/mm/pgtable.c | 162 +-
3109 arch/x86/mm/pgtable_32.c | 3 +
3110 arch/x86/mm/physaddr.c | 4 +-
3111 arch/x86/mm/setup_nx.c | 7 +
3112 arch/x86/mm/tlb.c | 4 +
3113 arch/x86/mm/uderef_64.c | 37 +
3114 arch/x86/net/bpf_jit.S | 11 +
3115 arch/x86/net/bpf_jit_comp.c | 13 +-
3116 arch/x86/oprofile/backtrace.c | 6 +-
3117 arch/x86/oprofile/nmi_int.c | 8 +-
3118 arch/x86/oprofile/op_model_amd.c | 8 +-
3119 arch/x86/oprofile/op_model_ppro.c | 7 +-
3120 arch/x86/oprofile/op_x86_model.h | 2 +-
3121 arch/x86/pci/intel_mid_pci.c | 2 +-
3122 arch/x86/pci/irq.c | 8 +-
3123 arch/x86/pci/pcbios.c | 144 +-
3124 arch/x86/platform/efi/efi_32.c | 24 +
3125 arch/x86/platform/efi/efi_64.c | 26 +-
3126 arch/x86/platform/efi/efi_stub_32.S | 64 +-
3127 arch/x86/platform/efi/efi_stub_64.S | 2 +
3128 arch/x86/platform/intel-mid/intel-mid.c | 5 +-
3129 arch/x86/platform/intel-mid/intel_mid_weak_decls.h | 6 +-
3130 arch/x86/platform/intel-mid/mfld.c | 4 +-
3131 arch/x86/platform/intel-mid/mrfl.c | 2 +-
3132 arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
3133 arch/x86/platform/olpc/olpc_dt.c | 2 +-
3134 arch/x86/power/cpu.c | 11 +-
3135 arch/x86/realmode/init.c | 10 +-
3136 arch/x86/realmode/rm/Makefile | 3 +
3137 arch/x86/realmode/rm/header.S | 4 +-
3138 arch/x86/realmode/rm/reboot.S | 4 +
3139 arch/x86/realmode/rm/trampoline_32.S | 12 +-
3140 arch/x86/realmode/rm/trampoline_64.S | 3 +-
3141 arch/x86/realmode/rm/wakeup_asm.S | 5 +-
3142 arch/x86/tools/Makefile | 2 +-
3143 arch/x86/tools/relocs.c | 94 +-
3144 arch/x86/um/mem_32.c | 2 +-
3145 arch/x86/um/tls_32.c | 2 +-
3146 arch/x86/vdso/Makefile | 2 +-
3147 arch/x86/vdso/vdso2c.h | 2 +-
3148 arch/x86/vdso/vdso32-setup.c | 1 +
3149 arch/x86/vdso/vma.c | 41 +-
3150 arch/x86/xen/enlighten.c | 50 +-
3151 arch/x86/xen/mmu.c | 17 +-
3152 arch/x86/xen/smp.c | 16 +-
3153 arch/x86/xen/xen-asm_32.S | 2 +-
3154 arch/x86/xen/xen-head.S | 11 +
3155 arch/x86/xen/xen-ops.h | 2 -
3156 block/bio.c | 4 +-
3157 block/blk-iopoll.c | 2 +-
3158 block/blk-map.c | 2 +-
3159 block/blk-softirq.c | 2 +-
3160 block/bsg.c | 12 +-
3161 block/compat_ioctl.c | 4 +-
3162 block/genhd.c | 9 +-
3163 block/partitions/efi.c | 8 +-
3164 block/scsi_ioctl.c | 29 +-
3165 crypto/cryptd.c | 4 +-
3166 crypto/pcrypt.c | 2 +-
3167 crypto/zlib.c | 4 +-
3168 drivers/acpi/apei/apei-internal.h | 2 +-
3169 drivers/acpi/apei/ghes.c | 4 +-
3170 drivers/acpi/bgrt.c | 6 +-
3171 drivers/acpi/blacklist.c | 4 +-
3172 drivers/acpi/bus.c | 4 +-
3173 drivers/acpi/device_pm.c | 4 +-
3174 drivers/acpi/ec.c | 2 +-
3175 drivers/acpi/pci_slot.c | 2 +-
3176 drivers/acpi/processor_driver.c | 2 +-
3177 drivers/acpi/processor_idle.c | 2 +-
3178 drivers/acpi/processor_pdc.c | 2 +-
3179 drivers/acpi/sleep.c | 2 +-
3180 drivers/acpi/sysfs.c | 4 +-
3181 drivers/acpi/thermal.c | 2 +-
3182 drivers/acpi/video.c | 2 +-
3183 drivers/ata/libahci.c | 2 +-
3184 drivers/ata/libata-core.c | 12 +-
3185 drivers/ata/libata-scsi.c | 2 +-
3186 drivers/ata/libata.h | 2 +-
3187 drivers/ata/pata_arasan_cf.c | 4 +-
3188 drivers/atm/adummy.c | 2 +-
3189 drivers/atm/ambassador.c | 8 +-
3190 drivers/atm/atmtcp.c | 14 +-
3191 drivers/atm/eni.c | 10 +-
3192 drivers/atm/firestream.c | 8 +-
3193 drivers/atm/fore200e.c | 14 +-
3194 drivers/atm/he.c | 18 +-
3195 drivers/atm/horizon.c | 4 +-
3196 drivers/atm/idt77252.c | 36 +-
3197 drivers/atm/iphase.c | 34 +-
3198 drivers/atm/lanai.c | 12 +-
3199 drivers/atm/nicstar.c | 46 +-
3200 drivers/atm/solos-pci.c | 4 +-
3201 drivers/atm/suni.c | 4 +-
3202 drivers/atm/uPD98402.c | 16 +-
3203 drivers/atm/zatm.c | 6 +-
3204 drivers/base/bus.c | 4 +-
3205 drivers/base/devtmpfs.c | 8 +-
3206 drivers/base/node.c | 2 +-
3207 drivers/base/power/domain.c | 11 +-
3208 drivers/base/power/sysfs.c | 2 +-
3209 drivers/base/power/wakeup.c | 8 +-
3210 drivers/base/syscore.c | 4 +-
3211 drivers/block/cciss.c | 28 +-
3212 drivers/block/cciss.h | 2 +-
3213 drivers/block/cpqarray.c | 28 +-
3214 drivers/block/cpqarray.h | 2 +-
3215 drivers/block/drbd/drbd_bitmap.c | 2 +-
3216 drivers/block/drbd/drbd_int.h | 8 +-
3217 drivers/block/drbd/drbd_main.c | 12 +-
3218 drivers/block/drbd/drbd_nl.c | 4 +-
3219 drivers/block/drbd/drbd_receiver.c | 34 +-
3220 drivers/block/drbd/drbd_worker.c | 8 +-
3221 drivers/block/pktcdvd.c | 4 +-
3222 drivers/block/rbd.c | 2 +-
3223 drivers/bluetooth/btwilink.c | 2 +-
3224 drivers/cdrom/cdrom.c | 11 +-
3225 drivers/cdrom/gdrom.c | 1 -
3226 drivers/char/agp/compat_ioctl.c | 2 +-
3227 drivers/char/agp/frontend.c | 4 +-
3228 drivers/char/hpet.c | 2 +-
3229 drivers/char/i8k.c | 2 +-
3230 drivers/char/ipmi/ipmi_msghandler.c | 8 +-
3231 drivers/char/ipmi/ipmi_si_intf.c | 8 +-
3232 drivers/char/mem.c | 47 +-
3233 drivers/char/nvram.c | 2 +-
3234 drivers/char/pcmcia/synclink_cs.c | 16 +-
3235 drivers/char/random.c | 12 +-
3236 drivers/char/sonypi.c | 11 +-
3237 drivers/char/tpm/tpm_acpi.c | 3 +-
3238 drivers/char/tpm/tpm_eventlog.c | 7 +-
3239 drivers/char/virtio_console.c | 4 +-
3240 drivers/clk/clk-composite.c | 2 +-
3241 drivers/clk/samsung/clk.h | 2 +-
3242 drivers/clk/socfpga/clk-gate.c | 9 +-
3243 drivers/clk/socfpga/clk-pll.c | 9 +-
3244 drivers/cpufreq/acpi-cpufreq.c | 17 +-
3245 drivers/cpufreq/cpufreq-dt.c | 4 +-
3246 drivers/cpufreq/cpufreq.c | 26 +-
3247 drivers/cpufreq/cpufreq_governor.c | 6 +-
3248 drivers/cpufreq/cpufreq_governor.h | 4 +-
3249 drivers/cpufreq/cpufreq_ondemand.c | 10 +-
3250 drivers/cpufreq/intel_pstate.c | 33 +-
3251 drivers/cpufreq/p4-clockmod.c | 12 +-
3252 drivers/cpufreq/sparc-us3-cpufreq.c | 67 +-
3253 drivers/cpufreq/speedstep-centrino.c | 7 +-
3254 drivers/cpuidle/driver.c | 2 +-
3255 drivers/cpuidle/governor.c | 2 +-
3256 drivers/cpuidle/sysfs.c | 2 +-
3257 drivers/crypto/hifn_795x.c | 4 +-
3258 drivers/devfreq/devfreq.c | 4 +-
3259 drivers/dma/sh/shdma-base.c | 4 +-
3260 drivers/dma/sh/shdmac.c | 2 +-
3261 drivers/edac/edac_device.c | 4 +-
3262 drivers/edac/edac_mc_sysfs.c | 2 +-
3263 drivers/edac/edac_pci.c | 4 +-
3264 drivers/edac/edac_pci_sysfs.c | 22 +-
3265 drivers/edac/mce_amd.h | 2 +-
3266 drivers/firewire/core-card.c | 6 +-
3267 drivers/firewire/core-device.c | 2 +-
3268 drivers/firewire/core-transaction.c | 1 +
3269 drivers/firewire/core.h | 1 +
3270 drivers/firmware/dmi-id.c | 2 +-
3271 drivers/firmware/efi/cper.c | 8 +-
3272 drivers/firmware/efi/efi.c | 12 +-
3273 drivers/firmware/efi/efivars.c | 2 +-
3274 drivers/firmware/efi/runtime-map.c | 2 +-
3275 drivers/firmware/google/gsmi.c | 2 +-
3276 drivers/firmware/google/memconsole.c | 7 +-
3277 drivers/firmware/memmap.c | 2 +-
3278 drivers/gpio/gpio-em.c | 2 +-
3279 drivers/gpio/gpio-ich.c | 2 +-
3280 drivers/gpio/gpio-omap.c | 2 +-
3281 drivers/gpio/gpio-rcar.c | 2 +-
3282 drivers/gpio/gpio-vr41xx.c | 2 +-
3283 drivers/gpio/gpiolib.c | 13 +-
3284 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 2 +-
3285 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 2 +-
3286 drivers/gpu/drm/drm_crtc.c | 2 +-
3287 drivers/gpu/drm/drm_drv.c | 2 +-
3288 drivers/gpu/drm/drm_fops.c | 12 +-
3289 drivers/gpu/drm/drm_global.c | 14 +-
3290 drivers/gpu/drm/drm_info.c | 13 +-
3291 drivers/gpu/drm/drm_ioc32.c | 13 +-
3292 drivers/gpu/drm/drm_ioctl.c | 2 +-
3293 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 10 +-
3294 drivers/gpu/drm/i810/i810_drv.h | 4 +-
3295 drivers/gpu/drm/i915/i915_dma.c | 2 +-
3296 drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +-
3297 drivers/gpu/drm/i915/i915_ioc32.c | 16 +-
3298 drivers/gpu/drm/i915/intel_display.c | 26 +-
3299 drivers/gpu/drm/imx/imx-drm-core.c | 2 +-
3300 drivers/gpu/drm/mga/mga_drv.h | 4 +-
3301 drivers/gpu/drm/mga/mga_ioc32.c | 10 +-
3302 drivers/gpu/drm/mga/mga_irq.c | 8 +-
3303 drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +-
3304 drivers/gpu/drm/nouveau/nouveau_drm.h | 1 -
3305 drivers/gpu/drm/nouveau/nouveau_ioc32.c | 2 +-
3306 drivers/gpu/drm/nouveau/nouveau_vga.c | 2 +-
3307 drivers/gpu/drm/qxl/qxl_cmd.c | 12 +-
3308 drivers/gpu/drm/qxl/qxl_debugfs.c | 8 +-
3309 drivers/gpu/drm/qxl/qxl_drv.h | 8 +-
3310 drivers/gpu/drm/qxl/qxl_ioctl.c | 10 +-
3311 drivers/gpu/drm/qxl/qxl_irq.c | 16 +-
3312 drivers/gpu/drm/qxl/qxl_ttm.c | 38 +-
3313 drivers/gpu/drm/r128/r128_cce.c | 2 +-
3314 drivers/gpu/drm/r128/r128_drv.h | 4 +-
3315 drivers/gpu/drm/r128/r128_ioc32.c | 10 +-
3316 drivers/gpu/drm/r128/r128_irq.c | 4 +-
3317 drivers/gpu/drm/r128/r128_state.c | 4 +-
3318 drivers/gpu/drm/radeon/mkregtable.c | 4 +-
3319 drivers/gpu/drm/radeon/radeon_device.c | 2 +-
3320 drivers/gpu/drm/radeon/radeon_drv.h | 2 +-
3321 drivers/gpu/drm/radeon/radeon_ioc32.c | 12 +-
3322 drivers/gpu/drm/radeon/radeon_irq.c | 6 +-
3323 drivers/gpu/drm/radeon/radeon_state.c | 4 +-
3324 drivers/gpu/drm/radeon/radeon_ttm.c | 4 +-
3325 drivers/gpu/drm/tegra/dc.c | 2 +-
3326 drivers/gpu/drm/tegra/dsi.c | 2 +-
3327 drivers/gpu/drm/tegra/hdmi.c | 2 +-
3328 drivers/gpu/drm/ttm/ttm_memory.c | 4 +-
3329 drivers/gpu/drm/ttm/ttm_page_alloc.c | 18 +-
3330 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 18 +-
3331 drivers/gpu/drm/udl/udl_fb.c | 1 -
3332 drivers/gpu/drm/via/via_drv.h | 4 +-
3333 drivers/gpu/drm/via/via_irq.c | 18 +-
3334 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
3335 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 8 +-
3336 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 4 +-
3337 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 4 +-
3338 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c | 2 +-
3339 drivers/gpu/vga/vga_switcheroo.c | 4 +-
3340 drivers/hid/hid-core.c | 4 +-
3341 drivers/hv/channel.c | 2 +-
3342 drivers/hv/hv.c | 4 +-
3343 drivers/hv/hv_balloon.c | 18 +-
3344 drivers/hv/hyperv_vmbus.h | 2 +-
3345 drivers/hwmon/acpi_power_meter.c | 6 +-
3346 drivers/hwmon/applesmc.c | 2 +-
3347 drivers/hwmon/asus_atk0110.c | 10 +-
3348 drivers/hwmon/coretemp.c | 2 +-
3349 drivers/hwmon/ibmaem.c | 2 +-
3350 drivers/hwmon/iio_hwmon.c | 2 +-
3351 drivers/hwmon/nct6683.c | 6 +-
3352 drivers/hwmon/nct6775.c | 6 +-
3353 drivers/hwmon/pmbus/pmbus_core.c | 10 +-
3354 drivers/hwmon/sht15.c | 12 +-
3355 drivers/hwmon/via-cputemp.c | 2 +-
3356 drivers/i2c/busses/i2c-amd756-s4882.c | 2 +-
3357 drivers/i2c/busses/i2c-diolan-u2c.c | 2 +-
3358 drivers/i2c/busses/i2c-nforce2-s4985.c | 2 +-
3359 drivers/i2c/i2c-dev.c | 2 +-
3360 drivers/ide/ide-cd.c | 2 +-
3361 drivers/iio/industrialio-core.c | 2 +-
3362 drivers/infiniband/core/cm.c | 32 +-
3363 drivers/infiniband/core/fmr_pool.c | 20 +-
3364 drivers/infiniband/core/uverbs_cmd.c | 3 +
3365 drivers/infiniband/hw/cxgb4/mem.c | 4 +-
3366 drivers/infiniband/hw/ipath/ipath_rc.c | 6 +-
3367 drivers/infiniband/hw/ipath/ipath_ruc.c | 6 +-
3368 drivers/infiniband/hw/mlx4/mad.c | 2 +-
3369 drivers/infiniband/hw/mlx4/mcg.c | 2 +-
3370 drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 +-
3371 drivers/infiniband/hw/mthca/mthca_cmd.c | 8 +-
3372 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
3373 drivers/infiniband/hw/mthca/mthca_mr.c | 6 +-
3374 drivers/infiniband/hw/mthca/mthca_provider.c | 2 +-
3375 drivers/infiniband/hw/nes/nes.c | 4 +-
3376 drivers/infiniband/hw/nes/nes.h | 40 +-
3377 drivers/infiniband/hw/nes/nes_cm.c | 62 +-
3378 drivers/infiniband/hw/nes/nes_mgt.c | 8 +-
3379 drivers/infiniband/hw/nes/nes_nic.c | 40 +-
3380 drivers/infiniband/hw/nes/nes_verbs.c | 10 +-
3381 drivers/infiniband/hw/qib/qib.h | 1 +
3382 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 2 +-
3383 drivers/input/gameport/gameport.c | 4 +-
3384 drivers/input/input.c | 4 +-
3385 drivers/input/joystick/sidewinder.c | 1 +
3386 drivers/input/joystick/xpad.c | 4 +-
3387 drivers/input/misc/ims-pcu.c | 4 +-
3388 drivers/input/mouse/psmouse.h | 2 +-
3389 drivers/input/mousedev.c | 2 +-
3390 drivers/input/serio/serio.c | 4 +-
3391 drivers/input/serio/serio_raw.c | 4 +-
3392 drivers/input/touchscreen/htcpen.c | 2 +-
3393 drivers/iommu/arm-smmu.c | 43 +-
3394 drivers/iommu/io-pgtable-arm.c | 101 +-
3395 drivers/iommu/io-pgtable.c | 11 +-
3396 drivers/iommu/io-pgtable.h | 19 +-
3397 drivers/iommu/iommu.c | 2 +-
3398 drivers/iommu/ipmmu-vmsa.c | 13 +-
3399 drivers/iommu/irq_remapping.c | 12 +-
3400 drivers/irqchip/irq-gic.c | 2 +-
3401 drivers/irqchip/irq-renesas-intc-irqpin.c | 2 +-
3402 drivers/irqchip/irq-renesas-irqc.c | 2 +-
3403 drivers/isdn/capi/capi.c | 10 +-
3404 drivers/isdn/gigaset/interface.c | 8 +-
3405 drivers/isdn/gigaset/usb-gigaset.c | 2 +-
3406 drivers/isdn/hardware/avm/b1.c | 4 +-
3407 drivers/isdn/i4l/isdn_common.c | 2 +
3408 drivers/isdn/i4l/isdn_tty.c | 22 +-
3409 drivers/isdn/icn/icn.c | 2 +-
3410 drivers/isdn/mISDN/dsp_cmx.c | 2 +-
3411 drivers/lguest/core.c | 10 +-
3412 drivers/lguest/page_tables.c | 2 +-
3413 drivers/lguest/x86/core.c | 12 +-
3414 drivers/lguest/x86/switcher_32.S | 27 +-
3415 drivers/md/bcache/closure.h | 2 +-
3416 drivers/md/bitmap.c | 2 +-
3417 drivers/md/dm-ioctl.c | 2 +-
3418 drivers/md/dm-raid1.c | 16 +-
3419 drivers/md/dm-stats.c | 6 +-
3420 drivers/md/dm-stripe.c | 10 +-
3421 drivers/md/dm-table.c | 2 +-
3422 drivers/md/dm-thin-metadata.c | 4 +-
3423 drivers/md/dm.c | 16 +-
3424 drivers/md/md.c | 26 +-
3425 drivers/md/md.h | 6 +-
3426 drivers/md/persistent-data/dm-space-map-metadata.c | 4 +-
3427 drivers/md/persistent-data/dm-space-map.h | 1 +
3428 drivers/md/raid1.c | 4 +-
3429 drivers/md/raid10.c | 16 +-
3430 drivers/md/raid5.c | 22 +-
3431 drivers/media/dvb-core/dvbdev.c | 2 +-
3432 drivers/media/dvb-frontends/af9033.h | 2 +-
3433 drivers/media/dvb-frontends/dib3000.h | 2 +-
3434 drivers/media/dvb-frontends/dib7000p.h | 2 +-
3435 drivers/media/dvb-frontends/dib8000.h | 2 +-
3436 drivers/media/pci/cx88/cx88-video.c | 6 +-
3437 drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
3438 drivers/media/pci/solo6x10/solo6x10-core.c | 2 +-
3439 drivers/media/pci/solo6x10/solo6x10-p2m.c | 2 +-
3440 drivers/media/pci/solo6x10/solo6x10.h | 2 +-
3441 drivers/media/pci/tw68/tw68-core.c | 2 +-
3442 drivers/media/platform/omap/omap_vout.c | 11 +-
3443 drivers/media/platform/s5p-tv/mixer.h | 2 +-
3444 drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +-
3445 drivers/media/platform/s5p-tv/mixer_reg.c | 2 +-
3446 drivers/media/platform/s5p-tv/mixer_video.c | 24 +-
3447 drivers/media/platform/s5p-tv/mixer_vp_layer.c | 2 +-
3448 drivers/media/radio/radio-cadet.c | 2 +
3449 drivers/media/radio/radio-maxiradio.c | 2 +-
3450 drivers/media/radio/radio-shark.c | 2 +-
3451 drivers/media/radio/radio-shark2.c | 2 +-
3452 drivers/media/radio/radio-si476x.c | 2 +-
3453 drivers/media/radio/wl128x/fmdrv_common.c | 2 +-
3454 drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 12 +-
3455 drivers/media/v4l2-core/v4l2-device.c | 4 +-
3456 drivers/media/v4l2-core/v4l2-ioctl.c | 13 +-
3457 drivers/memory/omap-gpmc.c | 21 +-
3458 drivers/message/fusion/mptsas.c | 34 +-
3459 drivers/mfd/ab8500-debugfs.c | 2 +-
3460 drivers/mfd/kempld-core.c | 2 +-
3461 drivers/mfd/max8925-i2c.c | 2 +-
3462 drivers/mfd/tps65910.c | 2 +-
3463 drivers/mfd/twl4030-irq.c | 9 +-
3464 drivers/misc/c2port/core.c | 4 +-
3465 drivers/misc/eeprom/sunxi_sid.c | 4 +-
3466 drivers/misc/kgdbts.c | 4 +-
3467 drivers/misc/lis3lv02d/lis3lv02d.c | 8 +-
3468 drivers/misc/lis3lv02d/lis3lv02d.h | 2 +-
3469 drivers/misc/sgi-gru/gruhandles.c | 4 +-
3470 drivers/misc/sgi-gru/gruprocfs.c | 8 +-
3471 drivers/misc/sgi-gru/grutables.h | 154 +-
3472 drivers/misc/sgi-xp/xp.h | 2 +-
3473 drivers/misc/sgi-xp/xpc.h | 3 +-
3474 drivers/misc/sgi-xp/xpc_main.c | 2 +-
3475 drivers/mmc/card/block.c | 2 +-
3476 drivers/mmc/host/dw_mmc.h | 2 +-
3477 drivers/mmc/host/mmci.c | 4 +-
3478 drivers/mmc/host/omap_hsmmc.c | 4 +-
3479 drivers/mmc/host/sdhci-esdhc-imx.c | 7 +-
3480 drivers/mmc/host/sdhci-s3c.c | 8 +-
3481 drivers/mtd/chips/cfi_cmdset_0020.c | 2 +-
3482 drivers/mtd/nand/denali.c | 1 +
3483 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
3484 drivers/mtd/nftlmount.c | 1 +
3485 drivers/mtd/sm_ftl.c | 2 +-
3486 drivers/net/bonding/bond_netlink.c | 2 +-
3487 drivers/net/caif/caif_hsi.c | 2 +-
3488 drivers/net/can/Kconfig | 2 +-
3489 drivers/net/can/dev.c | 2 +-
3490 drivers/net/can/vcan.c | 2 +-
3491 drivers/net/dummy.c | 2 +-
3492 drivers/net/ethernet/8390/ax88796.c | 4 +-
3493 drivers/net/ethernet/altera/altera_tse_main.c | 4 +-
3494 drivers/net/ethernet/amd/xgbe/xgbe-common.h | 4 +-
3495 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c | 4 +-
3496 drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 27 +-
3497 drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 141 +-
3498 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 58 +-
3499 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 6 +-
3500 drivers/net/ethernet/amd/xgbe/xgbe-main.c | 11 +-
3501 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 4 +-
3502 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 4 +-
3503 drivers/net/ethernet/amd/xgbe/xgbe.h | 7 +-
3504 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +-
3505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 11 +-
3506 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 3 +-
3507 drivers/net/ethernet/broadcom/tg3.h | 1 +
3508 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
3509 drivers/net/ethernet/dec/tulip/de4x5.c | 4 +-
3510 drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
3511 drivers/net/ethernet/faraday/ftgmac100.c | 2 +
3512 drivers/net/ethernet/faraday/ftmac100.c | 2 +
3513 drivers/net/ethernet/intel/i40e/i40e_ptp.c | 2 +-
3514 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 2 +-
3515 drivers/net/ethernet/mellanox/mlx4/en_tx.c | 4 +-
3516 drivers/net/ethernet/neterion/vxge/vxge-config.c | 7 +-
3517 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 4 +-
3518 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c | 12 +-
3519 .../net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 2 +-
3520 drivers/net/ethernet/realtek/r8169.c | 8 +-
3521 drivers/net/ethernet/sfc/ptp.c | 2 +-
3522 drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 +-
3523 drivers/net/ethernet/via/via-rhine.c | 2 +-
3524 drivers/net/hyperv/hyperv_net.h | 2 +-
3525 drivers/net/hyperv/rndis_filter.c | 4 +-
3526 drivers/net/ifb.c | 2 +-
3527 drivers/net/macvlan.c | 20 +-
3528 drivers/net/macvtap.c | 6 +-
3529 drivers/net/nlmon.c | 2 +-
3530 drivers/net/phy/phy_device.c | 6 +-
3531 drivers/net/ppp/ppp_generic.c | 4 +-
3532 drivers/net/slip/slhc.c | 2 +-
3533 drivers/net/team/team.c | 4 +-
3534 drivers/net/tun.c | 7 +-
3535 drivers/net/usb/hso.c | 23 +-
3536 drivers/net/usb/r8152.c | 2 +-
3537 drivers/net/usb/sierra_net.c | 4 +-
3538 drivers/net/virtio_net.c | 2 +-
3539 drivers/net/vxlan.c | 4 +-
3540 drivers/net/wimax/i2400m/rx.c | 2 +-
3541 drivers/net/wireless/airo.c | 2 +-
3542 drivers/net/wireless/at76c50x-usb.c | 2 +-
3543 drivers/net/wireless/ath/ath10k/htc.c | 7 +-
3544 drivers/net/wireless/ath/ath10k/htc.h | 4 +-
3545 drivers/net/wireless/ath/ath9k/ar9002_mac.c | 36 +-
3546 drivers/net/wireless/ath/ath9k/ar9003_mac.c | 64 +-
3547 drivers/net/wireless/ath/ath9k/hw.h | 4 +-
3548 drivers/net/wireless/ath/ath9k/main.c | 22 +-
3549 drivers/net/wireless/b43/phy_lp.c | 2 +-
3550 drivers/net/wireless/iwlegacy/3945-mac.c | 4 +-
3551 drivers/net/wireless/iwlwifi/dvm/debugfs.c | 34 +-
3552 drivers/net/wireless/iwlwifi/pcie/trans.c | 4 +-
3553 drivers/net/wireless/mac80211_hwsim.c | 28 +-
3554 drivers/net/wireless/rndis_wlan.c | 2 +-
3555 drivers/net/wireless/rt2x00/rt2x00.h | 2 +-
3556 drivers/net/wireless/rt2x00/rt2x00queue.c | 4 +-
3557 drivers/net/wireless/ti/wl1251/sdio.c | 12 +-
3558 drivers/net/wireless/ti/wl12xx/main.c | 8 +-
3559 drivers/net/wireless/ti/wl18xx/main.c | 6 +-
3560 drivers/nfc/nfcwilink.c | 2 +-
3561 drivers/of/fdt.c | 4 +-
3562 drivers/oprofile/buffer_sync.c | 8 +-
3563 drivers/oprofile/event_buffer.c | 2 +-
3564 drivers/oprofile/oprof.c | 2 +-
3565 drivers/oprofile/oprofile_files.c | 2 +-
3566 drivers/oprofile/oprofile_stats.c | 10 +-
3567 drivers/oprofile/oprofile_stats.h | 10 +-
3568 drivers/oprofile/oprofilefs.c | 6 +-
3569 drivers/oprofile/timer_int.c | 2 +-
3570 drivers/parport/procfs.c | 4 +-
3571 drivers/pci/host/pci-host-generic.c | 24 +-
3572 drivers/pci/hotplug/acpiphp_ibm.c | 4 +-
3573 drivers/pci/hotplug/cpcihp_generic.c | 6 +-
3574 drivers/pci/hotplug/cpcihp_zt5550.c | 14 +-
3575 drivers/pci/hotplug/cpqphp_nvram.c | 2 +
3576 drivers/pci/hotplug/pci_hotplug_core.c | 6 +-
3577 drivers/pci/hotplug/pciehp_core.c | 2 +-
3578 drivers/pci/msi.c | 6 +-
3579 drivers/pci/pci-sysfs.c | 6 +-
3580 drivers/pci/pci.h | 2 +-
3581 drivers/pci/pcie/aspm.c | 6 +-
3582 drivers/pci/pcie/portdrv_pci.c | 2 +-
3583 drivers/pci/probe.c | 2 +-
3584 drivers/platform/chrome/chromeos_pstore.c | 2 +-
3585 drivers/platform/x86/alienware-wmi.c | 4 +-
3586 drivers/platform/x86/compal-laptop.c | 2 +-
3587 drivers/platform/x86/hdaps.c | 2 +-
3588 drivers/platform/x86/ibm_rtl.c | 2 +-
3589 drivers/platform/x86/intel_oaktrail.c | 2 +-
3590 drivers/platform/x86/msi-laptop.c | 16 +-
3591 drivers/platform/x86/msi-wmi.c | 2 +-
3592 drivers/platform/x86/samsung-laptop.c | 2 +-
3593 drivers/platform/x86/samsung-q10.c | 2 +-
3594 drivers/platform/x86/sony-laptop.c | 14 +-
3595 drivers/platform/x86/thinkpad_acpi.c | 2 +-
3596 drivers/pnp/pnpbios/bioscalls.c | 14 +-
3597 drivers/pnp/pnpbios/core.c | 2 +-
3598 drivers/power/pda_power.c | 7 +-
3599 drivers/power/power_supply.h | 4 +-
3600 drivers/power/power_supply_core.c | 7 +-
3601 drivers/power/power_supply_sysfs.c | 6 +-
3602 drivers/powercap/powercap_sys.c | 136 +-
3603 drivers/ptp/ptp_private.h | 2 +-
3604 drivers/ptp/ptp_sysfs.c | 2 +-
3605 drivers/regulator/core.c | 4 +-
3606 drivers/regulator/max8660.c | 6 +-
3607 drivers/regulator/max8973-regulator.c | 8 +-
3608 drivers/regulator/mc13892-regulator.c | 8 +-
3609 drivers/rtc/rtc-cmos.c | 4 +-
3610 drivers/rtc/rtc-ds1307.c | 2 +-
3611 drivers/rtc/rtc-m48t59.c | 4 +-
3612 drivers/scsi/bfa/bfa_fcpim.h | 2 +-
3613 drivers/scsi/bfa/bfa_ioc.h | 4 +-
3614 drivers/scsi/fcoe/fcoe_sysfs.c | 12 +-
3615 drivers/scsi/hosts.c | 4 +-
3616 drivers/scsi/hpsa.c | 36 +-
3617 drivers/scsi/hpsa.h | 2 +-
3618 drivers/scsi/libfc/fc_exch.c | 50 +-
3619 drivers/scsi/libsas/sas_ata.c | 2 +-
3620 drivers/scsi/lpfc/lpfc.h | 8 +-
3621 drivers/scsi/lpfc/lpfc_debugfs.c | 18 +-
3622 drivers/scsi/lpfc/lpfc_init.c | 6 +-
3623 drivers/scsi/lpfc/lpfc_scsi.c | 10 +-
3624 drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 +-
3625 drivers/scsi/pmcraid.c | 20 +-
3626 drivers/scsi/pmcraid.h | 8 +-
3627 drivers/scsi/qla2xxx/qla_attr.c | 4 +-
3628 drivers/scsi/qla2xxx/qla_gbl.h | 4 +-
3629 drivers/scsi/qla2xxx/qla_os.c | 6 +-
3630 drivers/scsi/qla4xxx/ql4_def.h | 2 +-
3631 drivers/scsi/qla4xxx/ql4_os.c | 6 +-
3632 drivers/scsi/scsi.c | 2 +-
3633 drivers/scsi/scsi_lib.c | 8 +-
3634 drivers/scsi/scsi_sysfs.c | 2 +-
3635 drivers/scsi/scsi_transport_fc.c | 8 +-
3636 drivers/scsi/scsi_transport_iscsi.c | 6 +-
3637 drivers/scsi/scsi_transport_srp.c | 6 +-
3638 drivers/scsi/sd.c | 6 +-
3639 drivers/scsi/sg.c | 2 +-
3640 drivers/scsi/sr.c | 8 +-
3641 drivers/soc/tegra/fuse/fuse-tegra.c | 2 +-
3642 drivers/spi/spi.c | 2 +-
3643 drivers/staging/android/timed_output.c | 6 +-
3644 drivers/staging/comedi/comedi_fops.c | 8 +-
3645 drivers/staging/fbtft/fbtft-core.c | 2 +-
3646 drivers/staging/fbtft/fbtft.h | 2 +-
3647 drivers/staging/gdm724x/gdm_tty.c | 2 +-
3648 drivers/staging/i2o/i2o.h | 2 +-
3649 drivers/staging/i2o/i2o_proc.c | 67 +-
3650 drivers/staging/i2o/iop.c | 8 +-
3651 drivers/staging/lustre/lnet/selftest/brw_test.c | 12 +-
3652 drivers/staging/lustre/lnet/selftest/framework.c | 4 -
3653 drivers/staging/lustre/lnet/selftest/ping_test.c | 14 +-
3654 drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +-
3655 drivers/staging/lustre/lustre/include/obd.h | 2 +-
3656 drivers/staging/lustre/lustre/libcfs/module.c | 6 +-
3657 drivers/staging/octeon/ethernet-rx.c | 12 +-
3658 drivers/staging/octeon/ethernet.c | 8 +-
3659 drivers/staging/rtl8188eu/include/hal_intf.h | 2 +-
3660 drivers/staging/rtl8712/rtl871x_io.h | 2 +-
3661 drivers/staging/unisys/visorchipset/visorchipset.h | 4 +-
3662 drivers/target/sbp/sbp_target.c | 4 +-
3663 drivers/target/target_core_device.c | 2 +-
3664 drivers/target/target_core_transport.c | 2 +-
3665 drivers/thermal/int340x_thermal/int3400_thermal.c | 6 +-
3666 drivers/thermal/of-thermal.c | 17 +-
3667 drivers/thermal/x86_pkg_temp_thermal.c | 2 +-
3668 drivers/tty/cyclades.c | 6 +-
3669 drivers/tty/hvc/hvc_console.c | 14 +-
3670 drivers/tty/hvc/hvcs.c | 21 +-
3671 drivers/tty/hvc/hvsi.c | 22 +-
3672 drivers/tty/hvc/hvsi_lib.c | 4 +-
3673 drivers/tty/ipwireless/tty.c | 27 +-
3674 drivers/tty/moxa.c | 2 +-
3675 drivers/tty/n_gsm.c | 4 +-
3676 drivers/tty/n_tty.c | 5 +-
3677 drivers/tty/pty.c | 4 +-
3678 drivers/tty/rocket.c | 6 +-
3679 drivers/tty/serial/8250/8250_core.c | 4 +-
3680 drivers/tty/serial/ioc4_serial.c | 6 +-
3681 drivers/tty/serial/kgdb_nmi.c | 4 +-
3682 drivers/tty/serial/kgdboc.c | 32 +-
3683 drivers/tty/serial/msm_serial.c | 4 +-
3684 drivers/tty/serial/samsung.c | 9 +-
3685 drivers/tty/serial/serial_core.c | 8 +-
3686 drivers/tty/synclink.c | 34 +-
3687 drivers/tty/synclink_gt.c | 28 +-
3688 drivers/tty/synclinkmp.c | 34 +-
3689 drivers/tty/tty_io.c | 2 +-
3690 drivers/tty/tty_ldisc.c | 8 +-
3691 drivers/tty/tty_port.c | 22 +-
3692 drivers/uio/uio.c | 13 +-
3693 drivers/usb/atm/cxacru.c | 2 +-
3694 drivers/usb/atm/usbatm.c | 24 +-
3695 drivers/usb/core/devices.c | 6 +-
3696 drivers/usb/core/devio.c | 10 +-
3697 drivers/usb/core/hcd.c | 4 +-
3698 drivers/usb/core/message.c | 6 +-
3699 drivers/usb/core/sysfs.c | 2 +-
3700 drivers/usb/core/usb.c | 2 +-
3701 drivers/usb/early/ehci-dbgp.c | 16 +-
3702 drivers/usb/gadget/function/u_serial.c | 22 +-
3703 drivers/usb/host/ehci-hub.c | 4 +-
3704 drivers/usb/misc/appledisplay.c | 4 +-
3705 drivers/usb/serial/console.c | 8 +-
3706 drivers/usb/storage/usb.h | 2 +-
3707 drivers/usb/usbip/vhci.h | 2 +-
3708 drivers/usb/usbip/vhci_hcd.c | 6 +-
3709 drivers/usb/usbip/vhci_rx.c | 2 +-
3710 drivers/usb/wusbcore/wa-hc.h | 4 +-
3711 drivers/usb/wusbcore/wa-xfer.c | 2 +-
3712 drivers/vfio/vfio.c | 2 +-
3713 drivers/vhost/vringh.c | 20 +-
3714 drivers/video/backlight/kb3886_bl.c | 2 +-
3715 drivers/video/fbdev/aty/aty128fb.c | 2 +-
3716 drivers/video/fbdev/aty/atyfb_base.c | 8 +-
3717 drivers/video/fbdev/aty/mach64_cursor.c | 5 +-
3718 drivers/video/fbdev/core/fb_defio.c | 6 +-
3719 drivers/video/fbdev/core/fbmem.c | 2 +-
3720 drivers/video/fbdev/hyperv_fb.c | 4 +-
3721 drivers/video/fbdev/i810/i810_accel.c | 1 +
3722 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 16 +-
3723 drivers/video/fbdev/nvidia/nvidia.c | 27 +-
3724 drivers/video/fbdev/omap2/dss/display.c | 8 +-
3725 drivers/video/fbdev/s1d13xxxfb.c | 6 +-
3726 drivers/video/fbdev/smscufx.c | 4 +-
3727 drivers/video/fbdev/udlfb.c | 36 +-
3728 drivers/video/fbdev/uvesafb.c | 52 +-
3729 drivers/video/fbdev/vesafb.c | 58 +-
3730 drivers/video/fbdev/via/via_clock.h | 2 +-
3731 drivers/xen/events/events_base.c | 6 +-
3732 fs/9p/vfs_inode.c | 2 +-
3733 fs/Kconfig.binfmt | 2 +-
3734 fs/afs/inode.c | 4 +-
3735 fs/aio.c | 2 +-
3736 fs/autofs4/waitq.c | 2 +-
3737 fs/befs/endian.h | 6 +-
3738 fs/binfmt_aout.c | 23 +-
3739 fs/binfmt_elf.c | 670 +-
3740 fs/block_dev.c | 2 +-
3741 fs/btrfs/ctree.c | 9 +-
3742 fs/btrfs/delayed-inode.c | 6 +-
3743 fs/btrfs/delayed-inode.h | 4 +-
3744 fs/btrfs/super.c | 2 +-
3745 fs/btrfs/sysfs.c | 2 +-
3746 fs/btrfs/tests/free-space-tests.c | 8 +-
3747 fs/btrfs/tree-log.h | 2 +-
3748 fs/buffer.c | 2 +-
3749 fs/cachefiles/bind.c | 6 +-
3750 fs/cachefiles/daemon.c | 8 +-
3751 fs/cachefiles/internal.h | 12 +-
3752 fs/cachefiles/namei.c | 2 +-
3753 fs/cachefiles/proc.c | 12 +-
3754 fs/ceph/dir.c | 11 +-
3755 fs/ceph/super.c | 4 +-
3756 fs/cifs/cifs_debug.c | 12 +-
3757 fs/cifs/cifsfs.c | 8 +-
3758 fs/cifs/cifsglob.h | 54 +-
3759 fs/cifs/file.c | 10 +-
3760 fs/cifs/misc.c | 4 +-
3761 fs/cifs/smb1ops.c | 80 +-
3762 fs/cifs/smb2ops.c | 84 +-
3763 fs/cifs/smb2pdu.c | 3 +-
3764 fs/coda/cache.c | 10 +-
3765 fs/compat.c | 4 +-
3766 fs/compat_binfmt_elf.c | 2 +
3767 fs/compat_ioctl.c | 12 +-
3768 fs/configfs/dir.c | 10 +-
3769 fs/coredump.c | 16 +-
3770 fs/dcache.c | 51 +-
3771 fs/ecryptfs/inode.c | 2 +-
3772 fs/ecryptfs/miscdev.c | 2 +-
3773 fs/exec.c | 362 +-
3774 fs/ext2/xattr.c | 5 +-
3775 fs/ext3/xattr.c | 5 +-
3776 fs/ext4/ext4.h | 20 +-
3777 fs/ext4/mballoc.c | 44 +-
3778 fs/ext4/mmp.c | 2 +-
3779 fs/ext4/resize.c | 16 +-
3780 fs/ext4/super.c | 4 +-
3781 fs/ext4/xattr.c | 5 +-
3782 fs/fhandle.c | 3 +-
3783 fs/file.c | 4 +-
3784 fs/fs_struct.c | 8 +-
3785 fs/fscache/cookie.c | 40 +-
3786 fs/fscache/internal.h | 200 +-
3787 fs/fscache/object.c | 26 +-
3788 fs/fscache/operation.c | 30 +-
3789 fs/fscache/page.c | 110 +-
3790 fs/fscache/stats.c | 344 +-
3791 fs/fuse/cuse.c | 10 +-
3792 fs/fuse/dev.c | 4 +-
3793 fs/fuse/dir.c | 2 +-
3794 fs/gfs2/glock.c | 22 +-
3795 fs/gfs2/glops.c | 4 +-
3796 fs/gfs2/quota.c | 6 +-
3797 fs/hostfs/hostfs_kern.c | 2 +-
3798 fs/hugetlbfs/inode.c | 13 +-
3799 fs/inode.c | 4 +-
3800 fs/jffs2/erase.c | 3 +-
3801 fs/jffs2/wbuf.c | 3 +-
3802 fs/jfs/super.c | 2 +-
3803 fs/kernfs/dir.c | 2 +-
3804 fs/kernfs/file.c | 20 +-
3805 fs/kernfs/symlink.c | 2 +-
3806 fs/libfs.c | 12 +-
3807 fs/lockd/clntproc.c | 4 +-
3808 fs/namei.c | 24 +-
3809 fs/namespace.c | 16 +-
3810 fs/nfs/callback_xdr.c | 2 +-
3811 fs/nfs/inode.c | 6 +-
3812 fs/nfsd/nfs4proc.c | 2 +-
3813 fs/nfsd/nfs4xdr.c | 2 +-
3814 fs/nfsd/nfscache.c | 11 +-
3815 fs/nfsd/vfs.c | 6 +-
3816 fs/nls/nls_base.c | 26 +-
3817 fs/nls/nls_euc-jp.c | 6 +-
3818 fs/nls/nls_koi8-ru.c | 6 +-
3819 fs/notify/fanotify/fanotify_user.c | 4 +-
3820 fs/notify/notification.c | 4 +-
3821 fs/ntfs/dir.c | 2 +-
3822 fs/ntfs/super.c | 6 +-
3823 fs/ocfs2/localalloc.c | 2 +-
3824 fs/ocfs2/ocfs2.h | 10 +-
3825 fs/ocfs2/suballoc.c | 12 +-
3826 fs/ocfs2/super.c | 20 +-
3827 fs/pipe.c | 72 +-
3828 fs/posix_acl.c | 4 +-
3829 fs/proc/array.c | 20 +
3830 fs/proc/base.c | 4 +-
3831 fs/proc/kcore.c | 34 +-
3832 fs/proc/meminfo.c | 2 +-
3833 fs/proc/nommu.c | 2 +-
3834 fs/proc/proc_sysctl.c | 18 +-
3835 fs/proc/task_mmu.c | 39 +-
3836 fs/proc/task_nommu.c | 4 +-
3837 fs/proc/vmcore.c | 16 +-
3838 fs/qnx6/qnx6.h | 4 +-
3839 fs/quota/netlink.c | 4 +-
3840 fs/read_write.c | 2 +-
3841 fs/reiserfs/do_balan.c | 2 +-
3842 fs/reiserfs/procfs.c | 2 +-
3843 fs/reiserfs/reiserfs.h | 4 +-
3844 fs/seq_file.c | 4 +-
3845 fs/splice.c | 43 +-
3846 fs/squashfs/xattr.c | 12 +-
3847 fs/sysv/sysv.h | 2 +-
3848 fs/ubifs/io.c | 2 +-
3849 fs/udf/misc.c | 2 +-
3850 fs/ufs/swab.h | 4 +-
3851 fs/xattr.c | 21 +
3852 fs/xfs/libxfs/xfs_bmap.c | 2 +-
3853 fs/xfs/xfs_dir2_readdir.c | 7 +-
3854 fs/xfs/xfs_ioctl.c | 2 +-
3855 fs/xfs/xfs_linux.h | 4 +-
3856 include/asm-generic/4level-fixup.h | 2 +
3857 include/asm-generic/atomic-long.h | 214 +-
3858 include/asm-generic/atomic64.h | 12 +
3859 include/asm-generic/barrier.h | 2 +-
3860 include/asm-generic/bitops/__fls.h | 2 +-
3861 include/asm-generic/bitops/fls.h | 2 +-
3862 include/asm-generic/bitops/fls64.h | 4 +-
3863 include/asm-generic/bug.h | 6 +-
3864 include/asm-generic/cache.h | 4 +-
3865 include/asm-generic/emergency-restart.h | 2 +-
3866 include/asm-generic/kmap_types.h | 4 +-
3867 include/asm-generic/local.h | 13 +
3868 include/asm-generic/pgtable-nopmd.h | 18 +-
3869 include/asm-generic/pgtable-nopud.h | 15 +-
3870 include/asm-generic/pgtable.h | 16 +
3871 include/asm-generic/uaccess.h | 16 +
3872 include/asm-generic/vmlinux.lds.h | 13 +-
3873 include/crypto/algapi.h | 2 +-
3874 include/drm/drmP.h | 16 +-
3875 include/drm/drm_crtc_helper.h | 2 +-
3876 include/drm/i915_pciids.h | 2 +-
3877 include/drm/ttm/ttm_memory.h | 2 +-
3878 include/drm/ttm/ttm_page_alloc.h | 1 +
3879 include/keys/asymmetric-subtype.h | 2 +-
3880 include/linux/atmdev.h | 4 +-
3881 include/linux/atomic.h | 2 +-
3882 include/linux/audit.h | 2 +-
3883 include/linux/binfmts.h | 3 +-
3884 include/linux/bitmap.h | 2 +-
3885 include/linux/bitops.h | 6 +-
3886 include/linux/blkdev.h | 2 +-
3887 include/linux/blktrace_api.h | 2 +-
3888 include/linux/cache.h | 8 +
3889 include/linux/cdrom.h | 1 -
3890 include/linux/cleancache.h | 2 +-
3891 include/linux/clk-provider.h | 1 +
3892 include/linux/compat.h | 6 +-
3893 include/linux/compiler-gcc.h | 4 +-
3894 include/linux/compiler-gcc4.h | 24 +
3895 include/linux/compiler-gcc5.h | 23 +
3896 include/linux/compiler.h | 93 +-
3897 include/linux/completion.h | 12 +-
3898 include/linux/configfs.h | 2 +-
3899 include/linux/cpufreq.h | 3 +-
3900 include/linux/cpuidle.h | 5 +-
3901 include/linux/cpumask.h | 14 +-
3902 include/linux/crypto.h | 6 +-
3903 include/linux/ctype.h | 2 +-
3904 include/linux/dcache.h | 4 +-
3905 include/linux/decompress/mm.h | 2 +-
3906 include/linux/devfreq.h | 2 +-
3907 include/linux/device.h | 7 +-
3908 include/linux/dma-mapping.h | 2 +-
3909 include/linux/efi.h | 1 +
3910 include/linux/elf.h | 2 +
3911 include/linux/err.h | 4 +-
3912 include/linux/extcon.h | 2 +-
3913 include/linux/fb.h | 3 +-
3914 include/linux/fdtable.h | 2 +-
3915 include/linux/frontswap.h | 2 +-
3916 include/linux/fs.h | 5 +-
3917 include/linux/fs_struct.h | 2 +-
3918 include/linux/fscache-cache.h | 4 +-
3919 include/linux/fscache.h | 2 +-
3920 include/linux/fsnotify.h | 2 +-
3921 include/linux/genhd.h | 4 +-
3922 include/linux/genl_magic_func.h | 2 +-
3923 include/linux/gfp.h | 12 +-
3924 include/linux/highmem.h | 12 +
3925 include/linux/hwmon-sysfs.h | 6 +-
3926 include/linux/i2c.h | 1 +
3927 include/linux/if_pppox.h | 2 +-
3928 include/linux/init.h | 12 +-
3929 include/linux/init_task.h | 7 +
3930 include/linux/interrupt.h | 6 +-
3931 include/linux/iommu.h | 2 +-
3932 include/linux/ioport.h | 2 +-
3933 include/linux/irq.h | 3 +-
3934 include/linux/irqdesc.h | 2 +-
3935 include/linux/irqdomain.h | 1 +
3936 include/linux/jiffies.h | 14 +-
3937 include/linux/kernel.h | 2 +-
3938 include/linux/key-type.h | 2 +-
3939 include/linux/kgdb.h | 6 +-
3940 include/linux/kmemleak.h | 4 +-
3941 include/linux/kobject.h | 3 +-
3942 include/linux/kobject_ns.h | 2 +-
3943 include/linux/kref.h | 2 +-
3944 include/linux/kvm_host.h | 4 +-
3945 include/linux/libata.h | 2 +-
3946 include/linux/linkage.h | 1 +
3947 include/linux/list.h | 15 +
3948 include/linux/lockref.h | 26 +-
3949 include/linux/math64.h | 10 +-
3950 include/linux/mempolicy.h | 7 +
3951 include/linux/mm.h | 104 +-
3952 include/linux/mm_types.h | 20 +
3953 include/linux/mmiotrace.h | 4 +-
3954 include/linux/mmzone.h | 2 +-
3955 include/linux/mod_devicetable.h | 4 +-
3956 include/linux/module.h | 60 +-
3957 include/linux/moduleloader.h | 16 +
3958 include/linux/moduleparam.h | 4 +-
3959 include/linux/namei.h | 4 +-
3960 include/linux/net.h | 2 +-
3961 include/linux/netdevice.h | 7 +-
3962 include/linux/netfilter.h | 2 +-
3963 include/linux/netfilter/nfnetlink.h | 2 +-
3964 include/linux/nls.h | 4 +-
3965 include/linux/notifier.h | 3 +-
3966 include/linux/oprofile.h | 4 +-
3967 include/linux/padata.h | 2 +-
3968 include/linux/pci_hotplug.h | 3 +-
3969 include/linux/percpu.h | 2 +-
3970 include/linux/perf_event.h | 12 +-
3971 include/linux/pipe_fs_i.h | 8 +-
3972 include/linux/pm.h | 1 +
3973 include/linux/pm_domain.h | 4 +-
3974 include/linux/pm_runtime.h | 2 +-
3975 include/linux/pnp.h | 2 +-
3976 include/linux/poison.h | 4 +-
3977 include/linux/power/smartreflex.h | 2 +-
3978 include/linux/ppp-comp.h | 2 +-
3979 include/linux/preempt.h | 21 +
3980 include/linux/proc_ns.h | 2 +-
3981 include/linux/quota.h | 2 +-
3982 include/linux/random.h | 23 +-
3983 include/linux/rculist.h | 20 +-
3984 include/linux/rcupdate.h | 2 +-
3985 include/linux/reboot.h | 14 +-
3986 include/linux/regset.h | 3 +-
3987 include/linux/relay.h | 2 +-
3988 include/linux/rio.h | 2 +-
3989 include/linux/rmap.h | 4 +-
3990 include/linux/sched.h | 70 +-
3991 include/linux/sched/sysctl.h | 1 +
3992 include/linux/security.h | 2 -
3993 include/linux/semaphore.h | 2 +-
3994 include/linux/seq_file.h | 1 +
3995 include/linux/signal.h | 2 +-
3996 include/linux/skbuff.h | 10 +-
3997 include/linux/slab.h | 47 +-
3998 include/linux/slab_def.h | 14 +-
3999 include/linux/slub_def.h | 2 +-
4000 include/linux/smp.h | 2 +
4001 include/linux/sock_diag.h | 2 +-
4002 include/linux/sonet.h | 2 +-
4003 include/linux/sunrpc/addr.h | 8 +-
4004 include/linux/sunrpc/clnt.h | 2 +-
4005 include/linux/sunrpc/svc.h | 2 +-
4006 include/linux/sunrpc/svc_rdma.h | 18 +-
4007 include/linux/sunrpc/svcauth.h | 2 +-
4008 include/linux/swiotlb.h | 3 +-
4009 include/linux/syscalls.h | 21 +-
4010 include/linux/syscore_ops.h | 2 +-
4011 include/linux/sysctl.h | 3 +-
4012 include/linux/sysfs.h | 9 +-
4013 include/linux/sysrq.h | 3 +-
4014 include/linux/thread_info.h | 7 +
4015 include/linux/tty.h | 4 +-
4016 include/linux/tty_driver.h | 2 +-
4017 include/linux/tty_ldisc.h | 2 +-
4018 include/linux/types.h | 16 +
4019 include/linux/uaccess.h | 6 +-
4020 include/linux/uio_driver.h | 2 +-
4021 include/linux/unaligned/access_ok.h | 24 +-
4022 include/linux/usb.h | 4 +-
4023 include/linux/usb/renesas_usbhs.h | 2 +-
4024 include/linux/vermagic.h | 21 +-
4025 include/linux/vga_switcheroo.h | 8 +-
4026 include/linux/vmalloc.h | 7 +-
4027 include/linux/vmstat.h | 24 +-
4028 include/linux/xattr.h | 5 +-
4029 include/linux/zlib.h | 3 +-
4030 include/media/v4l2-dev.h | 2 +-
4031 include/media/v4l2-device.h | 2 +-
4032 include/net/9p/transport.h | 2 +-
4033 include/net/bluetooth/l2cap.h | 2 +-
4034 include/net/bonding.h | 2 +-
4035 include/net/caif/cfctrl.h | 6 +-
4036 include/net/flow.h | 2 +-
4037 include/net/genetlink.h | 2 +-
4038 include/net/gro_cells.h | 2 +-
4039 include/net/inet_connection_sock.h | 2 +-
4040 include/net/inetpeer.h | 2 +-
4041 include/net/ip_fib.h | 2 +-
4042 include/net/ip_vs.h | 8 +-
4043 include/net/irda/ircomm_tty.h | 1 +
4044 include/net/iucv/af_iucv.h | 2 +-
4045 include/net/llc_c_ac.h | 2 +-
4046 include/net/llc_c_ev.h | 4 +-
4047 include/net/llc_c_st.h | 2 +-
4048 include/net/llc_s_ac.h | 2 +-
4049 include/net/llc_s_st.h | 2 +-
4050 include/net/mac80211.h | 2 +-
4051 include/net/neighbour.h | 2 +-
4052 include/net/net_namespace.h | 16 +-
4053 include/net/netlink.h | 2 +-
4054 include/net/netns/conntrack.h | 6 +-
4055 include/net/netns/ipv4.h | 4 +-
4056 include/net/netns/ipv6.h | 4 +-
4057 include/net/netns/xfrm.h | 2 +-
4058 include/net/ping.h | 2 +-
4059 include/net/protocol.h | 4 +-
4060 include/net/rtnetlink.h | 2 +-
4061 include/net/sctp/checksum.h | 4 +-
4062 include/net/sctp/sm.h | 4 +-
4063 include/net/sctp/structs.h | 2 +-
4064 include/net/sock.h | 10 +-
4065 include/net/tcp.h | 8 +-
4066 include/net/xfrm.h | 13 +-
4067 include/rdma/iw_cm.h | 2 +-
4068 include/scsi/libfc.h | 3 +-
4069 include/scsi/scsi_device.h | 6 +-
4070 include/scsi/scsi_driver.h | 2 +-
4071 include/scsi/scsi_transport_fc.h | 3 +-
4072 include/sound/compress_driver.h | 2 +-
4073 include/sound/soc.h | 4 +-
4074 include/target/target_core_base.h | 2 +-
4075 include/trace/events/irq.h | 4 +-
4076 include/uapi/linux/a.out.h | 8 +
4077 include/uapi/linux/bcache.h | 5 +-
4078 include/uapi/linux/byteorder/little_endian.h | 28 +-
4079 include/uapi/linux/elf.h | 28 +
4080 include/uapi/linux/screen_info.h | 3 +-
4081 include/uapi/linux/swab.h | 6 +-
4082 include/uapi/linux/xattr.h | 4 +
4083 include/video/udlfb.h | 8 +-
4084 include/video/uvesafb.h | 1 +
4085 init/Kconfig | 2 +-
4086 init/Makefile | 3 +
4087 init/do_mounts.c | 14 +-
4088 init/do_mounts.h | 8 +-
4089 init/do_mounts_initrd.c | 30 +-
4090 init/do_mounts_md.c | 6 +-
4091 init/init_task.c | 4 +
4092 init/initramfs.c | 38 +-
4093 init/main.c | 78 +-
4094 ipc/compat.c | 4 +-
4095 ipc/ipc_sysctl.c | 8 +-
4096 ipc/mq_sysctl.c | 4 +-
4097 ipc/sem.c | 4 +-
4098 ipc/shm.c | 6 +
4099 kernel/audit.c | 8 +-
4100 kernel/auditsc.c | 4 +-
4101 kernel/bpf/core.c | 7 +-
4102 kernel/capability.c | 3 +
4103 kernel/compat.c | 38 +-
4104 kernel/debug/debug_core.c | 16 +-
4105 kernel/debug/kdb/kdb_main.c | 4 +-
4106 kernel/events/core.c | 26 +-
4107 kernel/events/internal.h | 10 +-
4108 kernel/events/uprobes.c | 2 +-
4109 kernel/exit.c | 2 +-
4110 kernel/fork.c | 163 +-
4111 kernel/futex.c | 11 +-
4112 kernel/futex_compat.c | 2 +-
4113 kernel/gcov/base.c | 7 +-
4114 kernel/irq/manage.c | 2 +-
4115 kernel/irq/spurious.c | 2 +-
4116 kernel/jump_label.c | 5 +
4117 kernel/kallsyms.c | 37 +-
4118 kernel/kexec.c | 3 +-
4119 kernel/kmod.c | 8 +-
4120 kernel/kprobes.c | 4 +-
4121 kernel/ksysfs.c | 2 +-
4122 kernel/locking/lockdep.c | 7 +-
4123 kernel/locking/mutex-debug.c | 12 +-
4124 kernel/locking/mutex-debug.h | 4 +-
4125 kernel/locking/mutex.c | 6 +-
4126 kernel/locking/rtmutex-tester.c | 24 +-
4127 kernel/module.c | 357 +-
4128 kernel/notifier.c | 17 +-
4129 kernel/padata.c | 4 +-
4130 kernel/panic.c | 5 +-
4131 kernel/pid.c | 2 +-
4132 kernel/pid_namespace.c | 2 +-
4133 kernel/power/process.c | 12 +-
4134 kernel/profile.c | 14 +-
4135 kernel/ptrace.c | 8 +-
4136 kernel/rcu/rcutorture.c | 60 +-
4137 kernel/rcu/tiny.c | 4 +-
4138 kernel/rcu/tiny_plugin.h | 6 +-
4139 kernel/rcu/tree.c | 128 +-
4140 kernel/rcu/tree.h | 26 +-
4141 kernel/rcu/tree_plugin.h | 42 +-
4142 kernel/rcu/tree_trace.c | 22 +-
4143 kernel/rcu/update.c | 10 +-
4144 kernel/sched/auto_group.c | 4 +-
4145 kernel/sched/completion.c | 6 +-
4146 kernel/sched/core.c | 45 +-
4147 kernel/sched/fair.c | 4 +-
4148 kernel/sched/sched.h | 2 +-
4149 kernel/signal.c | 12 +-
4150 kernel/smpboot.c | 4 +-
4151 kernel/softirq.c | 12 +-
4152 kernel/sys.c | 10 +-
4153 kernel/sysctl.c | 34 +-
4154 kernel/time/alarmtimer.c | 2 +-
4155 kernel/time/hrtimer.c | 2 +-
4156 kernel/time/posix-cpu-timers.c | 4 +-
4157 kernel/time/posix-timers.c | 24 +-
4158 kernel/time/timer.c | 4 +-
4159 kernel/time/timer_stats.c | 10 +-
4160 kernel/torture.c | 10 +-
4161 kernel/trace/blktrace.c | 6 +-
4162 kernel/trace/ftrace.c | 15 +-
4163 kernel/trace/ring_buffer.c | 96 +-
4164 kernel/trace/trace.c | 2 +-
4165 kernel/trace/trace.h | 2 +-
4166 kernel/trace/trace_clock.c | 4 +-
4167 kernel/trace/trace_events.c | 1 -
4168 kernel/trace/trace_functions_graph.c | 4 +-
4169 kernel/trace/trace_mmiotrace.c | 8 +-
4170 kernel/trace/trace_output.c | 10 +-
4171 kernel/trace/trace_seq.c | 2 +-
4172 kernel/trace/trace_stack.c | 2 +-
4173 kernel/user_namespace.c | 2 +-
4174 kernel/utsname_sysctl.c | 2 +-
4175 kernel/watchdog.c | 2 +-
4176 kernel/workqueue.c | 2 +-
4177 lib/Kconfig.debug | 8 +-
4178 lib/Makefile | 2 +-
4179 lib/average.c | 2 +-
4180 lib/bitmap.c | 10 +-
4181 lib/bug.c | 2 +
4182 lib/debugobjects.c | 2 +-
4183 lib/decompress_bunzip2.c | 3 +-
4184 lib/decompress_unlzma.c | 4 +-
4185 lib/div64.c | 4 +-
4186 lib/dma-debug.c | 4 +-
4187 lib/inflate.c | 2 +-
4188 lib/ioremap.c | 4 +-
4189 lib/kobject.c | 4 +-
4190 lib/list_debug.c | 126 +-
4191 lib/lockref.c | 44 +-
4192 lib/percpu-refcount.c | 2 +-
4193 lib/radix-tree.c | 2 +-
4194 lib/random32.c | 2 +-
4195 lib/show_mem.c | 2 +-
4196 lib/strncpy_from_user.c | 2 +-
4197 lib/strnlen_user.c | 2 +-
4198 lib/swiotlb.c | 2 +-
4199 lib/test-hexdump.c | 6 +-
4200 lib/usercopy.c | 6 +
4201 lib/vsprintf.c | 12 +-
4202 mm/Kconfig | 6 +-
4203 mm/backing-dev.c | 4 +-
4204 mm/filemap.c | 2 +-
4205 mm/gup.c | 13 +-
4206 mm/highmem.c | 7 +-
4207 mm/hugetlb.c | 70 +-
4208 mm/internal.h | 3 +-
4209 mm/maccess.c | 4 +-
4210 mm/madvise.c | 37 +
4211 mm/memory-failure.c | 30 +-
4212 mm/memory.c | 410 +-
4213 mm/mempolicy.c | 25 +
4214 mm/mlock.c | 15 +-
4215 mm/mm_init.c | 2 +-
4216 mm/mmap.c | 582 +-
4217 mm/mprotect.c | 137 +-
4218 mm/mremap.c | 44 +-
4219 mm/nommu.c | 21 +-
4220 mm/page-writeback.c | 2 +-
4221 mm/page_alloc.c | 48 +-
4222 mm/percpu.c | 2 +-
4223 mm/process_vm_access.c | 14 +-
4224 mm/rmap.c | 45 +-
4225 mm/shmem.c | 19 +-
4226 mm/slab.c | 109 +-
4227 mm/slab.h | 22 +-
4228 mm/slab_common.c | 86 +-
4229 mm/slob.c | 218 +-
4230 mm/slub.c | 101 +-
4231 mm/sparse-vmemmap.c | 4 +-
4232 mm/sparse.c | 2 +-
4233 mm/swap.c | 2 +
4234 mm/swapfile.c | 12 +-
4235 mm/util.c | 6 +
4236 mm/vmalloc.c | 112 +-
4237 mm/vmstat.c | 12 +-
4238 net/8021q/vlan.c | 5 +-
4239 net/8021q/vlan_netlink.c | 2 +-
4240 net/9p/mod.c | 4 +-
4241 net/9p/trans_fd.c | 2 +-
4242 net/atm/atm_misc.c | 8 +-
4243 net/atm/lec.h | 2 +-
4244 net/atm/proc.c | 6 +-
4245 net/atm/resources.c | 4 +-
4246 net/ax25/sysctl_net_ax25.c | 2 +-
4247 net/batman-adv/bat_iv_ogm.c | 8 +-
4248 net/batman-adv/fragmentation.c | 2 +-
4249 net/batman-adv/soft-interface.c | 8 +-
4250 net/batman-adv/types.h | 6 +-
4251 net/bluetooth/hci_sock.c | 2 +-
4252 net/bluetooth/l2cap_core.c | 6 +-
4253 net/bluetooth/l2cap_sock.c | 12 +-
4254 net/bluetooth/rfcomm/sock.c | 4 +-
4255 net/bluetooth/rfcomm/tty.c | 4 +-
4256 net/bridge/br_netlink.c | 2 +-
4257 net/bridge/netfilter/ebtables.c | 6 +-
4258 net/caif/cfctrl.c | 11 +-
4259 net/caif/chnl_net.c | 2 +-
4260 net/can/af_can.c | 2 +-
4261 net/can/gw.c | 6 +-
4262 net/ceph/messenger.c | 4 +-
4263 net/compat.c | 24 +-
4264 net/core/datagram.c | 2 +-
4265 net/core/dev.c | 16 +-
4266 net/core/filter.c | 2 +-
4267 net/core/flow.c | 6 +-
4268 net/core/neighbour.c | 4 +-
4269 net/core/net-sysfs.c | 2 +-
4270 net/core/net_namespace.c | 8 +-
4271 net/core/netpoll.c | 4 +-
4272 net/core/rtnetlink.c | 15 +-
4273 net/core/scm.c | 8 +-
4274 net/core/skbuff.c | 8 +-
4275 net/core/sock.c | 26 +-
4276 net/core/sock_diag.c | 9 +-
4277 net/core/sysctl_net_core.c | 22 +-
4278 net/decnet/af_decnet.c | 1 +
4279 net/decnet/sysctl_net_decnet.c | 4 +-
4280 net/hsr/hsr_netlink.c | 2 +-
4281 net/ieee802154/6lowpan/core.c | 2 +-
4282 net/ieee802154/6lowpan/reassembly.c | 14 +-
4283 net/ipv4/af_inet.c | 2 +-
4284 net/ipv4/devinet.c | 18 +-
4285 net/ipv4/fib_frontend.c | 6 +-
4286 net/ipv4/fib_semantics.c | 2 +-
4287 net/ipv4/inetpeer.c | 2 +-
4288 net/ipv4/ip_fragment.c | 15 +-
4289 net/ipv4/ip_gre.c | 6 +-
4290 net/ipv4/ip_sockglue.c | 2 +-
4291 net/ipv4/ip_vti.c | 4 +-
4292 net/ipv4/ipconfig.c | 6 +-
4293 net/ipv4/ipip.c | 4 +-
4294 net/ipv4/netfilter/arp_tables.c | 12 +-
4295 net/ipv4/netfilter/ip_tables.c | 12 +-
4296 net/ipv4/ping.c | 14 +-
4297 net/ipv4/raw.c | 14 +-
4298 net/ipv4/route.c | 32 +-
4299 net/ipv4/sysctl_net_ipv4.c | 22 +-
4300 net/ipv4/tcp_input.c | 4 +-
4301 net/ipv4/tcp_probe.c | 2 +-
4302 net/ipv4/udp.c | 10 +-
4303 net/ipv4/xfrm4_policy.c | 18 +-
4304 net/ipv6/addrconf.c | 16 +-
4305 net/ipv6/af_inet6.c | 2 +-
4306 net/ipv6/datagram.c | 2 +-
4307 net/ipv6/icmp.c | 2 +-
4308 net/ipv6/ip6_fib.c | 4 +-
4309 net/ipv6/ip6_gre.c | 10 +-
4310 net/ipv6/ip6_tunnel.c | 4 +-
4311 net/ipv6/ip6_vti.c | 4 +-
4312 net/ipv6/ipv6_sockglue.c | 2 +-
4313 net/ipv6/netfilter/ip6_tables.c | 12 +-
4314 net/ipv6/netfilter/nf_conntrack_reasm.c | 14 +-
4315 net/ipv6/ping.c | 33 +-
4316 net/ipv6/raw.c | 17 +-
4317 net/ipv6/reassembly.c | 13 +-
4318 net/ipv6/route.c | 2 +-
4319 net/ipv6/sit.c | 4 +-
4320 net/ipv6/sysctl_net_ipv6.c | 2 +-
4321 net/ipv6/udp.c | 6 +-
4322 net/ipv6/xfrm6_policy.c | 17 +-
4323 net/irda/ircomm/ircomm_tty.c | 18 +-
4324 net/iucv/af_iucv.c | 4 +-
4325 net/iucv/iucv.c | 2 +-
4326 net/key/af_key.c | 4 +-
4327 net/l2tp/l2tp_eth.c | 38 +-
4328 net/l2tp/l2tp_ip.c | 2 +-
4329 net/l2tp/l2tp_ip6.c | 2 +-
4330 net/mac80211/cfg.c | 8 +-
4331 net/mac80211/ieee80211_i.h | 3 +-
4332 net/mac80211/iface.c | 16 +-
4333 net/mac80211/main.c | 2 +-
4334 net/mac80211/pm.c | 4 +-
4335 net/mac80211/rate.c | 2 +-
4336 net/mac80211/sta_info.c | 2 +-
4337 net/mac80211/util.c | 8 +-
4338 net/mpls/af_mpls.c | 6 +-
4339 net/netfilter/ipset/ip_set_core.c | 2 +-
4340 net/netfilter/ipvs/ip_vs_conn.c | 6 +-
4341 net/netfilter/ipvs/ip_vs_core.c | 4 +-
4342 net/netfilter/ipvs/ip_vs_ctl.c | 14 +-
4343 net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
4344 net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
4345 net/netfilter/ipvs/ip_vs_sync.c | 6 +-
4346 net/netfilter/ipvs/ip_vs_xmit.c | 4 +-
4347 net/netfilter/nf_conntrack_acct.c | 2 +-
4348 net/netfilter/nf_conntrack_ecache.c | 2 +-
4349 net/netfilter/nf_conntrack_helper.c | 2 +-
4350 net/netfilter/nf_conntrack_proto.c | 2 +-
4351 net/netfilter/nf_conntrack_standalone.c | 2 +-
4352 net/netfilter/nf_conntrack_timestamp.c | 2 +-
4353 net/netfilter/nf_log.c | 10 +-
4354 net/netfilter/nf_sockopt.c | 4 +-
4355 net/netfilter/nfnetlink_log.c | 4 +-
4356 net/netfilter/nft_compat.c | 9 +-
4357 net/netfilter/xt_statistic.c | 8 +-
4358 net/netlink/af_netlink.c | 4 +-
4359 net/openvswitch/vport-internal_dev.c | 2 +-
4360 net/openvswitch/vport.c | 16 +-
4361 net/openvswitch/vport.h | 8 +-
4362 net/packet/af_packet.c | 8 +-
4363 net/phonet/pep.c | 6 +-
4364 net/phonet/socket.c | 2 +-
4365 net/phonet/sysctl.c | 2 +-
4366 net/rds/cong.c | 6 +-
4367 net/rds/ib.h | 2 +-
4368 net/rds/ib_cm.c | 2 +-
4369 net/rds/ib_recv.c | 4 +-
4370 net/rds/iw.h | 2 +-
4371 net/rds/iw_cm.c | 2 +-
4372 net/rds/iw_recv.c | 4 +-
4373 net/rds/rds.h | 2 +-
4374 net/rds/tcp.c | 2 +-
4375 net/rds/tcp_send.c | 2 +-
4376 net/rxrpc/af_rxrpc.c | 2 +-
4377 net/rxrpc/ar-ack.c | 14 +-
4378 net/rxrpc/ar-call.c | 2 +-
4379 net/rxrpc/ar-connection.c | 2 +-
4380 net/rxrpc/ar-connevent.c | 2 +-
4381 net/rxrpc/ar-input.c | 4 +-
4382 net/rxrpc/ar-internal.h | 8 +-
4383 net/rxrpc/ar-local.c | 2 +-
4384 net/rxrpc/ar-output.c | 4 +-
4385 net/rxrpc/ar-peer.c | 2 +-
4386 net/rxrpc/ar-proc.c | 4 +-
4387 net/rxrpc/ar-transport.c | 2 +-
4388 net/rxrpc/rxkad.c | 4 +-
4389 net/sched/sch_generic.c | 4 +-
4390 net/sctp/ipv6.c | 6 +-
4391 net/sctp/protocol.c | 10 +-
4392 net/sctp/sm_sideeffect.c | 2 +-
4393 net/sctp/socket.c | 21 +-
4394 net/sctp/sysctl.c | 10 +-
4395 net/socket.c | 18 +-
4396 net/sunrpc/auth_gss/svcauth_gss.c | 4 +-
4397 net/sunrpc/clnt.c | 4 +-
4398 net/sunrpc/sched.c | 4 +-
4399 net/sunrpc/svc.c | 4 +-
4400 net/sunrpc/svcauth_unix.c | 4 +-
4401 net/sunrpc/xprtrdma/svc_rdma.c | 38 +-
4402 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 8 +-
4403 net/sunrpc/xprtrdma/svc_rdma_sendto.c | 2 +-
4404 net/sunrpc/xprtrdma/svc_rdma_transport.c | 10 +-
4405 net/tipc/netlink_compat.c | 12 +-
4406 net/tipc/subscr.c | 2 +-
4407 net/unix/af_unix.c | 7 +-
4408 net/unix/sysctl_net_unix.c | 2 +-
4409 net/wireless/wext-core.c | 19 +-
4410 net/xfrm/xfrm_policy.c | 16 +-
4411 net/xfrm/xfrm_state.c | 33 +-
4412 net/xfrm/xfrm_sysctl.c | 2 +-
4413 scripts/Kbuild.include | 2 +-
4414 scripts/Makefile.build | 2 +-
4415 scripts/Makefile.clean | 3 +-
4416 scripts/Makefile.host | 63 +-
4417 scripts/basic/fixdep.c | 12 +-
4418 scripts/gcc-plugin.sh | 51 +
4419 scripts/headers_install.sh | 1 +
4420 scripts/link-vmlinux.sh | 2 +-
4421 scripts/mod/file2alias.c | 14 +-
4422 scripts/mod/modpost.c | 25 +-
4423 scripts/mod/modpost.h | 6 +-
4424 scripts/mod/sumversion.c | 2 +-
4425 scripts/module-common.lds | 4 +
4426 scripts/package/builddeb | 1 +
4427 scripts/pnmtologo.c | 6 +-
4428 scripts/sortextable.h | 6 +-
4429 scripts/tags.sh | 2 +-
4430 security/Kconfig | 692 +-
4431 security/apparmor/lsm.c | 2 +-
4432 security/integrity/ima/ima.h | 4 +-
4433 security/integrity/ima/ima_api.c | 2 +-
4434 security/integrity/ima/ima_fs.c | 4 +-
4435 security/integrity/ima/ima_queue.c | 2 +-
4436 security/keys/key.c | 18 +-
4437 security/security.c | 9 +-
4438 security/selinux/avc.c | 6 +-
4439 security/selinux/hooks.c | 10 +-
4440 security/selinux/include/xfrm.h | 2 +-
4441 security/smack/smack_lsm.c | 2 +-
4442 security/tomoyo/tomoyo.c | 2 +-
4443 security/yama/yama_lsm.c | 4 +-
4444 sound/aoa/codecs/onyx.c | 7 +-
4445 sound/aoa/codecs/onyx.h | 1 +
4446 sound/core/oss/pcm_oss.c | 18 +-
4447 sound/core/pcm_compat.c | 2 +-
4448 sound/core/pcm_native.c | 4 +-
4449 sound/core/sound.c | 2 +-
4450 sound/drivers/mts64.c | 14 +-
4451 sound/drivers/opl4/opl4_lib.c | 2 +-
4452 sound/drivers/portman2x4.c | 3 +-
4453 sound/firewire/amdtp.c | 4 +-
4454 sound/firewire/amdtp.h | 4 +-
4455 sound/firewire/isight.c | 10 +-
4456 sound/firewire/scs1x.c | 8 +-
4457 sound/oss/sb_audio.c | 2 +-
4458 sound/oss/swarm_cs4297a.c | 6 +-
4459 sound/pci/hda/hda_codec.c | 2 +-
4460 sound/pci/ymfpci/ymfpci.h | 2 +-
4461 sound/pci/ymfpci/ymfpci_main.c | 12 +-
4462 sound/soc/soc-ac97.c | 6 +-
4463 sound/soc/xtensa/xtfpga-i2s.c | 2 +-
4464 tools/gcc/Makefile | 42 +
4465 tools/gcc/checker_plugin.c | 150 +
4466 tools/gcc/colorize_plugin.c | 215 +
4467 tools/gcc/constify_plugin.c | 564 +
4468 tools/gcc/gcc-common.h | 689 +
4469 tools/gcc/initify_plugin.c | 450 +
4470 tools/gcc/kallocstat_plugin.c | 188 +
4471 tools/gcc/kernexec_plugin.c | 547 +
4472 tools/gcc/latent_entropy_plugin.c | 474 +
4473 tools/gcc/size_overflow_plugin/.gitignore | 1 +
4474 tools/gcc/size_overflow_plugin/Makefile | 20 +
4475 .../generate_size_overflow_hash.sh | 102 +
4476 .../insert_size_overflow_asm.c | 409 +
4477 .../size_overflow_plugin/intentional_overflow.c | 958 +
4478 tools/gcc/size_overflow_plugin/misc.c | 441 +
4479 .../size_overflow_plugin/remove_unnecessary_dup.c | 137 +
4480 tools/gcc/size_overflow_plugin/size_overflow.h | 281 +
4481 .../gcc/size_overflow_plugin/size_overflow_debug.c | 164 +
4482 .../size_overflow_plugin/size_overflow_hash.data |27576 ++++++++++++++++++++
4483 .../size_overflow_hash_aux.data | 92 +
4484 tools/gcc/size_overflow_plugin/size_overflow_ipa.c | 913 +
4485 .../size_overflow_plugin/size_overflow_plugin.c | 256 +
4486 .../size_overflow_plugin_hash.c | 345 +
4487 .../size_overflow_plugin/size_overflow_transform.c | 433 +
4488 .../size_overflow_transform_core.c | 962 +
4489 tools/gcc/stackleak_plugin.c | 432 +
4490 tools/gcc/structleak_plugin.c | 287 +
4491 tools/include/linux/compiler.h | 8 +
4492 tools/lib/api/Makefile | 2 +-
4493 tools/perf/util/include/asm/alternative-asm.h | 3 +
4494 tools/virtio/linux/uaccess.h | 2 +-
4495 virt/kvm/kvm_main.c | 44 +-
4496 1898 files changed, 59774 insertions(+), 8683 deletions(-)