[PATCH v2 2/2] staging: comedi: serial2002: Fix unnecessary cast styling issue

2016-06-09 Thread Chris Cesare
checkpatch.pl warns that a cast of 1 to (long long) is unnecessary. Remove the cast and also add code to check and make sure that maxdata_list[chan] is not shifted too far, as suggested by Ian Abbott. Signed-off-by Chris Cesare ---

[PATCH v2 0/2] staging: comedi: serial2002: Fix two styling issues

2016-06-09 Thread Chris Cesare
checkpatch.pl warns about a bare unsigned and an unnecessary cast. Patchset splits fixes for these into two separate patches. Chris Cesare (2): staging: comedi: serial2002: Fix bare unsigned styling issue staging: comedi: serial2002: Fix unnecessary cast styling issue

[PATCH v2 1/2] staging: comedi: serial2002: Fix bare unsigned styling issue

2016-06-09 Thread Chris Cesare
checkpatch.pl warns about a bare unsigned. Add type int to make explicit and suit the coding style. Signed-off-by Chris Cesare --- drivers/staging/comedi/drivers/serial2002.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v7 15/15] acpi, numa: Enable ACPI based NUMA on ARM64

2016-06-09 Thread Matthias Brugger
On 25/05/16 00:35, David Daney wrote: From: Hanjun Guo Add function needed for cpu to node mapping, and enable ACPI based NUMA for ARM64 in Kconfig Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter

Re: [PATCH] intel_menlow: prevent NULL pointer dereference

2016-06-09 Thread Darren Hart
On Thu, Jun 09, 2016 at 07:24:52PM +0200, Vincent Stehlé wrote: > On Wed, Jun 08, 2016 at 01:38:46PM -0700, Darren Hart wrote: > > Under what circumstances can the .remove op be called with a NULL struct > > acpi_device * as a parameter? From what I can see, most acpi_* calls > > accpeting > > an

RE: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-09 Thread Thomas Gleixner
On Thu, 9 Jun 2016, Sell, Timothy C wrote: > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > > > I think I asked this before, but I might have missed the answer. > > > > Why is this a rw_sempahore? It's never taken with down_read and looking > > at the usage sites it's simply a mutex,

Re: linux-next: build warnings after merge of the kbuild tree

2016-06-09 Thread Kees Cook
On Thu, Jun 9, 2016 at 10:37 AM, Emese Revfy wrote: > On Thu, 9 Jun 2016 12:57:16 +0200 > Michal Marek wrote: > >> Dne 9.6.2016 v 06:05 Stephen Rothwell napsal(a): >> > On Wed, 8 Jun 2016 19:56:38 -0700 Kees Cook wrote: >> >> Ah, yes,

[PATCH 11/27] mm: vmscan: Do not reclaim from kswapd if there is any eligible zone

2016-06-09 Thread Mel Gorman
kswapd scans from highest to lowest for a zone that requires balancing. This was necessary when reclaim was per-zone to fairly age pages on lower zones. Now that we are reclaiming on a per-node basis, any eligible zone can be used and pages will still be aged fairly. This patch avoids reclaiming

[PATCH 18/27] mm: Move most file-based accounting to the node

2016-06-09 Thread Mel Gorman
There are now a number of accounting oddities such as mapped file pages being accounted for on the node while the total number of file pages are accounted on the zone. This can be coped with to some extent but it's confusing so this patch moves the relevant file-based accounted. Signed-off-by:

[PATCH 21/27] mm, vmscan: Only wakeup kswapd once per node for the requested classzone

2016-06-09 Thread Mel Gorman
kswapd is woken when zones are below the low watermark but the wakeup decision is not taking the classzone into account. Now that reclaim is node-based, it is only required to wake kswapd once per node and only if all zones are unbalanced for the requested classzone. Note that one node might be

Re: [PATCH] pvclock: introduce seqcount-like API

2016-06-09 Thread Andy Lutomirski
On Thu, Jun 9, 2016 at 11:03 AM, Paolo Bonzini wrote: > > > On 09/06/2016 19:12, Andy Lutomirski wrote: >> On Thu, Jun 9, 2016 at 6:45 AM, Paolo Bonzini wrote: >>> On 09/06/2016 15:35, Roman Kagan wrote: On Thu, Jun 09, 2016 at 02:47:54PM +0200,

