linux-next: Tree for May 3

2017-05-02 Thread Stephen Rothwell
Hi all, Please do not add any v4.13 destined material in your linux-next included branches until after v4.12-rc1 has been released. Changes since 20170502: The kbuild tree gained a conflict against Linus' tree. The metag tree gained a conflict against Linus' tree. The nfs tree gained

[PATCH] staging : rtl8188eu : remove void function return

2017-05-02 Thread Surender Polsani
kernel coding style doesn't allow the return statement in void function. Signed-off-by: Surender Polsani --- Changes for v2: corrected subject line as suggested Changes for v3: modified from line as suggested by Greg KH placed a semicolon in label for fixing build

Re: linux-next: build warning after merge of the devicetree tree

2017-05-02 Thread Stephen Rothwell
Hi Rob, On Fri, 28 Apr 2017 12:45:03 +1000 Stephen Rothwell wrote: > > After merging the devicetree tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/of/unittest.c: In function 'of_unittest': > drivers/of/unittest.c:2199:25:

Re: [RFC PATCH 8/9] debugfs: defer debugfs_fsdata allocation to first usage

2017-05-02 Thread Johannes Berg
On Tue, 2017-05-02 at 22:05 +0200, Nicolai Stange wrote: > > So either you could return some valid ops (perhaps > > debugfs_noop_file_operations although those don't have .name or > > .poll, so it doesn't cover everything), or you can just BUG_ON() > > here directly, saving the incomprehensible

[PATCH] staging: rtl8192u: ieee80211: rtl819x_TSProc: Fixed coding style issue

2017-05-02 Thread Fabrizio Perria
Fixed checkpatch.pl issue ERROR: that open brace { should be on the previous line Signed-off-by: Fabrizio Perria --- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH] MAINTAINERS: Add myself as reviewer for Exynos

2017-05-02 Thread Shuah Khan
On 05/02/2017 11:44 AM, Krzysztof Kozlowski wrote: > On Fri, Apr 28, 2017 at 08:01:07AM -0600, Shuah Khan wrote: >> Adding myself as a reviewer for Exynos in the interest of keeping an >> eye on the Exynos platform and help keep it stable. >> >> Signed-off-by: Shuah Khan

Re: [PATCH v2 6/6] Documentation/dev-tools: Add kselftest_harness documentation

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Add metadata to kselftest_harness.h to be able to include the comments > in the Sphinx documentation. > > Signed-off-by: Mickaël Salaün > Cc: Andy Lutomirski > Cc: Jonathan Corbet

[PATCH 07/13 V2] drbd: use bio_clone_fast() instead of bio_clone()

2017-05-02 Thread NeilBrown
drbd does not modify the bi_io_vec of the cloned bio, so there is no need to clone that part. So bio_clone_fast() is the better choice. For bio_clone_fast() we need to specify a bio_set. We could use fs_bio_set, which bio_clone() uses, or drbd_md_io_bio_set, which drbd uses for metadata, but it

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

2017-05-02 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the metag tree got a conflict in: arch/metag/include/asm/uaccess.h between commit: db68ce10c4f0 ("new helper: uaccess_kernel(new helper: uaccess_kernel())") from Linus' tree and commit: 8a8b56638bca ("metag/uaccess: Fix access_ok()") from the

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-02 Thread Prakash Sangappa
On 5/2/17 2:32 PM, Dave Hansen wrote: On 05/01/2017 11:00 AM, Prakash Sangappa wrote: This patch adds a new hugetlbfs mount option 'noautofill', to indicate that pages should not be allocated at page fault time when accessed thru mmapped address. I think the main argument against doing

Re: [PATCH -next] soc/qbman: fix implicit header dependency now causing build fails

2017-05-02 Thread Stephen Rothwell
Hi all, On Tue, 2 May 2017 18:21:12 -0400 Paul Gortmaker wrote: > > In commit 461a6946b1f9 ("iommu: Remove pci.h include from > trace/events/iommu.h") that header shuffle uncovered an implicit > include in this driver, manifesting as: > > CC

[GIT PULL] tracing: Updates for v4.12

2017-05-02 Thread Steven Rostedt
Linus, New features for this release: o Pretty much a full rewrite of the processing of function probes. i.e. echo do_IRQ:stacktrace > set_ftrace_filter o The rewrite was needed to add probes to be unique to tracing instances. i.e. mkdir instance/foo; cd instances/foo; echo

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-02 Thread Dave Hansen
On 05/02/2017 04:34 PM, Prakash Sangappa wrote: > Similarly, a madvise() option also requires additional system call by every > process mapping the file, this is considered a overhead for the database. How long-lived are these processes? For a database, I'd assume that this would happen a single

