[PATCH] sit: reload iphdr in ipip6_rcv

2017-06-03 Thread Haishuang Yan
Since iptunnel_pull_header() can call pskb_may_pull(), we must reload any pointer that was related to skb->head. Fixes: a09a4c8dd1ec ("tunnels: Remove encapsulation offloads on decap") Signed-off-by: Haishuang Yan --- net/ipv6/sit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/si

Re: [PATCH v1 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-03 Thread Al Viro
On Sun, Jun 04, 2017 at 01:24:13AM -0400, Matt Brown wrote: > On 06/03/2017 02:33 AM, Al Viro wrote: > > On Sat, Jun 03, 2017 at 01:53:51AM -0400, Matt Brown wrote: > > > > > +static int tpe_bprm_set_creds(struct linux_binprm *bprm) > > > +{ > > > + struct file *file = bprm->file; > > > + struct i

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-06-03 Thread Boris Lukashev
On Mon, May 29, 2017 at 8:27 PM, Casey Schaufler wrote: > On 5/29/2017 4:51 PM, Boris Lukashev wrote: >> With all due respect sir, i believe your review falls short of the >> purpose of this effort - to harden the kernel against flaws in >> userspace. Comments along the line of "if does it right

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Stephan Müller
Am Freitag, 2. Juni 2017, 16:59:56 CEST schrieb Jason A. Donenfeld: Hi Jason, > Alternatively, I'm open to other solutions people might come up with. One addition, there is an issue (I would call it a bug) in random.c before 4.8 where the nonblocking_pool is not reseeded during early boot even

RE: [PATCH v2 08/11] ARC: [plat-eznps] spinlock aware for MTM

2017-06-03 Thread Noam Camus
> From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] > Sent: Friday, June 2, 2017 21:36 PM ... >> arch/arc/include/asm/spinlock.h |6 ++ >> 1 files changed, 6 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arc/include/asm/spinlock.h >> b/arch/arc/include/asm/spinlock.h ind

RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-03 Thread Noam Camus
> From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] > Sent: Friday, June 2, 2017 22:04 PM >> diff --git a/arch/arc/plat-eznps/Kconfig b/arch/arc/plat-eznps/Kconfig >> index feaa471..c5f946c 100644 >> --- a/arch/arc/plat-eznps/Kconfig >> +++ b/arch/arc/plat-eznps/Kconfig >> @@ -32,3 +32,14 @

Re: [PATCH 3/4] mfd: da9055-core: make it explicitly non-modular

2017-06-03 Thread kbuild test robot
-drivers-explicitly-non-modular/20170603-211054 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Stephan Müller
Am Sonntag, 4. Juni 2017, 00:54:39 CEST schrieb Jeffrey Walton: Hi Jeffrey, > On Sat, Jun 3, 2017 at 5:45 PM, Sandy Harris wrote: > > ... > > Of course this will fail on systems with no high-res timer. Are there > > still some of those? It might be done in about 1000 times as long on a > > syste

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Jeffrey Walton
On Sun, Jun 4, 2017 at 1:48 AM, Stephan Müller wrote: > Am Freitag, 2. Juni 2017, 16:59:56 CEST schrieb Jason A. Donenfeld: > >> Alternatively, I'm open to other solutions people might come up with. > > How about stirring in some data from the Jitter RNG that we have in the kernel > already and th

Re: [PATCH 3/4] mfd: da9055-core: make it explicitly non-modular

2017-06-03 Thread kbuild test robot
-drivers-explicitly-non-modular/20170603-211054 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Stephan Müller
Am Freitag, 2. Juni 2017, 16:59:56 CEST schrieb Jason A. Donenfeld: Hi Jason, > > Alternatively, I'm open to other solutions people might come up with. How about stirring in some data from the Jitter RNG that we have in the kernel already and that is used for the DRBG in case get_random_bytes