[PATCH 19/27] mm: Move vmscan writes and file write accounting to the node

2016-06-09 Thread Mel Gorman
As reclaim is now node-based, it follows that page write activity due to page reclaim should also be accounted for on the node. For consistency, also account page writes and page dirtying on a per-node basis. After this patch, there are a few remaining zone counters that may appear strange but

[PATCH 17/27] mm: Rename NR_ANON_PAGES to NR_ANON_MAPPED

2016-06-09 Thread Mel Gorman
NR_FILE_PAGES is the number offile pages. NR_FILE_MAPPED is the number of mapped file pages. NR_ANON_PAGES is the number of mapped anon pages. This is unhelpful naming as it's easy to confuse NR_FILE_MAPPED and NR_ANON_PAGES for mapped pages. This patch renames NR_ANON_PAGES so we have

[PATCH 06/27] mm, vmscan: Make kswapd reclaim in terms of nodes

2016-06-09 Thread Mel Gorman
Patch "mm: vmscan: Begin reclaiming pages on a per-node basis" started thinking of reclaim in terms of nodes but kswapd is still zone-centric. This patch gets rid of many of the node-based versus zone-based decisions. o A node is considered balanced when any eligible lower zone is balanced.

[PATCH 10/27] mm, vmscan: Clear congestion, dirty and need for compaction on a per-node basis

2016-06-09 Thread Mel Gorman
Congested and dirty tracking of a node and whether reclaim should stall is still based on zone activity. This patch considers whether the kernel should stall based on node-based reclaim activity. Signed-off-by: Mel Gorman --- mm/vmscan.c | 24

[PATCH 23/27] mm, vmscan: Add classzone information to tracepoints

2016-06-09 Thread Mel Gorman
This is convenient when tracking down why the skip count is high because it'll show what classzone kswapd woke up at and what zones are being isolated. Signed-off-by: Mel Gorman --- include/trace/events/vmscan.h | 28 ++-- mm/vmscan.c

[PATCH 08/27] mm, vmscan: Simplify the logic deciding whether kswapd sleeps

2016-06-09 Thread Mel Gorman
kswapd goes through some complex steps trying to figure out if it should stay awake based on the classzone_idx and the requested order. It is unnecessarily complex and passes in an invalid classzone_idx to balance_pgdat(). What matters most of all is whether a larger order has been requsted and

[PATCH 07/27] mm, vmscan: Remove balance gap

2016-06-09 Thread Mel Gorman
The balance gap was introduced to apply equal pressure to all zones when reclaiming for a higher zone. With node-based LRU, the need for the balance gap is removed and the code is dead so remove it. Signed-off-by: Mel Gorman --- mm/vmscan.c | 19 ---

[PATCH 20/27] mm, vmscan: Update classzone_idx if buffer_heads_over_limit

2016-06-09 Thread Mel Gorman
If buffer heads are over the limit then the direct reclaim gfp_mask is promoted to __GFP_HIGHMEM so that lowmem is indirectly freed. With node-based reclaim, it is also required that the classzone_idx be updated or the pages will be skipped. Signed-off-by: Mel Gorman

[PATCH 04/27] mm, vmscan: Begin reclaiming pages on a per-node basis

2016-06-09 Thread Mel Gorman
This patch makes reclaim decisions on a per-node basis. A reclaimer knows what zone is required by the allocation request and skips pages from higher zones. In many cases this will be ok because it's a GFP_HIGHMEM request of some description. On 64-bit, ZONE_DMA32 requests will cause some problems

Re: [PATCH V8 0/9] Support for ARM64 ACPI based PCI host controller

2016-06-09 Thread Suravee Suthikulanit
On 5/30/2016 10:14 AM, Tomasz Nowicki wrote: From the functionality point of view this series may be split into the following logic parts: 1. Export ECAM API and add parent device to pci_config_window 2. Add IO resources handling to PCI core code 3. Support for generic domain assignment based on

Re: [PATCH 5/6] memory: omap-gpmc: Enable omap-gpmc by default when dependency is met

