Re: [PATCH 1/2] firmware: Google VPD: import lib_vpd source files

2017-04-11 Thread Joe Perches
On Tue, 2017-04-11 at 16:09 +0200, Greg Kroah-Hartman wrote: > Care to use "real" kernel variable types please? u8, u16, and others > are you friend, uint8_t really isn't what we prefer, and checkpatch > should tell you that... checkpatch doesn't warn about "u?int\d+_t" types unless --strict is e

Re: [PATCH 0/7] perf tool: pipe-mode fixes

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 11:49:06AM +0200, Jiri Olsa escreveu: > On Mon, Apr 10, 2017 at 01:14:25PM -0700, David Carrillo-Cisneros wrote: > > Various fixes for perf tool pipe-mode for bugs that arose while trying > > to make this work: > > > > perf record -o - noploop | perf inject -b | perf an

Re: [PATCH v2 3/5] PCI: rockchip: add remove() support

2017-04-11 Thread Brian Norris
Hi Bjorn, On Fri, Mar 31, 2017 at 09:40:15AM -0700, Brian Norris wrote: > Sure, I can grok that. Just let me know if you want any more action from > me. Any thoughts here? Would you like me to prepare my patches any differently? Brian

Re: [PATCH] chipidea: Fix issue in reconnecing gadget without insmod/rmmod