Re: [kernel-hardening] Re: [PATCH v1 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-03 Thread Eric Biggers
On Sun, Jun 04, 2017 at 01:24:13AM -0400, Matt Brown wrote: > On 06/03/2017 02:33 AM, Al Viro wrote: > > On Sat, Jun 03, 2017 at 01:53:51AM -0400, Matt Brown wrote: > > > > > +static int tpe_bprm_set_creds(struct linux_binprm *bprm) > > > +{ > > > + struct file *file = bprm->file; > > > + struct i

Re: [RFC v2 2/4] tracing: Add support for recording tgid of tasks

2017-06-03 Thread Joel Fernandes
Some minor things that I will rework in next rev after spending some more time on it: On Sat, Jun 3, 2017 at 9:03 PM, Joel Fernandes wrote: [..] > @@ -463,7 +469,7 @@ int trace_set_clr_event(const char *system, const char > *event, int set); > #define event_trace_printk(ip, fmt, args...)

Re: [PATCH v2 02/20] staging: ccree: replace bit shift with BIT macro

2017-06-03 Thread Gilad Ben-Yossef
On Sat, Jun 3, 2017 at 11:46 AM, Greg Kroah-Hartman wrote: > On Thu, Jun 01, 2017 at 02:02:52PM +0300, Gilad Ben-Yossef wrote: >> CC_CTX_SIZE was being defined using a hand rolled bit shift operation. >> Replace with use of BIT macro. >> >> Signed-off-by: Gilad Ben-Yossef >> --- >> drivers/stagi

Re: [PATCH v1 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-03 Thread Matt Brown
On 06/03/2017 02:33 AM, Al Viro wrote: On Sat, Jun 03, 2017 at 01:53:51AM -0400, Matt Brown wrote: +static int tpe_bprm_set_creds(struct linux_binprm *bprm) +{ + struct file *file = bprm->file; + struct inode *inode = d_backing_inode(file->f_path.dentry->d_parent); + struct in

Investment Interest & Offer

2017-06-03 Thread Seydou Thieba

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Steve Longerbeam
On 06/03/2017 02:57 PM, Sakari Ailus wrote: On Sat, Jun 03, 2017 at 09:51:39PM +0200, Pavel Machek wrote: Hi! + /* Auto/manual exposure */ + ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, +V4L2_CID_EXPOSURE_AUTO, +

Re: [PATCH 2/5] x86/cpuid: Add generic table for cpuid dependencies

2017-06-03 Thread kbuild test robot
Hi Andi, [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.12-rc3 next-20170602] [cannot apply to tip/x86/core] [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/Andi-Kleen/x8

Re: [PATCH] tcmu: Add fifo type waiter list support to avoid starvation

2017-06-03 Thread Mike Christie
On 05/04/2017 09:51 PM, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > The fifo type waiter list will hold the udevs who are waiting for the > blocks from the data global pool. The unmap thread will try to feed the > first udevs in waiter list, if the global free blocks available are >

[RFC v2 4/4] tracing/ftrace: Add support to record and display tgid

2017-06-03 Thread Joel Fernandes
Make function tracer able to record tgid if/when record-tgid is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Joel Fernandes --- kernel/trace/trace_functions.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH] acpi/iort, numa: Add numa node mapping for smmuv3 devices

2017-06-03 Thread Ganapatrao Kulkarni
On Fri, Jun 2, 2017 at 9:20 AM, Hanjun Guo wrote: > [+Cc Lv Zheng] > > On 2017/6/2 0:21, Lorenzo Pieralisi wrote: >> On Thu, Jun 01, 2017 at 07:35:37PM +0530, Ganapatrao Kulkarni wrote: >>> ARM IORT specification has provision to define Proximity domain >>> in SMMUv3 IORT table. Adding required co

[RFC v2 3/4] tracing: Add support for display of tgid in trace output

2017-06-03 Thread Joel Fernandes
Earlier patches introduced ability to record the tgid using the 'record-tgid' option. Here we read the tgid and output it if the option is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Joel Fernandes --- kernel/trace/trace.c| 47 +++

[RFC v2 2/4] tracing: Add support for recording tgid of tasks

2017-06-03 Thread Joel Fernandes
Inorder to support recording of tgid, the following changes are made: - Introduce a new API for optionally recording the tgid along with the task's comm which replaces the existing '*cmdline*' APIs. - reuse the existing sched_switch and sched_wakeup probes - replace all uses of the old API - add

[RFC v2 1/4] tracing: Remove unused declaration of trace_stop_cmdline_recording

2017-06-03 Thread Joel Fernandes
trace_stop_cmdline_recording declaration isn't in use, remove it. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Joel Fernandes --- kernel/trace/trace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 1122f1

[RFC v2 0/4] tracing: Add support to record and display tgid of tasks

2017-06-03 Thread Joel Fernandes
Hi Steven, Ingo, Here is a rework of the last RFC [1] I posted. Its a a complete rewrite from scratch to be more upstream friendly. Android systrace viewer heavily depends on the tgid to group tasks. tgid is also useful for analyzing traces and generating stats for groups of tasks. Basically in

Re: [PATCH] ARM: imx_v6_v7_defconfig: Explicitly restore CONFIG_DEBUG_FS

2017-06-03 Thread Shawn Guo
On Fri, May 26, 2017 at 02:26:06PM +0300, Leonard Crestez wrote: > This option was removed by "make savedefconfig" in > commit c5054a98bce4 ("ARM: imx_v6_v7_defconfig: Select SMSC_PHY") > > This happened because CONFIG_DEBUG_FS was implicitly selected by > CONFIG_TREE_RCU_TRACE which defaulted to

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-06-03 Thread Peter Dolding
On Sun, Jun 4, 2017 at 8:22 AM, Matt Brown wrote: > On 06/03/2017 06:00 PM, Alan Cox wrote: >>> >>> TIOCSLCKTRMIOS >> >> >> That one I'm more dubious about >> >>> TIOCSLTC >>> TIOCSSOFTCAR >> >> >> tty_io.c also has a few and n_tty has a couple we'd want. >> >>> >>> would it be overkill to have a

Re: [PATCH V3 1/2] powerpc/numa: Update CPU topology when VPHN enabled

2017-06-03 Thread kbuild test robot
Hi Michael, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12-rc3 next-20170602] [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/Michael-Bringmann/powerpc-numa-Update-CPU-to

Re: [PATCH v2 2/3] PCI: Enable PCIe Relaxed Ordering if supported

2017-06-03 Thread Ding Tianhong
On 2017/6/4 2:19, Alexander Duyck wrote: > On Fri, Jun 2, 2017 at 9:04 PM, Ding Tianhong wrote: >> The PCIe Device Control Register use the bit 4 to indicate that >> whether the device is permitted to enable relaxed ordering or not. >> But relaxed ordering is not safe for some platform which cou

[PATCH 1/2] arm64: allwinner: a64: add DTSI file for SoPine SoM

2017-06-03 Thread Icenowy Zheng
From: Icenowy Zheng SoPine is a SoM by Pine64, which have a gold finger compatible with the slot of DDR3 SODIMM (signals are not compatible), and have an A64, an AXP803, a LPDDR3 DRAM chip, a power led and a MicroSD slot on it. The card detect pin of the MicroSD slot on the SoM is pulled down, w

[PATCH 2/2] arm64: allwinner: a64: add device tree for SoPine with baseboard

2017-06-03 Thread Icenowy Zheng
From: Icenowy Zheng Pine64 have made an official baseboard when SoPine SoM is out. The official baseboard is like the original Pine64 -- but with SD card slot replaced with Pine64's eMMC module slot. Add a device tree for SoPine with the baseboard. Signed-off-by: Icenowy Zheng --- arch/arm64

Re: [RFC 0/3] WhiteEgret LSM module

2017-06-03 Thread Peter Dolding
On Thu, Jun 1, 2017 at 1:35 AM, Serge E. Hallyn wrote: > Quoting Casey Schaufler (ca...@schaufler-ca.com): >> >> >> On 5/31/2017 3:59 AM, Peter Dolding wrote: >> > ... >> > >> > Like you see here in Australian government policy there is another >> > thing called whitelisted. >> > https://www.asd.g

Re: [RFC 0/3] WhiteEgret LSM module

2017-06-03 Thread Peter Dolding
On Thu, Jun 1, 2017 at 1:36 AM, Mehmet Kayaalp wrote: > >> On May 31, 2017, at 6:59 AM, Peter Dolding wrote: >> >> Number 1 we need to split the idea of signed and whitelisted. IMA is >> signed should not be confused with white-listed.You will find >> policies stating whitelist and signed a

Re: [PATCH 1/1] Sealable memory support

2017-06-03 Thread kbuild test robot
Hi Igor, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.12-rc3 next-20170602] [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/Igor-Stoppa/Sealable-memory-support/20170522-16

[PATCH net-next v10 1/5] skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow

2017-06-03 Thread Jason A. Donenfeld
This is a defense-in-depth measure in response to bugs like 4d6fa57b4dab ("macsec: avoid heap overflow in skb_to_sgvec"). There's not only a potential overflow of sglist items, but also a stack overflow potential, so we fix this by limiting the amount of recursion this function is allowed to do. No

[PATCH net-next v10 2/5] ipsec: check return value of skb_to_sgvec always

2017-06-03 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller" --- net/ipv4/ah4.c | 8 ++-- net/ipv4/esp4.c | 20 +--- net/ipv6/ah6.c | 8 ++-- net/ipv6/esp6.c | 20 +--- 4 files changed, 38 insertions(+), 18 deletions(-)

[PATCH net-next v10 3/5] rxrpc: check return value of skb_to_sgvec always

2017-06-03 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld Acked-by: David Howells --- net/rxrpc/rxkad.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index 1bb9b2ccc267..29fe20ad04aa 100644 --- a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c @

[PATCH net-next v10 4/5] macsec: check return value of skb_to_sgvec always

2017-06-03 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld Cc: Sabrina Dubroca --- drivers/net/macsec.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 91642fd87cd1..b79513b8322f 100644 --- a/drivers/net/macsec.c +++ b/drivers/net/macse

[PATCH net-next v10 5/5] virtio_net: check return value of skb_to_sgvec always

2017-06-03 Thread Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld Reviewed-by: Sergei Shtylyov Cc: "Michael S. Tsirkin" Cc: Jason Wang --- drivers/net/virtio_net.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 3e9246cc49c3..57763d30cabb

[PATCH net-next v10 0/5] Avoiding stack overflow in skb_to_sgvec

2017-06-03 Thread Jason A. Donenfeld
Changes v9->v10: - Spaces to tabs on one line. - Added some acked-by, reviewed-by lines. Since we're down to only cleaning up things like spaces-to-tabs, I believe we can merge this patch series. David - would you put this in net-next, please? The recent bug with macsec and historical one

Re: [PATCH net] net: ping: do not abuse udp_poll()

2017-06-03 Thread Lorenzo Colitti
On Sun, Jun 4, 2017 at 1:29 AM, Eric Dumazet wrote: > The problem is that ping sockets should not use udp_poll() in the first > place, and recent changes in UDP stack finally exposed this old bug. Acked-By: Lorenzo Colitti Tested-By: Lorenzo Colitti

Re: [PATCH v4 1/6] pinctrl: qcom: Add ipq8074 pinctrl driver

2017-06-03 Thread Christian Lamparter
On Saturday, June 3, 2017 12:57:50 PM CEST Varadarajan Narayanan wrote: > +- function: > + Usage: required > + Value type: > + Definition: Specify the alternative function to be configured for the > + specified pins. Functions are only valid for gpio pins. > +

Re: [PATCH v9 2/4] arm64: dts: hisi: add kirin pcie node

2017-06-03 Thread kbuild test robot
Hi Xiaowei, [auto build test ERROR on pci/next] [also build test ERROR on v4.12-rc3 next-20170602] [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/Xiaowei-Song/add-PCIe-driver-for-Kirin-PCIe/2017

Re: [kernel-hardening] Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Daniel Micay
On 3 June 2017 at 18:54, Jeffrey Walton wrote: > On Sat, Jun 3, 2017 at 5:45 PM, Sandy Harris wrote: >> ... >> Of course this will fail on systems with no high-res timer. Are there >> still some of those? It might be done in about 1000 times as long on a >> system that lacks the realtime library'

Re: [PATCH] staging: rtl8723bs: fix a couple of spelling mistakes

2017-06-03 Thread Joe Perches
On Sat, 2017-06-03 at 23:21 +0100, Colin King wrote: > Replace cant with cannot, argumetns with arguments and > add line break to overly long DBG_871X statement. [] > diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c > b/drivers/staging/rtl8723bs/hal/hal_com.c [] > @@ -26,7 +26,7 @@ u8 rtw_hal_

[PATCH 4/4] Staging: ccree: cc_crypto_ctx.h: Added * on subsequent lines of a comment block

2017-06-03 Thread srishti sharma
Added *'s on subsequent lines of a comment block to fix coding style issues. Signed-off-by: srishti sharma --- drivers/staging/ccree/cc_crypto_ctx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_

[PATCH 3/4] Staging: ccree: cc_crypto_ctx.h: Fixed * alignment issues in a comment block

2017-06-03 Thread srishti sharma
Fixed the alignment of * in a comment block. Signed-off-by: srishti sharma --- drivers/staging/ccree/cc_crypto_ctx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index 27a5914..03164624 10

[PATCH 2/4] Staging: ccree: cc_crypto_ctx.h: Fixed trailing */ issue in a comment block

2017-06-03 Thread srishti sharma
Fixed trailing */ style issue in a block comment. Signed-off-by: srishti sharma --- drivers/staging/ccree/cc_crypto_ctx.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index 6ee51b8..27a59

[PATCH 1/4] Staging: ccree: cc_crypto_ctx.h: Added * on subsequent lines of a comment block.

2017-06-03 Thread srishti sharma
Added * on subsequent lines of a comment block. Signed-off-by: srishti sharma --- drivers/staging/ccree/cc_crypto_ctx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index ac39d34..6ee51b8 100644

[GIT PULL] Please pull NFS client bugfixes for Linux 4.12

2017-06-03 Thread Trond Myklebust
Hi Linus, The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.12-2 for you to fetch changes up to 4f253e1eb628f5

[PATCH 0/4] Fixed comment coding style issues.

2017-06-03 Thread srishti sharma
This patchset contains a series of comment coding style issues fixes. srishti sharma (4): Staging: ccree: cc_crypto_ctx.h: Added * on subsequent lines of a comment block. Staging: ccree: cc_crypto_ctx.h: Fixed trailing */ issue in a comment block Staging: ccree: cc_crypto_ctx.h: Fixe

[PATCH][V2] staging: ccree: fix spelling mistake: "chanined" -> "chained"

2017-06-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in SSI_LOG_ERR message Signed-off-by: Colin Ian King --- drivers/staging/ccree/ssi_buffer_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/staging/ccree/ssi_buffer_mg

[PATCH] taging: ccree: fix spelling mistake: "chanined" -> "chained"

2017-06-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in SSI_LOG_ERR message Signed-off-by: Colin Ian King --- drivers/staging/ccree/ssi_buffer_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/staging/ccree/ssi_buffer_mg

Re: [PATCH V1 2/2] pwm: pwm-qti-lpg: Add PWM driver for QTI LPG module

2017-06-03 Thread kbuild test robot
Hi Fenglin, [auto build test ERROR on j.anaszewski-leds/for-next] [also build test ERROR on v4.12-rc3 next-20170602] [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/fenglinw-codeaurora-org/leds-l

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Jeffrey Walton
On Sat, Jun 3, 2017 at 5:45 PM, Sandy Harris wrote: > ... > Of course this will fail on systems with no high-res timer. Are there > still some of those? It might be done in about 1000 times as long on a > system that lacks the realtime library's nanosecond timer but has the > Posix standard micros

[PATCH] staging: rtl8723bs: fix another spelling mistake

2017-06-03 Thread Colin King
From: Colin Ian King I found one more spelling mistake in a DBG_8192C debug message, replace "avaliable" with "available", add some spacing between text and a number and split overly long line Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 3 ++- 1 file c

[PATCH v2] lib/extable.c: use bsearch() library function in search_extable()

2017-06-03 Thread Thomas Meyer
Signed-off-by: Thomas Meyer ---  include/linux/extable.h |  3 ++-  kernel/extable.c|  2 +-  kernel/module.c |  2 +-  lib/extable.c   | 38 +++---  4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/include/linux/extable.h b/inclu

Re: [kernel-hardening] [PATCH v1 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-03 Thread Matt Brown
On 06/03/2017 06:39 AM, Jann Horn wrote: On Sat, Jun 3, 2017 at 7:53 AM, Matt Brown wrote: This patch was modified from Brad Spengler's Trusted Path Execution (TPE) feature in Grsecurity and also incorporates logging ideas from cormander's tpe-lkm. Modifications from the Grsecurity implementat

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-06-03 Thread Matt Brown
On 06/03/2017 06:00 PM, Alan Cox wrote: TIOCSLCKTRMIOS That one I'm more dubious about TIOCSLTC TIOCSSOFTCAR tty_io.c also has a few and n_tty has a couple we'd want. would it be overkill to have a sysctl kernel.ttyioctlwhitelist.X where X is one of the ioctls above? Why would anyone w

[PATCH] staging: rtl8723bs: fix a couple of spelling mistakes

2017-06-03 Thread Colin King
From: Colin Ian King Replace cant with cannot, argumetns with arguments and add line break to overly long DBG_871X statement. Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/hal/hal_com.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl87

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Luc Van Oostenryck
On Sat, Jun 3, 2017 at 11:29 PM, Peter Rosin wrote: > On 2017-06-03 22:26, Luc Van Oostenryck wrote: >> On Sat, Jun 3, 2017 at 9:34 PM, Greg Kroah-Hartman >> wrote: >>> On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman >>>

Re: [PATCH v2] misc: atmel-ssc: Handle return value of clk_prepare_enable and clk_prepare

2017-06-03 Thread Alexandre Belloni
Hi, It is getting tiring to get patches that are nor even compile tested resulting from whatever static analysis tool you used. This patch has almost no value and v1 was clearly wrong. Do you realize clk_prepare and clk_prepare_enable will never fail for the SSC? On 02/06/2017 at 11:09:02 +0530

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Pavel Machek
Hi! > > > According to the docs V4L2_CID_EXPOSURE_ABSOLUTE is in 100 usec units. > > > > > > OTOH V4L2_CID_EXPOSURE has no defined unit, so it's a better fit IMO. > > > >Way more drivers appear to be using EXPOSURE than EXPOSURE_ABSOLUTE, too. > > > > > > Done, switched to V4L2_CID_EXPOSURE. It

[PATCH 0/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi Himanshu + Quinn, Here is a small series to introduce proper percpu se_lun->lun_ref counting for TMR, and add common code in target_submit_tmr() to do tag lookup for unpacked_lun in order to drop the original driver specific lookup within __qlt_24xx_handle_abts(). It

[PATCH 1/3] target: Add support for TMR percpu reference counting

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch introduces TMR percpu reference counting using se_lun->lun_ref in transport_lookup_tmr_lun(), following how existing non TMR per se_lun reference counting works within transport_lookup_cmd_lun(). It also adds explicit transport_lun_remove_cmd() calls to drop t

[PATCH 3/3] qla2xxx: Convert QLA_TGT_ABTS to TARGET_SCF_LOOKUP_LUN_FROM_TAG

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Following Himanshu's earlier patch to drop the redundant tag lookup within __qlt_24xx_handle_abts(), go ahead and drop this now QLA_TGT_ABTS can use TARGET_SCF_LOOKUP_LUN_FROM_TAG and have target_submit_tmr() do this from common code. Cc: Himanshu Madhani Cc: Quinn Tran

[PATCH 2/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASK

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch introduces support in target_submit_tmr() for locating a unpacked_lun from an existing se_cmd->tag during ABORT_TASK. When TARGET_SCF_LOOKUP_LUN_FROM_TAG is set, target_submit_tmr() will do the extra lookup via target_lookup_lun_from_tag() and subsequently inv

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-06-03 Thread Alan Cox
> TIOCSLCKTRMIOS That one I'm more dubious about > TIOCSLTC > TIOCSSOFTCAR tty_io.c also has a few and n_tty has a couple we'd want. > > would it be overkill to have a sysctl kernel.ttyioctlwhitelist.X where X > is one of the ioctls above? Why would anyone want to change the entries on that l

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Sakari Ailus
On Sat, Jun 03, 2017 at 09:51:39PM +0200, Pavel Machek wrote: > Hi! > > > >>>+/* Auto/manual exposure */ > > >>>+ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, > > >>>+ V4L2_CID_EXPOSURE_AUTO, > > >>>+

[git pull] Input updates for v4.12-rc3

2017-06-03 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a couple regression fixes in synaptics and axp20x-pek drivers, and we will try to ease transition from PS/2 to RMI for Synaptics tou

Re: [PATCH] parport_serial: Add support for WCH CH382L PCI-E Single Parallel Port Card Adapter.

2017-06-03 Thread Sudip Mukherjee
On Thursday 27 April 2017 05:07 PM, Alexander Gerasiov wrote: PCIID: 0x1c00:0x3050. Similair to 0x3250 but without serial ports soldered on board. Signed-off-by: Alexander Gerasiov --- Can you please send a v2 of this patch with little more details in the commit message.. For example, look

Re: get_random_bytes returns bad randomness before seeding is complete

2017-06-03 Thread Sandy Harris
Stephan's driver, the HAVEGE system & several others purport to extract entropy from a series of timer calls. Probably the best analysis is in the Mcguire et al. paper at https://static.lwn.net/images/conf/rtlws11/random-hardware.pdf & the simplest code in my user-space driver at https://github.com

Re: [PATCH v3 3/9] mfd: tmio.h: support partition parser types

2017-06-03 Thread Andrea Adami
On Thu, Jun 1, 2017 at 4:35 PM, Lee Jones wrote: > On Thu, 01 Jun 2017, Andrea Adami wrote: > >> Signed-off-by: Andrea Adami >> --- >> include/linux/mfd/tmio.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h >> index a1520d8..23bb06

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Peter Rosin
On 2017-06-03 12:31, Greg Kroah-Hartman wrote: > On Sat, Jun 03, 2017 at 07:26:27PM +0900, Greg Kroah-Hartman wrote: >> On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: >>> From: Peter Rosin >>> >>> Hi Greg, >>> >>> Philipp found problems in v14 with using a mutex for locking that was

Re: [PATCH v2] um: Avoid longjmp/setjmp symbol clashes with libpthread.a

2017-06-03 Thread Richard Weinberger
Thomas, Am 03.06.2017 um 23:25 schrieb Thomas Meyer: > ptrace(PTRACE_CONT, 21664, NULL, SIG_0) = 0 > --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=21664, > si_uid=1000, si_status=SIGTRAP, si_utime=0, si_stime=0} --- > wait4(21664, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}], WSTOPPED

[GIT PULL] SCSI fixes for 4.12-rc3

2017-06-03 Thread James Bottomley
This is nine fixes, seven of which are for the qedi driver (new in 4.10) the other two are a use after free in the cxgbi drivers and a potential NULL dereference in the rdac device handler. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The sh

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Peter Rosin
On 2017-06-03 22:26, Luc Van Oostenryck wrote: > On Sat, Jun 3, 2017 at 9:34 PM, Greg Kroah-Hartman > wrote: >> On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: >>> On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman >>> wrote: On Sun, May 14, 2017 at 09:51:03PM +0200, Pet

[PATCH] iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a BUG() in iscsit_close_session() that could be triggered when iscsit_logout_post_handler() execution from within tx thread context was not run for more than SECONDS_FOR_LOGOUT_COMP (15 seconds), and the TCP connection didn't already close before then for

Re: [PATCH v2] um: Avoid longjmp/setjmp symbol clashes with libpthread.a

2017-06-03 Thread Thomas Meyer
Am Freitag, den 02.06.2017, 09:38 +0200 schrieb Richard Weinberger: > Thomas, > > Am 02.06.2017 um 07:49 schrieb Florian Fainelli: > > > the put_fp_registers fails with errno 4 if I recall correctly. > > > > > > I didn't investigate yet further, why the the xstate ptrace call > > > fails. > > >

Re: [PATCH v7 00/23] FSI device driver implementation

2017-06-03 Thread Steven Rostedt
On Sat, 3 Jun 2017 19:05:10 +0900 Greg KH wrote: > On Wed, May 31, 2017 at 12:17:05PM -0500, Christopher Bostic wrote: > > Hi Greg, > > > > Are there any further changes you require for this patch set? This has been > > extensively tested internally and all is working as expected. Would it be

I am Talent Scout For Sony Pictures Animation

2017-06-03 Thread Sony Pictures
Dear Talented, I am Talent Scout For Sony Pictures Animation, Present Sony Pictures Animation Movies a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D

Re: [PATCH] firmware: dmi: Check DMI structure length

2017-06-03 Thread Jean Delvare
On Fri, 2 Jun 2017 21:45:37 +0300, Andy Shevchenko wrote: > On Fri, Jun 2, 2017 at 9:40 PM, Jean Delvare wrote: > > On Thu, 1 Jun 2017 19:06:36 +0300, Andy Shevchenko wrote: > >> Your commit message should answer to the question why and what. > >> You didn't put it there. > >> Moreover, the chan

Re: [PATCH 1/5] sparc: simplify

2017-06-03 Thread David Miller
From: Christoph Hellwig Date: Sat, 3 Jun 2017 21:00:58 +0200 > There is no need for the forward declaration of compat_siginfo provided > here. We can't yet use the generic header as we need to pull in the > sparc-specific version of the uapi , but this prepares > for removing the non-uapi enti

[PATCH] target: Fix kref->refcount underflow in transport_cmd_finish_abort

2017-06-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes a se_cmd->cmd_kref underflow during CMD_T_ABORTED when a fabric driver drops it's second reference from below the target_core_tmr.c based callers of transport_cmd_finish_abort(). Recently with the conversion of kref to refcount_t, this bug was manifestin

Re: [linux-next / tty] possible circular locking dependency detected

2017-06-03 Thread Vegard Nossum
On 06/03/17 11:34, Greg Kroah-Hartman wrote: On Mon, May 29, 2017 at 12:43:39PM +0200, Vegard Nossum wrote: On 05/22/17 12:27, Vegard Nossum wrote: On 05/22/17 12:24, Greg Kroah-Hartman wrote: On Mon, May 22, 2017 at 04:39:43PM +0900, Sergey Senozhatsky wrote: Hello, [ 1274.378287] =

Re: [PATCH RFC tip/core/rcu] Make SRCU be once again optional

2017-06-03 Thread Paul E. McKenney
On Sat, Jun 03, 2017 at 01:18:43AM -0400, Nicolas Pitre wrote: > On Fri, 2 Jun 2017, Paul E. McKenney wrote: > > > On Fri, May 12, 2017 at 12:10:05PM -0700, Paul E. McKenney wrote: > > > On Fri, May 12, 2017 at 02:59:48PM -0400, Nicolas Pitre wrote: > > > > On Fri, 12 May 2017, Paul E. McKenney wr

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Luc Van Oostenryck
On Sat, Jun 3, 2017 at 9:34 PM, Greg Kroah-Hartman wrote: > On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: >> On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman >> wrote: >> > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: >> >> From: Peter Rosin >> >> >> >> H

Re: [PATCH] virtio_net: lower limit on buffer size

2017-06-03 Thread Sergei Shtylyov
On 06/02/2017 11:25 PM, J. Bruce Fields wrote: commit d85b758f72b0 "virtio_net: fix support for small rings" Commit d85b758f72b0 ("virtio_net: fix support for small rings") was supposed to increase the buffer size for small rings but had an unintentional side effect of decreasing it for l

[PATCH 3/3] ARM: pxa: Delete an error message for a failed memory allocation in pxa3xx_u2d_probe()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:46:26 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

[PATCH 2/3] ARM: pxa: Improve a size determination in pxa3xx_u2d_probe()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:43:11 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 1/3] ARM: pxa: Delete an error message for a failed memory allocation in pxa_pm_init()

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 21:34:48 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signe

[PATCH 0/3] ARM-pxa: Adjustments for two function implementations

2017-06-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 3 Jun 2017 22:02:34 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in pxa_pm_init() Improve a size determination in pxa3xx_u2d_probe() Delete

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Pavel Machek
Hi! > >>>+ /* Auto/manual exposure */ > >>>+ ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, > >>>+ V4L2_CID_EXPOSURE_AUTO, > >>>+ V4L2_EXPOSURE_MANUAL, 0, > >>>+ V4L2

Re: WMI and Kernel:User interface

2017-06-03 Thread Darren Hart
On Wed, May 10, 2017 at 07:13:41AM +0200, Greg Kroah-Hartman wrote: > On Tue, May 09, 2017 at 04:16:39PM -0700, Darren Hart wrote: > > Linus and Greg, > > > > We are in the process of redesigning the Windows Management Instrumentation > > (WMI) [1] system in the kernel. WMI is the Microsoft implem

Re: [PATCH 3.16 144/212] batman-adv: Fix double free during fragment merge error

2017-06-03 Thread Ben Hutchings
On Thu, 2017-06-01 at 18:44 +0200, Sven Eckelmann wrote: > On Donnerstag, 1. Juni 2017 16:43:16 CEST Ben Hutchings wrote: > > 3.16.44-rc1 review patch.  If anyone has any objections, please let me know. > > It looks to me like there are problems with this backport. The surrounding  > code has to b

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-03 Thread Steve Longerbeam
On 06/01/2017 01:26 AM, Sakari Ailus wrote: Hi Pavel, On Wed, May 31, 2017 at 09:58:21PM +0200, Pavel Machek wrote: Hi! +/* min/typical/max system clock (xclk) frequencies */ +#define OV5640_XCLK_MIN 600 +#define OV5640_XCLK_MAX 2400 + +/* + * FIXME: there is no subdev API to set t

Fast Approval in 1-2 Hours.

2017-06-03 Thread adetriyasa
We provide PERSONAL and BUSINESS assistance No Deposit when you apply Loan with us!! , To Ease Your Financial Burden. -Easy Apply -Flexible Package -Fast Approval in 1-2 Hours. Email: quickfinac...@qq.com

Re: [PATCH v15 00/13] mux controller abstraction and iio/i2c muxes

2017-06-03 Thread Greg Kroah-Hartman
On Sat, Jun 03, 2017 at 08:37:21PM +0200, Luc Van Oostenryck wrote: > On Sat, Jun 3, 2017 at 12:26 PM, Greg Kroah-Hartman > wrote: > > On Sun, May 14, 2017 at 09:51:03PM +0200, Peter Rosin wrote: > >> From: Peter Rosin > >> > >> Hi Greg, > >> > >> Philipp found problems in v14 with using a mutex

Re: [PATCH] platform/x86: dell-rbtn: Improve explanation about DELLABC6

2017-06-03 Thread Darren Hart
On Sat, May 27, 2017 at 07:27:19PM +0300, Andy Shevchenko wrote: > On Sat, May 27, 2017 at 8:16 AM, Darren Hart wrote: > > From: Andy Lutomirski > > > > According to Mario at Dell, the DELLABC6 device should not be used on a > > Linux system. It also conflicts with Intel-HID and its interactions

Sleeping BUG in khugepaged for i586

2017-06-03 Thread Larry Finger
I recently turned on locking diagnostics for a Dell Latitude D600 laptop, which requires a 32-bit kernel. In the log I found the following: BUG: sleeping function called from invalid context at mm/khugepaged.c:655 in_atomic(): 1, irqs_disabled(): 0, pid: 20, name: khugepaged 1 lock held by khuge

  1   2   3   >