Re: [PATCH 2/4] selinux: Adjust jump targets in ebitmap_read()

2017-08-13 Thread Serge E. Hallyn
Quoting SF Markus Elfring (elfr...@users.sourceforge.net): > From: Markus Elfring > Date: Sun, 13 Aug 2017 15:21:43 +0200 > > Adjust jump targets so that the function implementation becomes smaller. By how much?

Re: [PATCH 1/4] selinux: Delete eight unnecessary variable assignments

2017-08-13 Thread Serge E. Hallyn
Quoting SF Markus Elfring (elfr...@users.sourceforge.net): > From: Markus Elfring > Date: Sun, 13 Aug 2017 14:17:48 +0200 > > One local variable was reset to zero at the end of these functions. > This value will also be set by a previous call of a function if it was > executed successfully. Thus

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Sorry I mistakenly focused on NET case, please pass it over. I will do any relevant suggestion in patch-based way. Thanks. On Sun, 2017-08-13 at 23:11 +0900, Koichiro Den wrote: > Thanks for your comments, Michael and Jason. And I'm sorry about late > response. > To be honest, I am on a summer vac

Re: [PATCH 4/4] selinux: Adjust five checks for null pointers

2017-08-13 Thread Serge E. Hallyn
Quoting SF Markus Elfring (elfr...@users.sourceforge.net): > From: Markus Elfring > Date: Sun, 13 Aug 2017 16:16:05 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The script “checkpatch.pl” pointed information out like the following. > >

Re: [PATCH] nokia n900: update dts with camera support

2017-08-13 Thread Pali Rohár
On Thursday 10 August 2017 22:49:23 Pavel Machek wrote: > > Add camera support to N900 dts. Also add a note about MMC & debugging. > > Signed-off-by: Pavel Machek Looks good, Acked-by: Pali Rohár > > diff --git a/arch/arm/boot/dts/omap3-n900.dts > b/arch/arm/boot/dts/omap3-n900.dts > index

[PATCH] ASoC: samsung: make tm2_dapm_widgets and tm2_pm_ops static

2017-08-13 Thread Colin King
From: Colin Ian King tm2_dapm_widgets and tm2_pm_ops are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'tm2_dapm_widgets' was not declared. Should it be static? symbol 'tm2_pm_ops' was not declared. Should it be static? Signed-

Re: [PATCH v2] platform/x86: wmi: Switch to use new generic UUID API

2017-08-13 Thread Andy Lutomirski
On Sun, Aug 13, 2017 at 7:13 AM, Andy Shevchenko wrote: > There are new types and helpers that are supposed to be used in new code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. > > While here, update Copyright to reflect this change along with previou

Re: [PATCH v1] platform/x86: wmi: Switch to use new generic UUID API

2017-08-13 Thread Andy Lutomirski
On Sun, Aug 13, 2017 at 8:23 AM, Andy Lutomirski wrote: > On Sun, Aug 13, 2017 at 7:15 AM, Andy Shevchenko > wrote: >> On Sun, 2017-08-06 at 08:43 -0700, Andy Lutomirski wrote: >>> On Fri, Aug 4, 2017 at 8:27 AM, Andy Shevchenko >>> wrote: >>> > On Fri, Aug 4, 2017 at 6:01 PM, Andy Lutomirski >

[PATCH] MAINTAINERS: drop entry for Blackfin I2C and Sonic's email

2017-08-13 Thread Wolfram Sang
Sonic's email address bounced, so remove it from MAINTAINERS. Since there was no I2C/TWI maintenance activity for 3 years now, drop that whole entry. Signed-off-by: Wolfram Sang --- Because the Blackfin ML activity is very low, I wonder if the state of the whole Blackfin arch really matches "Sup

Re: Linux 3.18.65

2017-08-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 02a30af3aad0..3979e65d516e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 64 +SUBLEVEL = 65 EXTRAVERSION = NAME = Diseased Newt diff --git a/net/core/dev.c b/net/core/dev.c index 99b703e45c59..22ad4e433b3a 10

Linux 3.18.65

2017-08-13 Thread Greg KH
I'm announcing the release of the 3.18.65 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.82

2017-08-13 Thread Greg KH
diff --git a/Makefile b/Makefile index d049e53a6960..52f2dd8dcebd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 81 +SUBLEVEL = 82 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c index 1f1ff7e7b9cf..ba079

