Re: [PATCH v2 1/5] staging: rtl8192e: Fix coding style issues

2017-03-11 Thread kbuild test robot
-rtl8192e-Fix-coding-style-warnings-and-checks/20170311-16 config: x86_64-rhel (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/s

Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
On Fri, Mar 10, 2017 at 05:27:09PM -0700, Jason Gunthorpe wrote: > On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > > Added two new callbacks to struct tpm_class_ops: > > > > - request_locality > > - relinquish_locality > > > > These are called before sending and receiving data

Re: [PATCH] tpm_crb: check for bad response size

2017-03-11 Thread Jarkko Sakkinen
On Fri, Mar 10, 2017 at 05:46:04PM -0700, Jerry Snitselaar wrote: > Make sure size of response buffer is at least 6 bytes, or > we will underflow and pass large size_t to memcpy_fromio(). > This was encountered while testing earlier version of > locality patchset. > > Fixes: 30fc8d138e912 ("tpm: T

Re: [PATCH v3 0/7] in-kernel resource manager

2017-03-11 Thread Jarkko Sakkinen
On Fri, Mar 03, 2017 at 05:19:01PM +0200, Jarkko Sakkinen wrote: > This patch set adds support for TPM spaces that provide an isolated > execution context for transient objects and HMAC and policy sessions. A > space is swapped into TPM volatile memory only when it is used and > swapped out after t

Re: [PATCH v9 10/15] ACPI: platform-msi: retrieve dev id from IORT

2017-03-11 Thread Hanjun Guo
On 2017/3/7 22:35, Lorenzo Pieralisi wrote: > On Tue, Mar 07, 2017 at 08:40:05PM +0800, Hanjun Guo wrote: >> From: Hanjun Guo >> >> For devices connecting to ITS, the devices need to identify themself >> through a dev id; this dev id is represented in the IORT table in named >> component node [1]

Re: [PATCH] netfilter: Force fake conntrack entry to be at least 8 bytes aligned

2017-03-11 Thread Florian Westphal
Steven Rostedt (VMware) wrote: > Since the nfct and nfctinfo have been combined, the nf_conn structure > must be at least 8 bytes aligned, as the 3 LSB bits are used for the > nfctinfo. But there's a fake nf_conn structure to denote untracked > connections, which is created by a PER_CPU construct.

Re: [Outreachy kernel] [PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-11 Thread SIMRAN SINGHAL
On Sat, Mar 11, 2017 at 12:12 PM, Julia Lawall wrote: > > > On Sat, 11 Mar 2017, simran singhal wrote: > >> This patch-series removes exceptional & on functions name. > > The semantic patch shown does nothing to check that the use of & is > exception in the given file. It just removes all the & o

Re: [Outreachy kernel] [PATCH] staging: sm750fb: function prototype argument should have an identifier name

2017-03-11 Thread Julia Lawall
This is the patch that I previously commented on. Thus the subject line should contain v2. Please try to remember to do this every time. It is very confusing to see something one thinks one has already seen with no version information. There should also be a description of the change since the

Re: [Outreachy kernel] [PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-11 Thread Julia Lawall
On Sat, 11 Mar 2017, SIMRAN SINGHAL wrote: > On Sat, Mar 11, 2017 at 12:12 PM, Julia Lawall wrote: > > > > > > On Sat, 11 Mar 2017, simran singhal wrote: > > > >> This patch-series removes exceptional & on functions name. > > > > The semantic patch shown does nothing to check that the use of &

[PATCH v2] staging: sm750fb: function prototype argument should have an identifier name

2017-03-11 Thread Arushi Singhal
function prototype arguments like 'struct vb_device_info *','unsigned long' etc. should have an identifier name. Signed-off-by: Arushi Singhal --- changes in v2 -Add the identifier name of one more function prototype drivers/staging/sm750fb/ddk750_display.h | 2 +- drivers/staging/sm750fb/ddk

Re: [PATCH RFC] mm/vmscan: donot retry shrink zones when memcg is disabled

2017-03-11 Thread Yisheng Xie
Hi Shakeel, Thanks for reviewing. On 03/11/2017 11:40 AM, Shakeel Butt wrote: > On Fri, Mar 10, 2017 at 6:19 PM, Yisheng Xie wrote: >> From: Yisheng Xie >> >> When we enter do_try_to_free_pages, the may_thrash is always clear, and >> it will retry shrink zones to tap cgroup's reserves memory by

[tip:x86/urgent] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-11 Thread tip-bot for Daniel Borkmann
Commit-ID: 9b3e557f1238135f6ff405e760001a8a40139214 Gitweb: http://git.kernel.org/tip/9b3e557f1238135f6ff405e760001a8a40139214 Author: Daniel Borkmann AuthorDate: Sat, 11 Mar 2017 01:31:19 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 11:10:02 +0100 x86/tlb: Fix tlb flu

[PATCH] statx: remove incorrect part of vfs_statx() comment

2017-03-11 Thread Eric Biggers
From: Eric Biggers request_mask and query_flags are function arguments, not passed in struct kstat. So remove the part of the comment which claims otherwise. This was apparently left over from an earlier version of the statx patch. Signed-off-by: Eric Biggers --- fs/stat.c | 3 --- 1 file cha

[PATCH] statx: optimize copy of struct statx to userspace

2017-03-11 Thread Eric Biggers
From: Eric Biggers I found that statx() was significantly slower than stat(). As a microbenchmark, I compared 10,000,000 invocations of fstat() on a tmpfs file to the same with statx() passed a NULL path: $ time ./stat_benchmark real0m1.464s user0m0.275s

Re: [PATCH v2] staging: sm750fb: function prototype argument should have an identifier name

2017-03-11 Thread Geert Uytterhoeven
On Sat, Mar 11, 2017 at 10:53 AM, Arushi Singhal wrote: > --- a/drivers/staging/sm750fb/sm750.h > +++ b/drivers/staging/sm750fb/sm750.h > @@ -184,8 +184,8 @@ static inline unsigned long ps_to_hz(unsigned int psvalue) > } > > int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev); >

Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

2017-03-11 Thread Thomas Gleixner
On Fri, 10 Mar 2017, Andi Kleen wrote: > From: Andi Kleen > > For performance testing it is useful to be able to disable AVX > and AVX512. User programs check in XGETBV if AVX is supported > by the OS. If we don't initialize the XSAVE state for AVX it will > appear as if the OS is not supporting

[PATCH RFC,v2] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
Added two new callbacks to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending and receiving data from the TPM. Signed-off-by: Jarkko Sakkinen --- This not yet v2 of this patch. I'm checking that this is what needs to be done for tpm_tis_core before I

Re: [PATCH RFC,v2] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
On Sat, Mar 11, 2017 at 12:53:36PM +0200, Jarkko Sakkinen wrote: > Added two new callbacks to struct tpm_class_ops: > > - request_locality > - relinquish_locality > > These are called before sending and receiving data from the TPM. > > Signed-off-by: Jarkko Sakkinen > --- > This not yet v2 of t

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-11 Thread Mauro Carvalho Chehab
Em Sat, 11 Mar 2017 00:37:14 +0200 Sakari Ailus escreveu: > Hi Mauro (and others), > > On Fri, Mar 10, 2017 at 12:53:42PM -0300, Mauro Carvalho Chehab wrote: > > Em Fri, 10 Mar 2017 15:20:48 +0100 > > Hans Verkuil escreveu: > > > > > > > > > As I've already mentioned, from talking about t

Re: [Outreachy kernel] [PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-11 Thread SIMRAN SINGHAL
On Sat, Mar 11, 2017 at 2:57 PM, Julia Lawall wrote: > > > On Sat, 11 Mar 2017, SIMRAN SINGHAL wrote: > >> On Sat, Mar 11, 2017 at 12:12 PM, Julia Lawall wrote: >> > >> > >> > On Sat, 11 Mar 2017, simran singhal wrote: >> > >> >> This patch-series removes exceptional & on functions name. >> > >>

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-11 Thread Hans Verkuil
On 10/03/17 16:09, Mauro Carvalho Chehab wrote: > Em Fri, 10 Mar 2017 13:54:28 +0100 > Hans Verkuil escreveu: > >>> Devices that have complex pipeline that do essentially require using the >>> Media controller interface to configure them are out of that scope. >>> >> >> Way too much of how the

Re: [PATCH v5 15/39] [media] v4l2: add a frame interval error event

2017-03-11 Thread Hans Verkuil
On 10/03/17 19:37, Steve Longerbeam wrote: > Hi Hans, > > On 03/10/2017 04:03 AM, Hans Verkuil wrote: >> On 10/03/17 05:52, Steve Longerbeam wrote: >>> Add a new FRAME_INTERVAL_ERROR event to signal that a video capture or >>> output device has measured an interval between the reception or transmi

Re: [Outreachy kernel] [PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-11 Thread Julia Lawall
On Sat, 11 Mar 2017, SIMRAN SINGHAL wrote: > On Sat, Mar 11, 2017 at 2:57 PM, Julia Lawall wrote: > > > > > > On Sat, 11 Mar 2017, SIMRAN SINGHAL wrote: > > > >> On Sat, Mar 11, 2017 at 12:12 PM, Julia Lawall > >> wrote: > >> > > >> > > >> > On Sat, 11 Mar 2017, simran singhal wrote: > >> > >

[tip:x86/process] x86/process: Optimize TIF checks in __switch_to_xtra()

2017-03-11 Thread tip-bot for Kyle Huey
Commit-ID: af8b3cd3934ec60f4c2a420d19a9d416554f140b Gitweb: http://git.kernel.org/tip/af8b3cd3934ec60f4c2a420d19a9d416554f140b Author: Kyle Huey AuthorDate: Tue, 14 Feb 2017 00:11:02 -0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 12:45:17 +0100 x86/process: Optimize TIF

[tip:x86/process] x86/process: Optimize TIF_NOTSC switch

2017-03-11 Thread tip-bot for Thomas Gleixner
Commit-ID: 5a920155e388ec22a22e0532fb695b9215c9b34d Gitweb: http://git.kernel.org/tip/5a920155e388ec22a22e0532fb695b9215c9b34d Author: Thomas Gleixner AuthorDate: Tue, 14 Feb 2017 00:11:04 -0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 12:45:18 +0100 x86/process: Optimiz

[tip:x86/process] x86/process: Correct and optimize TIF_BLOCKSTEP switch

2017-03-11 Thread tip-bot for Kyle Huey
Commit-ID: b9894a2f5bd18b1691cb6872c9afe32b148d0132 Gitweb: http://git.kernel.org/tip/b9894a2f5bd18b1691cb6872c9afe32b148d0132 Author: Kyle Huey AuthorDate: Tue, 14 Feb 2017 00:11:03 -0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 12:45:18 +0100 x86/process: Correct and o

Re: [PATCH v7 kernel 3/5] virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFER

2017-03-11 Thread Wei Wang
On 03/11/2017 01:11 AM, Matthew Wilcox wrote: On Fri, Mar 10, 2017 at 05:58:28PM +0200, Michael S. Tsirkin wrote: One of the issues of current balloon is the 4k page size assumption. For example if you free a huge page you have to split it up and pass 4k chunks to host. Quite often host can't fr

[tip:irq/core] genirq: Add support for nested shared IRQs

2017-03-11 Thread tip-bot for Charles Keepax
Commit-ID: 45e5202213ae6541f7916bb3c64fbcd3019ec473 Gitweb: http://git.kernel.org/tip/45e5202213ae6541f7916bb3c64fbcd3019ec473 Author: Charles Keepax AuthorDate: Tue, 7 Mar 2017 16:28:18 + Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 12:57:03 +0100 genirq: Add support fo

Re: [PATCH v1] soc: rockchip: power-domain: Fix clang warning about negative shift count

2017-03-11 Thread Heiko Stuebner
Hi Matthias, Am Freitag, 10. März 2017, 18:21:53 CET schrieb Matthias Kaehlcke: > The following warning is generated when building with clang: > > drivers/soc/rockchip/pm_domains.c:726:22: error: shift count is negative > [-Werror,-Wshift-count-negative] [RK3399_PD_TCPD0] = DOMAIN_RK3399(8,

Re: [PATCH RFC,v2] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
On Sat, Mar 11, 2017 at 12:55:43PM +0200, Jarkko Sakkinen wrote: > On Sat, Mar 11, 2017 at 12:53:36PM +0200, Jarkko Sakkinen wrote: > > Added two new callbacks to struct tpm_class_ops: > > > > - request_locality > > - relinquish_locality > > > > These are called before sending and receiving data

[PATCH v2] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
Added two new callbacks to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending and receiving data from the TPM. We update also tpm_tis_core to use these callbacks. Small modification to request_locality() is done so that it returns -EBUSY instead of loc

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-11 Thread Mauro Carvalho Chehab
Em Sat, 11 Mar 2017 12:32:43 +0100 Hans Verkuil escreveu: > On 10/03/17 16:09, Mauro Carvalho Chehab wrote: > > Em Fri, 10 Mar 2017 13:54:28 +0100 > > Hans Verkuil escreveu: > > > >>> Devices that have complex pipeline that do essentially require using the > >>> Media controller interface to

[PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-11 Thread Craig Inches
This patch resolves the "Comparisons should place the constant on the right side of the test" found with checkpatch tool. Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/l

[tip:x86/cpu] x86/cpu: Drop unneded members of struct cpuinfo_x86

2017-03-11 Thread tip-bot for Mathias Krause
Commit-ID: 04402116846f36adea9503d7cd5104a7ed27a1a6 Gitweb: http://git.kernel.org/tip/04402116846f36adea9503d7cd5104a7ed27a1a6 Author: Mathias Krause AuthorDate: Sun, 12 Feb 2017 22:12:07 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:30:23 +0100 x86/cpu: Drop unneded

Re: [PATCH] kbuild: strip the last slash in KBUILD_EXTMOD

2017-03-11 Thread Masahiro Yamada
Hi Wei, 2017-02-23 0:08 GMT+09:00 Wei Yang : > Current kbuild will build the target again if we run "make M=dir" and "make > M=dir/" by turns, since if_changed will see the prerequisite is changed. > The behavior may confuse the user a little, since actually we are building > the same target and

[tip:x86/cpu] x86/cpu: Drop wp_works_ok member of struct cpuinfo_x86

2017-03-11 Thread tip-bot for Mathias Krause
Commit-ID: 6415813bae75feba10b8ca3ed6634a72c2a4d313 Gitweb: http://git.kernel.org/tip/6415813bae75feba10b8ca3ed6634a72c2a4d313 Author: Mathias Krause AuthorDate: Sun, 12 Feb 2017 22:12:08 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:30:24 +0100 x86/cpu: Drop wp_work

Re: [PATCH v5 18/39] [media] v4l: subdev: Add function to validate frame interval

2017-03-11 Thread Sakari Ailus
Hi Steve, On Thu, Mar 09, 2017 at 08:52:58PM -0800, Steve Longerbeam wrote: > If the pads on both sides of a link specify a frame interval, then > those frame intervals should match. Create the exported function > v4l2_subdev_link_validate_frame_interval() to verify this. This > function can be ca

[tip:x86/acpi] Revert "x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"

2017-03-11 Thread tip-bot for Dou Liyang
Commit-ID: c962cff17dfa11f4a8227ac16de2b28aea3312e4 Gitweb: http://git.kernel.org/tip/c962cff17dfa11f4a8227ac16de2b28aea3312e4 Author: Dou Liyang AuthorDate: Fri, 3 Mar 2017 16:02:23 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:41:18 +0100 Revert "x86/acpi: Set pers

[tip:x86/acpi] x86/acpi: Restore the order of CPU IDs

2017-03-11 Thread tip-bot for Dou Liyang
Commit-ID: 2b85b3d22920db7473e5fed5719e7955c0ec323e Gitweb: http://git.kernel.org/tip/2b85b3d22920db7473e5fed5719e7955c0ec323e Author: Dou Liyang AuthorDate: Fri, 3 Mar 2017 16:02:25 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:41:19 +0100 x86/acpi: Restore the orde

[tip:x86/acpi] Revert"x86/acpi: Enable MADT APIs to return disabled apicids"

2017-03-11 Thread tip-bot for Dou Liyang
Commit-ID: 09c3f2bd5c7e5f18687663acb6adc6b167484ca5 Gitweb: http://git.kernel.org/tip/09c3f2bd5c7e5f18687663acb6adc6b167484ca5 Author: Dou Liyang AuthorDate: Fri, 3 Mar 2017 16:02:24 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:41:18 +0100 Revert"x86/acpi: Enable MA

[tip:x86/acpi] acpi/processor: Implement DEVICE operator for processor enumeration

2017-03-11 Thread tip-bot for Dou Liyang
Commit-ID: 8c8cb30f49b86333d8e036e1945cf1a78c03577e Gitweb: http://git.kernel.org/tip/8c8cb30f49b86333d8e036e1945cf1a78c03577e Author: Dou Liyang AuthorDate: Fri, 3 Mar 2017 16:02:26 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:41:20 +0100 acpi/processor: Implement

[tip:x86/acpi] acpi/processor: Check for duplicate processor ids at hotplug time

2017-03-11 Thread tip-bot for Dou Liyang
Commit-ID: a77d6cd968497792e072b74dff45b891ba778ddb Gitweb: http://git.kernel.org/tip/a77d6cd968497792e072b74dff45b891ba778ddb Author: Dou Liyang AuthorDate: Fri, 3 Mar 2017 16:02:27 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:41:20 +0100 acpi/processor: Check for

Re: [PATCH v5 21/39] UAPI: Add media UAPI Kbuild file

2017-03-11 Thread Sakari Ailus
Hi Steve, On Thu, Mar 09, 2017 at 08:53:01PM -0800, Steve Longerbeam wrote: > Add an empty UAPI Kbuild file for media UAPI headers. > > Signed-off-by: Steve Longerbeam The existing V4L2 UAPI headers are under include/uapi/linux. Could you use that directory instead? I actually wouldn't really

[PATCH v2 RFC] mm/vmscan: more restrictive condition for retry in do_try_to_free_pages

2017-03-11 Thread Yisheng Xie
From: Yisheng Xie When we enter do_try_to_free_pages, the may_thrash is always clear, and it will retry shrink zones to tap cgroup's reserves memory by setting may_thrash when the former shrink_zones reclaim nothing. However, when memcg is disabled or on legacy hierarchy, it should not do this u

[tip:x86/vdso] x86/hyperv: Implement hv_get_tsc_page()

2017-03-11 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: bd2a9adaadb8defcaf6c284bca7ff41634105f51 Gitweb: http://git.kernel.org/tip/bd2a9adaadb8defcaf6c284bca7ff41634105f51 Author: Vitaly Kuznetsov AuthorDate: Fri, 3 Mar 2017 14:21:40 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:47:28 +0100 x86/hyperv: Implemen

[tip:x86/vdso] x86/hyperv: Move TSC reading method to asm/mshyperv.h

2017-03-11 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: 0733379b512ce36ba0b10942f9597b74f579f063 Gitweb: http://git.kernel.org/tip/0733379b512ce36ba0b10942f9597b74f579f063 Author: Vitaly Kuznetsov AuthorDate: Fri, 3 Mar 2017 14:21:41 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:47:28 +0100 x86/hyperv: Move TSC

[tip:x86/vdso] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-03-11 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: 90b20432aeb850ef84086a72893cd9411479d896 Gitweb: http://git.kernel.org/tip/90b20432aeb850ef84086a72893cd9411479d896 Author: Vitaly Kuznetsov AuthorDate: Fri, 3 Mar 2017 14:21:42 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:47:28 +0100 x86/vdso: Add VCLOCK

[PATCH v2 RFC] mm/vmscan: more restrictive condition for retry in do_try_to_free_pages

2017-03-11 Thread Yisheng Xie
From: Yisheng Xie When we enter do_try_to_free_pages, the may_thrash is always clear, and it will retry shrink zones to tap cgroup's reserves memory by setting may_thrash when the former shrink_zones reclaim nothing. However, when memcg is disabled or on legacy hierarchy, it should not do this u

Re: [PATCH v7 kernel 3/5] virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFER

2017-03-11 Thread Matthew Wilcox
On Sat, Mar 11, 2017 at 07:59:31PM +0800, Wei Wang wrote: > I'm thinking what if the guest needs to transfer these much physically > continuous > memory to host: 1GB+2MB+64KB+32KB+16KB+4KB. > Is it going to use Six 64-bit chunks? Would it be simpler if we just > use the 128-bit chunk format (we can

Re: [PATCH v2 07/11] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function

2017-03-11 Thread Quentin Schulz
Hi Icenowy, On 10/03/2017 20:36, Icenowy Zheng wrote: > > > 10.03.2017, 18:56, "Quentin Schulz" : >> This moves code used in MFD probing to a new sun4i_gpadc_probe_mfd >> function. >> >> Signed-off-by: Quentin Schulz >> --- >> >> added in v2 >> >> drivers/iio/adc/sun4i-gpadc-iio.c | 78 >> +++

Re: [PATCH v2 05/11] Documentation: DT: bindings: mfd: add A33 GPADC binding

2017-03-11 Thread Quentin Schulz
Hi Icenowy, On 10/03/2017 20:25, Icenowy Zheng wrote: > > > 10.03.2017, 18:56, "Quentin Schulz" : >> This patch adds documentation for the A33 GPADC binding. >> >> Signed-off-by: Quentin Schulz >> --- >> >> added in v2 >> >> .../devicetree/bindings/mfd/sun4i-gpadc.txt | 59

Re: srcu: BUG in __synchronize_srcu

2017-03-11 Thread Mathieu Desnoyers
- On Mar 10, 2017, at 5:26 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: > On Fri, Mar 10, 2017 at 08:29:55PM +0100, Andrey Konovalov wrote: >> On Fri, Mar 10, 2017 at 8:28 PM, Andrey Konovalov >> wrote: >> > Hi, >> > >> > I've got the following error report while fuzzing the kerne

[PATCH v1 05/10] staging: iio: adis16240: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16240.c | 4 ++-- 1 file cha

[PATCH v1 06/10] staging: iio: adis16201: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16201.c | 4 ++-- 1 file cha

[PATCH v1 08/10] staging: iio: adis16203: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16203.c | 4 ++-- 1 file cha

[PATCH v1 10/10] staging: iio: gyro: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/gyro/adis16060_core.c | 2 +- 1 file c

[PATCH v1 03/10] staging: iio: cdc: ad7746: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/cdc/ad7746.c | 4 ++-- 1 file changed,

[PATCH v1 04/10] staging: iio: cdc: ad7152: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/cdc/ad7152.c | 6 +++--- 1 file change

[PATCH v1 00/10] staging: iio: Remove exceptional & on functions name

2017-03-11 Thread simran singhal
This patch-series removes exceptional & on functions name. v1: -Change the commit message of all the patches of the patch-series simran singhal (10): staging: iio: ad7192: Remove exceptional & on function name staging: iio: ad7780: Remove exceptional & on function name staging: iio: cdc:

[PATCH v1 02/10] staging: iio: ad7780: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/adc/ad7780.c | 2 +- 1 file changed, 1

[PATCH v1 01/10] staging: iio: ad7192: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/adc/ad7192.c | 12 ++-- 1 file

[PATCH v1 09/10] staging: iio: resolver: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/resolver/ad2s1200.c | 2 +- drivers/st

[PATCH v1 07/10] staging: iio: adis16209: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16209.c | 4 ++-- 1 file cha

Re: [PATCH v3 0/3] Bind RMI4 over SMBus from PS/2

2017-03-11 Thread Calvin Walton
Hi, On Wed, 2017-03-08 at 16:24 +0100, Benjamin Tissoires wrote: > Hi Dmitry, > > This is mostly a resend of the PS/2-SMBus binding (last 3 patches of > now 3 years > of trial and errors). > I integrated both warnings raised by Coccinelle, and squashed 4/3 > into 3/3. Just want to provide you so

memfill v2 now with ARM and x86 implementations

2017-03-11 Thread Matthew Wilcox
On Mon, Feb 06, 2017 at 12:16:44AM +0900, Minchan Kim wrote: > +static inline void zram_fill_page(char *ptr, unsigned long len, > + unsigned long value) > +{ > + int i; > + unsigned long *page = (unsigned long *)ptr; > + > + WARN_ON_ONCE(!IS_ALIGNED(l

Re: [PATCH 6/8] Input: psmouse - add support for SMBus companions

2017-03-11 Thread kbuild test robot
Hi Benjamin, [auto build test ERROR on input/next] [also build test ERROR on v4.11-rc1 next-20170310] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dmitry-Torokhov/PS/20170311-222141 base

[PATCH 3.16 000/372] 3.16.42-rc2 review

2017-03-11 Thread Ben Hutchings
I've added two more patches to the queue for this release, which will be sent as replies to this message. Responses should be made by Wed Mar 15 00:00:00 UTC 2017. Anything received after that time might be too late. Ben. -- Ben Hutchings If you seem to know what you are doing, you'll be given

[PATCH 3.16 372/372] tty: n_hdlc: get rid of racy n_hdlc.tbuf

2017-03-11 Thread Ben Hutchings
3.16.42-rc2 review patch. If anyone has any objections, please let me know. -- From: Alexander Popov commit 82f2341c94d270421f383641b7cd670e474db56b upstream. Currently N_HDLC line discipline uses a self-made singly linked list for data buffers and has n_hdlc.tbuf pointer for

[PATCH 3.16 371/372] TTY: n_hdlc, fix lockdep false positive

2017-03-11 Thread Ben Hutchings
3.16.42-rc2 review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit e9b736d88af1a143530565929390cadf036dc799 upstream. The class of 4 n_hdls buf locks is the same because a single function n_hdlc_buf_list_init is used to init all the locks. B

[PATCH 3.2 201/202] list: introduce list_first_entry_or_null

2017-03-11 Thread Ben Hutchings
3.2.87-rc2 review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko commit 6d7581e62f8be462440d7b22c6361f7c9fa4902b upstream. non-rcu variant of list_first_or_null_rcu Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller Signed-off-by: Ben Hut

[PATCH 3.2 202/202] tty: n_hdlc: get rid of racy n_hdlc.tbuf

2017-03-11 Thread Ben Hutchings
3.2.87-rc2 review patch. If anyone has any objections, please let me know. -- From: Alexander Popov commit 82f2341c94d270421f383641b7cd670e474db56b upstream. Currently N_HDLC line discipline uses a self-made singly linked list for data buffers and has n_hdlc.tbuf pointer for b

[PATCH 3.2 000/202] 3.2.87-rc2 review

2017-03-11 Thread Ben Hutchings
I've added three more patches to the queue for this release, which will be sent as replies to this message. Responses should be made by Wed Mar 15 00:00:00 UTC 2017. Anything received after that time might be too late. Ben. -- Ben Hutchings If you seem to know what you are doing, you'll be give

[PATCH 3.2 200/202] TTY: n_hdlc, fix lockdep false positive

2017-03-11 Thread Ben Hutchings
3.2.87-rc2 review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit e9b736d88af1a143530565929390cadf036dc799 upstream. The class of 4 n_hdls buf locks is the same because a single function n_hdlc_buf_list_init is used to init all the locks. Bu

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-11 Thread Sakari Ailus
Hi Mauro and Hans, On Sat, Mar 11, 2017 at 10:14:08AM -0300, Mauro Carvalho Chehab wrote: > Em Sat, 11 Mar 2017 12:32:43 +0100 > Hans Verkuil escreveu: > > > On 10/03/17 16:09, Mauro Carvalho Chehab wrote: > > > Em Fri, 10 Mar 2017 13:54:28 +0100 > > > Hans Verkuil escreveu: > > > > > >>> De

[PATCH] ARM: dts: uniphier: fix pin groups of eMMC pin-mux node

2017-03-11 Thread Masahiro Yamada
The eMMC devices on UniPhier boards are generally used in the 8-bit mode. So, DAT4-7 pins should be controlled. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-pinctrl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/uniphier-pinctrl.dtsi

[PATCH] arm64: dts: uniphier: add pinctrl property to eMMC node for LD11/LD20

2017-03-11 Thread Masahiro Yamada
Now everything is ready to enable this pinctrl. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 2 ++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b

Re: [PULL REQUEST] i2c for 4.11

2017-03-11 Thread Wolfram Sang
Linus, > You added an extra revert, only to pull in the *exact* same patch. WTF? The patch I reverted had a broken, typoed Signed-off. My rationale was to have only a proper one, and not two different ones coming from different trees. Looks like I misjudged, sorry. > Please stop this kind of stu

Re: UBSAN: Undefined behaviour in kernel/time/tick-sched.c:600:9

2017-03-11 Thread Meelis Roos
> > Cc'ing KASAN folks > > > >> (Retry with fixed address ox 86 list) > >> > >> This HP Netserver LT6000R, quad P3 Xeon. Trying > >> 4.11.0-rc1-00088-gec3b93a, I got the following UBSAN warning that was > >> not there in 4.10: > >> > >> [ 14.820437] > >> =

[PATCH] staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag

2017-03-11 Thread simran singhal
Remove typdef phy_ofdm_rx_status_rxsc_sgien_exintfflag and replace its uses in the code. Signed-off-by: simran singhal --- drivers/staging/rtl8192u/r8192U.h | 4 ++-- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/stag

[PATCH] drm/radeon: Fix GPU lockups for the R7 M270

2017-03-11 Thread Umang Raghuvanshi
Commit 3a69adfe5617 ("drm/radeon: drop oland quirks") removed quirks for Oland but also caused a regression where M270 GPUs would go into a lock-up when OpenGL intensive applications were used. This reverts the change only for the M270 and fixes the lock-ups. Signed-off-by: Umang Raghuvanshi ---

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag

2017-03-11 Thread Julia Lawall
On Sat, 11 Mar 2017, simran singhal wrote: > Remove typdef phy_ofdm_rx_status_rxsc_sgien_exintfflag and replace its uses > in the code. > > Signed-off-by: simran singhal > --- > drivers/staging/rtl8192u/r8192U.h | 4 ++-- > drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- > 2 files change

Re: nvme, allocation failures, and aborted commands

2017-03-11 Thread Thomas Fjellstrom
On Thursday, March 9, 2017 6:03:34 PM MST Keith Busch wrote: > On Thu, Mar 09, 2017 at 03:01:27PM -0700, Thomas Fjellstrom wrote: > > On Monday, March 6, 2017 5:46:33 PM MST Keith Busch wrote: > > > > > > echo 128 > /sys/block/nvme0n1/queue/max_hw_sectors_kb > > > echo 128 > /sys/block/nvme0n1

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag

2017-03-11 Thread SIMRAN SINGHAL
On Sat, Mar 11, 2017 at 9:56 PM, Julia Lawall wrote: > > > On Sat, 11 Mar 2017, simran singhal wrote: > >> Remove typdef phy_ofdm_rx_status_rxsc_sgien_exintfflag and replace its uses >> in the code. >> >> Signed-off-by: simran singhal >> --- >> drivers/staging/rtl8192u/r8192U.h | 4 ++-- >>

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag

2017-03-11 Thread Julia Lawall
On Sat, 11 Mar 2017, SIMRAN SINGHAL wrote: > On Sat, Mar 11, 2017 at 9:56 PM, Julia Lawall wrote: > > > > > > On Sat, 11 Mar 2017, simran singhal wrote: > > > >> Remove typdef phy_ofdm_rx_status_rxsc_sgien_exintfflag and replace its uses > >> in the code. > >> > >> Signed-off-by: simran singhal

Re: [PATCH] powerpc: Fix crash introduced with commit 5657933dbb6e

2017-03-11 Thread Linus Torvalds
On Thu, Mar 9, 2017 at 6:33 PM, Larry Finger wrote: > > The problem was bisected to commit 5657933dbb6e ("treewide: Move dma_ops > from struct dev_archdata into struct device"). The problem was a missing > copy of critical information from struct dev_archdata into struct device, > leading to the d

[PATCH] staging: rtl8188eu: Fix redundant space coding style issue

2017-03-11 Thread Alex Yashchenko
Signed-off-by: Alex Yashchenko --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c b/drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c index 201c15b..81bf494 100644 --

Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

2017-03-11 Thread Andi Kleen
On Sat, Mar 11, 2017 at 11:46:37AM +0100, Thomas Gleixner wrote: > > +enum xsave_features { > > + XSAVE_X87, > > + XSAVE_SSE, > > + XSAVE_AVX, > > + XSAVE_MPX_BOUNDS, > > + XSAVE_MPX_CSR, > > + XSAVE_AVX512_OPMASK, > > + XSAVE_AVX512_HI256, > > + XSAVE_AVX512_ZMM_HI256, > > + XSAV

[PATCH v2] staging: rtl8192u: Remove typedef phy_ofdm_rx_status_rxsc_sgien_exintfflag

2017-03-11 Thread simran singhal
Remove typdef phy_ofdm_rx_status_rxsc_sgien_exintfflag and replace its uses in the code. Signed-off-by: simran singhal --- v2: -Drop the "_" at the beginning of the name of the structure drivers/staging/rtl8192u/r8192U.h | 4 ++-- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 2 f

[PATCH v2 0/8] watchdog: s3c2410: Fixes and improvements

2017-03-11 Thread Krzysztof Kozlowski
Hi, Minor cleanup and some fixes for the watchdog used on all Samsung SoCs. The DTS patches should through samsung-soc tree but they depend on introducing new compatible. The patches waiting for new compatible will be deferred to next release. Changes since v1: = 1. Add Guenter'

[PATCH v2 4/8] ARM: dts: s3c64xx: Enable watchdog on all S3C64xx boards

2017-03-11 Thread Krzysztof Kozlowski
Watchdog module does not have external dependencies so it can be safely enabled in s3c64xx.dtsi thus making it available for all S3C64xx-based boards. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c64xx.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/s3c64x

[PATCH v2 3/8] ARM: dts: exynos: Fix watchdog reset on Exynos4412

2017-03-11 Thread Krzysztof Kozlowski
The Exynos4412 has the same watchdog as newer SoCs (e.g. Exynos5250). Just like the others, for working it requires additional steps in Power Management Unit: unmasking the reset request and enabling the system reset. Without these additional steps in PMU, the watchdog will not be able to reset th

[PATCH v2 5/8] ARM: dts: exynos: Enable watchdog on all Exynos4 boards

2017-03-11 Thread Krzysztof Kozlowski
Watchdog module does not have external dependencies so it can be safely enabled in exynos4.dtsi thus making it available for all Exynos4-based boards. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-origen.dts | 4 arch/arm/boot/dts/exynos4210.dtsi

[PATCH v2 1/8] watchdog: s3c2410: Remove confusing CONFIG prefix from local defines

2017-03-11 Thread Krzysztof Kozlowski
The CONFIG prefix from defines in the s3c2410_wdt.c might suggest that these constants come from Kconfig. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- drivers/watchdog/s3c2410_wdt.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH v2 2/8] watchdog: s3c2410: Fix infinite interrupt in soft mode

2017-03-11 Thread Krzysztof Kozlowski
In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. However the interrupt itself was not cleared thus on first hit, the system enters infinite interrupt handling loop. On Odroid U3 (Exynos4412), when booted with s3c2410_wdt.soft_noboot=1 argument the console

[PATCH v2 7/8] ARM: dts: s3c64xx: Fix infinite interrupt in soft mode

2017-03-11 Thread Krzysztof Kozlowski
In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropriate quirk for clearing the watchdog interrupt. Signe

[PATCH v2 8/8] ARM: dts: s5pv210: Fix infinite interrupt in soft mode

2017-03-11 Thread Krzysztof Kozlowski
In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropriate quirk for clearing the watchdog interrupt. Signe

[PATCH v2 6/8] ARM: dts: exynos: Fix infinite interrupt in soft mode on Exynos4210 and Exynos5440

2017-03-11 Thread Krzysztof Kozlowski
In soft (no-reboot) mode, the driver self-pings watchdog upon expiration of an interrupt. The interrupt has to be cleared, because otherwise system enters infinite interrupt handling loop. Use a samsung,s3c6410-wdt compatible to select appropriate quirk for clearing the watchdog interrupt. Signe

Re: [PATCH v2 1/8] watchdog: s3c2410: Remove confusing CONFIG prefix from local defines

2017-03-11 Thread Krzysztof Kozlowski
On Sat, Mar 11, 2017 at 07:25:20PM +0200, Krzysztof Kozlowski wrote: > The CONFIG prefix from defines in the s3c2410_wdt.c might suggest that > these constants come from Kconfig. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Guenter Roeck > --- > drivers/watchdog/s3c2410_wdt.c | 16

[PATCH 1/2] x86/xsave: Move xsave initialization to after parsing early parameters

2017-03-11 Thread Andi Kleen
From: Andi Kleen Move the XSAVE initialization code to be after parsing early parameters. I don't see any reason why the FPU code needs to be initialized that early, nothing else in the initialization phase uses XSAVE. This is useful to be able to handle command line parameters in the XSAVE initi

[PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

2017-03-11 Thread Andi Kleen
From: Andi Kleen For performance testing it is useful to be able to disable AVX and AVX512. User programs check in XGETBV if AVX is supported by the OS. If we don't initialize the XSAVE state for AVX it will appear as if the OS is not supporting AVX. Implement disable options for AVX and AVX512

  1   2   3   >