[PATCH] arm64: dts: qcom: Force host mode for USB on apq8016-sbc

2017-07-13 Thread Stephen Boyd
Commit ed75d6a96905 ("arm64: dts: qcom: Collapse usb support into one node") breaks host mode support on apq8016-sbc boards. This is because the mux driver (tc7usb40mu) hasn't been merged. Without that driver, we can't toggle the GPIO going to the mux to route out the D+/D- lines to the USB hub tha

[GIT PULL] PCI fixes for v4.13

2017-07-13 Thread Bjorn Helgaas
PCI fixes: - fix a typo that broke Rockchip enumeration - fix a new memory leak in the ARM host bridge failure path The following changes since commit af3c8d98508d37541d4bf57f13a984a7f73a328c: Merge tag 'drm-for-v4.13' of git://people.freedesktop.org/~airlied/linux (2017-07-09 18:48:37

[PATCH] IB/hfi1: fix spelling mistake in variable name continious

2017-07-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake, rename variable 'continious' to the correct spelling 'continuous' Signed-off-by: Colin Ian King --- drivers/infiniband/hw/hfi1/chip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/hfi1/chip.

[PATCH] efi: add gpt_overprovisioned kernel command line parameter

2017-07-13 Thread Mark Salyzyn
Allow a gpt partition table to be used if it is overprovisioned, the last usable lba in the GPT headers is beyond the device boundaries. This feature is enabled if gpt_overprovisioned is added to the kernel command line. It will not expose any individual partitions that go beyond the device bounda

Re: scripts/get_maintainer.pl misses maintainers sometimes

2017-07-13 Thread Joe Perches
On Wed, 2017-07-12 at 09:48 -0700, Joe Perches wrote: > On Wed, 2017-07-12 at 18:36 +0200, Maarten Lankhorst wrote: > > Hello Joe Perches, > > > > I created a script for drm's maintainer-tools that pipes the output of > > get_maintainer.pl > > to add the appropriate cc's to the commit message. It

[GIT PULL] clk bulk prepare enable