Linux 4.4.82

2017-08-13 Thread Greg KH
I'm announcing the release of the 4.4.82 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.12.7

2017-08-13 Thread Greg KH
diff --git a/Makefile b/Makefile index c8d80b50495a..ebe69a704bca 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 12 -SUBLEVEL = 6 +SUBLEVEL = 7 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c index 6

Linux 4.9.43

2017-08-13 Thread Greg KH
I'm announcing the release of the 4.9.43 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.43

2017-08-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 34d4d9f8a4b2..77953bf3f40a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 42 +SUBLEVEL = 43 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index f3baa

Linux 4.12.7

2017-08-13 Thread Greg KH
I'm announcing the release of the 4.12.7 kernel. All users of the 4.12 kernel series must upgrade. The updated 4.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.12.y and can be browsed at the normal kernel.org git web browser:

[PATCH] ASoC: zx_aud96p22: make array aud96p22_dt_ids static

2017-08-13 Thread Colin King
From: Colin Ian King The array aud96p22_dt_ids is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static? Signed-off-by: Colin Ian King --- sound/soc/codecs/zx_aud96p22.c | 2 +-

Re: [PATCH v1] platform/x86: wmi: Switch to use new generic UUID API

2017-08-13 Thread Andy Lutomirski
On Sun, Aug 13, 2017 at 7:15 AM, Andy Shevchenko wrote: > On Sun, 2017-08-06 at 08:43 -0700, Andy Lutomirski wrote: >> On Fri, Aug 4, 2017 at 8:27 AM, Andy Shevchenko >> wrote: >> > On Fri, Aug 4, 2017 at 6:01 PM, Andy Lutomirski >> > wrote: >> > > > On Aug 2, 2017, at 9:28 AM, Andy Shevchenko >

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-13 Thread Luiz Capitulino
On Sat, 12 Aug 2017 16:10:06 +0200 Frederic Weisbecker wrote: > On Fri, Aug 11, 2017 at 03:09:57PM -0400, Luiz Capitulino wrote: > > On Fri, 21 Jul 2017 15:21:28 +0200 > > Frederic Weisbecker wrote: > > > -void __init housekeeping_init(void) > > > +/* Parse the boot-time housekeeping CPU list

[PATCH] ASoC: rt5514: make array rt5514_dai static

2017-08-13 Thread Colin King
From: Colin Ian King The array rt5514_dai is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warnings: symbol 'rt5514_dai' was not declared. Should it be static? warning: symbol 'rt5514_dai' was not declared. Should it be static? Signed-off-by:

[PATCH] ASoC: max98926: make max98926_spk_tlv and max98926_current_tlv static

2017-08-13 Thread Colin King
From: Colin Ian King max98926_spk_tlv and max98926_current_tlv are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'max98926_spk_tlv' was not declared. Should it be static? symbol 'max98926_current_tlv' was not declared. Should it

qustion about eeh_add_virt_device

2017-08-13 Thread Julia Lawall
Hello, At the suggestion of Christoph Hellwig, I am working on inlining the functions stored in the err_handler field of a pci_driver structure into the pci_driver structure itself. A number of functions in the file arch/powerpc/kernel/eeh_driver.c have code like: if (!driver->err_handle

Re: [PATCH 3/3] mm/sched: memdelay: memory health interface for systems and workloads

2017-08-13 Thread Peter Zijlstra
On Tue, Aug 01, 2017 at 08:26:34AM -0400, Johannes Weiner wrote: > On Tue, Aug 01, 2017 at 09:57:28AM +0200, Peter Zijlstra wrote: > > And you haven't even defined wth a memdelay section is yet.. > > It's what a task is in after it calls memdelay_enter() and before it > calls memdelay_leave(). U

[PATCH 4/4] selinux: Adjust five checks for null pointers

2017-08-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 13 Aug 2017 16:16:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix affected source code places.

[PATCH 3/4] selinux: Delete an unnecessary return statement in ebitmap_destroy()

2017-08-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 13 Aug 2017 15:50:26 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring --- securit

[PATCH 2/4] selinux: Adjust jump targets in ebitmap_read()

2017-08-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 13 Aug 2017 15:21:43 +0200 Adjust jump targets so that the function implementation becomes smaller. * Move an error message so that it is present only once here. * Avoid another check for the local variable "rc" at the end. Signed-off-by: Markus Elfring --- se

[PATCH 1/4] selinux: Delete eight unnecessary variable assignments

2017-08-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 13 Aug 2017 14:17:48 +0200 One local variable was reset to zero at the end of these functions. This value will also be set by a previous call of a function if it was executed successfully. Thus omit an extra assignment there. Signed-off-by: Markus Elfring --- se

[PATCH 0/4] SELinux: Fine-tuning for some function implementations

2017-08-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 13 Aug 2017 16:25:43 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete eight unnecessary variable assignments Adjust jump targets in ebitmap_read() Delete an unnecessary return statement in eb

Re: [PATCH] powerpc: store the intended structure

2017-08-13 Thread Julia Lawall
On Sun, 13 Aug 2017, Joe Perches wrote: > On Sun, 2017-08-13 at 15:24 +0200, Julia Lawall wrote: > > Normally the values in the resource field and the argument to ARRAY_SIZE > > in the num_resources are the same. In this case, the value in the reousrce > > field is the same as the one in the pr

Re: [RFC PATCH 1/6] bsg: fix kernel panic resulting from missing allocation of a reply-buffer

2017-08-13 Thread Christoph Hellwig
On Fri, Aug 11, 2017 at 06:01:42PM +0200, Benjamin Block wrote: > When the BSG interface is used with bsg-lib, and the user sends a > Bidirectional command - so when he gives an input- and output-buffer > (most users of our interface will likely do that, if they wanna get the > transport-level resp

Re: [PATCH 0/6] constify pci_error_handlers structures

2017-08-13 Thread Christoph Hellwig
On Sat, Aug 12, 2017 at 01:51:21PM +0200, Julia Lawall wrote: > Another issue arises in the files drivers/infiniband/hw/hfi1/pcie.c and > drivers/infiniband/hw/qib/qib_pcie.c, where the pci_error_handlers > structure is defined in one file and used in another file. The structure > definition refer

Re: [PATCH] powerpc: store the intended structure

2017-08-13 Thread Joe Perches
On Sun, 2017-08-13 at 15:24 +0200, Julia Lawall wrote: > Normally the values in the resource field and the argument to ARRAY_SIZE > in the num_resources are the same. In this case, the value in the reousrce > field is the same as the one in the previous platform_device structure, and > appears to

Re: [PATCH v2 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-13 Thread Masahiro Yamada
2017-08-13 18:00 GMT+09:00 Katsuhiro Suzuki : > Add a reset line for analog signal amplifier core (ADAMV) on > UniPhier LD11/LD20 SoCs. > > Signed-off-by: Katsuhiro Suzuki > > --- > > Changes for v2: > - ID changes to 0 because ADAMV reset controller independents > from other reset controlle

[PATCH RESEND] blackfin: merge the two TWI header files

2017-08-13 Thread Wolfram Sang
There seems to be no need for separate ones since all users include both files anyhow. Merge them because include/linux/i2c is to be deprecated. Signed-off-by: Wolfram Sang --- Reseding, rebased on v4.13-rc4. Now subscribed to the adi-ML as well. I'd prefer if this goes via the ADI tree but I ca

Re: [PATCH v1] platform/x86: wmi: Switch to use new generic UUID API

2017-08-13 Thread Andy Shevchenko
On Sun, 2017-08-06 at 08:43 -0700, Andy Lutomirski wrote: > On Fri, Aug 4, 2017 at 8:27 AM, Andy Shevchenko > wrote: > > On Fri, Aug 4, 2017 at 6:01 PM, Andy Lutomirski > > wrote: > > > > On Aug 2, 2017, at 9:28 AM, Andy Shevchenko > > > inux.intel.com> wrote: > > > NAK.  guid_block is a firmwa

[PATCH v2] platform/x86: wmi: Switch to use new generic UUID API

2017-08-13 Thread Andy Shevchenko
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. While here, update Copyright to reflect this change along with previous one for the topic. Signed-off-by: Andy Shevchenko --- v2: - do

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Thanks for your comments, Michael and Jason. And I'm sorry about late response. To be honest, I am on a summer vacation until next Tuesday. I noticed that what I wrote was not sufficient. Regardless of caching mechanism existence, the "event" could legitimately be at any point out of the latest in

Re: [PATCH 0/1] gpu: move include files out of include/linux/i2c

2017-08-13 Thread Wolfram Sang
On Mon, Jun 05, 2017 at 11:38:08PM +0200, Patrik Jakobsson wrote: > On Mon, May 22, 2017 at 12:11 AM, Wolfram Sang wrote: > > It doesn't make sense to use include/linux/i2c for client drivers which may > > in > > fact rather be hwmon or input or whatever devices. As a result, I want to > > deprec

[PATCH] powerpc: store the intended structure

2017-08-13 Thread Julia Lawall
Normally the values in the resource field and the argument to ARRAY_SIZE in the num_resources are the same. In this case, the value in the reousrce field is the same as the one in the previous platform_device structure, and appears to be a copy-paste error. Replace the value in the resource field

Re: [PATCH] platform/x86: intel_pmc_core: Make the driver PCH family agnostic

2017-08-13 Thread Andy Shevchenko
On Sat, Aug 12, 2017 at 7:50 PM, Srinivas Pandruvada wrote: > Although this driver did pretty good job in abstracting PCH specific > interfaces, but still there are some loose ends. For example > SLP_S0 counter (for reading SLP_S0 residency), PM config offset (for > checking permissions to read XR

Re: [PATCH v1 1/2] hyperv: Include linux/types.h to avoid build break

2017-08-13 Thread Andy Shevchenko
On Sun, 2017-08-13 at 16:34 +0300, Andy Shevchenko wrote: > The commit 2ffd9e33ce4a > > ("x86/hyper-v: Use hypercall for remote TLB flush") > > introduced a new C-file where uapi/linux/hyperv.h is included first. > > This makes build failed since UAPI headers are heavily dependent to > speci

Re: [v2,3/4] hwmon: (pmbus): Add generic alarm bit for iin and pin

2017-08-13 Thread Guenter Roeck
On Thu, Aug 10, 2017 at 04:57:49PM -0500, eaja...@linux.vnet.ibm.com wrote: > From: "Edward A. James" > > Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also > need to redo the status register checking before setting up the boolean > attribute, since it won't necessarily check S

Re: [v2,2/4] hwmon: (pmbus): Access word data for STATUS_WORD

2017-08-13 Thread Guenter Roeck
On Thu, Aug 10, 2017 at 04:57:48PM -0500, eaja...@linux.vnet.ibm.com wrote: > From: "Edward A. James" > > Pmbus always reads byte data from the status register, even if > configured to use STATUS_WORD. Use a function pointer to read the > correct amount of data from the registers. > Also switch t

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-08-13 Thread Wolfram Sang
On Thu, Jul 06, 2017 at 08:03:52AM +0100, Lee Jones wrote: > On Thu, 06 Jul 2017, Thierry Reding wrote: > > > On Mon, May 22, 2017 at 12:02:10AM +0200, Wolfram Sang wrote: > > > include/linux/i2c is not for client devices. Move the header file to a > > > more appropriate location. > > > > > > Sig

Re: [v2,1/4] hwmon: (pmbus): Switch status registers to 16 bit

2017-08-13 Thread Guenter Roeck
On Thu, Aug 10, 2017 at 04:57:47PM -0500, eaja...@linux.vnet.ibm.com wrote: > From: "Edward A. James" > > Switch the storage of status registers to 16 bit values. This allows us > to store all the bits of STATUS_WORD. > > Signed-off-by: Edward A. James Applied to hwmon-next. Thanks, Guenter

[PATCH v1 1/2] hyperv: Include linux/types.h to avoid build break

2017-08-13 Thread Andy Shevchenko
The commit 2ffd9e33ce4a ("x86/hyper-v: Use hypercall for remote TLB flush") introduced a new C-file where uapi/linux/hyperv.h is included first. This makes build failed since UAPI headers are heavily dependent to special types of variables, e.g. __u8. CC arch/x86/hyperv/mmu.o In file

Re: [PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-08-13 Thread Wolfram Sang
On Tue, May 23, 2017 at 08:18:19AM +0100, Lee Jones wrote: > On Mon, 22 May 2017, Wolfram Sang wrote: > > > include/linux/i2c is not for client devices. Move the header file to a > > more appropriate location. > > > > Signed-off-by: Wolfram Sang > > --- > > arch/arm/mach-omap1/board-h2-mmc.c

Re: [v2] hwmon:(stts751) buffer overread on wrong chip configuration

2017-08-13 Thread Guenter Roeck
On Thu, Aug 10, 2017 at 07:46:32PM +0300, Anton Vasilyev wrote: > If stts751 hw by some reason reports conversion rate bigger then 9: > ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_RATE); > then dereference stts751_intervals[priv->interval] leads to buffer > overread. > > The p

[PATCH v1 2/2] MAINTAINERS: Add missed file for Hyper-V

2017-08-13 Thread Andy Shevchenko
include/uapi/linux/hyperv.h is a part of Hyper-V support. Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Stephen Hemminger Signed-off-by: Andy Shevchenko --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index acf95f158b97..ab96ea3003ef 100644 --- a/MAI

Re: [PATCH 1/3] mfd: dm355evm_msp: move header file out of I2C realm

2017-08-13 Thread Wolfram Sang
On Tue, May 23, 2017 at 08:17:27AM +0100, Lee Jones wrote: > On Mon, 22 May 2017, Wolfram Sang wrote: > > > include/linux/i2c is not for client devices. Move the header file to a > > more appropriate location. > > > > Signed-off-by: Wolfram Sang > > --- > > drivers/input/misc/dm355evm_keys.c

[PATCH] drm/i915: switch to drm_*_get(), drm_*_put() helpers

2017-08-13 Thread Cihangir Akturk
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and drm_*_unreference() helpers. drm_*_reference() and drm_*_unreference() functions are just compatibility alias for drm_*_get() and drm_*_put() and should not be used by new code. So convert all users of compatibility functions

[PATCH] ste_dma40: make stedma40_chan_cfg const

2017-08-13 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/dma/ste_dma40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index c3052fb..f4fab41 100644

Re: [PATCH v2 5/6] edac: synopsys: Update ECC error message info

2017-08-13 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:27AM +0200, Michal Simek wrote: > From: Naga Sureshkumar Relli > > This patch updates the ECC error message info > for zynqmp ddrc. added Block number and Bankgroup > in the message info. > > Signed-off-by: Naga Sureshkumar Relli > Signed-off-by: Michal Simek > --

RE: [v6] wlcore: add missing nvs file name info for wilink8

2017-08-13 Thread Reizer, Eyal
> > > > > > > > > > Sure, just want to make sure we are not trying to add work around just > for > > > A couple of faulty devices. > > > > > > > > I have verified using a couple of com6 modules with an am335x-evm > and > > > > they had mac addresses read ok. > > > > > > > > Sounds like there are mu

Re: [PATCH v2 4/6] edac: synopsys: Add ECC error injection support

2017-08-13 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:26AM +0200, Michal Simek wrote: > @@ -181,6 +187,38 @@ > #define MEM_TYPE_DDR40x10 > #define MEM_TYPE_LPDDR4 0x10 > > +/* DDRC Software control register */ > +#define DDRC_SWCTL 0x320 > + > +/* DDRC ECC CE & UE poison mask */ > +#define ECC_CEPOISON_

