[PATCH v4 6/6] perf config: Reimplement show_config() using perf_config()

2016-05-30 Thread Taeung Song
Old show_config() directly use config set so there are many duplicated code with perf_config_set__iter(). So reimplement show_config() using perf_config() that use perf_config_set__iter() with config set that already contains all configs. Cc: Namhyung Kim Cc: Jiri Olsa

[RFC][PATCH v4 0/6] perf config: Reimplement perf_config() using perf_config_set__inter()

2016-05-30 Thread Taeung Song
Everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use 'struct perf_config_set config_set' variable that already contains all config key-value pairs to avoid this repetitive work

[PATCH v4 3/6] perf config: Use zfree() instead of free() at perf_config_set__delete()

2016-05-30 Thread Taeung Song
perf_config_set__delete() delete allocated the config set but the global variable 'config_set' is used all around. So purge and zfree by an address of the global variable , i.e. 'struct perf_config_set **' type instead of using local variable 'set' of which type is 'struct perf_config_set *'.

[PATCH v4 5/6] perf config: Reset the config set at only 'config' sub-command

2016-05-30 Thread Taeung Song
When first calling perf_config(), the config set is initialized collecting both user and system config files (i.e. user config ~/.perfconfig and system config $(sysconfdir)/perfconfig) so config set contains not only user config but also system config key-value pairs. (User config has higher

linux-next: build warnings after merge of the rtc tree

2016-05-30 Thread Stephen Rothwell
Hi Alexandre, After merging the rtc tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from drivers/char/mwave/smapi.c:51:0: drivers/char/mwave/smapi.h:52:0: warning: "TRUE" redefined #define TRUE 1 ^ In file included from include/acpi/acpi.h:58:0,

[PATCH 4.6 081/100] Fixing oops in callback path

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Olga Kornievskaia commit c2985d001d2fb77357aeae675545893b61c50044 upstream. Commit 80f9642724af5 ("NFSv4.x: Enforce the ca_maxreponsesize_cached on the back channel") causes

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Mauro Carvalho Chehab
Em Mon, 30 May 2016 23:05:34 +0300 Jani Nikula escreveu: > > I worry a little bit in that reST will be only one more toolchain > > beside DocBook .. in the long term, kernel's documentation > > should get rid of all the DocBook artifacts and for this a more > >

[PATCH 4.6 068/100] tty: vt, return error when con_startup fails

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 6798df4c5fe0a7e6d2065cf79649a794e5ba7114 upstream. When csw->con_startup() fails in do_register_con_driver, we return no error (i.e. 0). This was changed back

[PATCH 4.6 069/100] TTY: n_gsm, fix false positive WARN_ON

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit d175feca89a1c162f60f4e3560ca7bc9437c65eb upstream. Dmitry reported, that the current cleanup code in n_gsm can trigger a warning: WARNING: CPU: 2 PID: 24238

[PATCH 4.6 039/100] Bluetooth: vhci: purge unhandled skbs

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 13407376b255325fa817798800117a839f3aa055 upstream. The write handler allocates skbs and queues them into data->readq. Read side should read them, if there is

[PATCH 4.6 038/100] Bluetooth: vhci: fix open_timeout vs. hdev race

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 373a32c848ae3a1c03618517cce85f9211a6facf upstream. Both vhci_get_user and vhci_release race with open_timeout work. They both contain

[PATCH 4.6 024/100] mfd: omap-usb-tll: Fix scheduling while atomic BUG

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit b49b927f16acee626c56a1af4ab4cb062f75b5df upstream. We shouldn't be calling clk_prepare_enable()/clk_prepare_disable() in an atomic context. Fixes the

[PATCHv2 01/40] thermal: core: prevent zones with no types to be registered

2016-05-30 Thread Eduardo Valentin
There are APIs that rely on tz->type. This patch prevent thermal zones without it to be registered. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 16

[PATCH 4.6 016/100] ring-buffer: Prevent overflow of size in ring_buffer_resize()

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit 59643d1535eb220668692a5359de22545af579f6 upstream. If the size passed to ring_buffer_resize() is greater than MAX_LONG - BUF_PAGE_SIZE

[PATCHv2 02/40] thermal: core: group thermal_zone DEVICE_ATTR's declarations

2016-05-30 Thread Eduardo Valentin
Simply reorganize the code to have all DEVICE_ATTR's in one point in the file. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 20 ++-- 1

[PATCH 4.6 037/100] mmc: sdhci-pci: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 822969369482166050c5b2f7013501505e025c39 upstream. The CMD19/CMD14 bus width test has been found to be unreliable in some cases. It is not

[PATCH 4.4 86/86] kbuild: move -Wunused-const-variable to W=1 warning level

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c9c6837d39311b0cc14cdbe7c18e815ab44aefb1 upstream. gcc-6 started warning by default about variables that are not used anywhere and that are marked 'const',

[PATCH 4.5 21/87] clk: qcom: msm8916: Fix crypto clock flags

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Andy Gross commit 2a0974aa1a0b40a92387ea03dbfeacfbc9ba182c upstream. This patch adds the CLK_SET_RATE_PARENT flag for the crypto core and ahb blocks. Without this flag,

[PATCH 4.5 00/87] 4.5.6-stable review

2016-05-30 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.5.6 release. There are 87 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Jun 1 20:49:14 UTC 2016. Anything

[PATCH 4.5 22/87] sched/loadavg: Fix loadavg artifacts on fully idle and on fully loaded systems

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vik Heyndrickx commit 20878232c52329f92423d27a60e48b6a6389e0dd upstream. Systems show a minimal load average of 0.00, 0.01, 0.05 even when they have no load at all.

[PATCH 4.5 20/87] crypto: sun4i-ss - Replace spinlock_bh by spin_lock_irq{save|restore}

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Corentin LABBE commit bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e upstream. The current sun4i-ss driver could generate data corruption when ciphering/deciphering. It

[PATCHv3 04/48] thermal: core: use dev.groups to manage always present tz attributes

2016-05-30 Thread Eduardo Valentin
Thermal zones attributes are all being created using device_create_file(). This has the disadvantage of making the code complicated and sometimes we may miss the cleanup of them. This patch starts to move the thermal zone sysfs attributes to the dev.groups, so Linux device core manage them for

[PATCHv3 00/48] thermal: reorganizing thermal core

2016-05-30 Thread Eduardo Valentin
Folks, This is V3 of a patch series to improve thermal core. The idea here is to reorganize the code and improve the way we handle sysfs entries. The change in behavior is that now, thermal zones with empty .type will not be allowed to be registered. Also, the way we handle scanf's return code

[PATCHv3 08/48] thermal: core: improve power actor documentation

2016-05-30 Thread Eduardo Valentin
Simple improvement on clarity and removal of checkpatch warning in the documentation of power actor kernel doc. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCHv3 07/48] thermal: core: move passive attr to tz->device.groups

