Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

2017-05-22 Thread Mike Rapoport
On Mon, May 22, 2017 at 05:52:47PM +0200, Vlastimil Babka wrote: > On 05/22/2017 04:29 PM, Mike Rapoport wrote: > > On Mon, May 22, 2017 at 03:55:48PM +0200, Michal Hocko wrote: > >> On Mon 22-05-17 16:36:00, Mike Rapoport wrote: > >>> On Mon, May 22, 2017 at 02:42:43PM +0300, Kirill A. Shutemov

[PATCH] scsi: hisi_sas: add null check before indirect pointer dereference

2017-05-22 Thread Gustavo A. R. Silva
Add null check before indirectly dereferencing pointer task->lldd_task in statement u32 tag = slot->idx; Addresses-Coverity-ID: 1373843 Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: Hang/soft lockup in d_invalidate with simultaneous calls

2017-05-22 Thread Khazhismel Kumykov
On Wed, May 17, 2017 at 2:58 PM Khazhismel Kumykov wrote: > > On Mon, May 15, 2017 at 5:05 PM, Khazhismel Kumykov wrote: > > Hi, > > > > I'm seeing behavior in d_invalidate, if multiple threads call d_invalidate > > on > > the same tree at the same,

Re: dmaengine: dw-dmac: Custom cyclic API (Why?)

2017-05-22 Thread Andy Shevchenko
On Tue, 2017-04-04 at 17:43 +0100, Jose Abreu wrote: > > On 04-04-2017 17:23, Andy Shevchenko wrote: > > On Mon, 2017-01-02 at 13:56 +, Jose Abreu wrote: > > > On 02-01-2017 11:30, Andy Shevchenko wrote: > > > > On Mon, 2017-01-02 at 15:48 +0530, Vinod Koul wrote: > > > > > On Mon, Jan 02,

Re: checkpatch.pl false positive

2017-05-22 Thread Joe Perches
On Fri, 2017-05-19 at 09:57 +, Antonio Niño Díaz wrote: > Hello, Hi. > I think I've hit a corner case in checkpatch.pl. It is easy to reproduce, > just create a patch with a new line such as: > > #define MY_HEADER [ checkpatch outputs ] > config.h:9: ERROR: spaces required around that

Re: [RFC][PATCH] time: Add warning about imminent deprecation of CONFIG_GENERIC_TIME_VSYSCALL_OLD