2017-04-11 Thread kbuild test robot
Hi Niranjan, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.11-rc6] [cannot apply to next-20170411] [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/Niranjan-Dighe

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-11 Thread Alexander Graf
> Am 11.04.2017 um 19:10 schrieb Jim Mattson : > > This might be more useful if it could be dynamically toggled on and > off, depending on system load. What would trapping mwait (currently) buy you? As it stands today, before this patch, mwait is simply implemented as a nop, so enabling the t

[PATCH 0/2] TTY-goldfish: small adjustments for two function implementations

2017-04-11 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 11 Apr 2017 20:22:10 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use kcalloc() in goldfish_tty_create_driver() Adjust five checks for null pointers drivers/tty/goldfish.c | 14 +++--- 1 f

Re: [PATCH v2] vfio/type1: Remove locked page accounting workqueue

2017-04-11 Thread Alex Williamson
On Tue, 11 Apr 2017 19:03:14 +0800 Peter Xu wrote: > On Thu, Apr 06, 2017 at 08:53:43AM -0600, Alex Williamson wrote: > > If the mmap_sem is contented then the vfio type1 IOMMU backend will > > defer locked page accounting updates to a workqueue task. This has > > a few problems and depending on

[PATCH 1/2] tty-goldfish: Use kcalloc() in goldfish_tty_create_driver()

2017-04-11 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 11 Apr 2017 20:00:23 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. Sign

Re: [PATCH 1/2] mtd: dataflash: Make use of "extened device information"

2017-04-11 Thread Marek Vasut
On 04/11/2017 06:17 PM, Andrey Smirnov wrote: > In anticipation of supporting chips that need it, extend the size of > struct flash_info's 'jedec_id' field to make room 2 byte of extended > device information as well as add code to fetch this data during > jedec_probe(). > > Cc: cphe...@gmail.com

[PATCH 2/2] tty-goldfish: Adjust five checks for null pointers

2017-04-11 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 11 Apr 2017 20:15:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code pl

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Michal Hocko
On Tue 11-04-17 13:03:01, Cristopher Lameter wrote: > On Tue, 11 Apr 2017, Michal Hocko wrote: > > > > > > > There is a flag SLAB_DEBUG_OBJECTS that is available for this check. > > > > Which is way too late, at least for the kfree path. page->slab_cache > > on anything else than PageSlab is just

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Christoph Lameter
On Fri, 31 Mar 2017, Kees Cook wrote: > As found in PaX, this adds a cheap check on heap consistency, just to > notice if things have gotten corrupted in the page lookup. Ok this only affects kmem_cache_free() and not kfree(). For kmem_cache_free() we already have a lot of stuff in the hotpath du

Re: [PATCH v2 2/2] mtd: spi-nor: add driver for STM32 quad spi flash controller

2017-04-11 Thread Marek Vasut
On 04/10/2017 06:52 PM, Ludovic BARRE wrote: > hi Marek > > tomorrow, I send a v3 with your/Rob reviews. Super, thanks! I'll be pretty busy till Friday, so please keep in mind the final review might take a bit. > BR > > Ludo > > > On 04/10/2017 06:15 PM, Marek Vasut wrote: >> On 04/10/2017 11

Re: [PATCH V3 00/16] Introduce the BFQ I/O scheduler

2017-04-11 Thread Bart Van Assche
On Tue, 2017-04-11 at 19:37 +0200, Paolo Valente wrote: > Just pushed: > https://github.com/Algodev-github/bfq-mq/tree/add-bfq-mq-logical Thanks! But are you aware that the code on that branch doesn't build? $ make all [ ... ] ERROR: "bfq_mark_bfqq_busy" [block/bfq-wf2q.ko] undefined! ERROR: "bf

Re: [PATCH 6/7] perf tool: protect empty evlists

2017-04-11 Thread David Carrillo-Cisneros
I did my best to fix those issues in perf inject and perf report, but yeah, other commands may have issues. On Tue, Apr 11, 2017 at 11:12 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Apr 10, 2017 at 01:14:31PM -0700, David Carrillo-Cisneros escreveu: >> A common pattern in in pipe-mode bugs is a

Re: [PATCH 2/2] ASoC: hisilicon: Minor fixups to hi6210 i2s audio driver

2017-04-11 Thread Mark Brown
On Mon, Apr 10, 2017 at 12:35:12PM -0700, John Stultz wrote: > This patch adds a few extra error returns in cases that > shouldn't happen, some style nits adding breaks to final > default cases in switch statements, and tweaks to use > devm_ variant of snd_soc_register_component. Please don't mak

perf test BPF skipping

2017-04-11 Thread Arnaldo Carvalho de Melo
Ideas? Will dig deeper later, the warning in the perf test output doesn't help. Using perf as in acme/perf/core [root@jouet ~]# perf test bpf 38: BPF filter : 38.1: Basic BPF filtering : Skip 38.2: BPF pinning : Ski

Re: [PATCH v7 resend 00/20] ILP32 for ARM64

2017-04-11 Thread Yury Norov
> Also, the latest benchmarks I've seen were mostly for user space > while I'm more concerned with the user-kernel interface > (https://marc.info/?l=linux-arm-kernel&m=148690490713310&w=2). > On the glibc testing side, have the regressions been identified/fixed? I run LTP for testing the ABI and

Re: perf test BPF skipping

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 03:35:58PM -0300, Arnaldo Carvalho de Melo escreveu: > Ideas? Will dig deeper later, the warning in the perf test output > doesn't help. > > Using perf as in acme/perf/core Humm, I had a long running 'perf top' session, as soon as I exited it and tried again: [root@jouet

Re: [PATCH] checkpatch: special audit for revert commit line

2017-04-11 Thread Joe Perches
On Tue, 2017-04-11 at 10:41 -0700, Wei Wang wrote: > From: Wei Wang > > Currently checkpatch.pl does not recognize revert commits and > complains about the commit hash format. > Add special audit for revert commit to fix it. The commit wording seems a bit off, but I guess it's OK. The 'This rev

Re: [PATCH 5/7] perf session: don't rely on evlist in pipe mode

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 10, 2017 at 01:14:30PM -0700, David Carrillo-Cisneros escreveu: > Session sets a number parameters that rely on evlist. These parameters > are not used in pipe-mode and should not be set, since evlist is > unavailable. Fix that. Ditching this one as well, until further investigation, w

Re: [PATCH 5/7] perf session: don't rely on evlist in pipe mode

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 03:40:14PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Apr 10, 2017 at 01:14:30PM -0700, David Carrillo-Cisneros escreveu: > > Session sets a number parameters that rely on evlist. These parameters > > are not used in pipe-mode and should not be set, since evlist is

Re: [PATCH 1/2] firmware: Google VPD: import lib_vpd source files

2017-04-11 Thread Greg Kroah-Hartman
On Tue, Apr 11, 2017 at 11:15:54AM -0700, Joe Perches wrote: > On Tue, 2017-04-11 at 16:09 +0200, Greg Kroah-Hartman wrote: > > Care to use "real" kernel variable types please? u8, u16, and others > > are you friend, uint8_t really isn't what we prefer, and checkpatch > > should tell you that... >

Re: [PATCH v7 resend 00/20] ILP32 for ARM64

2017-04-11 Thread Florian Weimer
On 04/11/2017 08:36 PM, Yury Norov wrote: Also, the latest benchmarks I've seen were mostly for user space while I'm more concerned with the user-kernel interface (https://marc.info/?l=linux-arm-kernel&m=148690490713310&w=2). On the glibc testing side, have the regressions been identified/fixe

Re: [PATCH RESEND] scsi: return correct blkprep status code in case scsi_init_io() fails.

2017-04-11 Thread Bart Van Assche
On Tue, 2017-04-11 at 09:46 +0200, Johannes Thumshirn wrote: > When instrumenting the SCSI layer to run into the > !blk_rq_nr_phys_segments(rq) case the following warning emitted from the > block layer: > > blk_peek_request: bad return=-22 > > This happens because since commit fd3fc0b4d730 ('scs

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Christoph Lameter
On Tue, 11 Apr 2017, Michal Hocko wrote: > > So we are already handling that condition. Why change things? Add a BUG_ON > > if you want to make SLAB consistent. > > I hate to repeat myself but let me do it for the last time in this > thread. BUG_ON for something that is recoverable is completely >

Re: [PATCH 5/7] perf session: don't rely on evlist in pipe mode

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 03:40:50PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Apr 11, 2017 at 03:40:14PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Apr 10, 2017 at 01:14:30PM -0700, David Carrillo-Cisneros escreveu: > > > Session sets a number parameters that rely on evlist. The

Re: perf test BPF skipping

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 03:37:43PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Apr 11, 2017 at 03:35:58PM -0300, Arnaldo Carvalho de Melo escreveu: > > Ideas? Will dig deeper later, the warning in the perf test output > > doesn't help. > > > > Using perf as in acme/perf/core > > Humm, I h

Re: [PATCH 1/2] firmware: Google VPD: import lib_vpd source files

2017-04-11 Thread Joe Perches
On Tue, 2017-04-11 at 20:42 +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 11, 2017 at 11:15:54AM -0700, Joe Perches wrote: > > On Tue, 2017-04-11 at 16:09 +0200, Greg Kroah-Hartman wrote: > > > Care to use "real" kernel variable types please? u8, u16, and others > > > are you friend, uint8_t real

Re: [PATCH v2] vfio/type1: Remove locked page accounting workqueue

2017-04-11 Thread Alex Williamson
On Tue, 11 Apr 2017 12:27:55 -0600 Alex Williamson wrote: > On Tue, 11 Apr 2017 19:03:14 +0800 > Peter Xu wrote: > > > On Thu, Apr 06, 2017 at 08:53:43AM -0600, Alex Williamson wrote: > > > If the mmap_sem is contented then the vfio type1 IOMMU backend will > > > defer locked page accounting

Re: [PATCH 1/3] x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid

2017-04-11 Thread Shivappa Vikas
On Mon, 10 Apr 2017, Thomas Gleixner wrote: On Wed, 5 Apr 2017, Luck, Tony wrote: On Wed, Apr 05, 2017 at 05:20:24PM +0200, Thomas Gleixner wrote: That's just wrong. The proper behaviour for a new control group is, that at the time when it is created it copies the CBM values of the default

Re: [PATCH] scripts: kconfig: implement a sort method

2017-04-11 Thread Randy Dunlap
On 04/11/17 04:12, Felipe Balbi wrote: > With a growing amount of Kernel configuration, it's > getting ever more difficult to find anything on > menuconfig. Because of that, implement mergesort for > kconfig to make it a little easier for anybody > building kernels. Search works for me, but I don'

Re: [PATCH] livepatch: Cancel transition a safe way for immediate patches

2017-04-11 Thread Jiri Kosina
On Tue, 11 Apr 2017, Petr Mladek wrote: > klp_init_transition() does not set func->transition for immediate patches. > Then klp_ftrace_handler() could use the new code immediately. As a result, > it is not safe to put the livepatch module in klp_cancel_transition(). > > This patch reverts most of

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Michal Hocko
On Tue 11-04-17 13:44:02, Cristopher Lameter wrote: > On Tue, 11 Apr 2017, Michal Hocko wrote: > > > > So we are already handling that condition. Why change things? Add a BUG_ON > > > if you want to make SLAB consistent. > > > > I hate to repeat myself but let me do it for the last time in this >

Re: [PATCH 2/7] perf inject: copy events when reordering events in pipe mode

2017-04-11 Thread David Carrillo-Cisneros
free_dup_event is called in two places 1) ordered_events__free 2) ordered_events__delete without this patch, calling 1) after 2) would cause a double de-allocation, but that's exactly what happens in __perf_session__process_pipe_events. It wasn't triggered before because events where not copie