2016-05-30 Thread Eduardo Valentin
This patch moves the passive attribute to tz->device.groups. Moving the passive attribute also requires a .is_visible() callback implementation for its attribute group. The logic behind the visibility of passive attribute is kept the same. We only expose the passive attribute if the thermal

[PATCHv3 01/48] thermal: core: prevent zones with no types to be registered

2016-05-30 Thread Eduardo Valentin
There are APIs that rely on tz->type. This patch prevent thermal zones without it to be registered. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 16

[PATCHv3 05/48] thermal: core: move emul_temp creation to tz->device.groups

2016-05-30 Thread Eduardo Valentin
emul_temp creation is dependent on a compile time condition. Moving to tz->device.groups. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 11 --- 1

[PATCHv3 10/48] thermal: core: remove useless empty line

2016-05-30 Thread Eduardo Valentin
Fix style problem on create_trip_attrs(); Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCHv3 09/48] thermal: core: move power actor code out of sysfs I/F section

2016-05-30 Thread Eduardo Valentin
Simply reorganize code to keep only functions of sysfs interface of thermal zone device together. Therefore, move the power actor code out of the sysfs I/F section. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin

[PATCHv3 03/48] thermal: core: group device_create_file() calls that are always created

2016-05-30 Thread Eduardo Valentin
Simple code reorganization to group files that are always created when registering a thermal zone. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 24