2017-05-22 Thread John Stultz
On Sun, May 21, 2017 at 5:58 PM, Michael Ellerman wrote: > John Stultz writes: > >> CONFIG_GENERIC_TIME_VSYSCALL_OLD was introduced five years ago >> to allow a transition from the old vsyscall implementations to >> the new method (which simplified

[PATCH] gpu: drm: nouveau: add null check before pointer dereference

2017-05-22 Thread Gustavo A. R. Silva
Add null check before dereferencing pointer asyc Addresses-Coverity-ID: 1397932 Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/nouveau/nv50_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nv50_display.c

Re: [RFC][PATCH 0/9] Make containers kernel objects

2017-05-22 Thread James Bottomley
On Mon, 2017-05-22 at 14:34 -0400, Jeff Layton wrote: > On Mon, 2017-05-22 at 09:53 -0700, James Bottomley wrote: > > [Added missing cc to containers list] > > On Mon, 2017-05-22 at 17:22 +0100, David Howells wrote: > > > Here are a set of patches to define a container object for the > > > kernel

Re: [PATCH net-next 08/20] net: dsa: change scope of ageing time setter

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Change the scope of the switchdev bridge ageing time attribute setter > from the DSA slave device to the generic DSA port, so that the future > port-wide API can also be used for other port types, such as CPU and DSA > links. > > Also ds->ports is

Re: [PATCH 1/2] perf/x86/intel: enable CPU ref_cycles for GP counter

2017-05-22 Thread Stephane Eranian
On Mon, May 22, 2017 at 12:23 PM, Peter Zijlstra wrote: > On Mon, May 22, 2017 at 04:55:47PM +, Liang, Kan wrote: >> >> >> > On Fri, May 19, 2017 at 10:06:21AM -0700, kan.li...@intel.com wrote: >> > > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index >>

Re: [PATCH 23/29] vfio-mediated-device.txt: standardize document format

2017-05-22 Thread Kirti Wankhede
On 5/19/2017 6:56 AM, Mauro Carvalho Chehab wrote: > Each text file under Documentation follows a different > format. Some doesn't even have titles! > > In this specific document, the title, copyright and authorship > are added as if it were a C file! > > Change its representation to follow

Re: [PATCH net-next 18/20] net: dsa: add FDB notifier

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Add two new DSA_NOTIFIER_FDB_ADD and DSA_NOTIFIER_FDB_DEL events to > notify not only a single switch, but all switches of a the fabric when > an FDB entry is added or removed. > > For the moment, keep the current behavior and ignore other switches.

Re: [PATCH 2/5] sctp: Delete an error message for a failed memory allocation in sctp_init()

2017-05-22 Thread SF Markus Elfring
>> +++ b/net/sctp/protocol.c >> @@ -1447,5 +1447,4 @@ static __init int sctp_init(void) >> if (!sctp_ep_hashtable) { >> -pr_err("Failed endpoint_hash alloc\n"); > > Okay but then why not also delete the one a few lines below this one: > if (!sctp_port_hashtable) { >

Re: [kernel-hardening] [PATCH 1/1] Sealable memory support

2017-05-22 Thread Igor Stoppa
On 20/05/17 11:51, Greg KH wrote: > On Fri, May 19, 2017 at 01:38:11PM +0300, Igor Stoppa wrote: >> Dynamically allocated variables can be made read only, [...] > This is really nice, do you have a follow-on patch showing how any of > the kernel can be changed to use this new subsystem? Yes,

Re: [PATCH 2/5] sctp: Delete an error message for a failed memory allocation in sctp_init()

2017-05-22 Thread Marcelo Ricardo Leitner
On Mon, May 22, 2017 at 09:46:21PM +0200, SF Markus Elfring wrote: > >> +++ b/net/sctp/protocol.c > >> @@ -1447,5 +1447,4 @@ static __init int sctp_init(void) > >>if (!sctp_ep_hashtable) { > >> - pr_err("Failed endpoint_hash alloc\n"); > > > > Okay but then why not also delete the

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Jan Kiszka
On 2017-05-22 19:26, Andy Shevchenko wrote: > On Mon, May 22, 2017 at 8:25 PM, Jan Kiszka wrote: >> On 2017-05-22 19:20, Andy Shevchenko wrote: >>> On Mon, May 22, 2017 at 8:18 PM, Jan Kiszka wrote: On 2017-05-22 19:12, Andy Shevchenko wrote:

[PATCH] mm: kmemleak: Treat vm_struct as alternative reference to vmalloc'ed objects

2017-05-22 Thread Catalin Marinas
Kmemleak requires that vmalloc'ed objects have a minimum reference count of 2: one in the corresponding vm_struct object and the other owned by the vmalloc() caller. There are cases, however, where the original vmalloc() returned pointer is lost and, instead, a pointer to vm_struct is stored (see

Re: [PATCH 3/3] regulator: tps65917: Add support for SMPS12

2017-05-22 Thread Lee Jones
On Fri, 19 May 2017, Keerthy wrote: > App support for SMPS12 dual phase regulator. > > Signed-off-by: Keerthy > --- > drivers/regulator/palmas-regulator.c | 18 +++--- > include/linux/mfd/palmas.h | 2 ++ Acked-by: Lee Jones >

Re: [PATCH v2 03/18] dt-bindings: mfd: Add bindings for Cirrus Logic Madera codecs

2017-05-22 Thread Lee Jones
On Mon, 24 Apr 2017, Richard Fitzgerald wrote: > Specification of the bindings for the parent MFD driver component > of the Cirrus Logic Madera codec drivers. > > Signed-off-by: Richard Fitzgerald > --- > Changes since V1: > - split out from main MFD patch > -

Re: [PATCH v5 0/3] watchdog: allow setting deadline for opening /dev/watchdogN

2017-05-22 Thread Alan Cox
On Mon, 22 May 2017 16:06:36 +0200 Rasmus Villemoes wrote: > If a watchdog driver tells the framework that the device is running, > the framework takes care of feeding the watchdog until userspace opens > the device. If the userspace application which is supposed to

Re: tty: n_gsm: fix closing multiplexer mode

2017-05-22 Thread Alan Cox
> disconnect frame before initialising multiplex mode. Since it's not so > nice that userspace has to know the layout of a disconnect frame, > the second patch introduces a disconnect ioctl which can be issued > right before closing the physical port during the first session. > This ioctl is only

Re: [PATCH 1/1] xilinx ps uart: Adding a kernel parameter for the number of xilinx ps uarts

2017-05-22 Thread Alan Cox
> We have in soc vendor tree similar patch but the reason is different. > > tty: serial: Added a CONFIG_SERIAL_XILINX_NR_UARTS option. > > This patch Adds CONFIG_SERIAL_XILINX_NR_UARTS option to allow > the user to provide the Max number of uart ports information. > If multiple

Re: [PATCH v2 1/7] kernel/locking: Fix compile error with qrwlock.c

2017-05-22 Thread David Miller
From: Babu Moger Date: Fri, 19 May 2017 18:16:55 -0600 > Some architectures use the following guard in include file > "asm/spinlock_types.h" to discourage including the file directly. > > Saw these compile errors on SPARC when queued rwlock feature is enabled. > > CC

Re: [PATCH v2 3/8] thermal: intel_bxt_pmic_thermal: use first level PMIC thermal irq

2017-05-22 Thread sathyanarayanan kuppuswamy
Hi Rui/Valentin, Do you have any comments on this patch ? If you agree with this patch, Can you please Ack it ? On 05/22/2017 03:17 AM, Lee Jones wrote: On Fri, 14 Apr 2017, sathyanarayanan.kuppusw...@linux.intel.com wrote: From: Kuppuswamy Sathyanarayanan

Re: [PATCH 2/3] RDS: IB: Improve a size determination in rds_ib_add_one()

2017-05-22 Thread Santosh Shilimkar
On 5/22/2017 7:12 AM, SF Markus Elfring wrote: From: Markus Elfring Date: Mon, 22 May 2017 15:40:21 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size

Re: [PATCH net-next 01/20] net: dsa: change scope of STP state setter

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Instead of having multiple STP state helpers scoping a slave device > supporting both the DSA logic and the switchdev binding, provide a > single dsa_port_set_state helper scoping a DSA port, as well as its > dsa_port_set_state_now wrapper which

Re: [PATCH net-next 10/20] net: dsa: move bridging routines

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Move the DSA port code which bridges a port in port.c, where it belongs. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 09/20] net: dsa: move port state setters

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Add a new port.c file to hold all DSA port-wide logic. This patch moves > in the code which sets a port state. Usually, I am not fond of moving code around, but in this case, this makes the whole directory structure nicer. > > Signed-off-by:

Re: [PATCH net-next 17/20] net: dsa: add notifier for ageing time

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > This patch keeps the port-wide ageing time handling code in > dsa_port_ageing_time, pushes the requested ageing time value in a new > switch fabric notification, and moves the switch-wide ageing time > handling code in dsa_switch_ageing_time. > >

Re: [uml-devel] [PATCH] um: Add mark_rodata_ro support.

2017-05-22 Thread Richard Weinberger
Thomas, Am 22.05.2017 um 21:18 schrieb Thomas Meyer: > >> Am 22.05.2017 um 20:34 schrieb Richard Weinberger : >> >> Thomas, >> >>> Am 22.05.2017 um 20:14 schrieb Thomas Meyer: >>> It's purely cosmetic; to get rid of the boot message: "This architecture >>> does not have kernel

Re: [PATCH net-next 16/20] net: dsa: move notifier info to private header

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > The DSA notifier events and info structure definitions are not meant for > DSA drivers and users, but only used internally by the DSA core files. > > Move them from the public net/dsa.h file to the private dsa_priv.h file. > > Also use this

Re: [PATCH 00/10] paravirt: make amount of paravirtualization configurable

2017-05-22 Thread Boris Ostrovsky
> 49 files changed, 1548 insertions(+), 1477 deletions(-) > create mode 100644 arch/x86/include/asm/paravirt_full.h > create mode 100644 arch/x86/include/asm/paravirt_types_full.h > create mode 100644 arch/x86/kernel/paravirt_full.c Do you have this in a tree that can be pulled? -boris

Re: [PATCH v3 1/2] PCI/portdrv: add support for different MSI interrupts for PCIe port services

2017-05-22 Thread Christoph Hellwig
On Sun, May 21, 2017 at 03:00:46PM +, Gabriele Paoloni wrote: > > I thought that in your previous review you meant to say that we should > avoid 2 instances of the same comment (in this patchset I only have this > instance as I have removed the same comment from patch 2/2...) No, there is

Re: [PATCH 1/3] mfd: lp87565: Add lp87565 PMIC support

2017-05-22 Thread Lee Jones
On Fri, 19 May 2017, Keerthy wrote: > The LP87565 chip is a power management IC for Portable Navigation Systems > and Tablet Computing devices. It contains the following components: > > - Configurable Bucks(Single and multi-phase). > - Configurable General Purpose Output Signals

Re: [linux-sunxi] Re: [RFC PATCH 07/11] drm: sun4i: add support for the TV encoder in H3 SoC

2017-05-22 Thread Jernej Škrabec
Hi, Dne sobota, 20. maj 2017 ob 03:37:53 CEST je Chen-Yu Tsai napisal(a): > On Sat, May 20, 2017 at 2:23 AM, Jernej Škrabec wrote: > > Hi, > > > > Dne petek, 19. maj 2017 ob 20:08:18 CEST je Icenowy Zheng napisal(a): > >> 于 2017年5月20日 GMT+08:00 上午2:03:30, Maxime Ripard

Re: dm ioctl: Restore __GFP_HIGH in copy_params()

2017-05-22 Thread Mike Snitzer
On Mon, May 22 2017 at 11:03am -0400, Michal Hocko wrote: > On Mon 22-05-17 10:52:44, Mikulas Patocka wrote: > > > > > > On Mon, 22 May 2017, Michal Hocko wrote: > [...] > > > I am not sure I understand. OOM killer is invoked for _all_ allocations > > > <=

Re: [PATCH v2 00/10] rt2x00: rt2x00: improve calling conventions for register accessors

2017-05-22 Thread Jes Sorensen
On 05/17/2017 10:46 AM, Arnd Bergmann wrote: I've managed to split up my long patch into a series of reasonble steps now. The first two are required to fix a regression from commit 41977e86c984 ("rt2x00: add support for MT7620"), the rest are just cleanups to have a consistent state across all

Re: [PATCH v4 05/10] drm: arc: Use crtc->mode_valid() callback

2017-05-22 Thread Alexey Brodkin
Hi Jose, The only nitpicking note from my side is patch name. Probably full driver name as "arcpgu" might give a bit more context especially if later something else from ARC appears in "drm" folder. But IMHO that doesn't worth another respin. On Fri, 2017-05-19 at 01:52 +0100, Jose Abreu wrote:

Re: [PATCH v2 4/4] net-next: stmmac: rework the speed selection

2017-05-22 Thread David Miller
From: Corentin Labbe Date: Mon, 22 May 2017 14:33:47 +0200 > The current stmmac_adjust_link() part which handle speed have > some if (has_platform) code and my dwmac-sun8i will add more of them. > > So we need to handle better speed selection. > Moreover the struct

Re: [PATCH 10/23] afs: switch to use uuid_t and uuid_gen

2017-05-22 Thread Andy Shevchenko
On Thu, 2017-05-18 at 08:26 +0200, Christoph Hellwig wrote: Changelog? > Signed-off-by: Christoph Hellwig > Reviewed-by: David Howells > @@ -453,7 +453,7 @@ static int afs_deliver_cb_probe(struct afs_call > *call) >  static void SRXAFSCB_ProbeUuid(struct

Re: [PATCH 00/13] Linksys WRT3200ACM (Rango) support

2017-05-22 Thread Imre Kaloz
Hi everyone, For the whole series feel free to add Signed-off-by: Imre Kaloz Best, Imre On 2017-05-21 05:48, Ralph Sennhauser wrote: Hi everyone This series adds support for the latest model in Linksys WRT AC series of routers. The WRT3200ACM was released in October

Re: [PATCH 23/23] uuid: remove uuid_be

2017-05-22 Thread Andy Shevchenko
On Thu, 2017-05-18 at 10:56 +0200, Christoph Hellwig wrote: > On Thu, May 18, 2017 at 10:57:24AM +0300, Amir Goldstein wrote: > > I reviewed the entire series. You may add > > Reviewed-by: Amir Goldstein > > > > to any of the patches as you see fit. > > Thanks, done!

Power Generation Industry Database

2017-05-22 Thread Chris Harris
Hi, Are you interested to reach the newly updated Power Generation Industry Database which includes complete contact details and verified email addresses of - CEO's, Directors, Decision Makers, Electric Utilities, Architects/Engineers, Co-generators/Self-generators, Construction & Maintenance

Re: Build regressions/improvements in v4.12-rc2

2017-05-22 Thread John David Anglin
On 2017-05-22, at 5:49 AM, Geert Uytterhoeven wrote: >> [Deleted 1166 lines about "warning: -ffunction-sections disabled; it makes >> profiling impossible [enabled by default]" on parisc-allmodconfig] Although this issue may be fixed in gcc, do we really want to enable profiling by default?

Re: [RFC][PATCH 0/9] Make containers kernel objects

2017-05-22 Thread Eric W. Biederman
David Howells writes: > Here are a set of patches to define a container object for the kernel and > to provide some methods to create and manipulate them. > > The reason I think this is necessary is that the kernel has no idea how to > direct upcalls to what userspace

Re: [PATCH net-next 03/20] net: dsa: change scope of bridging code

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Now that the bridge join and leave functions only deal with a DSA port, > change their scope from the DSA slave net_device to the DSA generic > dsa_port. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian

Re: [PATCH net-next 04/20] net: dsa: change scope of FDB handlers

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Change the scope of the switchdev FDB object handlers from the DSA slave > device to the generic DSA port, so that the future port-wide API can > also be used for other port types, such as CPU and DSA links. > > Signed-off-by: Vivien Didelot

Re: [PATCH 2/2] perf/x86/intel, watchdog: Switch NMI watchdog to ref cycles on x86

2017-05-22 Thread Peter Zijlstra
On Mon, May 22, 2017 at 04:58:04PM +, Liang, Kan wrote: > > > > On Fri, May 19, 2017 at 10:06:22AM -0700, kan.li...@intel.com wrote: > > > This patch was once merged, but reverted later. > > > Because ref-cycles can not be used anymore when watchdog is enabled. > > > The commit is

Re: RFC: better timer interface

2017-05-22 Thread Thomas Gleixner
On Mon, 22 May 2017, Arnd Bergmann wrote: > On Sun, May 21, 2017 at 8:14 PM, Thomas Gleixner wrote: > > But it's easy enough to provide them. All we need for that is something > > like > > > > unsigned long time_msec; > > > > which gets incremented every tick by the

[GIT] Networking

2017-05-22 Thread David Miller
Mostly netfilter bug fixes in here, but we have some bits elsewhere as well. 1) Don't do SNAT replies for non-NATed connections in IPVS, from Julian Anastasov. 2) Don't delete conntrack helpers while they are still in use, from Liping Zhang. 3) Fix zero padding in xtables's

Re: [PATCH net-next 13/20] net: dsa: move FDB handlers

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Move the DSA port code which handles FDB objects in port.c, where it > belongs. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 14/20] net: dsa: move MDB handlers

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Move the DSA port code which handles MDB objects in port.c, where it > belongs. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

[GIT PULL] Power management updates for v4.12-rc3

2017-05-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.12-rc3 with top-most commit bb47e964175e5fb4c163066e4373fac055fe5da0 Merge branches 'pm-sleep' and 'powercap' on top of commit 08332893e37af6ae779367e78e444f8f9571511d Linux

[PATCH] [media] uvcvideo: Prevent heap overflow in uvc driver

2017-05-22 Thread Guenter Roeck
From: Robb Glasser The size of uvc_control_mapping is user controlled leading to a potential heap overflow in the uvc driver. This adds a check to verify the user provided size fits within the bounds of the defined buffer size. Signed-off-by: Robb Glasser

Re: [PATCH 3/5] sctp: Fix a typo in a comment line in sctp_init()

2017-05-22 Thread Marcelo Ricardo Leitner
On Mon, May 22, 2017 at 06:39:29PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 22 May 2017 17:43:44 +0200 > > Add a missing character in this description. > > Signed-off-by: Markus Elfring Acked-by: Marcelo

Re: [PATCH 4/5] sctp: Improve a size determination in sctp_inetaddr_event()

2017-05-22 Thread Marcelo Ricardo Leitner
On Mon, May 22, 2017 at 06:40:37PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 22 May 2017 18:08:24 +0200 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the

Re: [PATCH 2/5] sctp: Delete an error message for a failed memory allocation in sctp_init()

2017-05-22 Thread Marcelo Ricardo Leitner
On Mon, May 22, 2017 at 06:38:21PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 22 May 2017 17:28:14 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle

Re: [RFC PATCH v2 11/17] cgroup: Implement new thread mode semantics

2017-05-22 Thread Waiman Long
On 05/19/2017 04:26 PM, Tejun Heo wrote: > Hello, Waiman. > > On Mon, May 15, 2017 at 09:34:10AM -0400, Waiman Long wrote: >> Now we could have something like >> >> R -- A -- B >> \ >>T1 -- T2 >> >> where R is the thread root, A and B are non-threaded cgroups, T1 and >> T2 are

[RFC PATCH] fs: block dev aio request priority support

2017-05-22 Thread adam.manzanares
From: Adam Manzanares Map the aio_reqprio to the bio priority field at the point the bio is created from the aio iocb. The aio_reqprio field of iocb is used as a kernel IO class and priority iff the IOCB_FLAG_IOPRIO flag is set on the iocb. Late last year device IO

Re: [PATCH] coresight: tmc: Configure DMA mask appropriately

2017-05-22 Thread Mathieu Poirier
On 18 May 2017 at 09:14, Robin Murphy wrote: > Before making any DMA API calls, the ETR driver should really be setting > its masks to ensure that DMA is possible. Especially since it can > address more than the 32-bit default mask set by the AMBA bus code. > >

Re: [PATCH v2 02/18] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-05-22 Thread Lee Jones
On Mon, 24 Apr 2017, Richard Fitzgerald wrote: > This adds the generic core support for Cirrus Logic "Madera" class codecs. > These are complex audio codec SoCs with a variety of digital and analogue > I/O, onboard audio processing and DSPs, and other features. > > These codecs are all based off

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Jan Kiszka
On 2017-05-22 19:36, Andy Shevchenko wrote: > On Mon, May 22, 2017 at 8:34 PM, Jan Kiszka wrote: >> On 2017-05-22 19:26, Andy Shevchenko wrote: >>> On Mon, May 22, 2017 at 8:25 PM, Jan Kiszka wrote: On 2017-05-22 19:20, Andy Shevchenko wrote:

[PATCH] dt-bindings: Drop k2g genpd device ID macros

2017-05-22 Thread Dave Gerlach
Commit 7cc119f29b19 ("dt-bindings: Add TI SCI PM Domains") introduced a number of K2G_DEV_x macros to represent each device ID available on the K2G platform for use by the genpd, clock, and reset drivers. Rather than use these macros, which are only used in the device tree for property values and

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 9:23 PM, Lee Jones wrote: > On Mon, 22 May 2017, Andy Shevchenko wrote: >> On Mon, May 22, 2017 at 8:38 PM, Jan Kiszka wrote: >> > On 2017-05-22 19:36, Andy Shevchenko wrote: >> > Then let's leave the decision up to the

Re: [PATCH 02/24] thunderbolt: Do not try to read UID if DROM offset is read as 0

2017-05-22 Thread Andreas Noever
On Mon, May 22, 2017 at 10:40 AM, Mika Westerberg wrote: > On Sun, May 21, 2017 at 03:46:20PM +0200, Andreas Noever wrote: >> On Thu, May 18, 2017 at 4:38 PM, Mika Westerberg >> wrote: >> > At least Falcon Ridge when in host mode

Re: [tip:x86/platform 1/1] platform_bt.c:undefined reference to `gpiod_add_lookup_table'

2017-05-22 Thread Andy Shevchenko
On Mon, 2017-04-03 at 07:23 +0800, kbuild test robot wrote: > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86/platform > head:   d4d969909bef4c1e103eec0fc2c820773811fb72 > commit: d4d969909bef4c1e103eec0fc2c820773811fb72 [1/1] > x86/platform/intel-mid: Enable Bluetooth

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Jan Kiszka
On 2017-05-22 20:37, Andy Shevchenko wrote: > On Mon, May 22, 2017 at 9:23 PM, Lee Jones wrote: >> On Mon, 22 May 2017, Andy Shevchenko wrote: >>> On Mon, May 22, 2017 at 8:38 PM, Jan Kiszka wrote: On 2017-05-22 19:36, Andy Shevchenko wrote: >

Re: [PATCH v4 15/27] fs: retrofit old error reporting API onto new infrastructure

2017-05-22 Thread Jeff Layton
On Mon, 2017-05-22 at 19:53 +0200, Jan Kara wrote: > On Mon 22-05-17 09:53:21, Jeff Layton wrote: > > On Mon, 2017-05-22 at 15:38 +0200, Jan Kara wrote: > > > On Fri 19-05-17 15:20:52, Jeff Layton wrote: > > > > On Mon, 2017-05-15 at 12:42 +0200, Jan Kara wrote: > > > > > On Tue 09-05-17 11:49:18,

Re: [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-22 Thread Andy Shevchenko
On Thu, 2017-05-04 at 12:21 +0300, Andy Shevchenko wrote: > acpi_evaluate_dsm() and friends take a pointer to a raw buffer of 16 > bytes. Instead we convert them to use uuid_le type. At the same time > we > convert current users. > > acpi_str_to_uuid() becomes useless after the conversion and

Re: [PATCH 1/2] perf/x86/intel: enable CPU ref_cycles for GP counter

2017-05-22 Thread Peter Zijlstra
On Mon, May 22, 2017 at 04:55:47PM +, Liang, Kan wrote: > > > > On Fri, May 19, 2017 at 10:06:21AM -0700, kan.li...@intel.com wrote: > > > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index > > > 580b60f..e8b2326 100644 > > > --- a/arch/x86/events/core.c > > > +++

Re: [PATCH 1/3] RDS: IB: Delete an error message for a failed memory allocation in rds_ib_add_one()

2017-05-22 Thread Santosh Shilimkar
On 5/22/2017 7:11 AM, SF Markus Elfring wrote: From: Markus Elfring Date: Mon, 22 May 2017 15:34:28 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link:

Re: [PATCH net-next 02/20] net: dsa: change scope of notifier call chain

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Change the scope of the fabric notification helper from the DSA slave to > the DSA port, since this is a DSA layer specific notion, that can be > used by non-slave ports (CPU and DSA). > > Signed-off-by: Vivien Didelot

Re: [PATCH v5 0/3] watchdog: allow setting deadline for opening /dev/watchdogN

2017-05-22 Thread Guenter Roeck
On Mon, May 22, 2017 at 07:07:51PM +0100, Alan Cox wrote: > On Mon, 22 May 2017 16:06:36 +0200 > Rasmus Villemoes wrote: > > > If a watchdog driver tells the framework that the device is running, > > the framework takes care of feeding the watchdog until userspace

Re: [PATCH 2/2] dax: Fix race between colliding PMD & PTE entries

2017-05-22 Thread Ross Zwisler
On Mon, May 22, 2017 at 04:37:48PM +0200, Jan Kara wrote: > On Thu 18-05-17 15:29:39, Ross Zwisler wrote: > > On Thu, May 18, 2017 at 09:50:37AM +0200, Jan Kara wrote: > > > On Wed 17-05-17 11:16:39, Ross Zwisler wrote: <> > > > The first scenario seems to be possible. dax_iomap_pmd_fault() will

Re: [PATCH 1/5] sctp: Use kmalloc_array() in sctp_init()

2017-05-22 Thread Marcelo Ricardo Leitner
On Mon, May 22, 2017 at 06:37:19PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 22 May 2017 17:20:11 +0200 > > * A multiplication for the size determination of a memory allocation > indicated that an array data structure should be

Re: [PATCH] LSM: Make security_hook_heads a local variable.

2017-05-22 Thread Igor Stoppa
On 22/05/17 18:09, Casey Schaufler wrote: > On 5/22/2017 7:03 AM, Christoph Hellwig wrote: [...] >> But even with those we can still chain >> them together with a list with external linkage. > > I gave up that approach in 2012. Too many unnecessary calls to > null functions, and massive

Re: [PATCH V3 1/2] sched/fair: Fix load_balance() affinity redo path

2017-05-22 Thread Christ, Austin
Hey Dietmar, On 5/22/2017 3:48 AM, Dietmar Eggemann wrote: On 19/05/17 14:31, Dietmar Eggemann wrote: On 18/05/17 20:36, Jeffrey Hugo wrote: [...] diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d711093..a5d41b1 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Jan Kiszka
On 2017-05-22 19:12, Andy Shevchenko wrote: > On Mon, May 22, 2017 at 1:53 PM, Jan Kiszka wrote: >> Avoids reimplementation of DMI matching in intel_quark_i2c_setup. > > What's wrong with current approach? I suppose this will make sense > when we will have an issue /

Re: [RFC][PATCH 0/9] Make containers kernel objects

2017-05-22 Thread Jessica Frazelle
I had replied but not to the thread with the containers mailing list. See https://marc.info/?l=linux-cgroups=149547317006676=2 On Mon, May 22, 2017 at 5:53 PM, James Bottomley wrote: > [Added missing cc to containers list] > On Mon, 2017-05-22 at 17:22

Re: [PATCH 1/4] iio: hi8435: add raw access

2017-05-22 Thread Vladimir Barinov
On 20.05.2017 19:33, Jonathan Cameron wrote: On 19/05/17 15:47, Nikita Yushchenko wrote: With current event-only driver, it is not possible for user space application to know current senses if they don't change since application starts. Address that by adding raw access to channels.

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 8:38 PM, Jan Kiszka wrote: > On 2017-05-22 19:36, Andy Shevchenko wrote: >> On Mon, May 22, 2017 at 8:34 PM, Jan Kiszka wrote: >>> On 2017-05-22 19:26, Andy Shevchenko wrote: On Mon, May 22, 2017 at 8:25 PM, Jan Kiszka

Re: [PATCH v5 5/6] spi: slave: Add SPI slave handler reporting uptime at previous message

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 4:11 PM, Geert Uytterhoeven wrote: > Add an example SPI slave handler responding with the uptime at the time > of reception of the last SPI message. > > This can be used by an external microcontroller as a dead man's switch. > FWIW: Reviewed-by:

Re: [PATCH v2] kernel.h: handle pointers to arrays better in container_of()

2017-05-22 Thread Michal Nazarewicz
On Mon, May 22 2017, Ian Abbott wrote: > If the first parameter of container_of() is a pointer to a > non-const-qualified array type (and the third parameter names a > non-const-qualified array member), the local variable __mptr will be > defined with a const-qualified array type. In ISO C, these

Re: [PATCH v5 6/6] spi: slave: Add SPI slave handler controlling system state

2017-05-22 Thread Andy Shevchenko
On Mon, May 22, 2017 at 4:11 PM, Geert Uytterhoeven wrote: > Add an example SPI slave handler to allow remote control of system > reboot, power off, halt, and suspend. > FWIW: Reviewed-by: Andy Shevchenko > Signed-off-by: Geert Uytterhoeven

Re: [PATCH] mm/oom_kill: count global and memory cgroup oom kills

2017-05-22 Thread Roman Guschin
2017-05-22 10:11 GMT+01:00 Konstantin Khlebnikov : > > > On 19.05.2017 19:34, Roman Guschin wrote: >> >> 2017-05-19 15:22 GMT+01:00 Konstantin Khlebnikov >> : >> From a user's point of view the difference between "oom" and "max" >> becomes

Re: [uml-devel] [PATCH] um: Add mark_rodata_ro support.

2017-05-22 Thread Thomas Meyer
> Am 21.05.2017 um 23:28 schrieb Richard Weinberger > : > > Thomas, > >> On Thu, May 18, 2017 at 12:11 AM, Thomas Meyer wrote: >> This is actually a no-op as all read-only should be read-only in the ELF. > > What problem does this patch fix? Or

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency

2017-05-22 Thread Lee Jones
On Mon, 22 May 2017, Andy Shevchenko wrote: > On Mon, May 22, 2017 at 8:38 PM, Jan Kiszka wrote: > > On 2017-05-22 19:36, Andy Shevchenko wrote: > >> On Mon, May 22, 2017 at 8:34 PM, Jan Kiszka wrote: > >>> On 2017-05-22 19:26, Andy Shevchenko

Re: [PATCH 0/3] stmmac: pci: Refactor DMI probing

2017-05-22 Thread David Miller
From: Jan Kiszka Date: Mon, 22 May 2017 19:06:07 +0200 > On 2017-05-22 18:35, David Miller wrote: >> From: Jan Kiszka >> Date: Mon, 22 May 2017 13:12:06 +0200 >> >>> Some cleanups of the way we probe DMI platforms in the driver. Reduces >>> a bit

Re: [PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-22 Thread Ralph Sennhauser
On Mon, 22 May 2017 17:00:01 +0200 Andrew Lunn wrote: > On Sun, May 21, 2017 at 02:48:57PM +0200, Ralph Sennhauser wrote: > > Use IEEE 1541-2002 unit prefixes for sizes. > > Does ePAPR recommend this? Not directly, but the paper (v1.1) itself is using MiB as well which could

[PATCH] infiniband: hw: qedr: add null check before pointer dereference

2017-05-22 Thread Gustavo A. R. Silva
Add null check before dereferencing pointer sgid_attr.ndev inside function rdma_vlan_dev_vlan_id(). Addresses-Coverity-ID: 1373979 Signed-off-by: Gustavo A. R. Silva --- drivers/infiniband/hw/qedr/qedr_cm.c | 10 ++ 1 file changed, 6 insertions(+), 4

Re: [PATCH 13/23] md: namespace private helper names

2017-05-22 Thread Andy Shevchenko
On Thu, 2017-05-18 at 08:26 +0200, Christoph Hellwig wrote: > From: Amir Goldstein > > The md private helper uuid_equal() collides with a generic helper > of the same name. > > Rename the md private helper to md_uuid_equal() and do the same for > md_sb_equal(). > While

Re: [PATCH v4 1/2] mfd: intel_soc_pmic: Select designware i2c-bus driver

2017-05-22 Thread Andy Shevchenko
On Mon, 2017-05-22 at 11:57 +0100, Lee Jones wrote: > On Mon, 15 May 2017, Hans de Goede wrote: > > > The Crystal Cove PMIC provides an ACPI OPRegion handler, which must > > be > > available before other drivers using it are loaded, which is why > > INTEL_SOC_PMIC is a bool. > > > > Just having

Re: [PATCH V1] leds: pca955x: Correct I2C Functionality

2017-05-22 Thread Jacek Anaszewski
Hi Tin, On 05/22/2017 11:19 AM, Tin Huynh wrote: > The driver checks an incorrect flag of functionality of adapter. > When a driver requires i2c_smbus_read_byte_data and > i2c_smbus_write_byte_data, it should check I2C_FUNC_SMBUS_BYTE_DATA > instead I2C_FUNC_I2C. > This patch fixes the problem. >

Re: [PATCH v2 1/5] HID: intel_ish-hid: fix potential uninitialized data usage

2017-05-22 Thread Srinivas Pandruvada
Hi Arnd, On Thu, 2017-05-18 at 22:21 +0200, Arnd Bergmann wrote: > gcc points out an uninialized pointer dereference that could happen > if we ever get to recv_ishtp_cl_msg_dma() or recv_ishtp_cl_msg() > with an empty >read_list: > > drivers/hid/intel-ish-hid/ishtp/client.c: In function >

Re: [PATCH net-next 05/20] net: dsa: change scope of MDB handlers

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Change the scope of the switchdev MDB object handlers from the DSA slave > device to the generic DSA port, so that the future port-wide API can > also be used for other port types, such as CPU and DSA links. > > Signed-off-by: Vivien Didelot

Re: mm, something wring in page_lock_anon_vma_read()?

2017-05-22 Thread Hugh Dickins
On Mon, 22 May 2017, Xishi Qiu wrote: > On 2017/5/20 10:40, Hugh Dickins wrote: > > On Sat, 20 May 2017, Xishi Qiu wrote: > >> > >> Here is a bug report form redhat: > >> https://bugzilla.redhat.com/show_bug.cgi?id=1305620 > >> And I meet the bug too. However it is hard to reproduce, and > >>

Re: [PATCH net-next 12/20] net: dsa: move ageing time setter

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Move the DSA port code which sets a port ageing time in port.c, where it > belongs. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 11/20] net: dsa: move VLAN filtering setter

2017-05-22 Thread Florian Fainelli
On 05/19/2017 02:00 PM, Vivien Didelot wrote: > Move the DSA port code which sets VLAN filtering on a port in port.c, > where it belongs. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 2/2] dax: Fix race between colliding PMD & PTE entries

2017-05-22 Thread Ross Zwisler
On Mon, May 22, 2017 at 04:44:57PM +0200, Jan Kara wrote: > On Wed 17-05-17 11:16:39, Ross Zwisler wrote: > > We currently have two related PMD vs PTE races in the DAX code. These can > > both be easily triggered by having two threads reading and writing > > simultaneously to the same private

Re: [PATCH net-next 00/20] net: dsa: distribute switch events

2017-05-22 Thread Florian Fainelli
Yo Vivien, On 05/19/2017 02:00 PM, Vivien Didelot wrote: > DSA is by nature the support for a switch fabric, which can be composed > of a single, or multiple interconnected Ethernet switch chips. > > The current DSA core behavior is to identify the slave port targeted by > a request (e.g. adding

  1   2   3   4   5   6   7   8   9   10   >