2017-07-13 Thread Stephen Boyd
The following changes since commit 618aee02e2f57042f4cdeab228caf631e524b281: clk: add managed version of clk_bulk_get (2017-06-02 15:37:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-bulk-get-prep-enable for you to fet

Re: [PATCH 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-13 Thread Stephen Boyd
Quoting Peter Rosin (2017-07-11 23:45:24) > On 2017-07-12 03:02, Stephen Boyd wrote: > > @@ -102,4 +107,7 @@ Example: > > rx-burst-size-dword = <0x10>; > > extcon = <0>, <&usb_id>; > > phy-clkgate-delay-us = <400>; > > + mux-controls = <&usb_swi

[PATCH v1 0/1] i2c: aspeed: add proper support for 24xx clock params

2017-07-13 Thread Brendan Higgins
Joel, Ben, our g5 device tree has I2C bus compatibility strings for the 24xx; this will need to be changed because the clock is no longer programmed the same way for the 24xx and the 25xx. I have a patch that fixes this; I will send it to the OpenBMC list once this patch gets accepted. Tested on a

[PATCH v1 1/1] i2c: aspeed: add proper support for 24xx clock params

2017-07-13 Thread Brendan Higgins
24xx BMCs have larger clock divider granularity which can cause problems when trying to set them as 25xx clock dividers; this adds clock setting code specific to 24xx. This also fixes a potential issue where clock dividers were rounded down instead of up. Signed-off-by: Brendan Higgins --- driv

Re: [PATCH] igb: fix unused igb_deliver_wake_packet() warning when CONFIG_PM=n

2017-07-13 Thread Jeff Kirsher
On Wed, 2017-07-12 at 18:23 -0300, Fabio Estevam wrote: > On Wed, Jul 12, 2017 at 6:09 PM, Dave Hansen > wrote: > > > > From: Dave Hansen > > > > I'm seeing warnings on kernel configurations where CONFIG_PM is > > disabled. It happens in 4.12, at least: > > > > drivers/ethernet/intel/igb/igb_

Re: [PATCH] mm/mremap: Fail map duplication attempts for private mappings

2017-07-13 Thread Mike Kravetz
On 07/13/2017 12:11 PM, Vlastimil Babka wrote: > [+CC linux-api] > > On 07/13/2017 05:58 PM, Mike Kravetz wrote: >> mremap will create a 'duplicate' mapping if old_size == 0 is >> specified. Such duplicate mappings make no sense for private >> mappings. If duplication is attempted for a private

Re: [kernel-hardening] [PATCH 00/11] S.A.R.A. a new stacked LSM

2017-07-13 Thread Matt Brown
On 7/13/17 3:51 PM, Serge E. Hallyn wrote: > Quoting Mimi Zohar (zo...@linux.vnet.ibm.com): >> On Thu, 2017-07-13 at 08:39 -0400, Matt Brown wrote: >> The question is really from a security perspective which is better? >> Obviously, as v2 of the patch set changed from using pathnames to >> inodes,

[PATCH] [media] staging: media: davinci_vpfe: fix spelling mistake in variable

2017-07-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake, rename the function name resizer_configure_in_continious_mode to resizer_configure_in_continuous_mode and also remove an extraneous space. Signed-off-by: Colin Ian King --- drivers/staging/media/davinci_vpfe/dm365_resizer.c | 4 ++-- 1 file

Re: [PATCH 0/3] USB Mux support for Chipidea

2017-07-13 Thread Stephen Boyd
Quoting Peter Rosin (2017-07-11 22:04:46) > On 2017-07-12 03:02, Stephen Boyd wrote: > > This patchset adds support for the TC7USB40MU usb mux found on > > db410c 96boards platforms via the new multiplexer framework and > > hooks that into the chipidea driver. This allows us to properly > > contro

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread Andrew Lunn
> +++ b/drivers/net/ethernet/ni/nixge.c > @@ -0,0 +1,1246 @@ > +/* > + * Copyright (c) 2016-2017, National Instruments Corp. > + * > + * Network Driver for Ettus Research XGE MAC > + * > + * This is largely based on the Xilinx AXI Ethernet Driver, > + * and uses the same DMA engine in the FPGA Hi

Re: [PATCH] [media] staging: media: davinci_vpfe: fix spelling mistake in variable

2017-07-13 Thread Laurent Pinchart
Hi Colin, Thank you for the patch. On Thursday 13 Jul 2017 23:34:16 Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake, rename the function name > resizer_configure_in_continious_mode to > resizer_configure_in_continuous_mode and also remove an extraneous space. > > S

Re: [PATCH 1/4] kasan: support alloca() poisoning

2017-07-13 Thread Greg Hackmann
Hi, Thanks for taking a look at this patchstack. I apologize for the delay in responding. On 07/10/2017 01:44 AM, Dmitry Vyukov wrote: + + const void *left_redzone = (const void *)(addr - + KASAN_ALLOCA_REDZONE_SIZE); + const void *right_redzone = (const voi

[PATCH linux v4 1/3] drivers: w1: add hwmon support structures

2017-07-13 Thread Jaghathiswari Rankappagounder Natarajan
This patch has changes to w1.h/w1.c/w1_family.h generic files to add (optional) hwmon support structures. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov --- v2 - made changes to support hwmon_device_register_with_info mentioned by Guenter. v3 - used IS_REACHAB

[PATCH linux v4 3/3] drivers: w1: add hwmon temp support for w1_therm

2017-07-13 Thread Jaghathiswari Rankappagounder Natarajan
This change adds hwmon temp support for w1_therm. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov --- v2 - make changes to support hwmon_device_register_with_info mentioned by Guenter. v3 - used IS_REACHABLE() - rearranged the code to not require forward declar

[PATCH linux v4 2/3] drivers: w1: refactor w1_slave_show to make the temp reading functionality separate

2017-07-13 Thread Jaghathiswari Rankappagounder Natarajan
Inside the w1_slave_show function refactor the code to read the temp into a separate function. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov Acked-by: Guenter Roeck --- v2 - no changes v3 - changed code so that the refcount is incremented with the bus mutex

[PATCH linux v4 0/3] Export 1-wire thermal sensors as hwmon device

2017-07-13 Thread Jaghathiswari Rankappagounder Natarajan
Our board has 4 DS18B20 1-wire temperature sensors. Each 1-wire bus and the sensor under it is already configured against the Linux 1-wire driver (called w1). They have a sysfs file(e.g. /sys/bus/w1/devices/w1_bus_master1/28-07704f4c/w1_slave) which, when read, runs code to read the temperature

Re: [PATCH v11 3/4] i2c: aspeed: added driver for Aspeed I2C

2017-07-13 Thread Brendan Higgins
Sorry, went on vacation and then forgot about our conversion. >> the struct i2c_bus_recovery_info. Is i2c_generic_scl_recovery supposed >> to be part of the user interface, or is it just intended to help put the >> main recovery function together? > > Sorry, I don't understand the question. What d

[PATCH] zd1211rw: fix spelling mistake 'hybernate' -> 'hibernate'

2017-07-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in PDEBUG debug message. Signed-off-by: Colin Ian King --- drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c b/drivers/n

Re: [PATCH v5 5/5] intel_idle: Add S0ix validation

2017-07-13 Thread dbasehore .
On Wed, Jul 12, 2017 at 10:11 PM, Thomas Gleixner wrote: > On Wed, 12 Jul 2017, dbasehore . wrote: >> On Wed, Jul 12, 2017 at 3:16 PM, Thomas Gleixner wrote: >> > There are more issues with this: If there is a hrtimer scheduled on that >> > last CPU which enters the idle freeze state and that tim

Re: [PATCH 1/4] kasan: support alloca() poisoning

2017-07-13 Thread Greg Hackmann
On 07/10/2017 03:30 AM, Andrey Ryabinin wrote: gcc now supports this too. So I think this patch should enable it. It's off by default so you'll have to add --param asan-instrument-allocas=1 into cflags to make it work Thanks, will fix. For now, it looks like I'll need to build gcc from git t

Re: [PATCH v5] PCI: Workaround wrong flags completions for IDT switch

2017-07-13 Thread Bjorn Helgaas
On Thu, Jul 06, 2017 at 12:10:50PM -0400, James Puthukattukaran wrote: > From: James Puthukattukaran > > The IDT switch incorrectly flags an ACS source violation on a read config > request to an end point device on the completion (IDT 89H32H8G3-YC, > errata #36) even though the PCI Express spec s

Re: [PATCH v5 2/5] tick: Add freeze timer events

2017-07-13 Thread dbasehore .
On Thu, Jul 13, 2017 at 8:09 AM, Rafael J. Wysocki wrote: > On Thu, Jul 13, 2017 at 9:32 AM, Peter Zijlstra wrote: >> On Fri, Jul 07, 2017 at 05:03:00PM -0700, Derek Basehore wrote: >>> Adds a new feature to tick to schedule wakeups on a CPU during freeze. >>> This won't fully wake up the system

Re: [PATCH 2/6] mm/device-public-memory: device memory cache coherent with CPU v4

2017-07-13 Thread Balbir Singh
On Thu, 2017-07-13 at 17:15 -0400, Jérôme Glisse wrote: > Platform with advance system bus (like CAPI or CCIX) allow device > memory to be accessible from CPU in a cache coherent fashion. Add > a new type of ZONE_DEVICE to represent such memory. The use case > are the same as for the un-addressable

[PATCH] ASoC: Intel: Skylake: fix type in debug message

2017-07-13 Thread Colin King
From: Colin Ian King Trivial fix to typo in debug message, dst_instacne should be dst_instance Signed-off-by: Colin Ian King --- sound/soc/intel/skylake/skl-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/

Re: [PATCH] iscsi-target: Reject immediate data underflow larger than SCSI transfer length

2017-07-13 Thread Bart Van Assche
On Thu, 2017-07-13 at 12:27 -0700, Nicholas A. Bellinger wrote: > For the former, I've still never seen a host environment in the wild > over the last 15 years that generates underflow/overflow for DATA CDBs > with an LBA. So I'm reluctant to randomly allow this for all cases and > fabrics, consid

Re: [RFC v5 15/38] powerpc: helper function to read,write AMR,IAMR,UAMOR registers

2017-07-13 Thread Ram Pai
On Thu, Jul 13, 2017 at 07:49:05PM +1000, Balbir Singh wrote: > On Thu, Jul 13, 2017 at 5:55 PM, Ram Pai wrote: > > On Wed, Jul 12, 2017 at 03:26:01PM +1000, Balbir Singh wrote: > >> On Wed, 5 Jul 2017 14:21:52 -0700 > >> Ram Pai wrote: > >> > >> > Implements helper functions to read and write t

Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem

2017-07-13 Thread Heiko Stuebner
Hi Jacob, Am Donnerstag, 13. Juli 2017, 00:03:51 CEST schrieb Jacob Chen: > Add devicetree nodes for rk3399 VOP (Video Output Processors), and the > top level display-subsystem root node. > > Later patches add endpoints (eDP, HDMI, MIPI, etc) that attach to the > VOPs' output ports. > > Signed-o

Re: [PATCH V4] PCI: handle CRS returned by device after FLR

2017-07-13 Thread Bjorn Helgaas
On Thu, Jul 13, 2017 at 11:44:12AM -0400, Sinan Kaya wrote: > On 7/13/2017 8:17 AM, Bjorn Helgaas wrote: > >> he spec is calling to wait up to 1 seconds if the device is sending CRS. > >> The NVMe device seems to be requiring more. Relax this up to 60 seconds. > > Can you add a pointer to the "1 se

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-13 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Thursday 13 Jul 2017 16:41:13 Maxime Ripard wrote: > The current drm_atomic_helper_commit_tail helper works only if the CRTC is > accessible, and documents an alternative implementation that is supposed to > be used if that happens. > > That implementation

[ANNOUNCE] Git v2.14.0-rc0

2017-07-13 Thread Junio C Hamano
An early preview release Git v2.14.0-rc0 is now available for testing at the usual places. It is comprised of 675 non-merge commits since v2.13.0, contributed by 53 people, 14 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The followi

Re: [PATCH V4] PCI: handle CRS returned by device after FLR

2017-07-13 Thread Bjorn Helgaas
On Thu, Jul 06, 2017 at 05:07:14PM -0400, Sinan Kaya wrote: > An endpoint is allowed to issue Configuration Request Retry Status (CRS) > following a Function Level Reset (FLR) request to indicate that it is not > ready to accept new requests. > > Seen a timeout message with Intel 750 NVMe drive an

[PATCH v3 1/1] mux: consumer: Add dummy functions for !CONFIG_MULTIPLEXER case

2017-07-13 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Add dummy functions to avoid compile time issues when CONFIG_MULTIPLEXER is not enabled. Signed-off-by: Kuppuswamy Sathyanarayanan --- include/linux/mux/consumer.h | 42 ++ 1 file changed, 42 insertions(+) Changes since

Re: [PATCH v7 3/3] net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-07-13 Thread Casey Leedom
[[ Sorry for the Double Send: I forgot to switch to Plain Text. Have I mentioned how much I hate modern Web-based email agents? :-) -- Casey ]]   Yeah, I think this works for now.  We'll stumble over what to do when we want to mix upstream TLPs without Relaxed Ordering Attributes directed at

Re: [PATCH v8 05/10] mm: thp: enable thp migration in generic path

2017-07-13 Thread Naoya Horiguchi
On Thu, Jul 13, 2017 at 07:28:24AM -0400, Zi Yan wrote: > On 13 Jul 2017, at 5:30, Naoya Horiguchi wrote: > > > On Tue, Jul 11, 2017 at 10:00:30AM -0400, Zi Yan wrote: > >> On 11 Jul 2017, at 2:47, Naoya Horiguchi wrote: > >> > >>> On Sat, Jul 01, 2017 at 09:40:03AM -0400, Zi Yan wrote: > Fro

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread Moritz Fischer
Hi Andrew, thanks for the quick response. On Fri, Jul 14, 2017 at 12:36:36AM +0200, Andrew Lunn wrote: > > +++ b/drivers/net/ethernet/ni/nixge.c > > @@ -0,0 +1,1246 @@ > > +/* > > + * Copyright (c) 2016-2017, National Instruments Corp. > > + * > > + * Network Driver for Ettus Research XGE MAC > >

Re: [PATCH 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev

2017-07-13 Thread Moritz Fischer
Hi Yuan, On Thu, Jul 13, 2017 at 5:33 PM, YUAN Linyu wrote: > > >> -Original Message- >> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] >> On Behalf Of Moritz Fischer >> Sent: Friday, July 14, 2017 5:22 AM >> To: net...@vger.kernel.org >> Cc: devicet...@vger.kern

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-13 Thread Josh Poimboeuf
On Wed, Jun 28, 2017 at 11:37:26AM -0400, Joe Lawrence wrote: > Add exported API for livepatch modules: > > klp_shadow_get() > klp_shadow_attach() > klp_shadow_get_or_attach() > klp_shadow_detach() > klp_shadow_detach_all() > > that implement "shadow" variables, which allow callers to a

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-13 Thread Eric W. Biederman
Stefan Berger writes: > On 07/13/2017 01:49 PM, Eric W. Biederman wrote: > > > My big question right now is can you implement Ted's suggested > > restriction. Only one security.foo or secuirty.foo@... attribute ? > We need to raw-list the xattrs and do the check before writing them. I am > fai

RE: [PATCH 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev

2017-07-13 Thread YUAN Linyu
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Moritz Fischer > Sent: Friday, July 14, 2017 5:22 AM > To: net...@vger.kernel.org > Cc: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > da...@davemloft.net; mark.rutl

[GIT PULL] security subsystem updates #3: keys fixes

2017-07-13 Thread James Morris
Hi Linus, Please pull these patches for the keys subsystem, which includes a minor fix and documentation updates. --- The following changes since commit b86faee6d111294fa95a2e89b5f771b2da3c9782: Merge tag 'nfs-for-4.13-1' of git://git.linux-nfs.org/projects/anna/linux-nfs (2017-07-13 14:35:

[PATCH] f2fs: include seq_file.h for sysfs.c

2017-07-13 Thread Jaegeuk Kim
This patch includes seq_file.h to avoid compile error. Signed-off-by: Eric Biggers Signed-off-by: Jaegeuk Kim --- fs/f2fs/sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index 9adc202fcd6f..71191d89917d 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sys

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

2017-07-13 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got conflicts in: drivers/infiniband/core/uverbs_cmd.c drivers/infiniband/core/verbs.c between commit: d291f1a65232 ("IB/core: Enforce PKey security on QPs") from Linus' tree and commits: c7c0fb974caa ("IB/core: Introduce modify QP op

Re: [PATCH v5 1/2] clk: gate: expose clk_gate_ops::is_enabled

2017-07-13 Thread Stephen Boyd
On 07/13, Florian Fainelli wrote: > On 07/13/2017 07:02 AM, gabriel.fernan...@st.com wrote: > > From: Gabriel Fernandez > > > > This patch exposes clk_gate_ops::is_enabled as functions > > that can be directly called and assigned in places like this so > > we don't need wrapper functions that do

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

2017-07-13 Thread Doug Ledford
On Fri, 2017-07-14 at 11:14 +1000, Stephen Rothwell wrote: > Hi Doug, > > Today's linux-next merge of the rdma tree got conflicts in: > > drivers/infiniband/core/uverbs_cmd.c > drivers/infiniband/core/verbs.c > > between commit: > > d291f1a65232 ("IB/core: Enforce PKey security on QPs") >

Re: [PATCH 3.18 00/22] 3.18.61-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.61 release. There are 22 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 know. Responses should be m

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

2017-07-13 Thread Ding Tianhong
On 2017/7/14 5:09, Sinan Kaya wrote: > On 7/13/2017 10:21 AM, Ding Tianhong wrote: >> static void pci_configure_relaxed_ordering(struct pci_dev *dev) >> +{ >> +/* We should not alter the relaxed ordering bit for the VF */ >> +if (dev->is_virtfn) >> +return; >> + >> +/* If

[PATCH v8 0/4] KVM: async_pf: Fix async pf exception injection

2017-07-13 Thread Wanpeng Li
INFO: task gnome-terminal-:1734 blocked for more than 120 seconds. Not tainted 4.12.0-rc4+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. gnome-terminal- D0 1734 1015 0x Call Trace: __schedule+0x3cd/0xb30 schedule+0x40/0x90 kvm_async_pf_

[PATCH v8 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-07-13 Thread Wanpeng Li
From: Wanpeng Li Add an nested_apf field to vcpu->arch.exception to identify an async page fault, and constructs the expected vm-exit information fields. Force a nested VM exit from nested_vmx_check_exception() if the injected #PF is async page fault. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-

[PATCH v8 4/4] KVM: async_pf: Let guest support delivery of async_pf from guest mode

2017-07-13 Thread Wanpeng Li
From: Wanpeng Li Adds another flag bit (bit 2) to MSR_KVM_ASYNC_PF_EN. If bit 2 is 1, async page faults are delivered to L1 as #PF vmexits; if bit 2 is 0, kvm_can_do_async_pf returns 0 if in guest mode. This is similar to what svm.c wanted to do all along, but it is only enabled for Linux as L1

[PATCH v8 1/4] KVM: x86: Simplify kvm_x86_ops->queue_exception parameter list

2017-07-13 Thread Wanpeng Li
From: Wanpeng Li This patch removes all arguments except the first in kvm_x86_ops->queue_exception since they can extract the arguments from vcpu->arch.exception themselves. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/include/asm/kvm_host.h | 4 +--- arch/x86/kv

RE: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-13 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Kirti Wankhede > Sent: Wednesday, July 12, 2017 8:45 PM > To: Zhang, Tina ; Gerd Hoffmann > ; Tian, Kevin ; linux- > ker...@vger.kernel.org; intel-...@lists.freedesktop.org; > al

[PATCH v8 2/4] KVM: async_pf: Add L1 guest async_pf #PF vmexit handler

2017-07-13 Thread Wanpeng Li
From: Wanpeng Li This patch adds the L1 guest async page fault #PF vmexit handler, such by L1 similar to ordinary async page fault. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/mmu.c | 32 ++

Re: [RFC PATCH 1/6] arm64: use tpidr_el1 for current, free sp_el0

2017-07-13 Thread Will Deacon
On Wed, Jul 12, 2017 at 11:32:58PM +0100, Mark Rutland wrote: > Today we use TPIDR_EL1 for our percpu offset, and SP_EL0 for current > (and current::thread_info, which is at offset 0). > > Using SP_EL0 in this way prevents us from using EL1 thread mode, where > SP_EL0 is not addressable (since it'

Re: [PATCH 4.4 00/57] 4.4.77-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.77 release. There are 57 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 know. Responses should be ma

Re: [PATCH 4.9 00/25] 4.9.38-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.38 release. There are 25 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 know. Responses should be ma

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread Andrew Lunn
> > > + /* not sure if this is the correct way of dealing with this ... */ > > > + ndev->phydev->supported &= ~(SUPPORTED_Autoneg); > > > + ndev->phydev->advertising = ndev->phydev->supported; > > > + ndev->phydev->autoneg = AUTONEG_DISABLE; > > > > What are you trying to achieve? > > Basically c

Re: [PATCH 4.11 0/9] 4.11.11-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.11.11 release. There are 9 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 know. Responses should be ma

Re: [PATCH][net-next] svcrdma: fix an incorrect check on -E2BIG and -EINVAL

2017-07-13 Thread J. Bruce Fields
On Thu, Jul 13, 2017 at 01:53:10PM -0400, Chuck Lever wrote: > > > On Jul 13, 2017, at 1:51 PM, Colin King wrote: > > > > From: Colin Ian King > > > > The current check will always be true and will always jump to > > err1, this looks dubious to me. I believe && should be used > > instead of ||

Re: [PATCH v7 2/4] KVM: async_pf: Add L1 guest async_pf #PF vmexit handler

2017-07-13 Thread Wanpeng Li
2017-07-13 23:29 GMT+08:00 Radim Krčmář : > 2017-07-12 23:44+0200, Radim Krčmář: >> 2017-06-28 20:01-0700, Wanpeng Li: >> > From: Wanpeng Li >> > >> > This patch adds the L1 guest async page fault #PF vmexit handler, such >> > #PF is converted into vmexit from L2 to L1 on #PF which is then handled

Re: [PATCH] drm: Add missing field copy in compat_drm_version

2017-07-13 Thread Al Viro
On Thu, Jul 13, 2017 at 02:36:55PM +0200, Daniel Vetter wrote: > On Wed, Jul 12, 2017 at 02:18:32PM +0800, Jeffy Chen wrote: > > DRM_IOCTL_VERSION is supposed to update the name_len/date_len/desc_len > > fields to user. > > > > Fixes: 012c6741c6aa("switch compat_drm_version() to drm_ioctl_kernel()

Re: [PATCH v7 06/16] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-07-13 Thread Byungchul Park
On Thu, Jul 13, 2017 at 08:23:33PM +0900, Byungchul Park wrote: > On Thu, Jul 13, 2017 at 8:12 PM, Peter Zijlstra wrote: > > On Thu, Jul 13, 2017 at 12:29:05PM +0200, Peter Zijlstra wrote: > >> On Thu, Jul 13, 2017 at 07:09:53PM +0900, Byungchul Park wrote: > >> > On Thu, Jul 13, 2017 at 11:50:52A

Re: [PATCH v3 7/7] libsas: release disco mutex during waiting in sas_ex_discover_end_dev

2017-07-13 Thread wangyijing
在 2017/7/14 0:10, John Garry 写道: > On 10/07/2017 08:06, Yijing Wang wrote: >> Disco mutex was introudced to prevent domain rediscovery competing >> with ata error handling(87c8331). If we have already hold the lock >> in sas_revalidate_domain and sync executing probe, deadlock caused, >> because,

Re: [PATCH] livepatch: add (un)patch hooks

2017-07-13 Thread Josh Poimboeuf
On Wed, Jul 12, 2017 at 10:10:00AM -0400, Joe Lawrence wrote: > When the livepatch core executes klp_(un)patch_object, call out to a > livepatch-module specified array of callback hooks. These hooks provide > a notification mechanism for livepatch modules when klp_objects are > (un)patching. This

Re: [PATCH] lustre: check copy_from_iter/copy_to_iter return code

2017-07-13 Thread Al Viro
On Thu, Jul 13, 2017 at 10:57:59PM +0200, Arnd Bergmann wrote: > Thanks for testing it! > > That means we did not copy any data and the kernel continues with > an uninitialized buffer, right? The problem may be the definition of > > struct kib_immediate_msg { > struct lnet_hdr ibim_hdr;

Re: [PATCH] cpufreq: schedutil: Update cached "current frequency" when limits change

2017-07-13 Thread Saravana Kannan
On 07/11/2017 10:24 PM, Viresh Kumar wrote: On 11-07-17, 19:24, Saravana Kannan wrote: Currently, the governor calculates the next frequency, set the current CPU frequency (policy->cur). It also assumes the current CPU frequency doesn't change if the next frequency isn't calculated again and hen

Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem

2017-07-13 Thread Jacob Chen
Hi heko, 2017-07-14 7:34 GMT+08:00 Heiko Stuebner : > Hi Jacob, > > Am Donnerstag, 13. Juli 2017, 00:03:51 CEST schrieb Jacob Chen: >> Add devicetree nodes for rk3399 VOP (Video Output Processors), and the >> top level display-subsystem root node. >> >> Later patches add endpoints (eDP, HDMI, MIPI

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

2017-07-13 Thread Stephen Rothwell
Hi all, [I think I have reported this before ...] Today's linux-next merge of the random tree got a conflict in: include/linux/random.h between commit: 022c204040f3 ("random,stackprotect: introduce get_random_canary function") from Linus' tree and commit: da9ba564bd68 ("random: add get

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-13 Thread Saravana Kannan
On 07/12/2017 11:44 PM, Viresh Kumar wrote: This patch updates the schedutil governor to process cpufreq utilization update hooks called for remote CPUs. The schedutil governor already has proper locking in place for shared policy update hooks and nothing extra is required to be done. Based on

Re: [PATCH 4.12 00/10] 4.12.2-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.12.2 release. There are 10 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 know. Responses should be ma

Re: [PATCH 1/1 V2] media: usb: uvc: Fix incorrect timeout for Get Request

2017-07-13 Thread Jim Lin
On 2017年07月11日 03:47, Laurent Pinchart wrote: Hi Jim, Thank you for the patch. On Monday 10 Jul 2017 14:43:49 Jim Lin wrote: Section 9.2.6.4 of USB 2.0/3.x specification describes that "device must be able to return the first data packet to host within 500 ms of receipt of the request. For sub

Re: [PATCH v3 1/2] ARM: dts: imx: add CX9020 Embedded PC device tree

2017-07-13 Thread Shawn Guo
On Thu, Jul 13, 2017 at 01:13:38PM +0200, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > The CX9020 differs from i.MX53 Quick Start Board by: > - use uart2 instead of uart1 > - DVI-D connector instead of VGA > - no audio > - CCAT FPGA connected to emi > - enable rtc > > Signed-o

Re: [PATCH 01/32] tracing: Add hist_field_name() accessor

2017-07-13 Thread Namhyung Kim
Hi Tom, On Mon, Jun 26, 2017 at 05:49:02PM -0500, Tom Zanussi wrote: > In preparation for hist_fields that won't be strictly based on > trace_event_fields, add a new hist_field_name() accessor to allow that > flexibility and update associated users. > > Signed-off-by: Tom Zanussi > --- > kernel

[PATCH v2] arm64: dts: qcom: Force host mode for USB on apq8016-sbc

2017-07-13 Thread Stephen Boyd
Commit ed75d6a96905 ("arm64: dts: qcom: Collapse usb support into one node") breaks host mode support on apq8016-sbc boards. This is because the mux driver (tc7usb40mu) hasn't been merged. Without that driver, we can't toggle the GPIO going to the mux to route out the D+/D- lines to the USB hub tha

LEGACY

2017-07-13 Thread INFO
Attn, We have an inheritance of a deceased client with your surname Contact Dr. Gertjan Vlieghe With your: Full Name, Tel Number, Age, Occupation and Address through email: d.vlie...@manlymail.net Dr. Gertjan Vlieghe -- Correo Corporativo Hospital Universitario

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-13 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > log2 as currently implemented applies only to u64 trace_event_field > derived fields, and assumes that anything it's applied to is a u64 > field. > > To prepare for synthetic fields like latencies, log2 should be > applicable to those

Re: [PATCH linux v4 1/3] drivers: w1: add hwmon support structures

2017-07-13 Thread Guenter Roeck
On 07/13/2017 03:41 PM, Jaghathiswari Rankappagounder Natarajan wrote: This patch has changes to w1.h/w1.c/w1_family.h generic files to add (optional) hwmon support structures. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov I think I Acked this one already.

Re: [PATCH linux v4 3/3] drivers: w1: add hwmon temp support for w1_therm

2017-07-13 Thread Guenter Roeck
On Thu, Jul 13, 2017 at 03:41:07PM -0700, Jaghathiswari Rankappagounder Natarajan wrote: > This change adds hwmon temp support for w1_therm. > > Signed-off-by: Jaghathiswari Rankappagounder Natarajan > Acked-by: Evgeniy Polyakov Acked-by: Guenter Roeck > --- > v2 > - make changes to support

[git pull] vfs.git death to uaccess-unaligned

2017-07-13 Thread Al Viro
That stuff had just one user, and an exotic one, at that - binfmt_flat on arm and m68k. The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/

[git pull] vfs.git more __copy_..._user() elimination

2017-07-13 Thread Al Viro
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.__copy_to_user for you to fetch changes up to 3941dae15ed904373963

[git pull] vfs.git killing ->s_options series

2017-07-13 Thread Al Viro
Preparations for fsmount/fsopen stuff (coming next cycle). Everything gets moved to explicit ->show_options(), killing ->s_options off + some cosmetic bits around fs/namespace.c and friends. Basically, the stuff needed to work with fsmount series with minimum of conflicts with other work.

Re: [PATCH 02/18] drm/sun4i: Add if statement instead of depends on

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > The depends on relationship is obvious, and using an if statement will > propagate it to every option without the need for each and every one of > them to define it. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [PATCH 03/18] drm/sun4i: Realign Makefile padding and reorder it

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > Some options were not padded as they should, and the order in the Makefile > was chaotic. Fix that. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/Makefile | 26 +- > 1 file changed, 13 insertions(+)

Re: [PATCH 04/18] drm/sun4i: Remove useless atomic_check

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > The atomic_check callback is optional, and we don't implement anything in > some parts of our drivers. Let's remove it. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [PATCH 05/18] drm/sun4i: tcon: remove unused function

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > Even though that function is defined in the TCON header, it's not defined > nor used anywhere. Remove the prototype. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [PATCH 02/17] pci: Add a generic, weakly-linked pcibios_align_resource

2017-07-13 Thread kbuild test robot
Hi Palmer, [auto build test ERROR on linus/master] [also build test ERROR on next-20170713] [cannot apply to v4.12] [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/Palmer-Dabbelt/lib-Add-shared

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

2017-07-13 Thread Dou Liyang
Hi, Lu At 07/13/2017 11:00 AM, Lu Baolu wrote: Hi, On 07/13/2017 09:39 AM, Dou Liyang wrote: Hi, Lu At 07/13/2017 09:17 AM, Lu Baolu wrote: Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On

Re: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

2017-07-13 Thread Dennis Dalessandro
On 7/13/2017 6:13 PM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake, rename variable 'continious' to the correct spelling 'continuous' Signed-off-by: Colin Ian King --- Thanks! Acked-by: Dennis Dalessandro

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

2017-07-13 Thread Leon Romanovsky
On Thu, Jul 13, 2017 at 09:17:13PM -0400, Doug Ledford wrote: > On Fri, 2017-07-14 at 11:14 +1000, Stephen Rothwell wrote: > > Hi Doug, > > > > Today's linux-next merge of the rdma tree got conflicts in: > > > > drivers/infiniband/core/uverbs_cmd.c > > drivers/infiniband/core/verbs.c > > > > be

[PATCH 2/2] x86/timers: Make recalibrate_cpu_khz() void

2017-07-13 Thread Dou Liyang
recalibrate_cpu_khz() is called from powernow K7 and Pentium 4/Xeon CPU freq driver. It recalibrates cpu frequency in case of SMP = n and doesn't need to return anything. Mark it void, also remove the #else branch. Signed-off-by: Dou Liyang --- arch/x86/include/asm/timer.h | 2 +- arch/x86/kern

[PATCH 1/2] x86/timers: Move the simple udelay calibration to tsc.h

2017-07-13 Thread Dou Liyang
Commit dd759d93f4dd ("x86/timers: Add simple udelay calibration") adds an static function in x86 boot-time initializations. But, this function is actually related to TSC, should be maintained in tsc.c, not in setup.c. Move simple_udelay_calibration() from setup.c to tsc.c and repalce its name wit

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread Moritz Fischer
Hi Andrew, On Thu, Jul 13, 2017 at 6:34 PM, Andrew Lunn wrote: >> > > + /* not sure if this is the correct way of dealing with this ... */ >> > > + ndev->phydev->supported &= ~(SUPPORTED_Autoneg); >> > > + ndev->phydev->advertising = ndev->phydev->supported; >> > > + ndev->phydev->autoneg = AUTON

Re: [PATCH 06/18] drm/sun4i: tcon: Don't rely on encoders to enable the TCON

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > So far, we've required all the TCON-connected encoders to call the TCON > enable and disable functions. > > This was made this way because in the RGB/LVDS case, the TCON is the CRTC > and the encoder. However, in all the other cases (HDMI, T

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-13 Thread Li, Aubrey
On 2017/7/13 23:20, Paul E. McKenney wrote: > On Thu, Jul 13, 2017 at 04:53:11PM +0200, Peter Zijlstra wrote: >> On Thu, Jul 13, 2017 at 10:48:55PM +0800, Li, Aubrey wrote: >> >>> - totally from arch_cpu_idle_enter entry to arch_cpu_idle_exit return costs >>> 9122ns - 15318ns. >>> In this pe

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

2017-07-13 Thread Stephen Rothwell
Hi all, On Fri, 14 Jul 2017 06:34:16 +0300 Leon Romanovsky wrote: > > Sorry Doug, but it is not expected at all for the code which will go to 4.14. > > Both patches in question were targeted for 4.13 and you was expected to > see the merge conflicts during last month or so, prior to merge window

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-13 Thread Li, Aubrey
On 2017/7/14 2:28, Peter Zijlstra wrote: > On Thu, Jul 13, 2017 at 11:13:28PM +0800, Li, Aubrey wrote: >> On 2017/7/13 22:53, Peter Zijlstra wrote: > >>> Fixing C-state selection by creating an alternative idle path sounds so >>> very wrong. >> >> This only happens on the arch which has multiple h

<    3   4   5   6   7   8   9   >