Re: [PATCH 0/4] platform/x86: Fix check for method instance number

2017-08-13 Thread Andy Shevchenko
On Sat, Aug 12, 2017 at 10:44 AM, Pali Rohár wrote: > This patch series fixes remaining mxm-wmi and asus-wmi drivers to evaluate > WMI methods with correct and available instance number. Now all WMI drivers > should call WMI functions with correct instance number and last patch fixes > WMI check f

[PATCH] um: Fix CONFIG_GCOV for modules.

2017-08-13 Thread Thomas Meyer
Explicitly export symbols so modpost doesn't complain. Signed-off-by: Thomas Meyer --- arch/um/kernel/gmon_syms.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/um/kernel/gmon_syms.c b/arch/um/kernel/gmon_syms.c index 1bf61266da8e..f138a4a0db99 100644 --- a/arch/um/kernel/gmon_s

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2017-08-13 Thread Peter Zijlstra
On Sun, Aug 13, 2017 at 06:06:32AM +, Nadav Amit wrote: > > however mm_tlb_flush_nested() is a mystery, it appears to care about > > anything inside the range. For now rely on it doing at least _a_ PTL > > lock instead of taking _the_ PTL lock. > > It does not care about “anything” inside the

[PATCH 6/6] [media] tuners: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/media/tuners/tda18271-maps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/tda18271-maps.c b/drivers/media/tuners/tda182