2016-06-09 Thread kbuild test robot
Hi, [auto build test ERROR on arm/for-next] [also build test ERROR on v4.7-rc2 next-20160609] [cannot apply to omap/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Franklin-S-Cooper-Jr

[PATCH v1 0/3] PCI: Clean up write combining usage for user mmap

2016-06-09 Thread Bjorn Helgaas
These patches: - Enforce a "no write combining on I/O port space mapping" policy. This seems like an obviously good thing but was previously enforced only by powerpc. - Stop giving powerpc users write combining mappings of prefetchable memory they ask for write combining with the

[PATCH v1 2/3] powerpc/pci: Remove __pci_mmap_set_pgprot()

2016-06-09 Thread Bjorn Helgaas
From: Yinghai Lu The powerpc-specific __pci_mmap_set_pgprot() does two things: 1) Disables write combining for I/O port space mappings This only affects procfs mappings. The pci_mmap_resource() sysfs path only requests write combining for resources with

[PATCH v1 1/3] PCI: Ignore write combining when mapping I/O port space

2016-06-09 Thread Bjorn Helgaas
PCI exposes files like /proc/bus/pci/00/00.0 in procfs. These files support operations like this: ioctl(fd, PCIIOC_MMAP_IS_IO); # request I/O port space ioctl(fd, PCIIOC_WRITE_COMBINE, 1); # request write-combining mmap(fd, ...) Write combining is useful on PCI memory space,

Re: [PATCH 5/6] memory: omap-gpmc: Enable omap-gpmc by default when dependency is met

2016-06-09 Thread Boris Brezillon
On Thu, 9 Jun 2016 20:45:03 +0200 Boris Brezillon wrote: > On Thu, 9 Jun 2016 12:02:56 -0500 > Franklin S Cooper Jr wrote: > > > When dependencies are met enable OMAP GPMC by default. Later patches will > > prevent OMAP GPMC from being

Re: [PATCH 18/21] fs: nfs: Make nfs boot time y2038 safe

2016-06-09 Thread Trond Myklebust
On 6/9/16, 01:05, "Deepa Dinamani" wrote: >boot_time is represented as a struct timespec. >struct timespec and CURRENT_TIME are not y2038 safe. >Overall, the plan is to use timespec64 for all internal >kernel representation of timestamps. >CURRENT_TIME will also be

Re: [PATCH] docs: self-protection: rename "leak" to "exposure"

2016-06-09 Thread Jonathan Corbet
On Wed, 18 May 2016 06:37:47 -0700 Kees Cook wrote: > The meaning of "leak" can be both "untracked resource allocation" and > "memory content disclosure". This document's use was entirely of the > latter meaning, so avoid the confusion by using the Common Weakness >

Re: [PATCH v9 0/7] KVM PCIe/MSI passthrough on ARM/ARM64: kernel part 3/3: vfio changes

2016-06-09 Thread Alex Williamson
On Thu, 9 Jun 2016 09:55:37 +0200 Auger Eric wrote: > Alex, > > On Wed, 8 Jun 2016 10:29:35 +0200 > > Auger Eric wrote: > > > >> Dear all, > >> Le 20/05/2016 à 18:01, Eric Auger a écrit : > >>> Alex, Robin, > >>> > >>> While my 3 part series

Re: [PATCH v2 00/38] Documentation/sphinx

2016-06-09 Thread Jonathan Corbet
On Sat, 4 Jun 2016 14:37:01 +0300 Jani Nikula wrote: > When this lands in docs-next and we can backmerge to drm, we'll plunge > ahead and convert gpu.tmpl to rst, and have that ready for v4.8. That is now done — thanks for running with this! I'm looking forward to

Re: [PATCH v2 4/4] dell-wmi: Rework code for generating sparse keymap and processing WMI events

