Re: [PATCH tip v2] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 12:17 AM, Ingo Molnar wrote: > > * Thomas Garnier wrote: > >> This patch removes fixmap headers on non-x86 code introduced by the >> adaptable MODULE_END change. It is also removed in the 32-bit pgtable >> header. Instead, it is added by default in the pgtable generic

[PATCH] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. It was done by: commit 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit

[PATCH] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Prasant Jalan
This patch fixes the following: - Replace spaces with tabs for indentation - adds spaces around symbol '-' - uses __func__ macro to print function name - truncated the line such that it is within 80 char limit as per kernel coding standards. Signed-off-by: Prasant Jalan ---

Re: [PATCH v2 6/6] selftests: enable O and KBUILD_OUTPUT

2017-03-21 Thread Bamvor Zhang Jian
Hi, Shuah On 21 March 2017 at 21:54, Shuah Khan wrote: > On 03/21/2017 03:00 AM, Bamvor Zhang Jian wrote: >> Hi, >> >> On 21 March 2017 at 16:35, Michael Ellerman wrote: >>> Andy Lutomirski writes: >>> On Tue, Nov 29, 2016 at 3:55 AM, wrote: > From: Bamvor Jian Zhang > >

Re: [PATCH tip v2] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-21 Thread Thomas Garnier
On Mon, Mar 20, 2017 at 6:52 PM, Wei Yang wrote: > On Mon, Mar 20, 2017 at 12:40:24PM -0700, Thomas Garnier wrote: >>This patch removes fixmap headers on non-x86 code introduced by the >>adaptable MODULE_END change. It is also removed in the 32-bit pgtable >>header. Instead, it is added by

[PATCH] PCI: generic: stop hiding pci_host_common_probe declaration

2017-03-21 Thread Arnd Bergmann
When pci_host_common_probe() was moved into a separate module, the #ifdef around the declaration was left in the header file, which can lead to build errors in some configurations: drivers/pci/host/pci-thunder-pem.c: In function 'thunder_pem_probe': drivers/pci/host/pci-thunder-pem.c:412:9:

Re: [RFC 2/2] fanotify: emit FAN_MODIFY_DIR on filesystem changes

2017-03-21 Thread J. Bruce Fields
On Sun, Mar 19, 2017 at 11:19:43AM +0100, Jan Kara wrote: > On Tue 14-03-17 13:18:01, Amir Goldstein wrote: > > On Tue, Mar 14, 2017 at 1:03 AM, Filip Štědronský wrote: > > > Besause fanotify requires `struct path`, the event cannot be generated > > > directly in `fsnotify_move` and friends

Re: [PATCH] pci: dwc: hisi needs PCI_HOST_COMMON