[PATCH 5/6] staging: bcm2835-audio: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-audio/bc

[PATCH 4/6] usb: gadget: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/usb/gadget/function/u_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_aud

[PATCH 2/6] [media] pci: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/media/pci/cobalt/cobalt-alsa-pcm.c | 4 ++-- drivers/media/pci/cx18/cx18-alsa-pcm.c | 2 +- drivers/media/pci/cx23885/cx23885-alsa.c | 2 +- drivers/media/pci/cx2

[PATCH 1/6] [media] usb: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/media/usb/cx231xx/cx231xx-audio.c | 2 +- drivers/media/usb/em28xx/em28xx-audio.c | 2 +- drivers/media/usb/go7007/snd-go7007.c | 2 +- drivers/media/usb/tm6000/t

[PATCH 3/6] drm: bridge: dw-hdmi: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c b/drive

[PATCH 0/6] drivers: make snd_pcm_hardware const

2017-08-13 Thread Bhumika Goyal
Make snd_pcm_hardware structures const. Bhumika Goyal (6): [media] usb: make snd_pcm_hardware const [media] pci: make snd_pcm_hardware const drm: bridge: dw-hdmi: make snd_pcm_hardware const usb: gadget: make snd_pcm_hardware const staging: bcm2835-audio: make snd_pcm_hardware const [

Re: [PATCH] platform/x86: intel_mid_powerbtn: fix error return code in mid_pb_probe()

2017-08-13 Thread Andy Shevchenko
On Wed, Aug 9, 2017 at 7:00 PM, Gustavo A. R. Silva wrote: > platform_get_irq() returns an error code, but the intel_mid_powerbtn > driver ignores it and always returns -EINVAL. This is not correct and, > prevents -EPROBE_DEFER from being propagated properly. > > Print error message and propagate

Re: [PATCH] platform/x86: intel_scu_ipc: make intel_scu_ipc_pdata_t const

2017-08-13 Thread Andy Shevchenko
On Fri, Aug 11, 2017 at 4:19 PM, Bhumika Goyal wrote: > Make these const as they are only used during a copy operation. > > Done using Coccinelle. > Both patches pushed to testing, thanks! > Signed-off-by: Bhumika Goyal > --- > drivers/platform/x86/intel_scu_ipc.c | 6 +++--- > 1 file changed,

Re: [PATCH 1/3] [media] usb: constify usb_device_id

2017-08-13 Thread Laurent Pinchart
Hi Arvind, Thank you for the patch. On Sunday 13 Aug 2017 14:24:43 Arvind Yadav wrote: > usb_device_id are not supposed to change at runtime. All functions > working with usb_device_id provided by work with > const usb_device_id. So mark the non-const structs as const. > > 'drivers/media/usb/b2

Re: [PATCH v3 13/13] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-08-13 Thread Heiko Stuebner
Am Freitag, 11. August 2017, 11:49:18 CEST schrieb Andy Yan: > Add dt node of bosch accelerometer bma250e on rv1108 evb. > > Signed-off-by: Andy Yan > --- > > Changes in v3: None > Changes in v2: None > > arch/arm/boot/dts/rv1108-evb.dts | 7 +++ > 1 file changed, 7 insertions(+) > > diff

Re: [PATCH v2 3/3] gpio: mockup: use irq_sim

2017-08-13 Thread Linus Walleij
On Tue, Aug 1, 2017 at 4:50 PM, Bartosz Golaszewski wrote: > Shrink the driver by removing the code dealing with dummy interrupts > and replacing it with calls to the irq_sim API. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Tglx/Marc: feel free to merge this with the res

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-13 Thread Andy Shevchenko
On Sat, May 27, 2017 at 10:31 AM, Hao Wei Tee wrote: > This exposes the battery conservation mode present on some (?) IdeaPads. > The mode is set by calling ACPI method SBMC with argument 3 (on) or > 5 (off). Status is reported in bit 5 of the return value of ACPI method > GBMD. > > This patch was

Re: [PATCH v3 08/13] ARM: dts: rockchip: add watchdog dt node for rv1108

2017-08-13 Thread Heiko Stuebner
Am Freitag, 11. August 2017, 11:45:33 CEST schrieb Andy Yan: > Add watchdog device tree node for rv1108 > > Signed-off-by: Andy Yan applied for 4.14 Thanks Heiko

Re: [PATCH v2 3/6] edac: synopsys: Add EDAC ECC support for ZynqMP DDRC

2017-08-13 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:25AM +0200, Michal Simek wrote: > From: Naga Sureshkumar Relli > > This patch adds EDAC ECC support for ZynqMP DDRC IP It does much more and the commit message could talk about it. > Signed-off-by: Naga Sureshkumar Relli > Signed-off-by: Michal Simek > --- > > C

Re: [PATCH v3 10/13] ARM: dts: rockchip: add saradc support for rv1108

2017-08-13 Thread Heiko Stuebner
Hi Andy, Am Freitag, 11. August 2017, 11:46:51 CEST schrieb Andy Yan: > Add saradc device tree node for rv1108 soc > > Signed-off-by: Andy Yan > > + adc: adc@1038c000 { > + compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc"; > + reg = <0x1038c000 0x100>

Re: [PATCH] iio: hid-sensor-trigger: Fix the race with user space powering up sensors

2017-08-13 Thread Jonathan Cameron
On Sat, 12 Aug 2017 09:09:21 -0700 Srinivas Pandruvada wrote: > It has been reported for a while that with iio-sensor-proxy service the > rotation only works after one suspend/resume cycle. This required a wait > in the systemd unit file to avoid race. I found a Yoga 900 where I could > reproduce

Re: [PATCH v6 6/7] mm: fix MADV_[FREE|DONTNEED] TLB flush miss problem

2017-08-13 Thread Peter Zijlstra
On Sun, Aug 13, 2017 at 06:14:21AM +, Nadav Amit wrote: > Peter Zijlstra wrote: > > > On Tue, Aug 01, 2017 at 05:08:17PM -0700, Nadav Amit wrote: > >> void tlb_finish_mmu(struct mmu_gather *tlb, > >>unsigned long start, unsigned long end) > >> { > >> - arch_tlb_finish_mmu(tlb, st

Re: [PATCH v3 03/13] ARM: dts: rockchip: add i2c dt node for rv1108

2017-08-13 Thread Heiko Stuebner
Am Samstag, 12. August 2017, 16:40:47 CEST schrieb Wolfram Sang: > On Fri, Aug 11, 2017 at 11:39:50AM +0800, Andy Yan wrote: > > There are four i2c controllers on rv1108, add > > device tree node for them. > > > > Signed-off-by: Andy Yan > > This usually needs to go via some arm tree. correct,

Re: [PATCH v3 RESEND] f2fs: support journalled quota

2017-08-13 Thread Chao Yu
Hi Jaegeuk, Thank you for providing the info. BTW, I just notice that my personal email address has been junked from f2fs mailing list, anyway, I will resubscribe the list. But before that, I'd like to ask, could you please Cc to c...@kernel.org when you send the patch to mailing list? :) Thanks

Re: [PATCH] ACPI / PMIC: constify platform_device_id

2017-08-13 Thread Hans de Goede
Hi, On 13-08-17 13:23, Arvind Yadav wrote: platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav Good catch: Acked-by: Hans

Re: RGB support prototype

2017-08-13 Thread Pavel Machek
Hi! > > You mentioned you was working on RGB support prototype. Could you post > > copy of the patches (even if unfinished)? > > Unfortunately it is at the stage of unfinished proof of concept and > I haven't managed yet to try how it fits to all API use cases we have. > Nor is it in a shape read

[RFC PATCH V2] kvm: x86: reduce rtc 0x70 access vm-exit time

2017-08-13 Thread Peng Hao
some versions of windows guest access rtc frequently because of rtc as system tick.guest access rtc like this: write register index to 0x70, then write or read data from 0x71. writing 0x70 port is just as index and do nothing else. So we can use coalesced mmio to handle this scene to reduce VM-EXIT

[PATCH] staging: most: hdm-dim2: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/most/hdm-dim2/dim2_hdm.c | 2 +- 1 file changed, 1 inse

Re: [PATCH v2 2/6] edac: synopsys: Add platform specific structures for ddrc controller

2017-08-13 Thread Borislav Petkov
On Mon, Aug 07, 2017 at 09:39:24AM +0200, Michal Simek wrote: > From: Naga Sureshkumar Relli > > Adds platform specific structures, so that we can add "Add platform-specific structures, ..." i.e., "Do this and do that" formulation. Fix that in the following patches too pls. > different IP supp

[PATCH] thermal: max77620: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/thermal/max77620_thermal.c | 2 +- 1 file changed, 1 insertion(

[PATCH] watchdog: max77620_wdt: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/watchdog/max77620_wdt.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] ACPI / PMIC: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +- 1 file changed, 1 insertio

[PATCH 4/4] net: ti: cpsw:: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 3/4] net: sh_eth: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/renesas/sh_eth.c | 2 +- 1 file changed, 1 inserti

[PATCH 2/4] net: dpaa_eth: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +- 1 file changed,

[PATCH 1/4] can: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/c_can/c_can_platform.c | 2 +- 1 file changed, 1 insert

[PATCH 0/4] constify net platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Arvind Yadav (4): [PATCH 1/4] can: constify platform_device_id [PATCH 2/4] net: dpaa_eth: constify pl

Re: [PATCH v5 09/11] ARM: dts: rk3228-evb: Enable the integrated PHY for gmac

2017-08-13 Thread kbuild test robot
-the-integrated-PHY-support/20170813-163538 config: arm-omap2plus_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH v3 06/13] dt-bindings: pwm: add description for rv1108 pwm

2017-08-13 Thread Heiko Stuebner
Hi Andy, Am Freitag, 11. August 2017, 11:44:06 CEST schrieb Andy Yan: > Add device tree bindings document for pwm on > rockchip rv1108 soc. > > Signed-off-by: Andy Yan I think you forgot to add Thierry (thierry.red...@gmail.com) who is the pwm maintainer, to your binding patch. Especially, as

Re: RGB support prototype

2017-08-13 Thread Jacek Anaszewski
Hi, On 08/13/2017 12:48 AM, Pavel Machek wrote: > > Hi! > > You mentioned you was working on RGB support prototype. Could you post > copy of the patches (even if unfinished)? Unfortunately it is at the stage of unfinished proof of concept and I haven't managed yet to try how it fits to all API

Re: [[PATCH v1] 00/37] Implement SMBD protocol: Series 1

2017-08-13 Thread Christoph Hellwig
... and a third one: please include the linux-rdma mailing list on your next post, to make sure we get a good review pool of people familiar with the rdma code.

Re: [[PATCH v1] 00/37] Implement SMBD protocol: Series 1

2017-08-13 Thread Christoph Hellwig
Hi Long, a few meta-comments: first the split into lots of tiny lists makes the series really hard to read, I'd split it into just a few: Patch 1: add the protocol constants Patch 2-n: core cifs modifcation required to implement SMBD Patch n+1: add the actual SMBD code Patch n+2..m: write up

Re: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no payload

2017-08-13 Thread Christoph Hellwig
On Wed, Aug 02, 2017 at 01:10:27PM -0700, Long Li wrote: > From: Long Li > > Implement the function to send a SMBD message with no payload. This is > required at times when we want to extend credtis to server to have it > continue to send data, without sending any actual data payload. Shouldn'

Re: [[PATCH v1] 15/37] [CIFS] SMBD: Post a SMBD data transfer message with data payload

2017-08-13 Thread Christoph Hellwig
You can always get the struct page for kernel allocations using virt_to_page (or vmalloc_to_page, but this code would not handle the vmalloc case either), so I don't think you need this helper and can always use the one added in the previous patch.

Re: [[PATCH v1] 13/37] [CIFS] SMBD: Implement SMBD protocol negotiation

2017-08-13 Thread Christoph Hellwig
> + request = mempool_alloc(info->request_mempool, GFP_KERNEL); > + if (!request) > + return rc; Here you do a mempool allocation to guarantee forward progress.. > + request->sge = kzalloc(sizeof(struct ib_sge), GFP_KERNEL); > + if (!request->sge) > + goto

<    1   2   3   >