2016-06-09 Thread Darren Hart
On Thu, Jun 09, 2016 at 01:33:48PM +0200, Pali Rohár wrote: > On Thursday 09 June 2016 13:27:21 Michał Kępień wrote: > > > > - case 0x10: > > > > - /* Keys pressed */ > > > > + case 0x0010: > > > > + /* Sequence of keys

Re: [PATCH] docs: fix "interruptible" misspellings

2016-06-09 Thread Joe Perches
On Thu, 2016-06-09 at 13:29 -0600, Jonathan Corbet wrote: > On Wed, 18 May 2016 06:55:45 -0700 Kees Cook wrote: > > A common misspelling of "interruptible" is "interruptable". This fixes > > them in the tree and adds the two most common variations to spelling.txt. $ grep

[PATCH 4.2.y-ckt 190/206] MIPS: BMIPS: Adjust mips-hpt-frequency for BCM7435

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit 80fa40acaa1dad5a0a9c15ed2e5d2e72461843f5 upstream. The CPU actually runs at 1405Mhz which

Re: Nokia N900: musb is in wrong state after boot

2016-06-09 Thread joerg Reisenweber
On Thu 09 June 2016 15:58:56 Bin Liu wrote: > But I am not sure how this will fix n900 host mode problem, since > testmode is not used in normal operation. Please see http://talk.maemo.org/showthread.php?p=685367 and http://maemo.org/packages/view/hostmode-gui/ which indeed is _no_ normal

Re: [PATCH v3 0/6] watchdog: add watchdog pretimeout framework

2016-06-09 Thread Wolfram Sang
> I hope I managed to collect enough review comments (if Guenter adds > a note to your/my comments to v3 4/6, that would be perfect), and I'll > add your new changes and my cut-off changes to v4 pile. Sounds great! Thanks for your understanding and sorry for my grumpy mood yesterday. Let's get

[PATCH 4.2.y-ckt 175/206] cpufreq: Fix GOV_LIMITS handling for the userspace governor

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sai Gurrappadi commit e43e94c1eda76dabd686ddf6f7825f54d747b310 upstream. Currently, the userspace governor only

[PATCH 4.2.y-ckt 172/206] driver-core: use 'dev' argument in dev_dbg_ratelimited stub

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Arnd Bergmann commit 1f62ff34a90471d1b735bac2c79e894afc7c59bc upstream. dev_dbg_ratelimited() is a macro that ignores

[PATCH 4.2.y-ckt 166/206] PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Bjorn Helgaas commit ca620723d4ff9ea7ed484eab46264c3af871b9ae upstream. iomem_is_exclusive() requires a CPU

[PATCH v4] power_supply: power_supply_read_temp only if use_cnt > 0

2016-06-09 Thread Rhyland Klein
Change power_supply_read_temp() to use power_supply_get_property() so that it will check the use_cnt and ensure it is > 0. The use_cnt will be incremented at the end of __power_supply_register, so this will block to case where get_property can be called before the supply is fully registered. This

[PATCH 4.2.y-ckt 159/206] am437x-vfpe: fix typo in vpfe_get_app_input_index

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Arnd Bergmann commit 0fb504001192c1df62c847a8bb6558753c36ebef upstream. gcc-6 points out an obviously silly comparison

[PATCH 4.2.y-ckt 153/206] iommu/vt-d: Ratelimit fault handler

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Williamson commit c43fce4eebae257ca413733690e2076757282093 upstream. Fault rates can easily overwhelm

[PATCH 4.2.y-ckt 154/206] iommu/vt-d: Improve fault handler error messages

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Williamson commit a0fe14d7dcf5db2f101b4fe8689ecabb255ab7d3 upstream. Remove new line in error logs,

[PATCH 4.2.y-ckt 158/206] mfd: lp8788-irq: Uninitialized variable in irq handler

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Carpenter commit 22aab38e7b59fd79ce1045006be69a9abab58e5a upstream. Instead to being true/false, the

[PATCH 4.2.y-ckt 157/206] security: drop the unused hook skb_owned_by

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Paolo Abeni commit 3c9d6296b7aee536a96ea2b53a15d23511738c1c upstream. The skb_owned_by hook was added with the

[PATCH 4.2.y-ckt 133/206] mmc: sdhci-pci: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Adrian Hunter commit 822969369482166050c5b2f7013501505e025c39 upstream. The CMD19/CMD14 bus width test has

[PATCH 4.2.y-ckt 131/206] drm/i915: Don't leave old junk in ilk active watermarks on readout

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= commit 7045c3689f148a0c95f42bae8ef3eb2829ac7de9 upstream. When we

[PATCH 4.2.y-ckt 127/206] Input: uinput - handle compat ioctl for UI_SET_PHYS

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ricky Liang commit affa80bd97f7ca282d1faa91667b3ee9e4c590e6 upstream. When running a 32-bit userspace on a 64-bit

[PATCH 4.2.y-ckt 134/206] mmc: sdhci-acpi: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Adrian Hunter commit 265984b36ce82fec67957d452dd2b22e010611e4 upstream. The CMD19/CMD14 bus width test has

[PATCH 4.2.y-ckt 132/206] mmc: longer timeout for long read time quirk

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matt Gumbel commit 32ecd320db39bcb007679ed42f283740641b81ea upstream. 008GE0 Toshiba mmc in some Intel

[PATCH 4.2.y-ckt 118/206] cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter()

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Lezcano commit e7387da52028b072489c45efeb7a916c0205ebd2 upstream. Commit 0b89e9aa2856 (cpuidle: delay

[PATCH 4.2.y-ckt 113/206] fs/cifs: correctly to anonymous authentication via NTLMSSP

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Stefan Metzmacher commit cfda35d98298131bf38fbad3ce4cd5ecb3cf18db upstream. See [MS-NLMP] 3.2.5.1.2 Server Receives an

[PATCH 4.2.y-ckt 097/206] MIPS: Handle highmem pages in __update_cache

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Paul Burton commit f4281bba818105c7c91799abe40bc05c0dbdaa25 upstream. The following patch will expose

[PATCH 4.2.y-ckt 095/206] powerpc/eeh: Restore initial state in eeh_pe_reset_and_recover()

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Gavin Shan commit 5a0cdbfd17b90a89c64a71d8aec9773ecdb20d0d upstream. The function eeh_pe_reset_and_recover()

Re: [PATCH v2 1/3] Add the latent_entropy gcc plugin

2016-06-09 Thread Kees Cook
On Mon, May 30, 2016 at 4:31 PM, Emese Revfy wrote: > This plugin mitigates the problem of the kernel having too little entropy > during > and after boot for generating crypto keys. > > It creates a local variable in every marked function. The value of this > variable is >

[PATCH 4.2.y-ckt 093/206] sched/loadavg: Fix loadavg artifacts on fully idle and on fully loaded systems

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vik Heyndrickx commit 20878232c52329f92423d27a60e48b6a6389e0dd upstream. Systems show a minimal load

[PATCH 4.2.y-ckt 103/206] MIPS: ptrace: Prevent writes to read-only FCSR bits

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Maciej W. Rozycki" commit abf378be49f38c4d3e23581d3df3fa9f1b1b11d2 upstream. Correct the cases missed with commit

[PATCH 4.2.y-ckt 102/206] MIPS: ptrace: Fix FP context restoration FCSR regression

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Maciej W. Rozycki" commit 4249548454f7ba4581aeee26bd83f42b48a14d15 upstream. Fix a floating-point context

[PATCH 4.2.y-ckt 100/206] MIPS: Fix uapi include in exported asm/siginfo.h

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit 987e5b834467c9251ca584febda65ef8f66351a9 upstream. Since commit 8cb48fe169dd ("MIPS: Provide

[PATCH 4.2.y-ckt 101/206] MIPS: math-emu: Fix jalr emulation when rd == $0

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Paul Burton commit ab4a92e66741b35ca12f8497896bafbe579c28a1 upstream. When emulating a jalr instruction with rd

[PATCH 4.2.y-ckt 072/206] MIPS: Avoid using unwind_stack() with usermode

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit 81a76d7119f63c359750e4adeff922a31ad1135f upstream. When showing backtraces in response to

[PATCH 4.2.y-ckt 071/206] MIPS: Don't unwind to user mode with EVA

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit a816b306c62195b7c43c92cb13330821a96bdc27 upstream. When unwinding through IRQs and

[PATCH 4.2.y-ckt 063/206] ext4: fix oops on corrupted filesystem

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jan Kara commit 74177f55b70e2f2be770dd28684dd6d17106a4ba upstream. When filesystem is corrupted in the right way, it can

[PATCH 4.2.y-ckt 070/206] MIPS: Fix siginfo.h to use strict posix types

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit 5daebc477da4dfeb31ae193d83084def58fd2697 upstream. Commit 85efde6f4e0d ("make exported

[PATCH 4.2.y-ckt 054/206] USB: leave LPM alone if possible when binding/unbinding interface drivers

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alan Stern commit 6fb650d43da3e7054984dc548eaa88765a94d49f upstream. When a USB driver is bound to an

Re: [PATCH v2 0/3] Introduce the latent_entropy gcc plugin

2016-06-09 Thread Kees Cook
On Mon, May 30, 2016 at 4:30 PM, Emese Revfy wrote: > I would like to introduce the latent_entropy gcc plugin. This plugin mitigates > the problem of the kernel having too little entropy during and after boot > for generating crypto keys. > > This plugin mixes random values

[PATCH 4.2.y-ckt 053/206] USB: serial: option: add support for Cinterion PH8 and AHxx

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Schemmel Hans-Christoph commit 444f94e9e625f6ec6bbe2cb232a6451c637f35a3 upstream. Added support

[PATCH 4.2.y-ckt 034/206] serial: 8250_pci: fix divide error bug if baud rate is 0

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?David=20M=C3=BCller?= commit 6f210c18c1c0f016772c8cd51ae12a02bfb9e7ef upstream. Since commit

[PATCH 4.2.y-ckt 036/206] staging: comedi: das1800: fix possible NULL dereference

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: H Hartley Sweeten commit d375278d666760e195693b57415ba0a125cadd55 upstream. DMA is optional with this

[PATCH 4.2.y-ckt 039/206] aacraid: Relinquish CPU during timeout wait

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Raghava Aditya Renukunta commit 07beca2be24cc710461c0b131832524c9ee08910 upstream. aac_fib_send

[PATCH 4.2.y-ckt 037/206] arm/arm64: KVM: Enforce Break-Before-Make on Stage-2 page tables

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Marc Zyngier commit d4b9e0790aa764c0b01e18d4e8d33e93ba36d51f upstream. The ARM architecture mandates that when

[PATCH 4.2.y-ckt 017/206] mfd: intel_quark_i2c_gpio: Remove clock tree on error path

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Andy Shevchenko commit 7f0c5ae18d649ed2f4978cbf07c02a0ff732f23e upstream. There is a potential

[PATCH 4.2.y-ckt 020/206] Revert "scsi: fix soft lockup in scsi_remove_target() on module removal"

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johannes Thumshirn commit 305c2e71b3d733ec065cb716c76af7d554bd5571 upstream. Now that we've done a more

Re: [Intel-wired-lan] [RFC PATCH net] e1000e: keep vlan interfaces functional after rxvlan off

2016-06-09 Thread Jarod Wilson
On Thu, Jun 09, 2016 at 04:55:01PM -0400, Jarod Wilson wrote: > On Thu, Jun 09, 2016 at 02:02:04PM -0400, Jarod Wilson wrote: > > On Wed, Jun 01, 2016 at 03:31:46PM -0700, Alexander Duyck wrote: > > > On Wed, Jun 1, 2016 at 12:27 PM, Jarod Wilson wrote: > > > > On Wed, Jun 01,

[PATCH 4.2.y-ckt 010/206] rtlwifi: rtl8723be: Add antenna select module parameter

2016-06-09 Thread Kamal Mostafa
4.2.8-ckt12 -stable review patch. If anyone has any objections, please let me know. ---8< From: Larry Finger commit c18d8f5095715c56bb3cd9cba64242542632054b upstream. A number of new laptops have been

Re: linux-next: build failure after merge of the amlogic tree

2016-06-09 Thread Kevin Hilman
Stephen Rothwell writes: > Hi Kevin, > > On Sun, 5 Jun 2016 20:40:28 -0700 Kevin Hilman wrote: >> >> Not forgotten, but merged through Philip's reset tree, which I thought >> was already in linux-next. Sorry about that. > > It may well be, but we

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-06-09 Thread Hoan Tran
Hi Prashanth, On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth wrote: > > > On 6/9/2016 2:47 PM, Hoan Tran wrote: >> Hi Ashwin and Prashanth, >> >> On Wed, Jun 8, 2016 at 5:41 PM, Hoan Tran wrote: >>> Hi Prashanth, >>> >>> >>> On Wed, Jun 8, 2016 at

[PATCH net v2] e1000e: keep vlan interfaces functional after rxvlan off

2016-06-09 Thread Jarod Wilson
I've got a bug report about an e1000e interface, where a vlan interface is set up on top of it: $ ip link add link ens1f0 name ens1f0.99 type vlan id 99 $ ip link set ens1f0 up $ ip link set ens1f0.99 up $ ip addr add 192.168.99.92 dev ens1f0.99 At this point, I can ping another host on vlan 99,

Re: [PATCH 17/21] audit: Use timespec64 to represent audit timestamps

2016-06-09 Thread Richard Guy Briggs
On 16/06/09, Steve Grubb wrote: > On Wednesday, June 08, 2016 10:05:01 PM Deepa Dinamani wrote: > > struct timespec is not y2038 safe. > > Audit timestamps are recorded in string format into > > an audit buffer for a given context. > > These mark the entry timestamps for the syscalls. > > Use

Re: [PART2 RFC v1 5/9] iommu/amd: Introduce amd_iommu_update_ga()

2016-06-09 Thread Suravee Suthikulpanit
Hi Radim, On 4/13/16 12:06, Radim Krčmář wrote: 2016-04-08 07:49-0500, Suravee Suthikulpanit: From: Suravee Suthikulpanit This patch introduces a new IOMMU interface, amd_iommu_update_ga(), which allows KVM (SVM) to update existing posted interrupt IOMMU IRTE

Re: [PATCH] x86/microcode/intel: Quieten down microcode updates on large systems

2016-06-09 Thread Henrique de Moraes Holschuh
On Thu, 09 Jun 2016, Andi Kleen wrote: > From: Andi Kleen > > On large systems the microcode driver is very noisy, because it prints > a line for each CPU. The lines are redundant because because usually > all CPUs are updated to the same microcode revision. > > All other

[PATCH] ASoC: intel: fix build when ACPI is not enabled

2016-06-09 Thread Randy Dunlap
From: Randy Dunlap kconfig tools generate the following warning when CONFIG_ACPI is not enabled: warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_BYTCR_RT5651_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH &&

[PATCH 1/1] Drivers: hv: vmbus: fix the race when querying & updating the percpu list

2016-06-09 Thread K. Y. Srinivasan
From: Dexuan Cui There is a rare race when we remove an entry from the global list hv_context.percpu_list[cpu] in hv_process_channel_removal() -> percpu_channel_deq() -> list_del(): at this time, if vmbus_on_event() -> process_chn_event() -> pcpu_relid2channel() is trying to

Re: [PATCH] scsi:stex.c Support Pegasus 3 product

2016-06-09 Thread Julian Calaby
Hi Charles, On Mon, Jun 6, 2016 at 5:53 PM, Charles Chiou wrote: > From: Charles > > Pegasus series is a RAID support product by using Thunderbolt technology. > > The newest product, Pegasus 3 is support Thunderbolt 3 technology with >

Re: [PATCH net-next] netvsc: Use the new in-place consumption APIs in the rx path

2016-06-09 Thread Linus Torvalds
Srinivasan, these are all sent through linuxonhyperv.com, and fail DMARC because they have a microsoft.com address but no valid DKIM. Please fix your email setup. You need to go through the real microsoft smtp servers if you use a microsoft.com address. Or you need to get linuxonhyperv.com

[PATCH 2/2] soc: qcom: smp2p: Drop io-accessors

2016-06-09 Thread Bjorn Andersson
SMEM is now mapped write-combine and we can use memcpy to access the name of the entires. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smp2p.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/smp2p.c

[PATCH 1/2] soc: qcom: smp2p: Correct addressing of outgoing value

2016-06-09 Thread Bjorn Andersson
The valid_entries index should not be incremented until after we have acquired the pointer to the value, or we will read and write data one item off. Fixes: 50e99641413e ("soc: qcom: smp2p: Qualcomm Shared Memory Point to Point") Cc: sta...@vger.kernel.org Signed-off-by: Bjorn Andersson

Re: [PATCH trivial] include/linux/memcontrol.h: Clean up code only

2016-06-09 Thread Chen Gang
On 6/9/16 23:46, Michal Hocko wrote: > On Thu 09-06-16 23:23:52, cheng...@emindsoft.com.cn wrote: >> From: Chen Gang >> >> Merge several statements to one return statement, since the new return >> statement is still simple enough. >> >> Try to let the second line

[PATCH] wlcore: sdio: Fix crash on wlcore_probe_of when failing to parse/map irq

2016-06-09 Thread Bruno Herrera
pdev_data pointer is being freed with kfree but the pointer is not dynamic allocated. Signed-off-by: Bruno Herrera --- drivers/net/wireless/ti/wlcore/sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/sdio.c

Re: [PATCH] drm/rockchip: fix compile warnings for 64-bit

2016-06-09 Thread Caesar Wang
在 2016年06月10日 01:46, Brian Norris 写道: Rockchip DRM does not yet build properly for ARM64, but we might as well get the printf formatting correct now, to avoid the following warnings: drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c: In function 'rockchip_drm_fbdev_create':

Re: [PATCH 06/21] fs: udf: Replace CURRENT_TIME with current_fs_time()

2016-06-09 Thread Deepa Dinamani
On Thu, Jun 9, 2016 at 12:41 AM, Jan Kara wrote: > On Wed 08-06-16 22:04:50, Deepa Dinamani wrote: >> Logical Volume Integrity format is described to have the >> same timestamp format for "Recording Date and time" as >> the other [a,c,m]timestamps. >> Hence using current_fs_time()

Re: [PATCH 3/5] lkdtm: add function for testing .rodata section

2016-06-09 Thread Laura Abbott
On 06/08/2016 02:26 PM, Kees Cook wrote: On Wed, Jun 8, 2016 at 8:46 AM, Kees Cook wrote: On Tue, Jun 7, 2016 at 6:02 PM, Laura Abbott wrote: On 06/07/2016 02:57 PM, Kees Cook wrote: This adds a function that lives in the .rodata section. The

Re: [PATCH 3/3] staging: lustre: lnet: optimize memory foot print for lnet_libmd

2016-06-09 Thread Greg Kroah-Hartman
On Thu, Jun 09, 2016 at 06:45:47PM -0400, James Simmons wrote: > From: Bruno Faccini > > The lnet_libmd struct fields have been re-ordered to optimize its > memory foot-print. This isn't a regression, so isn't ok for 4.7-rc releases, sorry. greg k-h

[PATCH v3 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-06-09 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- Documentation/perf/xgene-pmu.txt | 48 ++ drivers/perf/Kconfig |7 + drivers/perf/Makefile|1 + drivers/perf/xgene_pmu.c | 1427 ++ 4 files changed, 1483 insertions(+)

Re: [PATCH v2 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-06-09 Thread kbuild test robot
Hi, [auto build test WARNING on pci/next] [also build test WARNING on v4.7-rc2 next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Shawn-Lin/Documentation-bindings-add-dt-doc

Re: [PATCH 2/3] staging: lustre: lnet: Allocate MEs and small MDs in own kmem_caches

2016-06-09 Thread Greg Kroah-Hartman
On Thu, Jun 09, 2016 at 06:45:46PM -0400, James Simmons wrote: > From: Bruno Faccini > > As part of LU-3848 and LU-4330, it has been discovered that LNET > MEs and small MDs (<=128 Bytes) are allocated in kmem_cache > and thus can suffer quite frequent corruptions, from

[PATCH v3 1/4] MAINTAINERS: Add entry for APM X-Gene SoC PMU driver

2016-06-09 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4978dc1..3bd4143 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8593,6 +8593,14 @@ L: linux-s...@vger.kernel.org S: Supported F:

[PATCH v3 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries

2016-06-09 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 58 ++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index fe30f76..62806e0 100644 ---

[PATCH v3 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-06-09 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- .../devicetree/bindings/perf/apm-xgene-pmu.txt | 112 + 1 file changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/apm-xgene-pmu.txt diff --git

[PATCH v3 0/4] perf: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-06-09 Thread Tai Nguyen
In addition to the X-Gene ARM CPU performance monitoring unit (PMU), there are PMU for the SoC system devices such as L3 cache(s), I/O bridge(s), memory controller bridges and memory. These PMU devices are loosely architected to follow the same model as the PMU for ARM cores. Signed-off-by: Tai

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-09 Thread Mat Martineau
On Thu, 9 Jun 2016, Stephan Mueller wrote: Am Mittwoch, 8. Juni 2016, 12:14:49 schrieb Mat Martineau: Hi Mat, On Wed, 8 Jun 2016, Stephan Mueller wrote: Am Dienstag, 7. Juni 2016, 17:28:07 schrieb Mat Martineau: Hi Mat, + used = ctx->used; + + /* convert iovecs of output

<    1   2   3   4   5   6   7   8   9   10   >