Re: [PATCH 5/7] perf session: don't rely on evlist in pipe mode

2017-04-11 Thread David Carrillo-Cisneros
Only the second one is needed. file is already checked for the first one. On Tue, Apr 11, 2017 at 11:44 AM, Arnaldo Carvalho de Melo wrote: > Em Tue, Apr 11, 2017 at 03:40:50PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Apr 11, 2017 at 03:40:14PM -0300, Arnaldo Carvalho de Melo escreveu

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Christoph Lameter
On Tue, 11 Apr 2017, Michal Hocko wrote: > I didn't say anything like that. Hence the proposed patch which still > needs some more thinking and evaluation. This patch does not even affect kfree(). Could you start another discussion thread where you discuss your suggestions for the changes in the

Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-04-11 Thread Vlastimil Babka
+CC linux-api On 11.4.2017 19:24, Christoph Lameter wrote: > On Tue, 11 Apr 2017, Vlastimil Babka wrote: > >> The root of the problem is that the cpuset's mems_allowed and mempolicy's >> nodemask can temporarily have no intersection, thus get_page_from_freelist() >> cannot find any usable zone. T

Re: [PATCH 15/19] kernel: convert audit_tree.count from atomic_t to refcount_t

2017-04-11 Thread Paul Moore
On Tue, Feb 28, 2017 at 5:11 PM, Paul Moore wrote: > On Tue, Feb 21, 2017 at 2:15 AM, Reshetova, Elena > wrote: >>> On Mon, Feb 20, 2017 at 5:19 AM, Elena Reshetova >>> wrote: >>> > refcount_t type and corresponding API should be >>> > used instead of atomic_t when the variable is used as >>> >

Re: [RFC 2/6] mm, mempolicy: stop adjusting current->il_next in mpol_rebind_nodemask()

2017-04-11 Thread Vlastimil Babka
On 11.4.2017 19:32, Christoph Lameter wrote: > On Tue, 11 Apr 2017, Vlastimil Babka wrote: > >> The task->il_next variable remembers the last allocation node for task's >> MPOL_INTERLEAVE policy. mpol_rebind_nodemask() updates interleave and >> bind mempolicies due to changing cpuset mems. Current