[PATCHv3 16/48] thermal: core: split passive_store

2016-05-30 Thread Eduardo Valentin
Split passive_store between sysfs handling and thermal core internal data handling. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 62

[PATCHv3 12/48] thermal: core: move the trip attrs to the tz sysfs I/F section

2016-05-30 Thread Eduardo Valentin
Code reorganization to keep all the sysfs I/F of a thermal zone in the same section. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 216

[PATCHv3 06/48] thermal: core: move mode attribute to tz->device.groups

2016-05-30 Thread Eduardo Valentin
Moving mode attribute to tz->device.groups requires the implementation of a .is_visible() callback. The condition returned by .is_visible() of the mode attribute group is kept the same, we allow the attribute to be visible only if ops->get_mode() is set by the thermal driver. Cc: Zhang Rui

Re: [PATCH 13/15] mtd: nand: samsung: retrieve ECC requirements from extended ID

2016-05-30 Thread Boris Brezillon
On Mon, 30 May 2016 16:56:09 -0400 valdis.kletni...@vt.edu wrote: > On Mon, 30 May 2016 09:44:46 +0200, Boris Brezillon said: > > Hi Valdis, > > > Actually, that was my first reaction [1], but the more I think about it > > the more I realize it's a non-issue. > > AFAICT, there's no full-id

shrink_active_list/try_to_release_page bug? (was Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xfs_vm_releasepage)

2016-05-30 Thread Dave Chinner
[adding lkml and linux-mm to the cc list] On Mon, May 30, 2016 at 09:23:48AM +0200, Stefan Priebe - Profihost AG wrote: > Hi Dave, > Hi Brian, > > below are the results with a vanilla 4.4.11 kernel. Thanks for persisting with the testing, Stefan. > i've now used a vanilla 4.4.11 Kernel

linux-next: manual merge of the drm-intel tree with Linus' tree

2016-05-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/intel_display.c between commit: 9bd18728a3f2 ("drm/i915: Ignore stale wm register values on resume on ilk-bdw (v2)") from Linus' tree and commit: e3d5457c7caa ("drm/i915: Ignore stale wm

Re: shrink_active_list/try_to_release_page bug? (was Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xfs_vm_releasepage)

2016-05-30 Thread Minchan Kim
On Tue, May 31, 2016 at 08:36:57AM +1000, Dave Chinner wrote: > [adding lkml and linux-mm to the cc list] > > On Mon, May 30, 2016 at 09:23:48AM +0200, Stefan Priebe - Profihost AG wrote: > > Hi Dave, > > Hi Brian, > > > > below are the results with a vanilla 4.4.11 kernel. > > Thanks for

linux-next: build warnings after merge of the sound-asoc tree

2016-05-30 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: sound/soc/codecs/cs47l24.c: In function 'cs47l24_adsp2_irq' : sound/soc/codecs/cs47l24.c:1091:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Re: [PATCH trivial] include/linux/memblock.h: Clean up code for several trivial details