Re: [PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-05-02 Thread Ming Lei
On Wed, May 03, 2017 at 08:54:55AM +1000, NeilBrown wrote: > On Tue, May 02 2017, Ming Lei wrote: > > > On Tue, May 02, 2017 at 01:42:26PM +1000, NeilBrown wrote: > >> blk_bio_segment_split() makes sure bios have no more than > >> BIO_MAX_PAGES entries in the bi_io_vec. > >> This was done because

Re: [PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-02 Thread Bjorn Andersson
On Tue 02 May 13:59 PDT 2017, Sarangdhar Joshi wrote: > In the context of recovering from crash, > rproc_trigger_recovery() does rproc_shutdown() followed > by rproc_boot(). The remoteproc resources are cleaned up > in rproc_shutdown() and immediately reallocated in > rproc_boot() which is an

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

2017-05-02 Thread Stephen Rothwell
Hi Trond, Today's linux-next merge of the nfs tree got a conflict in: Documentation/admin-guide/kernel-parameters.txt between commit: c0c74acbb60b ("docs: remove all references to AVR32 architecture") from Linus' tree and commit: 6d22323b2e9f ("nfs: remove the objlayout driver") from

Re: [PATCH 2/3] hwmon: (adt7475) fan stall prevention

2017-05-02 Thread Chris Packham
On 03/05/17 06:07, Guenter Roeck wrote: > On Tue, May 02, 2017 at 05:45:35PM +1200, Chris Packham wrote: >> By default adt7475 will stop the fans (pwm duty cycle 0%) when the >> temperature drops past Tmin - hysteresis. Some systems want to keep the >> fans moving even when the temperature drops

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Anatolij Gustschin
On Wed, 3 May 2017 00:28:17 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: ... >>>Is 0xff a mask here? (Btw, you missed spaces around <<) >> >> yes, it is. Will add spaces (checkpatch didn't warn here). > >Then it makes sense to add _MASK and use GENMASK() instead of direct value. ok,

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Anatolij Gustschin
On Tue, 02 May 2017 16:36:54 -0700 Joe Perches j...@perches.com wrote: ... >It would with command line option --strict, otherwise not. ah, good to know. Thanks!

Re: [PATCH] xen: Move xen_have_vector_callback definition to enlighten.c

2017-05-02 Thread Randy Dunlap
On 05/02/17 10:23, Boris Ostrovsky wrote: > Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and > 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. > Since guest-type-neutral code refers to this variable this causes > build failures when CONFIG_XEN_PVHVM is not defined. >

Re: [PATCH v8 1/5] x86: add simple udelay calibration

2017-05-02 Thread Boris Ostrovsky
On 03/21/2017 04:01 AM, Lu Baolu wrote: > Add a simple udelay calibration in x86 architecture-specific > boot-time initializations. This will get a workable estimate > for loops_per_jiffy. Hence, udelay() could be used after this > initialization. This breaks Xen PV guests since at this point,

Re: [PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-05-02 Thread NeilBrown
On Tue, May 02 2017, Ming Lei wrote: > On Tue, May 02, 2017 at 01:42:26PM +1000, NeilBrown wrote: >> blk_bio_segment_split() makes sure bios have no more than >> BIO_MAX_PAGES entries in the bi_io_vec. >> This was done because bio_clone_bioset() (when given a >> mempool bioset) could not handle

Re: [PATCH v2 0/6] Add kselftest_harness.h

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Hi, > > This second patch series make the seccomp/test_harness.h more generally > available [1] and update the kselftest documentation with the Sphinx format. > It > also improve the Makefile of seccomp tests to take into

Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg

2017-05-02 Thread Tejun Heo
Hello, Vincent. On Tue, May 02, 2017 at 03:26:12PM +0200, Vincent Guittot wrote: > > IMHO, we should better improve load balance selection. I'm going to > > add smarter group selection in load_balance. that's something we > > should have already done but it was difficult without load/util_avg > >

[PATCH 04/13 V2] blk: use non-rescuing bioset for q->bio_split.

2017-05-02 Thread NeilBrown
A rescuing bioset is only useful if there might be bios from that same bioset on the bio_list_on_stack queue at a time when bio_alloc_bioset() is called. This never applies to q->bio_split. Allocations from q->bio_split are only ever made from blk_queue_split() which is only ever called early

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-02 Thread Joe Perches
On Tue, 2017-05-02 at 11:53 +0200, Anatolij Gustschin wrote: > On Mon, 1 May 2017 23:06:16 +0300 Andy Shevchenko andy.shevche...@gmail.com > wrote: > > > +#define VSEC_CVP_MODE_CTRL_NUMCLKS (0xff<<8) /* CVP_NUMCLKS */ > > > > Is 0xff a mask here? (Btw, you missed spaces around <<) > >

Re: [PATCH v2 5/6] Documentation/dev-tools: Use reStructuredText markups for kselftest

2017-05-02 Thread Kees Cook
On Tue, May 2, 2017 at 3:26 PM, Mickaël Salaün wrote: > Include and convert kselftest to the Sphinx format. > > Signed-off-by: Mickaël Salaün > Cc: Jonathan Corbet > Cc: Shuah Khan > --- > Documentation/dev-tools/index.rst

[PATCH] Fix for new version of realtek r8153

2017-05-02 Thread jake Briggs
From: jake Fix for new version of realtek r8153 not being recognised by the r8152 driver. The new version of the device with idVendor=0bda, idProduct=8153 is 6010 and treating it as if it was a 5c30 allow it to work. Error log: Apr 19 09:55:13 devotron kernel: [

[PATCH] selftests: x86: add missing executables to .gitignore

2017-05-02 Thread Shuah Khan
Executables that are common for both x86_32 and x86_64 are missing from .gitignore. Add them. Signed-off-by: Shuah Khan --- tools/testing/selftests/x86/.gitignore | 13 + 1 file changed, 13 insertions(+) diff --git a/tools/testing/selftests/x86/.gitignore

Re: [PATCH 4.10 00/62] 4.10.14-stable review

2017-05-02 Thread Greg Kroah-Hartman
On Tue, May 02, 2017 at 07:54:23AM -0600, Shuah Khan wrote: > On 05/01/2017 10:59 PM, kernelci.org bot wrote: > > stable-rc/linux-4.10.y boot: 87 boots: 0 failed, 87 passed > > (v4.10.13-63-gcabfe9402479) > > > > Full Boot Summary: > >

Re: [patch 2/2] MM: allow per-cpu vmstat_threshold and vmstat_worker configuration

2017-05-02 Thread Luiz Capitulino
On Tue, 2 May 2017 13:52:00 -0300 Marcelo Tosatti wrote: > > I have several questions about the tunables: > > > > - What does the vmstat_threshold value mean? What are the implications > >of changing this value? What's the difference in choosing 1, 2, 3 > >or 500?

Re: [patch 2/2] MM: allow per-cpu vmstat_threshold and vmstat_worker configuration

2017-05-02 Thread Marcelo Tosatti
On Tue, May 02, 2017 at 01:15:27PM -0400, Luiz Capitulino wrote: > On Tue, 2 May 2017 13:52:00 -0300 > Marcelo Tosatti wrote: > > > > I have several questions about the tunables: > > > > > > - What does the vmstat_threshold value mean? What are the implications > > >of

Mounting fuse with v4.11.0 produced WARNING in fs/super.c:1281 super_setup_bdi_name+0xcf/0xe0

2017-05-02 Thread Andrey Melnikov
Hello. Mounting ntfs fs with fuse shows this warning in log: [ 761.948837] [ cut here ] [ 761.948845] WARNING: CPU: 1 PID: 10879 at /usr/src/ml-build/mainline/fs/super.c:1281 super_setup_bdi_name+0xcf/0xe0 [ 761.948846] Modules linked in: nouveau mxm_wmi wmi ttm

[PATCH 1/3] net/atm: Combine four seq_printf() calls in mpc_show()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 18:52:58 +0200 Some data were put into a sequence by four separate function calls. Print the same data by two function calls instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus

[PATCH] x86/xen: Improve failed hypercall debugging

2017-05-02 Thread Andy Lutomirski
When fiddling with xen_exit_mmap(), I noticed that failed multicall debugging doesn't work if the multicall is just one call. Fix it. Cc: Juergen Gross Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Signed-off-by: Andy

Re: linux-next: manual merge of the drivers-x86 tree with the watchdog tree

2017-05-02 Thread Darren Hart
On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > drivers/watchdog/iTCO_wdt.c > > between commit: > > 38a700fa1df9 ("watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit > functions") >

Re: [PATCH] x86/xen: Improve failed hypercall debugging

2017-05-02 Thread Boris Ostrovsky
On 05/02/2017 01:59 PM, Andy Lutomirski wrote: > When fiddling with xen_exit_mmap(), I noticed that failed multicall > debugging doesn't work if the multicall is just one call. Fix it. That wouldn't be a multicall though, we'll end up making the desired hypercall directly. Besides, b->debug[]

Re: [PATCH net v2] net: hns: fix ethtool_get_strings overflow in hns driver

2017-05-02 Thread David Miller
From: Timmy Li Date: Tue, 2 May 2017 10:46:52 +0800 > hns_get_sset_count() returns HNS_NET_STATS_CNT and the data space allocated > is not enough for ethtool_get_strings(), which will cause random memory > corruption. > > When SLAB and DEBUG_SLAB are both enabled, memory

[PATCH 3/3] net/atm: Add some spaces for better code readability

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 19:19:14 +0200 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- net/atm/mpoa_proc.c | 23

Re: [PATCH] driver-core: remove lock for platform devices during probe

2017-05-02 Thread Greg Kroah-Hartman
On Tue, May 02, 2017 at 10:18:25AM +0800, we...@codeaurora.org wrote: > Hi Greg K-H, > > On 2017-04-25 19:36, Greg Kroah-Hartman wrote: > > On Tue, Apr 25, 2017 at 04:43:33PM +0800, we...@codeaurora.org wrote: > > > Hi Greg K-H, > > > > > > On 2017-04-24 16:46, Greg Kroah-Hartman wrote: > > > >

Re: error value for "internal error"

2017-05-02 Thread Linus Torvalds
On Tue, May 2, 2017 at 7:03 AM, Miklos Szeredi wrote: > I've been wondering what to return for soft asserts like this: > > if (WARN_ON(something unexpected)) > return -E; > > EINVAL doesn't fit because it means the input from userspace was > wrong.

[GIT PULL] HID for 4.12

2017-05-02 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive HID subsystem updates for 4.12 Thanks. = - the need for HID_QUIRK_NO_INIT_REPORTS per-device quirk has been growing dramatically during past years, so the time has come to switch

[GIT PULL] trivial for 4.12

2017-05-02 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-linus to receive trivial tree updates for 4.12 Andrew F. Davis (2): UBI: Fix typos net: phy: dp83848: Fix Typo Chijun Sima

[GIT PULL] livepatching for 4.12

2017-05-02 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive live patching updates for 4.12 merge window. Notice (not to go into the merge log): all the patches that are touching other code (especially arch-specific) have been

Re: [RFC PATCH 3/3] hwmon: (adt7475) temperature smoothing

2017-05-02 Thread Guenter Roeck
On Tue, May 02, 2017 at 05:45:36PM +1200, Chris Packham wrote: > When enabled temperature smoothing allows ramping the fan speed over a > configurable period of time instead of jumping to the new speed > instantaneously. > > Signed-off-by: Chris Packham > --- >

Re: [PATCH] MAINTAINERS: Remove myself as reviewer for Exynos

2017-05-02 Thread Krzysztof Kozlowski
On Fri, Apr 28, 2017 at 12:22:15AM -0400, Javier Martinez Canillas wrote: > I left Samsung and lost access to most Exynos hardware and documentation. > Also, I likely won't be able to keep an eye on the platform anymore in the > short term so remove myself as a reviewer for Exynos. > >

Re: [PATCH] arm64: Fix multiple 'asm-operand-widths' warnings

2017-05-02 Thread Mark Rutland
Hi, On Mon, May 01, 2017 at 02:26:22PM -0700, Matthias Kaehlcke wrote: > diff --git a/arch/arm64/include/asm/uaccess.h > b/arch/arm64/include/asm/uaccess.h > index 5308d696311b..7db143689694 100644 > --- a/arch/arm64/include/asm/uaccess.h > +++ b/arch/arm64/include/asm/uaccess.h > @@ -302,7

[PATCH 2/3] net/atm: Use seq_putc() in mpc_show()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 18:58:08 +0200 Single characters (line breaks) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH] arm64: Fix multiple 'asm-operand-widths' warnings

2017-05-02 Thread Matthias Kaehlcke
Hi, El Tue, May 02, 2017 at 06:29:48PM +0100 Mark Rutland ha dit: > On Mon, May 01, 2017 at 02:26:22PM -0700, Matthias Kaehlcke wrote: > > diff --git a/arch/arm64/include/asm/uaccess.h > > b/arch/arm64/include/asm/uaccess.h > > index 5308d696311b..7db143689694 100644 > > ---

Re: [PATCH] arm64: Fix multiple 'asm-operand-widths' warnings

2017-05-02 Thread Matthias Kaehlcke
Hi Mark, El Tue, May 02, 2017 at 11:27:18AM +0100 Mark Rutland ha dit: > On Mon, May 01, 2017 at 02:26:22PM -0700, Matthias Kaehlcke wrote: > > clang raises 'asm-operand-widths' warnings in inline assembly code when > > the size of an operand is < 64 bits and the operand width is unspecified. >

Re: [PATCH 1/2] Input: pwm-vibra: new driver

2017-05-02 Thread Dmitry Torokhov
Hi Sebastian, On Tue, May 02, 2017 at 06:27:25PM +0200, Sebastian Reichel wrote: > Provide a simple driver for PWM controllable vibrators. It > will be used by Motorola Droid 4. > > Signed-off-by: Sebastian Reichel > --- >

Re: [PATCH 4.10 00/62] 4.10.14-stable review

2017-05-02 Thread Greg Kroah-Hartman
On Tue, May 02, 2017 at 10:36:22AM -0700, Guenter Roeck wrote: > On Mon, May 01, 2017 at 02:34:13PM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.14 release. > > There are 62 patches in this series, all will be posted as a response > > to this one.

[PATCH 0/4] ima: builtin policy requiring file signatures

2017-05-02 Thread Mimi Zohar
The builtin "ima_appraise_tcb" policy should require file signatures for at least a few of the hooks (eg. kernel modules, firmware, kexec kernel image, and the IMA policy), but changing it would break the existing userspace/kernel ABI. This patch set extends the "ima_policy=" boot command line

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-05-02 Thread Mimi Zohar
Hi David, On Mon, 2017-04-10 at 14:19 +0100, David Howells wrote: > Mimi Zohar wrote: > > > From an IMA perspective, either a file hash or signature are valid, > > but for this usage it must be a signature. > > Not necessarily. If IMA can guarantee that a module is

Re: linux-next: manual merge of the drivers-x86 tree with the watchdog tree

2017-05-02 Thread Guenter Roeck
On Tue, May 02, 2017 at 11:09:40AM -0700, Darren Hart wrote: > On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > > > drivers/watchdog/iTCO_wdt.c > > > > between commit: > > > >

[patch] perf_event DRAM RAPL uses wrong units on Broadwell-EP

2017-05-02 Thread Vince Weaver
It appears as though the Broadwell-EP DRAM units share the special units quirk with Haswell-EP/KNL. Without this patch, you get really high results (a single DRAM using 20W of power). The powercap driver in drivers/powercap/intel_rapl.c already has this change. Signed-off-by: Vince Weaver

[PATCH trivial] security: Grammar s/allocates/allocated/

2017-05-02 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- security/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Kconfig b/security/Kconfig index 213df4d4f2c1527a..1bb0c5bc9caadf8c 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -134,7 +134,7 @@

Re: [git pull] vfs.git pile 3: splice-related bits and pieces

2017-05-02 Thread Linus Torvalds
On Mon, May 1, 2017 at 3:39 PM, Al Viro wrote: > Those actually missed the last cycle; the branch itself is > from last December. > > Al Viro (4): > splice/tee/vmsplice: validate flags I'm not convinced every user does this right, and this might break some

[PATCH] xen: Move xen_have_vector_callback definition to enlighten.c

2017-05-02 Thread Boris Ostrovsky
Commit 84d582d236dc ("xen: Revert commits da72ff5bfcb0 and 72a9b186292d") defined xen_have_vector_callback in enlighten_hvm.c. Since guest-type-neutral code refers to this variable this causes build failures when CONFIG_XEN_PVHVM is not defined. Moving xen_have_vector_callback definition to

Re: [PATCH 4.4 00/43] 4.4.66-stable review

2017-05-02 Thread Guenter Roeck
On Mon, May 01, 2017 at 02:27:00PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.66 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH 0/3] net/atm: Fine-tuning for three function implementations

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 19:37:39 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Combine four seq_printf() calls in mpc_show() Use seq_putc() in mpc_show() Add some spaces for

Re: [PATCH V2] pwm: tegra: Set maximum pwm clock source per SoC tapeout

2017-05-02 Thread Laxman Dewangan
On Tuesday 02 May 2017 08:53 PM, Jon Hunter wrote: On 02/05/17 15:05, Laxman Dewangan wrote: The PWM hardware IP is taped-out with different maximum frequency on different SoCs. From HW team: Before Tegra186, it is 38.4MHz. In Tegra186, it is 102MHz. Add support to limit the

Re: [PATCH 1/3] drm: fourcc byteorder: drop DRM_FORMAT_BIG_ENDIAN

2017-05-02 Thread Ilia Mirkin
On Tue, May 2, 2017 at 11:06 AM, Gerd Hoffmann wrote: > Radeon and nvidia (nv40) cards where mentioned. I'll try to summarize > (feel free to correct me if I'm wrong). > > nvidia has support for 8 bit-per-color formats only on bigendian hosts. > Not sure whenever this is a

Re: [PATCH] usb: host: remove unnecessary null check

2017-05-02 Thread Alan Stern
On Tue, 2 May 2017, Gustavo A. R. Silva wrote: > Remove unnecessary null check. udev->tt cannot ever be NULL when this > section of code runs. > > Addresses-Coverity-ID: 100828 > Cc: Alan Stern > Signed-off-by: Gustavo A. R. Silva > --- >

Re: [PATCH v2] usb: gadget: udc: add null check before pointer dereference

2017-05-02 Thread Alan Stern
On Tue, 2 May 2017, Gustavo A. R. Silva wrote: > Add null check before dereferencing dev->regs pointer inside > net2280_led_shutdown() function. > > Addresses-Coverity-ID: 101783 > Cc: Alan Stern > Signed-off-by: Gustavo A. R. Silva > --- >

[PATCH 2/4] ima: define a set of appraisal rules requiring file signatures

2017-05-02 Thread Mimi Zohar
The builtin "ima_appraise_tcb" policy should require file signatures for at least a few of the hooks (eg. kernel modules, firmware, and the kexec kernel image), but changing it would break the existing userspace/kernel ABI. This patch defines a new builtin policy named "secure_boot", which can be

[PATCH 4/4] ima: define is_ima_appraise_enabled()

2017-05-02 Thread Mimi Zohar
Only return enabled if in enforcing mode, not fix or log modes. Signed-off-by: Mimi Zohar Changes: - Define is_ima_appraise_enabled() as a bool (Thiago Bauermann) --- include/linux/ima.h | 6 ++ security/integrity/ima/ima_appraise.c | 10

[PATCH 3/4] ima: define Kconfig IMA_APPRAISE_BOOTPARAM option

2017-05-02 Thread Mimi Zohar
Permit enabling the different "ima_appraise=" modes (eg. log, fix) from the boot command line. Signed-off-by: Mimi Zohar --- security/integrity/ima/Kconfig| 8 security/integrity/ima/ima_appraise.c | 2 ++ 2 files changed, 10 insertions(+) diff --git

Re: [GIT PULL] PCI fixes for v4.10

2017-05-02 Thread Bjorn Helgaas
On Tue, May 02, 2017 at 12:49:29PM +0200, Lukas Wunner wrote: > On Mon, May 01, 2017 at 10:41:20PM -0400, Sinan Kaya wrote: > > On 5/1/2017 9:54 PM, Lukas Wunner wrote: > > > (b) ASPM L1 enabled on boot, but disabled after powering off and back on > > > => I believe Sinan is working on this

[PATCH 1/4] ima: extend the "ima_policy" boot command line to support multiple policies

2017-05-02 Thread Mimi Zohar
Add support for providing multiple builtin policies on the "ima_policy=" boot command line. Use "|" as the delimitor separating the policy names. Signed-off-by: Mimi Zohar --- Documentation/admin-guide/kernel-parameters.txt | 17 +++--

Re: [PATCH] drm/rockchip: analogix_dp: Remove unused check and variables

2017-05-02 Thread Sean Paul
On Sat, Apr 29, 2017 at 08:39:07PM +0800, Jeffy Chen wrote: > Remove unused check and variables after: > drm/rockchip: Set line flag config register in vop_crtc_enable > > Signed-off-by: Jeffy Chen > > --- Applied to -misc-next, thanks. Sean > >

Re: [PATCH v8 05/10] media: venus: adding core part and helper functions

2017-05-02 Thread Bjorn Andersson
On Tue 02 May 01:52 PDT 2017, Stanimir Varbanov wrote: > Hei Sakari, > > On 04/30/2017 01:21 AM, Sakari Ailus wrote: > > Hi, Stan!! > > > > On Fri, Apr 28, 2017 at 12:13:52PM +0300, Stanimir Varbanov wrote: > > ... > >> +int helper_get_bufreq(struct venus_inst *inst, u32 type, > >> +

Re: [PATCH v2 1/2] mm: Uncharge poisoned pages

2017-05-02 Thread Michal Hocko
On Tue 02-05-17 16:59:30, Laurent Dufour wrote: > On 28/04/2017 15:48, Michal Hocko wrote: [...] > > This is getting quite hairy. What is the expected page count of the > > hwpoison page? OK, so from the quick check of the hwpoison code it seems that the ref count will be > 1 (from

Re: [PATCH 4.10 00/62] 4.10.14-stable review

2017-05-02 Thread Greg Kroah-Hartman
On Mon, May 01, 2017 at 09:59:07PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.10.y boot: 87 boots: 0 failed, 87 passed > (v4.10.13-63-gcabfe9402479) That's good, but it seems like a very small number, is that correct? thanks, greg k-h

Re: net/ipv6: use-after-free in __call_rcu/in6_dev_finish_destroy_rcu

2017-05-02 Thread David Ahern
On 5/2/17 10:58 AM, Andrey Konovalov wrote: > Do you have a patch that I could test? not yet. > > I also reported another issue recently, that might also be related to this > one: > https://groups.google.com/forum/#!topic/syzkaller/Rt0pgY4wfiw different problem. I can still trigger this one

Re: [BUG] cannot mount nfs, bisected to 0db10944a76ba ("nfs: Convert to separately allocated bdi")

2017-05-02 Thread Corentin Labbe
tage/distfiles mount -t nfs -o tcp,hard,intr,async,vers=4 192.168.1.100:/mnt/tempo/portages/cubiedev/packages /usr/portage/packages mount -t nfs -o tcp,hard,intr,async,vers=4,rsize=4096,wsize=4096 192.168.1.100:/var/tmp/portage/cubie /var/tmp/portage/ mount -t nfs -o tcp,hard,intr,async,rsize=4096,wsi

Re: [PATCH 2/2] pid_ns: Introduce ioctl to set vector of ns_last_pid's on ns hierarhy

2017-05-02 Thread Kirill Tkhai
On 02.05.2017 19:33, Oleg Nesterov wrote: > sorry for delay, vacation... > > On 04/28, Kirill Tkhai wrote: >> >> On 27.04.2017 19:22, Oleg Nesterov wrote: >>> >>> Ah, OK, I didn't notice the ns->child_reaper check in >>> pidns_for_children_get(). >>> >>> But note that it doesn't need

Re: [PATCH 2/3] hwmon: (adt7475) fan stall prevention

2017-05-02 Thread Guenter Roeck
On Tue, May 02, 2017 at 05:45:35PM +1200, Chris Packham wrote: > By default adt7475 will stop the fans (pwm duty cycle 0%) when the > temperature drops past Tmin - hysteresis. Some systems want to keep the > fans moving even when the temperature drops so add new sysfs attributes > that configure

[PATCH] bonding: Use seq_putc() in bond_info_show_master()

2017-05-02 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 2 May 2017 20:48:36 +0200 A few single characters should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH v6 07/23] drivers/fsi: Implement slave initialisation

2017-05-02 Thread Christopher Bostic
On 5/2/17 1:24 AM, Joel Stanley wrote: On Tue, Apr 11, 2017 at 5:16 AM, Christopher Bostic wrote: From: Jeremy Kerr Implement fsi_slave_init: if we can read a chip ID, create fsi_slave devices and register with the driver core. Includes changes

Re: [PATCH v8 01/10] firmware: qcom_scm: Fix to allow COMPILE_TEST-ing

2017-05-02 Thread Bjorn Andersson
On Fri 28 Apr 02:13 PDT 2017, Stanimir Varbanov wrote: > Unfortunatly previous attempt to allow consumer drivers to > use COMPILE_TEST option in Kconfig is not enough, because in the > past the consumer drivers used 'depends on' Kconfig option but > now they are using 'select' Kconfig option

Re: [PATCH v2] stmmac: Add support for SIMATIC IOT2000 platform

2017-05-02 Thread David Miller
From: Jan Kiszka Date: Tue, 2 May 2017 09:58:00 +0200 > The IOT2000 is industrial controller platform, derived from the Intel > Galileo Gen2 board. The variant IOT2020 comes with one LAN port, the > IOT2040 has two of them. They can be told apart based on the board asset

[PATCH v2] security: Use user_namespace::level to avoid redundant iterations in cap_capable()

2017-05-02 Thread Kirill Tkhai
When ns->level is not larger then cred->user_ns->level, then ns can't be cred->user_ns's descendant, and there is no a sence to search in parents. So, breake the cycle earlier and skip needless iterations. v2: Change comment on suggested by Andy Lutomirski. Signed-off-by: Kirill Tkhai

Re: [PATCH 2/2] pid_ns: Introduce ioctl to set vector of ns_last_pid's on ns hierarhy

2017-05-02 Thread Eric W. Biederman
Oleg Nesterov writes: > sorry for delay, vacation... > > On 04/28, Kirill Tkhai wrote: >> >> On 27.04.2017 19:22, Oleg Nesterov wrote: >> > >> > Ah, OK, I didn't notice the ns->child_reaper check in >> > pidns_for_children_get(). >> > >> > But note that it doesn't need

Re: [PATCH 4.9 00/54] 4.9.26-stable review

2017-05-02 Thread Guenter Roeck
On Mon, May 01, 2017 at 02:31:07PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.26 release. > There are 54 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.10 00/62] 4.10.14-stable review

2017-05-02 Thread Guenter Roeck
On Mon, May 01, 2017 at 02:34:13PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.10.14 release. > There are 62 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] MAINTAINERS: Add myself as reviewer for Exynos

2017-05-02 Thread Krzysztof Kozlowski
On Fri, Apr 28, 2017 at 08:01:07AM -0600, Shuah Khan wrote: > Adding myself as a reviewer for Exynos in the interest of keeping an > eye on the Exynos platform and help keep it stable. > > Signed-off-by: Shuah Khan > --- > MAINTAINERS | 1 + > 1 file changed, 1

Re: [PATCH] bluetooth: hci_uart: fix kconfig dependency

2017-05-02 Thread Marcel Holtmann
Hi Tobias, > We see the following link error with CONFIG_BT_HCIUART=y, > CONFIG_BT_HCIUART_LL=y and CONFIG_SERIAL_DEV_BUS=m: > > drivers/built-in.o: In function 'll_close': > supp.c:(.text+0x55add4): undefined reference to 'serdev_device_close' > supp.c:(.text+0x55add4): relocation truncated to

VERY URGENT

2017-05-02 Thread Dk Ani Nadhirah Pg Juata
Dear Friend, I Have an Important Proposal For You Please Urgently Write Back Through This Email:: mrsanncha...@gmail.com Privileged/Confidential information may be contained in this message. If you are neither the addressee (intended recipient) nor an authorised

[PATCH 5/7] staging:r8188eu: remove ieee80211_get_hdrlen()

2017-05-02 Thread Ivan Safonov
ieee80211_get_hdrlen is unused, remove it and all corresponding code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 27 -- drivers/staging/rtl8188eu/include/ieee80211.h | 13 - 2 files changed, 40

[PATCH 7/7] staging:r8188eu: remove unused definitions from include/ieee80211.h

2017-05-02 Thread Ivan Safonov
Remove unused RTW_IEEE80211_FCTL_*, RTW_IEEE80211_FTYPE_*, RTW_IEEE80211_STYPE_*, IEEE80211_STATMASK_*, IEEE80211_DEFAULT_*, BEACON_PROBE_SSID_ID_POSITION, MFIE_TYPE_*, IEEE80211_DTIM_* and IEEE80211_PS_*. Signed-off-by: Ivan Safonov ---

linux-next: build warnings

2017-05-02 Thread Stephen Rothwell
Hi all, The linux-next build (powerpc allyesconfig) produced these warnings (and have for a while): arch/powerpc/kvm/book3s_pr_papr.c: In function 'kvmppc_h_pr_enter': arch/powerpc/kvm/book3s_pr_papr.c:53:2: warning: ignoring return value of 'copy_from_user', declared with attribute

[PATCH 2/7] staging:r8188eu: use different mon_recv_decrypted() inside rtl88eu_mon_recv_hook() and rtl88eu_mon_xmit_hook().

2017-05-02 Thread Ivan Safonov
Create mon_recv_decrypted_recv() to change rtl88eu_mon_recv_hook() without affect to rtl88eu_mon_xmit_hook(). Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/mon.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git

[GIT PULL] s390 patches for 4.12 merge window

2017-05-02 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The majority of the s390 patches for the 4.12 merge window: * Included are three merges for KVM/s390 with changes for vfio-ccw

Re: FW: [PATCH 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-02 Thread Ryder Lee
Hi Arnd, > 2017-04-28 19:41 GMT+08:00 Arnd Bergmann : > > On Fri, Apr 28, 2017 at 4:46 AM, Ryder Lee > wrote: > > On Thu, 2017-04-27 at 21:06 +0200, Arnd Bergmann wrote: > >> On Wed, Apr 26, 2017 at 10:10 AM, Ryder Lee >

Re: [PATCH 2/2] dt-bindings: phy: Add documentation for Mediatek PCIe PHY

2017-05-02 Thread Ryder Lee
On Fri, 2017-04-28 at 12:52 -0500, Rob Herring wrote: > On Sun, Apr 23, 2017 at 04:17:33PM +0800, Ryder Lee wrote: > > Add documentation for PCIe PHY available in MT7623 series SoCs. > > > > Signed-off-by: Ryder Lee > > --- > >

Re: [PATCH v3 1/2] ASoC: stm32: add bindings for SAI

2017-05-02 Thread Olivier MOYSAN
Hello Rob, On 04/28/2017 10:53 PM, Rob Herring wrote: > On Mon, Apr 10, 2017 at 05:19:55PM +0200, olivier moysan wrote: >> This patch adds documentation of device tree bindings for the >> STM32 SAI ASoC driver. >> >> Signed-off-by: olivier moysan >> --- >>

[PATCH] bcache: explicitly destory mutex while exiting

2017-05-02 Thread Liang Chen
mutex_destroy does nothing most of time, but it's better to call it to make the code future proof and it also has some meaning for like mutex debug. Signed-off-by: Liang Chen --- drivers/md/bcache/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] MAINTAINERS: Update MAX77802 PMIC entry

2017-05-02 Thread Lee Jones
On Sun, 30 Apr 2017, Mark Brown wrote: > On Fri, Apr 28, 2017 at 12:56:21AM -0400, Javier Martinez Canillas wrote: > > The Samsung email address will stop working soon, so use my personal > > email address instead. > > Acked-by: Mark Brown I think this is now yours to take.

[PATCH 1/7] staging:r8188eu: move IV/ICV trimming into decrypt() and also place it after rtl88eu_mon_recv_hook()

2017-05-02 Thread Ivan Safonov
IV/ICV should be trimmed immediately after decoding (this is a decryptor job). Trim IV/ICV inside decrypt() for SW decrypted frames, for HW decrypted - before rtl88eu_mon_recv_hook(). Adopt frames receive process to work without IV/ICV fields. Signed-off-by: Ivan Safonov

  1   2   3   4   5   6   7   8   9   10   >