2017-03-21 Thread Jingoo Han
(+cc: Joao Pinto, Zhou Wang, Gabriele Paoloni) On Tuesday, March 21, 2017 10:32 AM, Arnd Bergmann wrote: > > Without PCI_HOST_COMMON support enabled, we get a link error: > > drivers/pci/dwc/built-in.o: In function `hisi_pcie_map_bus': > pcie-hisi.c:(.text+0x8860): undefined reference to

Re: [x86] 45fc8757d1: BUG:unable_to_handle_kernel

2017-03-21 Thread Thomas Garnier
On Sun, Mar 19, 2017 at 6:40 PM, Ye Xiaolong wrote: > Could you paste the error log? > I suspect it was caused by job-script saved as dos format, you may try > `dos2unix job-script` before "lkp qemu" to see whether it works. > You were right, I had some strange '\n' error in the middle of a lot

Re: [RFC PATCH] net: phy: Don't miss phy_suspend() on PHY_HALTED for PHYs with interrupts

2017-03-21 Thread Florian Fainelli
On 03/21/2017 03:09 AM, Roger Quadros wrote: > On 20/03/17 18:41, Florian Fainelli wrote: >> On 03/16/2017 12:46 AM, Roger Quadros wrote: >>> On 15/03/17 17:49, Andrew Lunn wrote: On Wed, Mar 15, 2017 at 05:00:08PM +0200, Roger Quadros wrote: > Andrew, > > On 15/03/17 16:08,

[PATCH] trace-cmd: Fix segmentation fault in trace-snapshot

2017-03-21 Thread John Kacur
To reproduce the problem: plugin 'wakeup' trace-cmd: Device or resource busy Segmentation fault (core dumped) When the user triggers a condition such as EBUSY the program should die gracefully. The problem here is simply caused by an extra conversion specifier in "die" in the write_file

Re: memory hotplug and force_remove

2017-03-21 Thread joeyli
On Mon, Mar 20, 2017 at 10:24:42PM +0100, Rafael J. Wysocki wrote: > On Monday, March 20, 2017 03:29:39 PM Michal Hocko wrote: > > Hi Rafael, > > Hi, > > > we have been chasing the following BUG() triggering during the memory > > hotremove (remove_memory): > > ret =

Re: [PATCH v2] f2fs: fix race condition in between free nid allocator/initializer

2017-03-21 Thread Jaegeuk Kim
Hi Chao, On 03/21, Chao Yu wrote: > In below concurrent case, allocated nid can be loaded into free nid cache > and be allocated again. > > Thread A Thread B > - f2fs_create > - f2fs_new_inode > - alloc_nid >- __insert_nid_to_list(ALLOC_NID_LIST) >

[PATCH] ipv6: make sure to initialize sockc.tsflags before first use

2017-03-21 Thread Alexander Potapenko
In the case udp_sk(sk)->pending is AF_INET6, udpv6_sendmsg() would jump to do_append_data, skipping the initialization of sockc.tsflags. Fix the problem by moving sockc.tsflags initialization earlier. The bug was detected with KMSAN. Signed-off-by: Alexander Potapenko --- For the record, here

Re: [GIT PULL] SCSI fixes for 4.11-rc3

2017-03-21 Thread Johannes Thumshirn
On Tue, Mar 21, 2017 at 11:08:51AM -0400, James Bottomley wrote: > Nine small fixes: the biggest is probably finally sorting out Kconfig > issues with lpfc nvme. I'm sorry to disappoint you but there's another fix from Arnd from today here: https://lkml.org/lkml/2017/3/21/308 Byte,

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Joerg Roedel
On Wed, Mar 15, 2017 at 11:22:18PM +0200, Michael S. Tsirkin wrote: > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > index d1efe2c..18e53bc 100644 > --- a/arch/x86/kvm/svm.c > +++ b/arch/x86/kvm/svm.c > @@ -1198,8 +1198,6 @@ static void init_vmcb(struct vcpu_svm *svm) >

Re: [PATCH v2] ohci-pci: add qemu quirk

2017-03-21 Thread Alan Stern
On Mon, 20 Mar 2017, Gerd Hoffmann wrote: > On a loaded virtualization host (dozen guests booting at the same time) > it may happen that the ohci controller emulation doesn't manage to do > timely frame processing, with the result that the io watchdog fires and > considers the controller being

Re: [PATCH v2 2/3] KVM: VMX: Fix enable VPID even if INVVPID is not exposed in vmx capability

2017-03-21 Thread Paolo Bonzini
On 21/03/2017 05:18, Wanpeng Li wrote: > - if (!cpu_has_vmx_vpid()) > + if (!cpu_has_vmx_vpid() || > + !(cpu_has_vmx_invvpid())) Too many parentheses and a useless line break. Paolo > enable_vpid = 0;

Re: [PATCH v2 1/3] KVM: nVMX: Fix nested VPID vmx exec control

2017-03-21 Thread Paolo Bonzini
On 21/03/2017 05:18, Wanpeng Li wrote: > From: Wanpeng Li > > This can be reproduced by running kvm-unit-tests/vmx.flat on L0 w/ vpid > disabled. > > Test suite: VPID > Unhandled exception 6 #UD at ip 004051a6 > error_code= rflags=00010047 cs=0008 >

Re: [PATCH 4/4] perf annotate: More exactly grep -v of the objdump command

2017-03-21 Thread Taeung Song
Thank you for your review :) On 03/21/2017 11:37 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Mar 20, 2017 at 11:56:57AM +0900, Taeung Song escreveu: grep -v "file name" in the objdump command cause a side effect eliminating filename:linenr of output of 'objdump -l' if the object file name and

[PATCH 3/3] dtc: update warning settings for new bus and node/property name checks

2017-03-21 Thread Rob Herring
dtc gained new warnings checking PCI and simple buses, unit address formatting, and stricter node and property name checking. Disable the new dtc warnings by default as there are 1000s. As before warnings are enabled with W=1 or W=2. The strict node and property name checks are a bit subjective,

[PATCH 2/3] scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6

2017-03-21 Thread Rob Herring
This adds the following commits from upstream: 756ffc4f52f6 Build pylibfdt as part of the normal build process 8cb3896358e9 Adjust libfdt.h to work with swig b40aa8359aff Mention pylibfdt in the documentation 12cfb740cc76 Add tests for pylibfdt 50f250701631 Add an initial Python library for

[PATCH 1/3] scripts/dtc: automate getting dtc version and log in update script

2017-03-21 Thread Rob Herring
Further automate the dtc update script to fill in the dtc version and commit log. Signed-off-by: Rob Herring --- scripts/dtc/update-dtc-source.sh | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/scripts/dtc/update-dtc-source.sh

Re: [PATCH] blk-mq: add statistics for tag allocation failures

2017-03-21 Thread Jens Axboe
On 03/21/2017 12:24 PM, Hannes Reinecke wrote: > Signed-off-by: Hannes Reinecke This needs better justification, since it comes with none. -- Jens Axboe

Re: [PATCH] ipv6: make sure to initialize sockc.tsflags before first use

2017-03-21 Thread Soheil Hassas Yeganeh
On Tue, Mar 21, 2017 at 12:14 PM, Alexander Potapenko wrote: > In the case udp_sk(sk)->pending is AF_INET6, udpv6_sendmsg() would > jump to do_append_data, skipping the initialization of sockc.tsflags. > Fix the problem by moving sockc.tsflags initialization earlier. > > The bug was detected with

[PATCH] blk-mq: add statistics for tag allocation failures

2017-03-21 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- block/blk-mq-debugfs.c | 15 +++ block/blk-mq-tag.c | 6 -- block/blk-mq-tag.h | 3 +++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index f6d9179..51622f6 100644 ---

[PATCH 0/3] dtc updates for 4.12

2017-03-21 Thread Rob Herring
This series syncs dtc with current mainline. The primary motivation is to pull in the new checks I've worked on. This gives lots of new warnings which are turned off by default. Arm-soc folks, I've left the PCI checks enabled as they are pretty much all real errors and there aren't that many

Re: [PATCH 4/4] perf annotate: More exactly grep -v of the objdump command

2017-03-21 Thread Taeung Song
Thank you for your review :) On 03/21/2017 11:37 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Mar 20, 2017 at 11:56:57AM +0900, Taeung Song escreveu: grep -v "file name" in the objdump command cause a side effect eliminating filename:linenr of output of 'objdump -l' if the object file name and

[PATCH] checkpatch: Flag spam header (X-Spam-Report) to prevent spurious warnings

2017-03-21 Thread John 'Warthog9' Hawley (VMware)
Spamassassin sticks a long (~79 character) long string after a line that has a single space in it. The line with space causes checkpatch to erroniously think that it's in the content body, as opposed to headers and thus flag a mail header as an unwrapped long comment line. This flags when

[PATCH v22 01/11] clocksource: arm_arch_timer: introduce a wrapper function to get the frequency from mmio.

2017-03-21 Thread fu . wei
From: Fu Wei The patch introduce a new functions: arch_timer_mem_get_cntfrq, and applies it in arch_timer_detect_rate. This function will be used for getting the frequency from mmio to prepare for reworking counter frequency detection. Signed-off-by: Fu Wei ---

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread J. Bruce Fields
On Tue, Mar 21, 2017 at 06:45:00AM -0700, Christoph Hellwig wrote: > On Mon, Mar 20, 2017 at 05:43:27PM -0400, J. Bruce Fields wrote: > > To me, the interesting question is whether this allows us to turn on > > i_version updates by default on xfs and ext4. > > XFS v5 file systems have it on by

[PATCH v22 00/11] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2017-03-21 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Introduce a wrapper function to get the frequency from mmio. 2. separate out device-tree code from arch_timer_detect_rate 3. remove arch_timer_detect_rate use

Re: [PATCH net-next] stmmac: call stmmac_init_phy from stmmac_dvr_probe

2017-03-21 Thread Florian Fainelli
On 03/21/2017 02:04 AM, Niklas Cassel wrote: > On 03/20/2017 11:07 PM, Florian Fainelli wrote: >> >> (snip) >>> >>> However, it is kind of sad that drivers are so inconsistent of what goes >>> in probe and what goes in ndo_open...which is tied together with the >>> whole mess of when certain

[PATCH v22 04/11] clocksource: arm_arch_timer: move arch_timer_needs_of_probing into DT init call

2017-03-21 Thread fu . wei
From: Fu Wei Because arch_timer_needs_of_probing is only for booting with device-tree, but arch_timer_common_init is a generic init call which shouldn't include the FW-specific code. It's better to put arch_timer_needs_of_probing into DT init function. But for per-cpu timer, the

[PATCH v22 02/11] clocksource: arm_arch_timer: separate out device-tree code and remove arch_timer_detect_rate

2017-03-21 Thread fu . wei
From: Fu Wei Currently, the counter frequency detection call(arch_timer_detect_rate) includes getting the frequency from the device-tree property, the per-cpu arch-timer and the memory-mapped (MMIO) timer interfaces. But reading device-tree property will be needed only when system boot with

[PATCH v22 03/11] clocksource: arm_arch_timer: refactor arch_timer_needs_probing

2017-03-21 Thread fu . wei
From: Fu Wei When system init with device-tree, we don't know which node will be initialized first. And the code in arch_timer_common_init should wait until per-cpu timer and MMIO timer are both initialized. So we need arch_timer_needs_probing to detect the init status of system. But currently

[PATCH v22 06/11] clocksource: arm_arch_timer: refactor MMIO timer probing.

2017-03-21 Thread fu . wei
From: Fu Wei Currently the code to probe MMIO architected timers mixes DT parsing with actual poking of hardware. This makes the code harder than necessary to understand, and makes it difficult to add support for probing via ACPI. This patch factors all the DT-specific logic out of

[PATCH v22 05/11] clocksource: arm_arch_timer: introduce some new structs to prepare for GTDT

2017-03-21 Thread fu . wei
From: Fu Wei The patch introduce two new structs: arch_timer_mem, arch_timer_mem_frame. And also introduce a new define: ARCH_TIMER_MEM_MAX_FRAMES These will be used for refactoring the memory-mapped timer init code to prepare for GTDT Signed-off-by: Fu Wei Reviewed-by: Hanjun Guo ---

Re: [PATCH] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 06:55 PM, Dmitry Safonov wrote: After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. It was done by: commit 1b028f784e8c

Re: linux-next: x86: Unalbe to run x32 processes on the x86_64 kernel

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 8:59 AM, Dmitry Safonov wrote: > On 03/21/2017 03:50 PM, Dmitry Safonov wrote: >> >> On 03/21/2017 03:49 PM, Thomas Gleixner wrote: >>> >>> On Tue, 21 Mar 2017, Adam Borowski wrote: On Tue, Mar 21, 2017 at 07:45:39AM +0100, Ingo Molnar wrote: > > * Andrei

[PATCH v3 01/11] ARM: sun8i: a33: add operating-points-v2 property to all nodes

2017-03-21 Thread Quentin Schulz
The OPP are declared as shared but no operating points are declared for cpu1, 2 and 3. Thus, the following error happens during the boot: cpu cpu1: dev_pm_opp_of_get_sharing_cpus: Couldn't find tcpu_dev node. This patch applies the operating points to each cpu of the A33. Signed-off-by: Quentin

[PATCH] selftests/x86/ldt_gdt_32: Work around a glibc sigaction bug

2017-03-21 Thread Andy Lutomirski
i386 glibc is buggy and calls the sigaction syscall incorrectly. This is asymptomatic for normal programs, but it blows up on programs that do evil things with segmentation. ldt_gdt an example of such an evil program. This doesn't appear to be a regression -- I think I just got lucky with the

Re: [PATCH 1/3] net: stmmac: Always enable MAC RX queues

2017-03-21 Thread Thierry Reding
On Tue, Mar 21, 2017 at 03:18:20PM +, Joao Pinto wrote: > Às 3:12 PM de 3/21/2017, Thierry Reding escreveu: > > From: Thierry Reding > > > > The MAC RX queues always need to be enabled in order to receive network > > packets. Remove the condition that this only needs to be done for multi- >

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Julia Lawall
On Tue, 21 Mar 2017, Arushi Singhal wrote: > On Tue, Mar 21, 2017 at 9:33 PM, Alison Schofield > wrote: > On Tue, Mar 21, 2017 at 07:00:17PM +0530, Arushi Singhal wrote: > > Patchseries of IIO coding tasks > > This wouldn't be a patchset.  Although they touch the same >

Re: [PATCH v3 2/2] ASoC: codec: wm8960: Relax bit clock computation

2017-03-21 Thread Charles Keepax
On Tue, Mar 21, 2017 at 05:03:25PM +0200, Daniel Baluta wrote: > WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8 > clocking register (See WM8960 datasheet, page 71). > > There are use cases, like this: > aplay -Dhw:0,0 -r 48000 -c 1 -f S20_3LE -t raw audio48k20b_3LE1c.pcm > >

[PATCH v22 11/11] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2017-03-21 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device.

[PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. It was done by: commit 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit

[PATCH v22 10/11] clocksource: arm_arch_timer: add GTDT support for memory-mapped timer

2017-03-21 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei Reviewed-by: Hanjun Guo --- drivers/clocksource/arm_arch_timer.c | 35 --- 1 file changed, 32 insertions(+),

Re: [RFC 2/2] fanotify: emit FAN_MODIFY_DIR on filesystem changes

2017-03-21 Thread Jan Kara
On Tue 21-03-17 11:38:49, J. Bruce Fields wrote: > On Sun, Mar 19, 2017 at 11:19:43AM +0100, Jan Kara wrote: > > On Tue 14-03-17 13:18:01, Amir Goldstein wrote: > > > On Tue, Mar 14, 2017 at 1:03 AM, Filip Štědronský > > > wrote: > > > > Besause fanotify requires `struct path`, the event cannot

Re: [PATCH v3 7/8] clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver

2017-03-21 Thread Linus Walleij
When looking at this and trying to adapt it to MSM8660/APQ8060 like Neil did with MDM9615 I get pretty confused. On Tue, Jan 20, 2015 at 3:05 AM, Stephen Boyd wrote: > Add an LCC driver for MSM8960/APQ8064 that supports the i2s, > slimbus, and pcm clocks. > > Change-Id:

Re: linux-next: x86: Unalbe to run x32 processes on the x86_64 kernel

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 03:50 PM, Dmitry Safonov wrote: On 03/21/2017 03:49 PM, Thomas Gleixner wrote: On Tue, 21 Mar 2017, Adam Borowski wrote: On Tue, Mar 21, 2017 at 07:45:39AM +0100, Ingo Molnar wrote: * Andrei Vagin wrote: # first bad commit: [45fc8757d1d2128e342b4e7ef39adedf7752faac] x86: Make

Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing handle_reread

2017-03-21 Thread Charles Keepax
On Tue, Mar 21, 2017 at 08:41:22AM -0700, Tony Lindgren wrote: > * Charles Keepax [170321 02:24]: > > On Mon, Mar 20, 2017 at 08:33:42AM -0700, Tony Lindgren wrote: > > > * Charles Keepax [170320 08:15]: > > > > On Thu, Mar 16, 2017 at 05:36:30PM -0700, Tony Lindgren wrote: > > That sounds a lot

[PATCH v22 07/11] acpi/arm64: Add GTDT table parse driver

2017-03-21 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer info in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Signed-off-by: Fu Wei

Re: [PATCH 3/3] net: stmmac: Use AVB mode by default

2017-03-21 Thread Thierry Reding
On Tue, Mar 21, 2017 at 03:23:00PM +, Joao Pinto wrote: > Às 3:12 PM de 3/21/2017, Thierry Reding escreveu: > > From: Thierry Reding > > > > Prior to the recent multi-queue changes the driver would configure the > > queues to use the AVB mode, but the mode then got switched to DCB. The > >

[PATCH v22 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-03-21 Thread fu . wei
From: Fu Wei On platforms booting with ACPI, architected memory-mapped timers' configuration data is provided by firmware through the ACPI GTDT static table. The clocksource architected timer kernel driver requires a firmware interface to collect timer configuration and configure its driver.

[PATCH v22 08/11] clocksource: arm_arch_timer: simplify ACPI support code.

2017-03-21 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo Tested-by:

[PATCH] gen_init_cpio: allocate enough space for dname

2017-03-21 Thread Colin King
From: Colin Ian King The allocation of dname is short by 1 byte, so increase the allocation size. Detected with CoverityScan, CID#711628 ("Out-of-bounds-access (OVERRUN)") Signed-off-by: Colin Ian King --- usr/gen_init_cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/5] x86: Implement __WARN using UD0

2017-03-21 Thread Peter Zijlstra
On Tue, Mar 21, 2017 at 09:03:40AM -0500, Josh Poimboeuf wrote: > On Fri, Mar 17, 2017 at 10:19:19PM +0100, Peter Zijlstra wrote: > > +/* > > + * Since some emulators terminate on UD2, we cannot use it for WARN. > > + * Since various instruction decoders disagree on the length of UD1, > > + * we

Re: [PATCH 3/3] net: stmmac: Use AVB mode by default

2017-03-21 Thread Joao Pinto
Às 4:42 PM de 3/21/2017, Thierry Reding escreveu: > On Tue, Mar 21, 2017 at 03:23:00PM +, Joao Pinto wrote: >> Às 3:12 PM de 3/21/2017, Thierry Reding escreveu: >>> From: Thierry Reding >>> >>> Prior to the recent multi-queue changes the driver would configure the >>> queues to use the AVB

Re: [PATCH 0/3] dtc updates for 4.12

2017-03-21 Thread Florian Fainelli
On 03/21/2017 09:19 AM, Rob Herring wrote: > This series syncs dtc with current mainline. The primary motivation is > to pull in the new checks I've worked on. This gives lots of new > warnings which are turned off by default. > > Arm-soc folks, I've left the PCI checks enabled as they are

Re: [Outreachy kernel] [PATCH v6] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread Alison Schofield
On Mon, Mar 20, 2017 at 01:36:21AM +0530, simran singhal wrote: Hi Simran, I going to ask for a v7 without looking at the code ;) Subject line needs subsystem and driver. Subject and log message can be improved. > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core

[PATCH v3 02/11] ARM: sun8i: a33: add all operating points

2017-03-21 Thread Quentin Schulz
This adds almost all operating points allowed for the A33 as defined by fex files available at: https://github.com/linux-sunxi/sunxi-boards/tree/master/sys_config/a33 There are more possible frequencies in this patch than there are in the fex files because the fex files only give an interval of

Re: [PATCH 3/3] net: stmmac: Use AVB mode by default

2017-03-21 Thread Joao Pinto
Às 4:50 PM de 3/21/2017, Joao Pinto escreveu: > Às 4:42 PM de 3/21/2017, Thierry Reding escreveu: >> On Tue, Mar 21, 2017 at 03:23:00PM +, Joao Pinto wrote: >>> Às 3:12 PM de 3/21/2017, Thierry Reding escreveu: From: Thierry Reding Prior to the recent multi-queue changes the

Re: [PATCH v6 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:31AM -0500, Anurup M wrote: > + * This code is based on the uncore PMU's like arm-cci and > + * arm-ccn. Nit: s/PMU's/PMUs/ [...] > +struct hisi_l3c_hwcfg { > + u32 module_id; > + u32 bank_select; > + u32 bank_id; > +}; > +/* hip05/06 chips L3C bank

[PATCH] drivers: staging: vt6656: fxed coding style errors

2017-03-21 Thread Prasant Jalan
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan --- drivers/staging/vt6656/rf.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index

Re: [PATCH 05/20] ARM: implement pci_remap_cfgspace() interface

2017-03-21 Thread Russell King - ARM Linux
On Tue, Mar 21, 2017 at 03:26:36PM +, Lorenzo Pieralisi wrote: > I assumed that in plain terms, the difference between MT_DEVICE and > MT_UNCACHED is write posting (aka bufferable) behaviour (across CPU > architecture versions) and that does not affect write ordering rules. Having looked it

[PATCH] mailbox: check ->last_tx_done for NULL in case of timer-based polling

2017-03-21 Thread Alexey Klimov
It is allowed by code to register mailbox controller that sets txdone_poll flag to request timer-based polling with missed ->last_tx_done() method. If such thing happens and since presence of last_tx_done() is not checked it will fail in hrtimer callback function txdone_hrtimer() when first

Re: [PATCH v2 0/3] ATA/ARM: convert ARM/DaVinci to use libata PATA drivers

2017-03-21 Thread Tejun Heo
Hello, On Tue, Mar 21, 2017 at 02:08:26PM +0530, Sekhar Nori wrote: > > Looks fine to me from libata side. Once it gets tested, how should > > the patches be routed? I don't think it'd make sense to route them > > separately. > > Hi Tejun, I can take the series through ARM-SoC tree with your

[PATCH v9 1/3] backlight arcxcnn add arc to vendor prefix

2017-03-21 Thread Olimpiu Dejeu
backlight: Add arc to vendor prefixes Signed-off-by: Olimpiu Dejeu --- v8 => v9: - Version updated to match other patch in set. No other changes. v8: - Version to match other patches in set Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Peter Zijlstra
On Tue, Mar 21, 2017 at 04:18:52PM +0100, Rafael J. Wysocki wrote: > +static bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu) > +{ > + unsigned long idle_calls = tick_nohz_get_idle_calls(); > + bool not_idle = idle_calls == sg_cpu->saved_idle_calls; > + > + sg_cpu->saved_idle_calls =

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Alison Schofield
On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > On Tue, Mar 21, 2017 at 9:33 PM, Alison Schofield > > wrote: > > On Tue, Mar 21, 2017 at 07:00:17PM +0530, Arushi Singhal wrote: > > > Patchseries of IIO coding

Re: [PATCH] mailbox: check ->last_tx_done for NULL in case of timer-based polling

2017-03-21 Thread Sudeep Holla
On 21/03/17 16:57, Alexey Klimov wrote: > It is allowed by code to register mailbox controller that sets txdone_poll > flag to request timer-based polling with missed ->last_tx_done() method. > If such thing happens and since presence of last_tx_done() is not checked > it will fail in hrtimer

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Vincent Guittot
On 21 March 2017 at 18:00, Vincent Guittot wrote: > On 21 March 2017 at 15:58, Peter Zijlstra wrote: >> >> On Tue, Mar 21, 2017 at 03:16:19PM +0100, Vincent Guittot wrote: >> > On 21 March 2017 at 15:03, Peter Zijlstra wrote: >> > >> > > On Tue, Mar 21, 2017 at 02:37:08PM +0100, Vincent Guittot

Re: [Outreachy kernel] [PATCH v6] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread SIMRAN SINGHAL
On Tue, Mar 21, 2017 at 10:18 PM, Alison Schofield wrote: > On Mon, Mar 20, 2017 at 01:36:21AM +0530, simran singhal wrote: > > Hi Simran, > > I going to ask for a v7 without looking at the code ;) > Subject line needs subsystem and driver. > Subject and log message can be improved. Hi Alison, I

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Vincent Guittot
On 21 March 2017 at 15:58, Peter Zijlstra wrote: > > On Tue, Mar 21, 2017 at 03:16:19PM +0100, Vincent Guittot wrote: > > On 21 March 2017 at 15:03, Peter Zijlstra wrote: > > > > > On Tue, Mar 21, 2017 at 02:37:08PM +0100, Vincent Guittot wrote: > > > > On 21 March 2017 at 14:22, Peter Zijlstra

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Radim Krčmář
2017-03-21 05:22+0200, Michael S. Tsirkin: > On Fri, Mar 17, 2017 at 09:23:56AM -0400, Gabriel L. Somlo wrote: >> OK, now on to Radim's test, on the MacPro1,1: >> >> [kvm-unit-tests]$ time TIMEOUT=20 ./x86-run x86/mwait.flat -append '240 1 1' >> timeout -k 1s --foreground 20 qemu-kvm -nodefaults

[PATCH v9 3/3] backlight arcxcnn add support for ArcticSand devices

2017-03-21 Thread Olimpiu Dejeu
backlight: Add support for Arctic Sand LED backlight driver chips This driver provides support for the Arctic Sand arc2c0608 chip, and provides a framework to support future devices. Reviewed-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu --- v8 => v9: - Addressing kbuild test robot

[PATCH v9 2/3] backlight arcxcnn devicetree bindings for ArcticSand

2017-03-21 Thread Olimpiu Dejeu
backlight: Add devicetree bindings for the Arctic Sand backlight driver This patch provides devicetree bindings for the Arctic Sand driver submitted in the previous patch Acked-by: Rob Herring Acked-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu --- v8 => v9: - Version updated to match

[PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-03-21 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Julia Lawall
On Tue, 21 Mar 2017, Alison Schofield wrote: > On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > > > On Tue, Mar 21, 2017 at 9:33 PM, Alison Schofield > > > wrote: > > > On Tue, Mar 21, 2017 at 07:00:17PM +0530,

Re: [PATCH v2 0/3] arm64: exynos: Enable drivers for Exynos5433

2017-03-21 Thread Krzysztof Kozlowski
On Tue, Mar 14, 2017 at 07:10:25PM +0200, Krzysztof Kozlowski wrote: > Hi, > > > Patches are independent but I organized them into one patchset > as they have common goal - enable more drivers for ARMv8 Exynos chips. > > If there are no objections, I can take it through samsung-soc. > >

Re: [PATCH] fs/pstore: Perform erase from a worker

2017-03-21 Thread Chris Wilson
On Tue, Mar 21, 2017 at 02:58:48PM +0900, Namhyung Kim wrote: > Hello, > > On Mon, Mar 20, 2017 at 10:49:16AM -0700, Kees Cook wrote: > > On Fri, Mar 17, 2017 at 2:52 AM, Chris Wilson > > wrote: > > > In order to prevent a cyclic recursion between psi->read_mutex and the > > > inode_lock, we

Re: [PATCH v6 10/11] drivers: perf: hisi: use poll method when no IRQ for MN counter overflow

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:29:01AM -0500, Anurup M wrote: > When no IRQ is supported in hardware, use hrtimer to poll and > update event counter and avoid overflow condition for MN PMU. > An interval of 8 seconds is used for the hrtimer. Please fold this into the main MN patch. The comments on

Re: [RFC 0/1] add support for reclaiming priorities per mem cgroup

2017-03-21 Thread Tim Murray
On Sun, Mar 19, 2017 at 10:59 PM, Minchan Kim wrote: > However, I'm not sure your approach is good. It seems your approach just > reclaims pages from groups (DEF_PRIORITY - memcg->priority) >= sc->priority. > IOW, it is based on *temporal* memory pressure fluctuation sc->priority. > > Rather than

[PATCH 0/2] xen,input: xen-kbdfront pointing device resolution support

2017-03-21 Thread Juergen Gross
As my patch tying the resolution of the xen pointing device to that of the framebuffer wasn't accepted add support for different resolutions via a module parameter. Another possibility would be to set parameters via Xenstore, but this is broken (patch 2 fixes that) and not yet supported by Xen

[PATCH 1/2] xen,input: add xen-kbdfront module parameter for setting resolution

2017-03-21 Thread Juergen Gross
Add a parameter for setting the resolution of xen-kbdfront in order to be able to cope with a (virtual) frame buffer of arbitrary resolution. Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfront.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] xen,input: repair xen-kbdfront resolution setting via xenstore

2017-03-21 Thread Juergen Gross
Setting the pointing device resolution via Xenstore isn't working reliably: in case XenbusStateInitWait has been missed the resolution settings won't be read. Correct this. Cc: sta...@vger.kernel.org Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfront.c | 32

Re: [PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:45AM -0500, Anurup M wrote: > Add hrtimer support which use poll method to avoid counter overflow > when overflow IRQ is not supported in hardware. > The L3 cache PMU use N-N SPI interrupt which has no support in kernel > mainline. So use hrtimer to poll and update

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Cyrill Gorcunov
On Tue, Mar 21, 2017 at 07:37:12PM +0300, Dmitry Safonov wrote: ... > diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c > index d6b784a5520d..d3d4d9abcaf8 100644 > --- a/arch/x86/kernel/process_64.c > +++ b/arch/x86/kernel/process_64.c > @@ -519,8 +519,14 @@ void

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread Jeff Layton
On Tue, 2017-03-21 at 12:30 -0400, J. Bruce Fields wrote: > On Tue, Mar 21, 2017 at 06:45:00AM -0700, Christoph Hellwig wrote: > > On Mon, Mar 20, 2017 at 05:43:27PM -0400, J. Bruce Fields wrote: > > > To me, the interesting question is whether this allows us to turn on > > > i_version updates by

Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-21 Thread kbuild test robot
Hi Deepa, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc3 next-20170321] [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/Deepa-Dinamani/Change-k_clock-interfaces

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Rafael J. Wysocki
On Tuesday, March 21, 2017 06:00:17 PM Peter Zijlstra wrote: > On Tue, Mar 21, 2017 at 04:18:52PM +0100, Rafael J. Wysocki wrote: > > +static bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu) > > +{ > > + unsigned long idle_calls = tick_nohz_get_idle_calls(); > > + bool not_idle = idle_calls ==

Re: [PATCH v6 03/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-03-21 Thread Mark Rutland
On Tue, Mar 21, 2017 at 02:07:42PM +, Mark Rutland wrote: > On Fri, Mar 10, 2017 at 01:27:27AM -0500, Anurup M wrote: > > +HiSilicon SoC chip is encapsulated by multiple CPU and IO dies. The CPU die > > +is called as Super CPU cluster (SCCL) which includes 16 cpu-cores. Every > > SCCL > > +in

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Nadav Amit
> On Mar 21, 2017, at 9:58 AM, Radim Krčmář wrote: > In '-smp 2', the writing VCPU always does 1 wakeups by writing into > monitored memory, but the mwaiting VCPU can be also woken up by host > interrupts, which might add a few exits depending on timing. > > I didn't spend much time in

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread hpa
On March 21, 2017 9:37:12 AM PDT, Dmitry Safonov wrote: >After my changes to mmap(), its code now relies on the bitness of >performing syscall. According to that, it chooses the base of >allocation: >mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. >It was done by: > commit

Re: [PATCH v3 2/3] drm/pl111: Initial drm/kms driver for pl111

2017-03-21 Thread Russell King - ARM Linux
On Mon, Mar 20, 2017 at 04:36:14PM -0700, Eric Anholt wrote: > +static struct amba_driver pl111_amba_driver = { > + .drv = { > + .name = "clcd-pl11x", either: .name = "clcd-pl111", or: .name = "drm-clcd-pl111", otherwise the driver names will

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Julia Lawall
On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > On Tue, Mar 21, 2017 at 10:32 PM, Alison Schofield > wrote: > On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > > > On Tue, Mar 21, 2017

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 08:27 PM, h...@zytor.com wrote: On March 21, 2017 9:37:12 AM PDT, Dmitry Safonov wrote: After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap() and mmap_compat_base for

Re: [PATCH v6 09/11] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:53AM -0500, Anurup M wrote: > +static u32 hisi_mn_read_counter(struct hisi_mn_data *mn_data, int cntr_idx) > +{ > + struct hisi_djtag_client *client = mn_data->client; > + u32 module_id = GET_MODULE_ID(mn_data); > + u32 reg_off, value; > + > + reg_off

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread J. Bruce Fields
On Tue, Mar 21, 2017 at 01:23:24PM -0400, Jeff Layton wrote: > On Tue, 2017-03-21 at 12:30 -0400, J. Bruce Fields wrote: > > - NFS doesn't actually require that it increases, but I think it > > should. I assume 64 bits means we don't need a discussion of > > wraparound. > > I

<    7   8   9   10   11   12   13   14   15   16   >