2016-05-30 Thread Chen Gang
On 2016年05月30日 22:33, Joe Perches wrote: > On Mon, 2016-05-30 at 22:21 +0800, Chen Gang wrote: >> No, they are not necessary. But for me, it will be more clearer, since >> in our kernel (at least in include/linux/), almost all Boolean functions >> use Boolean value or expression for return (and

[BUG] Page allocation failures with newest kernels

2016-05-30 Thread Marcin Wojtas
Hi, After rebasing platform support of two different ARMv8 SoC's from v4.1 baseline to v4.4 it occurred that stressed systems tend to have page allocation problems, related to creating new slabs: http://pastebin.com/FhRW5DsF Steps to reproduce: - use SATA drive (on-board or over PCIe) with 2

Re: [PATCH] ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board

2016-05-30 Thread Chen-Yu Tsai
Hi, On Tue, May 31, 2016 at 3:43 AM, Maxime Ripard wrote: > Hi, > > On Mon, May 30, 2016 at 08:30:13PM +0800, luoyi...@gmail.com wrote: >> From: luoyi >> >> Add support for the Bananapi M1 Plus A20 development board from >> sinovoip.com.cn

[PATCH 4.6 085/100] ALSA: hda - Fix headphone noise on Dell XPS 13 9360

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 423cd785619ac6778252fbdb916505aa1c153959 upstream. The headphone has noise when playing sound or switching microphone sources. It uses the same

[PATCH 4.6 084/100] ALSA: hda/realtek - New codecs support for ALC234/ALC274/ALC294

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit dcd4f0db6141d6bf2cb897309d5d6f53d1b1696f upstream. Support new codecs for ALC234/ALC274/ALC294. This three codecs was the same IC. But bonding is not

[PATCH 4.6 080/100] objtool: Allow building with older libelf

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 2e51f26245701cb28f154552836b7807159088a8 upstream. The switch to elf_getshdr{num,strndx} post-dates the oldest tool chain the kernel is supposed to be

[PATCH 4.6 078/100] watchdog: core: Fix circular locking dependency

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit e1f30282a1d3d0c75d5a08e47c6ac1563065be52 upstream. lockdep reports the following circular locking dependency.

[PATCH 4.6 082/100] misc: mic: Fix for double fetch security bug in VOP driver

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Ashutosh Dixit commit 9bf292bfca94694a721449e3fd752493856710f6 upstream. The MIC VOP driver does two successive reads from user space to read a variable length data

[PATCH 4.6 083/100] mcb: Fixed bar number assignment for the gdd

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Werner commit f75564d343010b025301d9548f2304f48eb25f01 upstream. The bar number is found in reg2 within the gdd. Therefore we need to change the assigment from

[PATCH 4.6 086/100] ALSA: hda/realtek - Add support for ALC295/ALC3254

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 7d727869c7b86da0874436ac5675dcdadaf3a0a1 upstream. Add support for ALC295/ALC3254. They are simply compatible with ALC225 chip. Signed-off-by: Kailang

[PATCH 4.6 076/100] locking,qspinlock: Fix spin_is_locked() and spin_unlock_wait()

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 54cf809b9512be95f53ed4a5e3b631d1ac42f0fa upstream. Similar to commits: 51d7d5205d33 ("powerpc: Add smp_mb() to arch_spin_is_locked()")

[PATCHv2 38/40] thermal: core: add a comment describing the power actor section

2016-05-30 Thread Eduardo Valentin
Simply marking the power actor section and adding a comment describing it. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 7 +++ 1 file changed, 7

[PATCHv2 32/40] thermal: core: move bind_tz() to where it is used

2016-05-30 Thread Eduardo Valentin
Moving the helper to closer where it is used. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 80 +- 1 file

[PATCHv2 33/40] thermal: core: fix couple of style issues on __bind() helper

2016-05-30 Thread Eduardo Valentin
Removing style issues on __bind() and its helpers. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 10 +- 1 file changed, 5 insertions(+), 5

[PATCHv2 25/40] thermal: core: remove a couple of style issues on helpers

2016-05-30 Thread Eduardo Valentin
Reorganizing the code of helper functions to improve readability and style, as recommended by checkpatch.pl. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c

[PATCHv2 36/40] thermal: core: move notify to the zone update section

2016-05-30 Thread Eduardo Valentin
moving the helper function to closer to similar functions. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 36 ++-- 1 file

[PATCHv2 35/40] thermal: core: add inline to print_bind_err_msg()

2016-05-30 Thread Eduardo Valentin
Given that this is simple wrapper, adding the inline flag. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCHv2 29/40] thermal: core: small style fix on __unbind() helper

2016-05-30 Thread Eduardo Valentin
Simply aligning to parenthesis. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCHv2 09/40] thermal: core: move power actor code out of sysfs I/F section

2016-05-30 Thread Eduardo Valentin
Simply reorganize code to keep only functions of sysfs interface of thermal zone device together. Therefore, move the power actor code out of the sysfs I/F section. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin

[PATCHv2 00/40]

2016-05-30 Thread Eduardo Valentin
Folks, This is V2 of a patch series to improve thermal core. The idea here is to reorganize the code and improve the way we handle sysfs entries. The change in behavior is that now, thermal zones with empty .type will not be allowed to be registered. Also, the way we handle scanf's return code