Re: [PATCH 2/2] ASoC: hisilicon: Minor fixups to hi6210 i2s audio driver

2017-04-11 Thread John Stultz
On Tue, Apr 11, 2017 at 11:34 AM, Mark Brown wrote: > On Mon, Apr 10, 2017 at 12:35:12PM -0700, John Stultz wrote: > >> This patch adds a few extra error returns in cases that >> shouldn't happen, some style nits adding breaks to final >> default cases in switch statements, and tweaks to use >> de

Re: [PATCH 1/2] vfs: implement fchmodat2() syscall

2017-04-11 Thread Colin Walters
On Tue, Apr 11, 2017, at 02:07 PM, Eric Blake wrote: > > A good idea on the surface. But reading the man page of openat(), the > section on O_PATH says: >The file > itself is not opened, and other file operations (e.g., > read(2), > write(2), fchmod(2), fchown(2),

Re: [PATCH net-next v5 2/2] L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.

2017-04-11 Thread R Parameswaran
Hi Guillaume, Please see inline: On Tue, Apr 11, 2017 at 10:05 AM, Guillaume Nault wrote: > On Tue, Apr 11, 2017 at 09:39:58AM -0700, R Parameswaran wrote: >> Hi Guillaume, >> >> On Tue, Apr 11, 2017 at 3:40 AM, Guillaume Nault >> wrote: >> > On Wed, Apr 05, 2017 at 05:00:07PM -0700, R. Parame

Re: [GIT PULL] arm64: fixes for -rc6

2017-04-11 Thread Jon Masters
On 04/07/2017 12:02 PM, Will Deacon wrote: > Please pull these two arm64 fixes for -rc6. We've got a regression fix for > the signal raised when userspace makes an unsupported unaligned access and a > revert of the contiguous (hugepte) support for hugetlb, which has once again > been found to be b

[PATCH 1/3] ASoC: hisilicon: Add error returns even for cases that shouldn't happen.

2017-04-11 Thread John Stultz
This patch addresses feedback from Mark Brown, adding a few extra error returns in cases that shouldn't happen Cc: Zhangfei Gao Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Wei Xu Cc: Rob Herring Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Signed-off-by: John Stultz --- soun

[PATCH 3/3] ASoC: hisilicon: Use devm_snd_soc_register_component

2017-04-11 Thread John Stultz
Per feedback from Mark Brown, this patch updates the hi6210-i2s driver to use devm_snd_soc_register_component which simplifies the logic a bit. Cc: Zhangfei Gao Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Wei Xu Cc: Rob Herring Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Sign

[PATCH 2/3] ASoC: hisilicon: Address style nit to use break in final default of switch statement

2017-04-11 Thread John Stultz
Mark Brown suggested a style change to use break in the final default of a switch statement, so this patch addresses that. Cc: Zhangfei Gao Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Wei Xu Cc: Rob Herring Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Signed-off-by: John Stult

[PATCH v2] checkpatch: special audit for revert commit line

2017-04-11 Thread Wei Wang
From: Wei Wang Currently checkpatch.pl does not recognize git's default commit revert message and will complain about the hash format. Add special audit for revert commit message line to fix it. Signed-off-by: Wei Wang --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-11 Thread Matthias Kaehlcke
Besides reusing existing code this removes the special case handling for 64-bit masks, which causes clang to raise a shift count overflow warning due to https://bugs.llvm.org//show_bug.cgi?id=10030. Suggested-by: Dmitry Torokhov Signed-off-by: Matthias Kaehlcke --- include/linux/clocksource.h |

[PATCH v2 1/1] pwm: pca9685: fix gpio-only operation.

2017-04-11 Thread Sven Van Asbroeck
gpio-only driver operation never clears the SLEEP bit, which can cause the gpios to become unusable. Example: 1. user requests first pwm -> driver clears SLEEP bit 2. user frees last pwm -> driver sets SLEEP bit 3. user requests gpio 4. user switches gpio on-> output does

[PATCH v2 0/1] pwm: pca9685: fix gpio-only operation.

2017-04-11 Thread Sven Van Asbroeck
v2: the pm_runtime framework controls the SLEEP bit, as suggested by Mika Westerberg. v1: the SLEEP bit is always on. Sven Van Asbroeck (1): pwm: pca9685: fix gpio-only operation. drivers/pwm/pwm-pca9685.c | 110 -- 1 file ch

Re: [PATCH 06/16] regulator: madera-ldo1: LDO1 driver for Cirrus Logic Madera codecs

2017-04-11 Thread Rob Herring
On Mon, Apr 10, 2017 at 1:11 PM, Mark Brown wrote: > On Mon, Apr 10, 2017 at 12:49:17PM -0500, Rob Herring wrote: > >> Same question as Mark. Should this share bindings with arizona? The >> arizona one looks a bit strange, so not sure we'd want to just copy it. > > In what way? Other than the -gp

Re: [PATCH v2] checkpatch: special audit for revert commit line

2017-04-11 Thread Joe Perches
On Tue, 2017-04-11 at 12:15 -0700, Wei Wang wrote: > From: Wei Wang > > Currently checkpatch.pl does not recognize git's default > commit revert message and will complain about the hash format. > Add special audit for revert commit message line to fix it. > > Signed-off-by: Wei Wang Acked-by:

[PATCH] blkfront: add uevent for size change

2017-04-11 Thread Marc Olson
When a blkfront device is resized from dom0, emit a KOBJ_CHANGE uevent to notify the guest about the change. This allows for custom udev rules, such as automatically resizing a filesystem, when an event occurs. Signed-off-by: Marc Olson --- drivers/block/xen-blkfront.c | 3 +++ 1 file changed, 3

Re: patch to candidate for stable kernel 4.10

2017-04-11 Thread Anna Schumaker
Sounds good to me! Sorry that my initial pull request didn't have "cc: stable" added to it... Anna On 04/09/2017 04:14 PM, Mkrtchyan, Tigran wrote: > The problem was introduced in 4.10. > > Anna, can you comment? > > > -Tigran > > - Reply message - > From: "Greg KH" > To: "Mkrtchya

[PATCH v3] vfio/type1: Remove locked page accounting workqueue

2017-04-11 Thread Alex Williamson
If the mmap_sem is contented then the vfio type1 IOMMU backend will defer locked page accounting updates to a workqueue task. This has a few problems and depending on which side the user tries to play, they might be over-penalized for unmaps that haven't yet been accounted or race the workqueue to

Re: [PATCH RFC 1/6] KVM: fix guest_mode optimization in kvm_make_all_cpus_request()

2017-04-11 Thread Radim Krčmář
2017-04-11 10:37+0100, James Hogan: > Hi Paolo, > > On Tue, Apr 11, 2017 at 01:25:04PM +0800, Paolo Bonzini wrote: >> On 07/04/2017 05:02, James Hogan wrote: >> > This presumably changes the behaviour on x86, from != OUTSIDE_GUEST_MODE >> > to == IN_GUEST_MODE. so: >> > - you'll no longer get IPIs

Re: [GIT PULL] PCI: Support for configurable PCI endpoint

2017-04-11 Thread Bjorn Helgaas
On Mon, Apr 10, 2017 at 10:43:28AM -0500, Bjorn Helgaas wrote: > On Wed, Apr 05, 2017 at 02:22:20PM +0530, Kishon Vijay Abraham I wrote: > > Hi Bjorn, > > > > Please find the pull request for PCI endpoint support below. I've > > also included all the history here. > > Thanks, I applied these (wit

Re: [PATCH 00/16] Intel FPGA Device Drivers

2017-04-11 Thread Luebbers, Enno
Hi Jerome, On Thu, Apr 06, 2017 at 04:27:00PM -0400, Jerome Glisse wrote: > Do we have an open source toolchain to generate the FPGA configuration > (bitstream) ? As it is required for the GPU sub-system that any driver > API must comes with open source userspace. As far as I know, no FPGA vendo

Re: [PATCH] kbuild, LLVMLinux: Add -Werror to cc-option to support clang

2017-04-11 Thread Masahiro Yamada
2017-04-01 5:38 GMT+09:00 Arnd Bergmann : > From: Mark Charlebois > > Clang will warn about unknown warnings but will not return false > unless -Werror is set. GCC will return false if an unknown > warning is passed. > > Adding -Werror make both compiler behave the same. > > [arnd: it turns out we

Re: [PATCH] mm: Add additional consistency check

2017-04-11 Thread Michal Hocko
On Tue 11-04-17 13:59:44, Cristopher Lameter wrote: > On Tue, 11 Apr 2017, Michal Hocko wrote: > > > I didn't say anything like that. Hence the proposed patch which still > > needs some more thinking and evaluation. > > This patch does not even affect kfree(). Ehm? Are we even talking about the

Re: [GIT PULL 0/1] perf/urgent annotate s390 fix

2017-04-11 Thread Ingo Molnar
.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2017-03-17 15:13:28 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-urgent-for-mingo-4.11-20170411 > > for you to fetch cha

Re: [PATCH 5/5] dm verity: add support for version 0 of the on-disk format

2017-04-11 Thread Enric Balletbo i Serra
On 11/04/17 19:21, Milan Broz wrote: > On 04/11/2017 05:33 PM, Enric Balletbo i Serra wrote: >> From: Will Drewry >> >> Version 0 of the on-disk format is compatible with the format used in the >> Chromium OS. This patch adds support for this version. >> >> Format type 0 is the original Chrome O

Re: [PATCH 5/7] perf session: don't rely on evlist in pipe mode

2017-04-11 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 11, 2017 at 11:59:18AM -0700, David Carrillo-Cisneros escreveu: > Only the second one is needed. file is already checked for the first one. Right, fixed, tested. - Arnaldo

Re: [PATCH RFC 1/6] KVM: fix guest_mode optimization in kvm_make_all_cpus_request()

2017-04-11 Thread Paolo Bonzini
- Original Message - > From: "Radim Krčmář" > To: "James Hogan" > Cc: "Paolo Bonzini" , linux-kernel@vger.kernel.org, > k...@vger.kernel.org, "Christoffer Dall" > , "Andrew Jones" , "Marc Zyngier" > , "Christian > Borntraeger" , "Cornelia Huck" > , "Paul Mackerras" > > Sent: Wednesd

[tip:perf/urgent] perf annotate s390: Fix perf annotate error -95 (4.10 regression)

2017-04-11 Thread tip-bot for Christian Borntraeger
Commit-ID: 3c1a427954399fd1bda1ee7e1b356f47b61cee74 Gitweb: http://git.kernel.org/tip/3c1a427954399fd1bda1ee7e1b356f47b61cee74 Author: Christian Borntraeger AuthorDate: Thu, 6 Apr 2017 09:51:51 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 7 Apr 2017 12:33:10 -0300 perf an

Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct task_struct" blob.

2017-04-11 Thread Casey Schaufler
On 4/10/2017 9:43 PM, Kees Cook wrote: > On Mon, Apr 10, 2017 at 1:00 PM, Djalal Harouni wrote: >> On Mon, Apr 10, 2017 at 9:26 PM, Casey Schaufler >> wrote: >>> I think that would be the prudent approach. There is still >>> the possibility that blob sharing (or full stacking, if you >>> prefer)

Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct task_struct" blob.

2017-04-11 Thread Kees Cook
On Tue, Apr 11, 2017 at 12:54 PM, Casey Schaufler wrote: > On 4/10/2017 9:43 PM, Kees Cook wrote: >> On Mon, Apr 10, 2017 at 1:00 PM, Djalal Harouni wrote: >>> On Mon, Apr 10, 2017 at 9:26 PM, Casey Schaufler >>> wrote: I think that would be the prudent approach. There is still the po

Re: [PATCH 06/16] regulator: madera-ldo1: LDO1 driver for Cirrus Logic Madera codecs

2017-04-11 Thread Mark Brown
On Tue, Apr 11, 2017 at 02:20:31PM -0500, Rob Herring wrote: > On Mon, Apr 10, 2017 at 1:11 PM, Mark Brown wrote: > > In what way? Other than the -gpios stuff (which would just be a trivial > > thing if we wanted to change it)? > That's mainly it. I don't see that as meaningful or a good reaso

Re: [PATCH] blkfront: add uevent for size change

2017-04-11 Thread Konrad Rzeszutek Wilk
On Tue, Apr 11, 2017 at 12:24:09PM -0700, Marc Olson wrote: > When a blkfront device is resized from dom0, emit a KOBJ_CHANGE uevent to > notify the guest about the change. This allows for custom udev rules, such > as automatically resizing a filesystem, when an event occurs. Looks pretty reasonab

Re: [PATCH] libnvdimm: fix btt vs clear poison locking

2017-04-11 Thread Jeff Moyer
Dan Williams writes: > As a minimal fix, disable error clearing when the BTT is enabled. For > the final fix a larger rework of the poison list locking is needed. > @@ -243,7 +243,15 @@ static int nsio_rw_bytes(struct nd_namespace_common > *ndns, > } > > if (unlikely(is_bad_pmem(&

Re: [PATCH] libnvdimm: fix btt vs clear poison locking

2017-04-11 Thread Dan Williams
On Tue, Apr 11, 2017 at 1:08 PM, Jeff Moyer wrote: > Dan Williams writes: > >> As a minimal fix, disable error clearing when the BTT is enabled. For >> the final fix a larger rework of the poison list locking is needed. > >> @@ -243,7 +243,15 @@ static int nsio_rw_bytes(struct nd_namespace_common

Re: [PATCH 06/12] audit: Use timespec64 to represent audit timestamps

2017-04-11 Thread Paul Moore
On Sat, Apr 8, 2017 at 1:58 PM, Deepa Dinamani wrote: >> I have no problem merging this patch into audit/next for v4.12, would >> you prefer me to do that so at least this patch is merged? > > This would be fine. > But, I think whoever takes the last 2 deletion patches should also take them. > I'm

Re: [PATCH 1/2] leds: cpcap: new driver

2017-04-11 Thread Pavel Machek
Hi! > On Mon, Mar 06, 2017 at 11:11:47PM +0100, Pavel Machek wrote: > > > Motorola CPCAP is a PMIC found in multiple smartphones. > > > This driver adds support for the chip's LED controllers. > > > It has explicit support for all controllers used by the > > > Droid 4. Since no datasheets are avai

Re: [PATCH 1/2] leds: cpcap: new driver

2017-04-11 Thread Pavel Machek
On Tue 2017-03-07 08:26:40, Tony Lindgren wrote: > * Pavel Machek [170307 03:57]: > > 2 cores and more importantly 1GB of RAM. Nice. OTOH, I'm avoiding N950 > > due to its crazy "security" system and this one is even worse. > > Yeah this security crap sucks big time in general. It just slows > do

Re: [PATCH 04/16] fpga: intel: pcie: parse feature list and create platform device for features.

2017-04-11 Thread Alan Tull
On Wed, Apr 5, 2017 at 6:58 AM, Wu Hao wrote: > On Mon, Apr 03, 2017 at 04:44:15PM -0500, Alan Tull wrote: >> On Thu, Mar 30, 2017 at 7:08 AM, Wu Hao wrote: >> > From: Xiao Guangrong >> > >> > Device Featuer List structure creates a link list of feature headers >> > within the MMIO space to prov

Re: [PATCH 2/6] regulator: anatop: only set supply regulator when it actually exists

2017-04-11 Thread Mark Brown
On Wed, Apr 12, 2017 at 09:58:43AM +0800, Dong Aisheng wrote: > Mandatorily set the initdata->supply_regulator while it actually not > exist will cause regulator core to resolve supply each time whenever > a new regulator registered which is meaningless and waste CPU mips. > > We can observe more

Re: [REGRESSION] 4.11-rc: systemd doesn't see most devices

2017-04-11 Thread Theodore Ts'o
On Tue, Apr 11, 2017 at 05:38:35PM +0200, Greg KH wrote: > I haven't seen this at all, nor heard of it. As systemctl only gets > what udev reports to it, have you tried using 'udevadm' to monitor your > devices when you plug them in, to ensure it is really seeing them? The problem is that the pro

Re: [HMM 10/16] mm/hmm/mirror: helper to snapshot CPU page table v2

2017-04-11 Thread Andrew Morton
On Mon, 10 Apr 2017 21:33:51 -0400 (EDT) Jerome Glisse wrote: > > On Mon, 10 Apr 2017 10:43:26 +0200 Michal Hocko wrote: > > > > > There are more for alpha allmodconfig > > > > HMM is rather a compile catastrophe, as was the earlier version I > > merged. > > > > Jerome, I'm thinking you need

[PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-11 Thread Mark Brown
Rather than just not resolving the supply when there is explicitly no supply mapping fall through and allow a dummy supply to be substituted. Signed-off-by: Mark Brown --- drivers/regulator/core.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regul

Re: [PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-11 Thread Mark Brown
On Tue, Apr 11, 2017 at 09:34:37PM +0100, Mark Brown wrote: > Rather than just not resolving the supply when there is explicitly no > supply mapping fall through and allow a dummy supply to be substituted. I should mention that this is completely untested, sorry. signature.asc Description: PGP s

Re: [PATCH 5/6] regulator: anatop-regulator: make regulator-name using optionally

2017-04-11 Thread Mark Brown
On Wed, Apr 12, 2017 at 09:58:46AM +0800, Dong Aisheng wrote: > rdesc->name/regulator-name is optional according to standard regulator > binding doc. Use it conditionally to avoid a kernel NULL point crash. It is optional in the standard binding because it is used to override the name statically p

Re: [PATCH 6/6] regulator: anatop: set default voltage selector for pcie

2017-04-11 Thread Mark Brown
On Wed, Apr 12, 2017 at 09:58:47AM +0800, Dong Aisheng wrote: > Set the initial voltage selector for vddpcie in case it's disabled > by default. Why is this the only anatop regulator which can have this problem and how do we know this is a good value? signature.asc Description: PGP signature

Applied "regulator: anatop: use of_property_read_string to read the name" to the regulator tree

2017-04-11 Thread Mark Brown
The patch regulator: anatop: use of_property_read_string to read the name has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Applied "regulator: anatop: remove unneeded name field of struct anatop_regulator" to the regulator tree

2017-04-11 Thread Mark Brown
The patch regulator: anatop: remove unneeded name field of struct anatop_regulator has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "regulator: anatop: check return value of of_get_regulator_init_data" to the regulator tree

2017-04-11 Thread Mark Brown
The patch regulator: anatop: check return value of of_get_regulator_init_data has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in t

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-04-11 Thread Richard Weinberger
Oleksij, Am 11.04.2017 um 11:50 schrieb Oleksij Rempel: > From: Steffen Trumtrar > > This is need to provide uuid based integrity functionlity for: > imy_policy (fsuuid option) and evmctl (--uuid option). > > Signed-off-by: Steffen Trumtrar > Signed-off-by: Oleksij Rempel > --- > fs/ubifs/s

Re: [PATCH RFC 1/6] KVM: fix guest_mode optimization in kvm_make_all_cpus_request()

2017-04-11 Thread Radim Krčmář
2017-04-11 13:25+0800, Paolo Bonzini: > On 07/04/2017 05:02, James Hogan wrote: >> - you'll no longer get IPIs if its in EXITING_GUEST_MODE (i.e. if you >> get two of these in quick succession only the first will wait for the >> IPI, which might work as long as they're already serialised but it

Re: [PATCH v2 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

2017-04-11 Thread Heiko Stübner
Hi Guillaume, Am Dienstag, 11. April 2017, 18:40:37 CEST schrieb Guillaume Tucker: > On 03/04/17 09:12, Neil Armstrong wrote: > > On 04/02/2017 09:59 AM, Guillaume Tucker wrote: > >> +Optional: > >> + > >> +- clocks : Phandle to clock for the Mali Midgard device. > >> +- clock-names : Shall be "cl

Re: [PATCH v7 resend 00/20] ILP32 for ARM64

2017-04-11 Thread Yury Norov
On Tue, Apr 11, 2017 at 08:42:24PM +0200, Florian Weimer wrote: > On 04/11/2017 08:36 PM, Yury Norov wrote: > >>Also, the latest benchmarks I've seen were mostly for user space > >>while I'm more concerned with the user-kernel interface > >>(https://marc.info/?l=linux-arm-kernel&m=148690490713310&w

Re: [RFC/RFT][PATCH 2/2] cpufreq: schedutil: Utilization aggregation

2017-04-11 Thread Rafael J. Wysocki
On Tue, Apr 11, 2017 at 3:57 AM, Joel Fernandes wrote: > On Mon, Apr 10, 2017 at 1:59 PM, Rafael J. Wysocki wrote: > [..] + sg_cpu->util = cfs_util; + sg_cpu->max = cfs_max; + } } >> >> >> Well, that's the idea. :-) >> >> During the discussio

Re: iov_iter_pipe warning.

2017-04-11 Thread Dave Jones
On Tue, Apr 11, 2017 at 04:28:39AM +0100, Al Viro wrote: > On Mon, Apr 10, 2017 at 11:05:32PM -0400, Dave Jones wrote: > > On Tue, Apr 11, 2017 at 01:22:15AM +0100, Al Viro wrote: > > > > > * in do_splice_to(): WARN_ON(pipe->nrbufs == pipe->buffers) > > > > Hit this one. > > But

[PATCH net-next] net: dsa: add CONFIG_NET_DSA_LEGACY

2017-04-11 Thread Vivien Didelot
This patch moves as is the legacy DSA code from dsa.c to legacy.c, except the few shared symbols which remain in dsa.c. Compile legacy.o only if a new CONFIG_NET_DSA_LEGACY symbol is enabled, which is true by default. DSA drivers without legacy support don't need the probe function as well as dri

Re: [PATCH nf-next] ipvs: remove unused function ip_vs_set_state_timeout

2017-04-11 Thread Simon Horman
On Mon, Apr 10, 2017 at 03:50:44PM -0400, Aaron Conole wrote: > There are no in-tree callers of this function and it isn't exported. > > Signed-off-by: Aaron Conole Thanks, applied to ipvs-next.

Re: [PATCH 2/2] drivers/dax: Changing RC value

2017-04-11 Thread Andrew Morton
On Tue, 11 Apr 2017 10:56:45 +0530 Pushkar Jambhlekar wrote: > Changing rc value from VM_FAULT_FALLBACK to VM_FAULT_SIGBUS for an unknown / > unsupported fault size. > > ... > > --- a/drivers/dax/dax.c > +++ b/drivers/dax/dax.c > @@ -590,7 +590,7 @@ static int dax_dev_huge_fault(struct vm_faul

[PATCH] drm: Fixup hang when unregistering drm dev with open_count 0

2017-04-11 Thread Jeffy Chen
My previous patch (c5d8fac2bf drm: Unplug drm device when unregistering it) calls drm_unplug_dev when unregistering drm dev. But if open_count is 0, the unplug will try to unregister the drm dev again and cause deadlock. Fix it by dropping drm_unplug_dev and use drm_device_set_plug_state directly

Re: [PATCH net-next] net: dsa: add CONFIG_NET_DSA_LEGACY

2017-04-11 Thread Florian Fainelli
On 04/11/2017 01:52 PM, Vivien Didelot wrote: > This patch moves as is the legacy DSA code from dsa.c to legacy.c, > except the few shared symbols which remain in dsa.c. > > Compile legacy.o only if a new CONFIG_NET_DSA_LEGACY symbol is enabled, > which is true by default. > > DSA drivers without

Re: [PATCH v5] drm/pl111: Initial drm/kms driver for pl111

2017-04-11 Thread Eric Anholt
Russell King - ARM Linux writes: > On Tue, Apr 11, 2017 at 09:06:31AM -0700, Eric Anholt wrote: >> Russell King - ARM Linux writes: >> >> > On Mon, Apr 10, 2017 at 06:18:01PM -0700, Eric Anholt wrote: >> >> v5: Move register definitions inside the driver directory, fix build >> >> in COMPIL

Re: [git pull] vfs fixes

2017-04-11 Thread Andreas Dilger
On Apr 11, 2017, at 12:48 AM, Al Viro wrote: > On Mon, Apr 10, 2017 at 11:10:19PM -0700, Linus Torvalds wrote: > >> It looks odd because the lock part is >> >>if (flags & LOOKUP_RCU) >>rcu_read_lock(); >> >> ie it's locked conditionally, and the code in b

Re: [RFC/RFT][PATCH 2/2] cpufreq: schedutil: Utilization aggregation

2017-04-11 Thread Rafael J. Wysocki
On Tue, Apr 11, 2017 at 9:00 AM, Juri Lelli wrote: > On 10/04/17 23:13, Rafael J. Wysocki wrote: >> On Mon, Apr 10, 2017 at 1:26 PM, Juri Lelli wrote: > > [...] > >> > Given that for RT (and still for DL as well) the next event is a >> > periodic tick, couldn't happen that the required frequency

<    2   3   4   5   6   7   8   9   10   >