[PATCHv2 04/40] thermal: core: use dev.groups to manage always present tz attributes

2016-05-30 Thread Eduardo Valentin
Thermal zones attributes are all being created using device_create_file(). This has the disadvantage of making the code complicated and sometimes we may miss the cleanup of them. This patch starts to move the thermal zone sysfs attributes to the dev.groups, so Linux device core manage them for

[PATCHv2 13/40] thermal: core: create tz->device.groups dynamically

2016-05-30 Thread Eduardo Valentin
This is a patch to allow adding groups created dynamically. For now we create only the existing group. However, this is a preparation to allow creating trip groups, which are determined only when the number of trips are known at runtime. Cc: Zhang Rui Cc:

[PATCHv2 06/40] thermal: core: move mode attribute to tz->device.groups

2016-05-30 Thread Eduardo Valentin
Moving mode attribute to tz->device.groups requires the implementation of a .is_visible() callback. The condition returned by .is_visible() of the mode attribute group is kept the same, we allow the attribute to be visible only if ops->get_mode() is set by the thermal driver. Cc: Zhang Rui

[PATCHv2 12/40] thermal: core: move the trip attrs to the tz sysfs I/F section

2016-05-30 Thread Eduardo Valentin
Code reorganization to keep all the sysfs I/F of a thermal zone in the same section. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 216

[PATCH 4.5 38/87] Bluetooth: vhci: purge unhandled skbs

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 13407376b255325fa817798800117a839f3aa055 upstream. The write handler allocates skbs and queues them into data->readq. Read side should read them, if there is

[PATCH 4.5 14/87] fs/cifs: correctly to anonymous authentication for the NTLM(v2) authentication

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit 1a967d6c9b39c226be1b45f13acd4d8a5ab3dc44 upstream. Only server which map unknown users to guest will allow access using a non-null NTLMv2_Response.

[PATCH 4.5 05/87] arm64: Implement ptep_set_access_flags() for hardware AF/DBM

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit 66dbd6e61a526ae7d11a208238ae2c17e5cacb6b upstream. When hardware updates of the access and dirty states are enabled, the default

[PATCH 4.5 49/87] USB: serial: option: add more ZTE device ids

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: lei liu commit f0d09463c59c2d764a6c6d492cbe6d2c77f27153 upstream. More ZTE device ids. Signed-off-by: lei liu [properly sort them - gregkh]

[PATCH 4.5 53/87] usb: misc: usbtest: fix pattern tests for scatterlists.

2016-05-30 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit cdc77c82a8286b1181b81b6e5ef60c8e83ded7bc upstream. The current implemenentation restart the sent pattern for each entry in the sg list. The

[PATCH 3.14 08/20] mfd: omap-usb-tll: Fix scheduling while atomic BUG

2016-05-30 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit b49b927f16acee626c56a1af4ab4cb062f75b5df upstream. We shouldn't be calling clk_prepare_enable()/clk_prepare_disable() in an atomic context. Fixes the

[PATCH 4.4 31/86] mmc: mmc: Fix partition switch timeout for some eMMCs

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 1c447116d017a98c90f8f71c8c5a611e0aa42178 upstream. Some eMMCs set the partition switch timeout too low. Now typically eMMCs are considered a

[PATCH 4.4 32/86] mmc: sdhci-acpi: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 265984b36ce82fec67957d452dd2b22e010611e4 upstream. The CMD19/CMD14 bus width test has been found to be unreliable in some cases. It is not

[PATCH 3.14 17/20] USB: serial: io_edgeport: fix memory leaks in probe error path

2016-05-30 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit c8d62957d450cc1a22ce3242908709fe367ddc8e upstream. URBs and buffers allocated in attach for Epic devices would never be deallocated in case of a later

[PATCH 4.4 33/86] ACPI / osi: Fix an issue that acpi_osi=!* cannot disable ACPICA internal strings

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 30c9bb0d7603e7b3f4d6a0ea231e1cddae020c32 upstream. The order of the _OSI related functionalities is as follows: acpi_blacklisted()

[PATCH 4.4 07/86] arm64: Ensure pmd_present() returns false after pmd_mknotpresent()

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit 5bb1cc0ff9a6b68871970737e6c4c16919928d8b upstream. Currently, pmd_present() only checks for a non-zero value, returning true even after

[PATCH 4.4 36/86] mmc: sdhci-pci: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 822969369482166050c5b2f7013501505e025c39 upstream. The CMD19/CMD14 bus width test has been found to be unreliable in some cases. It is not

[PATCH 4.4 38/86] Bluetooth: vhci: purge unhandled skbs

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 13407376b255325fa817798800117a839f3aa055 upstream. The write handler allocates skbs and queues them into data->readq. Read side should read them, if there is

[PATCH 4.4 26/86] mfd: omap-usb-tll: Fix scheduling while atomic BUG

2016-05-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit b49b927f16acee626c56a1af4ab4cb062f75b5df upstream. We shouldn't be calling clk_prepare_enable()/clk_prepare_disable() in an atomic context. Fixes the

[PATCHv3 46/48] thermal: core: improve kerneldoc entry of thermal_cooling_device_unregister

2016-05-30 Thread Eduardo Valentin
Improve description and keep 80 columns limit. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCHv3 40/48] thermal: sysfs: remove symbols of emul_temp when config is disabled

2016-05-30 Thread Eduardo Valentin
Remove the following warning: In file included from drivers/thermal/thermal_sysfs.c:19:0: include/linux/device.h:575:26: warning: ‘dev_attr_emul_temp’ defined but not used [-Wunused-variable] struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)

[PATCHv3 48/48] thermal: sysfs: use kcalloc() instead of kzalloc()

2016-05-30 Thread Eduardo Valentin
Simplify size computation by using kcalloc() for allocating memory for arrays. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_sysfs.c | 13 - 1 file

Re: [PATCH v3 3/7] perf config: Modify perf_config_set__delete() using global variable 'config_set'

2016-05-30 Thread Taeung Song
Hi, Arnaldo :-D On 05/31/2016 04:29 AM, Arnaldo Carvalho de Melo wrote: Em Tue, May 31, 2016 at 01:44:07AM +0900, Taeung Song escreveu: This function deleted allocated config set but the global variable 'config_set' is used all around so this directly remove 'config_set' instead of using local

[PATCHv3 45/48] thermal: core: remove style warnings and checks

2016-05-30 Thread Eduardo Valentin
Removing several style issues in thermal code code. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 22 +++--- 1 file changed, 11

[PATCHv3 47/48] thermal: core: use kzalloc(sizeof(*ptr),...)

2016-05-30 Thread Eduardo Valentin
As a safety check, this patch changes thermal core to check for pointer content size, instead of type size, while allocating memory. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCHv3 44/48] thermal: core: remove void function return statements

2016-05-30 Thread Eduardo Valentin
Simply removing useless returns of void functions. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCHv3 43/48] thermal: core: standardize line breaking alignment

2016-05-30 Thread Eduardo Valentin
Pass through the code to remove check suggested by checkpatch.pl (alignment to parenthesis): CHECK: Alignment should match open parenthesis Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCHv3 42/48] thermal: core: small style fix when checking for __find_governor()

2016-05-30 Thread Eduardo Valentin
Remove style issue: CHECK: Comparison to NULL could be written "!__find_governor" + if (__find_governor(governor->name) == NULL) { Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCHv3 34/48] thermal: core: move __bind() to where it is used

2016-05-30 Thread Eduardo Valentin
Moving the helper to closer where it is used. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 66 +- 1 file

[PATCHv3 41/48] thermal: core: remove FSF address in the GPL notice

2016-05-30 Thread Eduardo Valentin
Simplify the GPL notice by removing the FSF address. No need to track FSF location in this file. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 13

[PATCHv3 39/48] thermal: core: add a comment describing the device management section

2016-05-30 Thread Eduardo Valentin
comment describing the section with function to handle registration, unregistration, binding, and unbinding of thermal devices. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

Re: [PATCH] mtd: Replace if and BUG with BUG_ON

2016-05-30 Thread Ezequiel Garcia
Hi Amitoj, Thanks for your patch. On 28 May 2016 at 13:41, Amitoj Kaur Chawla wrote: > Replace if condition and BUG() with a BUG_ON having the conditional > expression of the if statement as argument. > We usually want commit messages that tell us *why* you are doing the

Re: [PATCH 13/15] mtd: nand: samsung: retrieve ECC requirements from extended ID

2016-05-30 Thread Boris Brezillon
On Tue, 31 May 2016 00:28:24 +0200 Boris Brezillon wrote: > On Mon, 30 May 2016 16:56:09 -0400 > valdis.kletni...@vt.edu wrote: > > > On Mon, 30 May 2016 09:44:46 +0200, Boris Brezillon said: > > > Hi Valdis, > > > > > Actually, that was my first

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

2016-05-30 Thread Emese Revfy
On Tue, 24 May 2016 19:55:17 -0700 Kees Cook wrote: > Yeah, answering "how random is this?" is not easy, but that's not what > I meant. I'm more curious about specific build configs or hardware > where calling get_random_int() early enough would always produce the > same

Re: [PATCH 2/5] clocksource: rockchip: remove unnecessary clear irq before request_irq

2016-05-30 Thread Daniel Lezcano
On 05/25/2016 11:49 AM, Caesar Wang wrote: From: Huang Tao rk_timer_interrupt_clear and rk_timer_disable is unnecessary before request_irq. Timer should keep disabled before booting Linux. That's true in the perfect world :/ Some version has u-boot letting the timer

[gpio] cc736607c8: kernel BUG at drivers/base/driver.c:153!

2016-05-30 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit cc736607c86d39ea078519af0de6ee0fbf3096a6 ("gpio: ws16c48: Utilize the ISA bus driver") on test machine: vm-kbuild-yocto-i386: 2 threads qemu-system-i386 -enable-kvm with

Re: shrink_active_list/try_to_release_page bug? (was Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xfs_vm_releasepage)

2016-05-30 Thread Minchan Kim
On Tue, May 31, 2016 at 12:55:09PM +1000, Dave Chinner wrote: > On Tue, May 31, 2016 at 10:07:24AM +0900, Minchan Kim wrote: > > On Tue, May 31, 2016 at 08:36:57AM +1000, Dave Chinner wrote: > > > [adding lkml and linux-mm to the cc list] > > > > > > On Mon, May 30, 2016 at 09:23:48AM +0200,

[PATCH 4.6 042/100] mei: amthif: discard not read messages

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 9d04ee11db7bf0d848266cbfd7db336097a0e239 upstream. When a message is received and amthif client is not in reading state the message is

[PATCH 4.6 000/100] 4.6.1-stable review

2016-05-30 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.6.1 release. There are 100 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Jun 1 20:48:45 UTC 2016. Anything

[PATCH 4.6 009/100] remove directory incorrectly tries to set delete on close on non-empty directories

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 897fba1172d637d344f009d700f7eb8a1fa262f1 upstream. Wrong return code was being returned on SMB3 rmdir of non-empty directory. For SMB3 (unlike for

[PATCH 4.6 008/100] perf/x86/intel/uncore: Remove WARN_ON_ONCE in uncore_pci_probe

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit ef3f00a4d38e01ec0e7ad1b1c8edc2f5667aaa32 upstream. When booting with nr_cpus=1, uncore_pci_probe tries to init the PCI/uncore also for the other packages and

[PATCH 4.6 025/100] Input: pwm-beeper - fix - scheduling while atomic

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Manfred Schlaegl commit f49cf3b8b4c841457244c461c66186a719e13bcc upstream. Pwm config may sleep so defer it using a worker. On a Freescale i.MX53 based board we ran

[PATCH 4.6 023/100] sched/loadavg: Fix loadavg artifacts on fully idle and on fully loaded systems

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vik Heyndrickx commit 20878232c52329f92423d27a60e48b6a6389e0dd upstream. Systems show a minimal load average of 0.00, 0.01, 0.05 even when they have no load at all.

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