Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Nicholas Piggin
On Tue, 22 Nov 2016 11:34:48 -0500 (EST) Nicolas Pitre wrote: > On Tue, 22 Nov 2016, Arnd Bergmann wrote: > > > This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol > > versioning for symbols exported from assembler files. > > > > I couldn't find the correct prototypes for

Re: [PATCH] PCI: Add information about describing PCI in ACPI

2016-11-22 Thread Bjorn Helgaas
On Tue, Nov 22, 2016 at 10:09:50AM +, Ard Biesheuvel wrote: > On 17 November 2016 at 17:59, Bjorn Helgaas wrote: > > +PCI host bridges are PNP0A03 or PNP0A08 devices. Their _CRS should > > +describe all the address space they consume. In principle, this would > > +be all the windows they fo

Re: [RFC PATCH] scsi: libsas: fix WARN on device removal

2016-11-22 Thread wangyijing
>> >> The events are not lost. > > In sas_queue_event(), if there is a particular event pending for a port/PHY, > we cannot queue further same event types for that port/PHY. I think my > colleagues found issue where we try to enqueue multiple complementary events. Yes, we found this issue in ou

Re: [PATCH 2/2] power: supply: add sbs-charger driver

2016-11-22 Thread Phil Reid
G'day Nicola, On 22/11/2016 02:04, Nicola Saenz Julienne wrote: This adds support for sbs-charger compilant chips as defined here: http://sbs-forum.org/specs/sbc110.pdf You may want to look at the series: power: supply: sbs-manager add driver. http://www.spinics.net/lists/linux-i2c/msg26383.h

[PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs

2016-11-22 Thread David Matlack
The VMX capability MSRs advertise the set of features the KVM virtual CPU can support. This set of features vary across different host CPUs and KVM versions. This patch aims to addresses both sources of differences, allowing VMs to be migrated across CPUs and KVM versions without guest-visible chan

[PATCH 0/4] VMX Capability MSRs

2016-11-22 Thread David Matlack
This patchset includes v2 of "KVM: nVMX: support restore of VMX capability MSRs" (patch 1) as well as some additional related patches that came up while preparing v2. Patches 2 and 3 make KVM's emulation of MSR_IA32_VMX_CR{0,4}_FIXED1 more accurate. Patch 4 fixes a bug in emulated VM-entry that ca

Re: [PATCH 2/2] power: supply: add sbs-charger driver

2016-11-22 Thread Phil Reid
On 23/11/2016 09:06, Phil Reid wrote: G'day Nicola, On 22/11/2016 02:04, Nicola Saenz Julienne wrote: This adds support for sbs-charger compilant chips as defined here: http://sbs-forum.org/specs/sbc110.pdf You may want to look at the series: power: supply: sbs-manager add driver. http://www

[PATCH 3/4] KVM: nVMX: accurate emulation of MSR_IA32_CR{0,4}_FIXED1

2016-11-22 Thread David Matlack
Set MSR_IA32_CR{0,4}_FIXED1 to match the CPU's MSRs. In addition, MSR_IA32_CR4_FIXED1 should reflect the available CR4 bits according to CPUID. Whenever guest CPUID is updated by userspace, regenerate MSR_IA32_CR4_FIXED1 to match it. Signed-off-by: David Matlack --- Note: "x86/cpufeature: Add Us

[PATCH 2/4] KVM: nVMX: fix checks on CR{0,4} during virtual VMX operation

2016-11-22 Thread David Matlack
KVM emulates MSR_IA32_VMX_CR{0,4}_FIXED1 with the value -1ULL, meaning all CR0 and CR4 bits are allowed to be 1 during VMX operation. This does not match real hardware, which disallows the high 32 bits of CR0 to be 1, and disallows reserved bits of CR4 to be 1 (including bits which are defined in

Re: [PATCH 1/2] clk: uniphier: add CPU-gear change (cpufreq) support

2016-11-22 Thread Masahiro Yamada
Hi Stephen, Ping. 2016-10-27 2:31 GMT+09:00 Masahiro Yamada : > Core support code for CPU frequency changes, which will be used by > the generic cpufreq driver. > > The register view is different from the generic clk-mux; it has > a separate status register, and an update bit to load the regis

[PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-22 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- Changes from v1: * correct i2c_pol

Re: [patch 1/5] powercap/intel_rapl: Add missing domain data update on hotplug

2016-11-22 Thread Jacob Pan
On Tue, 22 Nov 2016 21:15:58 - Thomas Gleixner wrote: > The more interesting question is why rapl_update_domain_data() exists > at all as nothing ever uses that data. You are right, initial domain data are read at initialization time but not used. I seem to remember I did this trying to save

[PATCH 4/4] KVM: nVMX: load GUEST_EFER after GUEST_CR0 during emulated VM-entry

2016-11-22 Thread David Matlack
vmx_set_cr0() modifies GUEST_EFER and "IA-32e mode guest" in the current VMCS. Call vmx_set_efer() after vmx_set_cr0() so that emulated VM-entry is more faithful to VMCS12. This patch correctly causes VM-entry to fail when "IA-32e mode guest" is 1 and GUEST_CR0.PG is 0. Previously this configurati

Re: [PATCH 1/3] f2fs: count dirty inodes to flush node pages during checkpoint

2016-11-22 Thread Chao Yu
On 2016/10/18 5:56, Jaegeuk Kim wrote: > If there are a lot of dirty inodes, we need to flush all of them when doing > checkpoint. So, we need to count this for enough free space. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/segment.h | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions

Re: [RFC] Input: synaptics-rmi4 - fix out-of-bounds memory access

2016-11-22 Thread Dmitry Torokhov
Hi Guenter, On Sat, Nov 19, 2016 at 07:46:58PM -0800, Guenter Roeck wrote: > Kasan reports: > > BUG: KASAN: slab-out-of-bounds in __fill_v4l2_buffer+0xc3/0x540 > [videobuf2_v4l2] at addr 8806c5e0c6cc > Read of size 4 by task heatmap/14414 > CPU: 2 PID: 14414 Comm: heatmap Tainted: G

Re: [PATCH v10 04/10] kexec_file: Add support for purgatory built as PIE.

2016-11-22 Thread Dave Young
On 11/22/16 at 11:44am, Thiago Jung Bauermann wrote: > Am Dienstag, 22. November 2016, 17:01:10 BRST schrieb Michael Ellerman: > > Thiago Jung Bauermann writes: > > > Am Sonntag, 20. November 2016, 10:45:46 BRST schrieb Dave Young: > > >> On 11/10/16 at 01:27am, Thiago Jung Bauermann wrote: > > >>

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Nicolas Pitre
On Wed, 23 Nov 2016, Nicholas Piggin wrote: > On Tue, 22 Nov 2016 11:34:48 -0500 (EST) > Nicolas Pitre wrote: > > > On Tue, 22 Nov 2016, Arnd Bergmann wrote: > > > > > This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol > > > versioning for symbols exported from assembler

Re: [PATCH 1/3] f2fs: count dirty inodes to flush node pages during checkpoint

2016-11-22 Thread Jaegeuk Kim
On Wed, Nov 23, 2016 at 09:27:26AM +0800, Chao Yu wrote: > On 2016/10/18 5:56, Jaegeuk Kim wrote: > > If there are a lot of dirty inodes, we need to flush all of them when doing > > checkpoint. So, we need to count this for enough free space. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2f

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Nicholas Piggin
On Wed, 23 Nov 2016 00:41:07 + Russell King - ARM Linux wrote: > On Tue, Nov 22, 2016 at 11:34:48AM -0500, Nicolas Pitre wrote: > > On Tue, 22 Nov 2016, Arnd Bergmann wrote: > > > This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol > > > versioning for symbols exported

Re: [PATCH V6 1/2] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform

2016-11-22 Thread Dongdong Liu
Hi Tomasz 在 2016/11/22 20:32, Tomasz Nowicki 写道: Hi Dongdong, On 22.11.2016 13:08, Dongdong Liu wrote: The acpi_get_rc_resources() is used to get the RC register address that can not be described in MCFG. It takes the _HID&segment to look for and returns the RC address resource. Use PNP0C02 de

Re: [PATCH v6 2/2] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-11-22 Thread Dmitry Torokhov
Hi Nick, On Sun, Nov 20, 2016 at 07:04:02PM +, Nick Dyer wrote: > + /* query 7 */ > + unsigned char f34_query7_b0:1; > + unsigned char has_bootloader:1; > + unsigned char has_device_config:1; > +

Re: [PATCH v6 1/2] Input: synaptics-rmi4 - add support for F34 device reflash

2016-11-22 Thread Dmitry Torokhov
On Sun, Nov 20, 2016 at 07:04:01PM +, Nick Dyer wrote: > Add support for updating firmware, triggered by a sysfs attribute. > > This patch has been tested on Synaptics S7300. > > Signed-off-by: Nick Dyer > Tested-by: Chris Healy Applied, thank you. > --- > drivers/input/rmi4/Kconfig

Re: [PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-22 Thread Rick Chang
Hi Hans, On Tue, 2016-11-22 at 13:43 +0100, Hans Verkuil wrote: > On 22/11/16 04:21, Rick Chang wrote: > > Hi Hans, > > > > On Mon, 2016-11-21 at 15:51 +0100, Hans Verkuil wrote: > >> On 17/11/16 04:38, Rick Chang wrote: > >>> Signed-off-by: Rick Chang > >>> Signed-off-by: Minghsiu Tsai > >>> --

Re: [PATCH v2 2/2] Input: synaptics-rmi4 - Propagate correct number of rx and tx electrodes to F54

2016-11-22 Thread Dmitry Torokhov
On Tue, Nov 15, 2016 at 10:38:38PM +, Nick Dyer wrote: > On Mon, Nov 14, 2016 at 09:39:38PM -0800, Guenter Roeck wrote: > > F54 diagnostics report functions provide data based on the number of > > enabled rx and tx electrodes, which is not identical to the number of > > electrodes reported with

Re: [PATCH v2 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-11-22 Thread Dmitry Torokhov
On Tue, Nov 15, 2016 at 10:38:23PM +, Nick Dyer wrote: > On Mon, Nov 14, 2016 at 09:39:37PM -0800, Guenter Roeck wrote: > > Sensor tuning support is needed to determine the number of enabled > > tx and rx electrodes for use in F54 functions. > > > > The number of enabled electrodes is not iden

Re: linux-next: build failure after merge of the powerpc tree

2016-11-22 Thread Nicholas Piggin
On Tue, 22 Nov 2016 21:21:14 +1100 Stephen Rothwell wrote: > Hi all, > > On Tue, 22 Nov 2016 19:58:32 +1100 Stephen Rothwell > wrote: > > > > After merging the powerpc tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > Inconsistent kallsyms data > > Try make K

Re: [PATCH 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-22 Thread Caesar Wang
在 2016年11月23日 05:52, Brian Norris 写道: On Tue, Nov 22, 2016 at 12:57:37PM -0800, Brian Norris wrote: On Tue, Nov 22, 2016 at 08:34:46PM +0800, Caesar Wang wrote: The temp_to_code function will return 0 when we set the trip points value or valid temperature. I'm not quite sure what you mean by "

Re: [PATCH V6 1/2] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform

2016-11-22 Thread Dongdong Liu
Hi Tomasz 在 2016/11/23 9:44, Dongdong Liu 写道: Hi Tomasz 在 2016/11/22 20:32, Tomasz Nowicki 写道: Hi Dongdong, On 22.11.2016 13:08, Dongdong Liu wrote: The acpi_get_rc_resources() is used to get the RC register address that can not be described in MCFG. It takes the _HID&segment to look for and

linux-next: manual merge of the md tree with the block tree

2016-11-22 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: drivers/md/md.c between commit: 70fd76140a6c ("block,fs: use REQ_* flags directly") from the block tree and commit: 46533ff7fefb ("md: Use REQ_FAILFAST_* on metadata writes where appropriate") from the md tree. I f

[PATCH net-next] tuntap: remove unnecessary sk_receive_queue length check during xmit

2016-11-22 Thread Jason Wang
After commit 1576d9860599 ("tun: switch to use skb array for tx"), sk_receive_queue was not used any more. So remove the uncessary sk_receive_queue length check during xmit. Signed-off-by: Jason Wang --- drivers/net/tun.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/net/tun.

Re: [PATCH V9 1/6] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-11-22 Thread Chunyan Zhang
On 23 November 2016 at 06:39, Steven Rostedt wrote: > On Mon, 21 Nov 2016 15:57:18 +0800 > Chunyan Zhang wrote: > >> Currently Function traces can be only exported to ring buffer, this >> patch added trace_export concept which can process traces and export >> them to a registered destination as a

Re: [PATCH 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-22 Thread Brian Norris
On Wed, Nov 23, 2016 at 10:06:15AM +0800, Caesar Wang wrote: > 在 2016年11月23日 05:52, Brian Norris 写道: > >On Tue, Nov 22, 2016 at 12:57:37PM -0800, Brian Norris wrote: > >>>+ if (temp < table->id[low].temp || temp > table->id[high].temp) > >>> goto exit; > >I was revisiting the logic here

[PATCH] mwifiex: pcie: implement timeout loop for FW programming doorbell

2016-11-22 Thread Brian Norris
Marvell Wifi PCIe modules don't always behave nicely for PCIe power management when their firmware hasn't been loaded, particularly after suspending the PCIe link one or more times. When this happens, we might end up spinning forever in this status-polling tight loop. Let's make this less tight by

Re: [PATCH v10 04/10] kexec_file: Add support for purgatory built as PIE.

2016-11-22 Thread Thiago Jung Bauermann
Am Mittwoch, 23. November 2016, 09:32:58 BRST schrieb Dave Young: > On 11/22/16 at 11:44am, Thiago Jung Bauermann wrote: > > Am Dienstag, 22. November 2016, 17:01:10 BRST schrieb Michael Ellerman: > > > Thiago Jung Bauermann writes: > > > > Am Sonntag, 20. November 2016, 10:45:46 BRST schrieb Dave

Re: [PATCH] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

2016-11-22 Thread kbuild test robot
Hi Cathy, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.9-rc6 next-20161122] [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/Cathy-Avery/storvsc-Payload-buffer

[PATCH] storvsc: fix kzalloc-simple.cocci warnings

2016-11-22 Thread kbuild test robot
drivers/scsi/storvsc_drv.c:1500:13-20: WARNING: kzalloc should be used for payload, instead of kmalloc/memset Use kzalloc rather than kmalloc followed by memset with 0 This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule,

Re: [PATCH 1/2] PCI: iproc: fix 32-bit build

2016-11-22 Thread Ray Jui
On 11/22/2016 1:13 PM, Arnd Bergmann wrote: > On Tuesday, November 22, 2016 9:42:05 AM CET Ray Jui wrote: >> >> Hmmm, somehow we've never seen this link error for the ARM32 based >> platforms that we build for. Does it behave differently between >> different versions of compilers? >> >> Neverthel

Re: [PATCH 2/2] PCI: iproc: avoid maybe-uninitialized warning

2016-11-22 Thread Ray Jui
On 11/22/2016 1:15 PM, Arnd Bergmann wrote: > On Tuesday, November 22, 2016 9:45:24 AM CET Ray Jui wrote: >>> diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c >>> index 857ff5198317..0359569c8d78 100644 >>> --- a/drivers/pci/host/pcie-iproc.c >>> +++ b/drivers/pci/host/p

Re: [PATCH 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-22 Thread Caesar Wang
在 2016年11月23日 10:33, Brian Norris 写道: On Wed, Nov 23, 2016 at 10:06:15AM +0800, Caesar Wang wrote: 在 2016年11月23日 05:52, Brian Norris 写道: On Tue, Nov 22, 2016 at 12:57:37PM -0800, Brian Norris wrote: + if (temp < table->id[low].temp || temp > table->id[high].temp) goto e

Re: net/icmp: null-ptr-deref in icmp6_send

2016-11-22 Thread David Ahern
On 11/22/16 1:11 PM, Cong Wang wrote: > I have no idea what commit 5d41ce29e tried to fix, but we already > use skb->dev a few lines before l3mdev_master_ifindex(), so I don't > understand why skb->dev could be NULL, maybe just for vrf dev? skb->dev can be null depending on when icmp6_send / icmpv

[PATCH v2 1/2] mfd: axp20x: Add address extension registers for AXP806 regmap

2016-11-22 Thread Chen-Yu Tsai
The AXP806 supports either master/standalone or slave mode. Slave mode allows sharing the serial bus, even with multiple AXP806 which all have the same hardware address. This is done with extra "serial interface address extension", or AXP806_BUS_ADDR_EXT, and "register address extension", or AXP80

[PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-11-22 Thread Chen-Yu Tsai
The AXP806 supports either master/standalone or slave mode. Slave mode allows sharing the serial bus, even with multiple AXP806 which all have the same hardware address. This is done with extra "serial interface address extension", or AXP806_BUS_ADDR_EXT, and "register address extension", or AXP80

[PATCH v2 0/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-11-22 Thread Chen-Yu Tsai
Hi Lee, This is v2 of my AXP806 cold boot access fix series. Changes since v1: - Added define for value 0x10 written to AXP806_REG_ADDR_EXT register. Cover letter from v1: Recently we've added full SPL support for A80 to mainline U-boot. This means we no longer depend on Allwinner's boot

Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

2016-11-22 Thread Viresh Kumar
Thanks for explaining on my behalf Vincent :) On 22-11-16, 19:34, Vincent Guittot wrote: > On 22 November 2016 at 19:12, Kevin Hilman wrote: > > I think the question is: what does the performance-level of a domain > > actually mean? Or, what are the units? There is no unit. If we have units lik

RE: [PATCH] PCI: Add information about describing PCI in ACPI

2016-11-22 Thread Zheng, Lv
Hi, Bjorn Thanks for the documentation. It really helps! However I have a question below. > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Bjorn > Helgaas > Subject: [PATCH] PCI: Add information about describing PCI in ACPI > > Add a writeup abo

[PATCH 2/3] pinctrl: New driver for TI DA8XX/OMAP-L138/AM18XX pinconf

2016-11-22 Thread David Lechner
This adds a new driver for pinconf on TI DA8XX/OMAP-L138/AM18XX. These SoCs have a separate controller for controlling pullup/pulldown groups. Signed-off-by: David Lechner --- drivers/pinctrl/Kconfig | 9 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-da8

[PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf

2016-11-22 Thread David Lechner
This SoC has a separate pin controller for configuring pullup/pulldown bias on groups of pins. Signed-off-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 8945815..1c0224c

[PATCH 0/3] TI DA850/OMAP-L138/AM18x pinconf

2016-11-22 Thread David Lechner
This series adds a new driver and DT bindings for TI DA850/OMAP-L138/AM18x pinconf (bias pullup/pulldown). The motivation for this series is LEGO MINDSTORMS EV3 support. It needs most, if not all, internal pullup/down resistors disabled in order to work correctly. David Lechner (3): devicetree:

[PATCH 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd

2016-11-22 Thread David Lechner
Device-tree bindings for TI DA8XX/OMAP-L138/AM18XX pullup/pulldown pinconf controller. Signed-off-by: David Lechner --- .../devicetree/bindings/pinctrl/ti,da850-pupd.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/t

Re: question about sound/soc/intel/boards/mfld_machine.c

2016-11-22 Thread Vinod Koul
On Mon, Nov 21, 2016 at 07:19:43AM +0530, Jie, Yang wrote: > > -Original Message- > > From: Julia Lawall [mailto:julia.law...@lip6.fr] > > Sent: Sunday, November 20, 2016 1:34 AM > > To: lgirdw...@gmail.com; broo...@kernel.org; pe...@perex.cz; > > ti...@suse.com; Jie, Yang > > Cc: alsa-de.

linux-next: manual merge of the kvm-ppc-paulus tree with the powerpc-fixes tree

2016-11-22 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the kvm-ppc-paulus tree got a conflict in: arch/powerpc/include/asm/asm-prototypes.h between commit: 9e5f68842276 ("powerpc: Fix missing CRCs, add more asm-prototypes.h declarations") from the powerpc-fixes tree and commit: ebe4535fbe7a ("KVM: PPC:

Re: [PATCH v2 4/5] arm: dts: am57xx-beagle-x15-common: Add overide powerhold property

2016-11-22 Thread Keerthy
On Tuesday 15 November 2016 05:38 AM, Tony Lindgren wrote: * Keerthy [161109 21:10]: The PMICs have POWERHOLD set by default which prevents PMIC shutdown even on DEV_CTRL On bit set to 0 as the Powerhold has higher priority. So to enable pmic power off this property lets one over ride the def

linux-next: manual merge of the kvms390 tree with the s390 tree

2016-11-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: arch/s390/include/asm/facilities_src.h between commit: d1f7e8f85b51 ("s390: squash facilities_src.h into gen_facilities.c") from the s390 tree and commits: 09ff894457e9 ("KVM: s390: gaccess: add ESOP2 handling") 8

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-22 Thread Rajendra Nayak
On 11/22/2016 06:35 PM, Ulf Hansson wrote: > On 17 November 2016 at 16:39, Stanimir Varbanov > wrote: >> Hi, >> >> On 11/17/2016 04:31 AM, Rajendra Nayak wrote: >>> >>> >>> On 11/16/2016 06:41 PM, Ulf Hansson wrote: On 2 November 2016 at 09:56, Rajendra Nayak wrote: > Hi Jon, >

Re: [RFC][PATCH 1/3] drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally

2016-11-22 Thread Archit Taneja
On 11/23/2016 01:16 AM, John Stultz wrote: On Tue, Nov 22, 2016 at 9:38 AM, Laurent Pinchart wrote: Hi John, On Tuesday 22 Nov 2016 09:25:22 John Stultz wrote: On Tue, Nov 22, 2016 at 12:14 AM, Laurent Pinchart wrote: On Monday 21 Nov 2016 16:37:30 John Stultz wrote: @@ -545,24 +554,13 @

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-22 Thread Hayes Wang
Mark Lord [mailto:ml...@pobox.com] > Sent: Friday, November 18, 2016 8:03 PM [..] > How does the RTL8152 know that the limit is 16KB, > rather than some other number? Is this a hardwired number > in the hardware, or is it a parameter that the software > sends to the chip during initialization? It

[RFC][PATCH 1/3] phy: phy-hi6220-usb: Wire up extconn support to hikey's phy driver

2016-11-22 Thread John Stultz
This wires extconn support to hikey's phy driver, and connects it to the usb UDC layer via a usb_phy structure. Not sure if this is the right way to connect phy -> UDC, but I'm lacking a clear example. Cc: Wei Xu Cc: Guodong Xu Cc: Amit Pundir Cc: Rob Herring Cc: John Youn Cc: Douglas Anders

Re: [PATCH V3 0/9] PM / OPP: Multiple regulator support

2016-11-22 Thread Viresh Kumar
On 22-11-16, 18:41, Mark Brown wrote: > On Tue, Nov 22, 2016 at 09:19:22AM +0530, Viresh Kumar wrote: > > "How do we know (from the DT) the order in which entries for multiple > > regulators > > are present in the OPP table?" > > > > And I am not sure if we can do that without having a property l

[RFC][PATCH 0/3] Try to connect hikey's usb phy to dwc2 driver

2016-11-22 Thread John Stultz
After earlier attempts[1] at submitting somewhat hackish fixes to the dwc2 driver, I realized the core issue seemed to be the overly simplistic phy driver. I've connected the phy-hi6220-usb.c driver to extcon so it now gets connection and disconnection signals on the usb gadget cable. And I modifi

[RFC][PATCH 3/3] usb: dwc2: Avoid suspending if we're in gadget mode

2016-11-22 Thread John Stultz
I've found when booting HiKey with the usb gadget cable attached if I then try to connect via adb, I get an infinite spew of: dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790ecb18 ep1out, 0) dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790eca18 ep1in, 0) It seems that the usb autosu

[RFC][PATCH 2/3] HACK: dwc2: force dual use of uphy and phy

2016-11-22 Thread John Stultz
I can't seem to figure out how to connect a generic phy device to the usb UDC logic, as the dwc2 code seems to exclusively work with either generic phys or usb-phys. So to try to make this work with the phy-hi6220-usb driver, tweak the dwc2 logic to support call hooks to both phy and uphy devices.

Re: [PATCH v3 0/2] DW DMAC: update device tree

2016-11-22 Thread Vinod Koul
On Mon, Nov 21, 2016 at 12:37:06PM +0200, Andy Shevchenko wrote: > On Mon, 2016-11-21 at 10:02 +, Alexey Brodkin wrote: > > Hi Andy, > > > > On Fri, 2016-11-18 at 21:26 +0200, Andy Shevchenko wrote: > > > On Fri, 2016-11-18 at 22:12 +0300, Eugeniy Paltsev wrote: > > > > > > > > It wasn't poss

sendfile from 9p fs into af_alg

2016-11-22 Thread Alexei Starovoitov
Hi Al, it seems the following commit 523ac9afc73a ("switch default_file_splice_read() to use of pipe-backed iov_iter") breaks sendfile from 9p fs into af_alg socket. sendfile into af_alg is used by iproute2/tc. I'm not sure whether it's 9p or crypto or vfs problem, but happy to test any patches.

Re: [PATCH v3 2/2] DW DMAC: add multi-block property to device tree

2016-11-22 Thread Vinod Koul
On Fri, Nov 18, 2016 at 09:33:13PM +0200, Andy Shevchenko wrote: > > @@ -1569,7 +1569,7 @@ int dw_dma_probe(struct dw_dma_chip *chip) > >   (dwc_params >> DWC_PARAMS_MBLK_EN & > > 0x1) == 0; > >   } else { > >   dwc->block_size = pdata->block_si

Re: [PATCH] Input: elan_i2c - Add new ic and modify some functions for new IC infomation Signed-off-by: KT Liao

2016-11-22 Thread 'Dmitry Torokhov'
Hi KT, On Fri, Nov 18, 2016 at 04:32:18PM +0800, 廖崇榮 wrote: > Hi Dmitry > > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Friday, November 18, 2016 1:15 AM > To: KT Liao > Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org; > phoe...@em

Re: [PATCH] dmaengine: qcom_hidma: autoload while probing ACPI

2016-11-22 Thread Vinod Koul
On Sat, Nov 19, 2016 at 02:28:37PM -0500, Sinan Kaya wrote: > MODULE_DEVICE_TABLE is used by the kernel to determine which device driver > should be loaded for which platform device. MODULE_DEVICE_TABLE has been > only defined for the device-tree based platforms in the current code. > Defining it a

Re: [PATCH v4 3/3] dmaengine: sun6i: share the dma driver with sun50i

2016-11-22 Thread Vinod Koul
On Sun, Nov 20, 2016 at 06:45:40PM +0800, Hao Zhang wrote: > Changes the limited buswith to 8 bytes,and add > the test in sun6i_dma_config function > > Accroding to sun6i dma driver, i think ,if the client typo and other grammatical mistakes here.. > doesn't configure the address widt

Re: linux-next: Tree for Nov 22 (ext4 + dax)

2016-11-22 Thread Theodore Ts'o
On Wed, Nov 23, 2016 at 04:19:35AM +1100, Stephen Rothwell wrote: > > I don't see why this is happening but I reproduced it multiple times. > > > > fs/built-in.o: In function `ext4_dax_fault': > > file.c:(.text+0x6278b): undefined reference to `dax_iomap_fault' > > file.c:(.text+0x627dc): undefine

Re: [fuse-devel] fuse: max_background and congestion_threshold settings

2016-11-22 Thread Maxim Patlasov
On 11/22/2016 02:45 PM, Nikolaus Rath wrote: On Nov 16 2016, Maxim Patlasov wrote: On 11/16/2016 12:19 PM, Nikolaus Rath wrote: On Nov 16 2016, Maxim Patlasov wrote: On 11/16/2016 11:19 AM, Nikolaus Rath wrote: Hi Maxim, On Nov 15 2016, Maxim Patlasov wrote: On 11/15/2016 08:18 AM, Ni

Re: [PATCH 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-22 Thread Brian Norris
On Wed, Nov 23, 2016 at 11:03:33AM +0800, Caesar Wang wrote: > 在 2016年11月23日 10:33, Brian Norris 写道: > >IIUC, "too high" should not be interpreted as TSADCV2_DATA_MASK on > >rk3288, should it? That corresponds to -40C, which means you'll be > >triggering the alarm temperature at a very *low* temper

linux-next: remove the remoteproc tree?

2016-11-22 Thread Stephen Rothwell
Hi Ohad, The remoteproc tree (git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git#for-next) has not bee updated for more than a year. Should I remove it from linux-next? Or could it (at least) be cleaned up, please? -- Cheers, Stephen Rothwell

Re: [PATCH v2] mm: support anonymous stable page

2016-11-22 Thread Hugh Dickins
On Tue, 22 Nov 2016, Minchan Kim wrote: > On Mon, Nov 21, 2016 at 07:46:28PM -0800, Hugh Dickins wrote: > > > > Andrew might ask if we should Cc stable (haha): I think we agree > > that it's a defect we've been aware of ever since stable pages were > > first proposed, but nobody has actually been

Re: [PATCH v2] tools lib traceevent: Add retrieval of preempt count and latency flags

2016-11-22 Thread Namhyung Kim
Hi Arnaldo and Steve, On Tue, Nov 22, 2016 at 03:06:24PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 22, 2016 at 11:31:58AM -0500, Steven Rostedt escreveu: > > > > Add a way to retrieve the preempt count as well as the latency flags from a > > pevent_record. > > > > int pevent_data_pre

Re: sendfile from 9p fs into af_alg

2016-11-22 Thread Al Viro
On Tue, Nov 22, 2016 at 07:58:29PM -0800, Alexei Starovoitov wrote: > Hi Al, > > it seems the following commit 523ac9afc73a ("switch > default_file_splice_read() to use of pipe-backed iov_iter") > breaks sendfile from 9p fs into af_alg socket. > sendfile into af_alg is used by iproute2/tc. > I'm

Re: sendfile from 9p fs into af_alg

2016-11-22 Thread Alexei Starovoitov
On Wed, Nov 23, 2016 at 04:46:26AM +, Al Viro wrote: > On Tue, Nov 22, 2016 at 07:58:29PM -0800, Alexei Starovoitov wrote: > > Hi Al, > > > > it seems the following commit 523ac9afc73a ("switch > > default_file_splice_read() to use of pipe-backed iov_iter") > > breaks sendfile from 9p fs into

Re: [RESEND PATCH 2/3] ARM: davinci: hawk: Remove vbus and over current gpios

2016-11-22 Thread Sekhar Nori
On Tuesday 22 November 2016 09:11 PM, Axel Haslam wrote: > Hi Sekhar > > On Tue, Nov 22, 2016 at 11:37 AM, Sekhar Nori wrote: >> On Monday 21 November 2016 10:23 PM, Axel Haslam wrote: >>> The hawk board VBUS is fixed to a 5v source, and the over >>> current pin is actually not connected to the S

Re: [PATCH V9 1/6] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-11-22 Thread Chunyan Zhang
Hi Steve, Actually I had been keeping the idea that we would need to export most kinds of traces rather than function trace only to somewhere else, say STM, that's also why I made STM_SOURCE_FTRACE depending on TRACING which was later changed to FUNCTION_TRACER according to you advice. Thanks, Ch

[PATCH 2/2] powerpc/kvm: Corectly report KVM_CAP_PPC_ALLOC_HTAB

2016-11-22 Thread David Gibson
At present KVM on powerpc always reports KVM_CAP_PPC_ALLOC_HTAB as enabled. However, the ioctl() it advertises (KVM_PPC_ALLOCATE_HTAB) only actually works on KVM HV. On KVM PR it will fail with ENOTTY. qemu already has a workaround for this, so it's not breaking things in practice, but it would b

[PATCH 0/2] Preliminary cleanups for HPT resizing

2016-11-22 Thread David Gibson
Hi Paul, I'm still chasing this confusion about the CAS bit to send the real HPT resizing patches. However, in the meantime, here are some preliminary cleanups. These cleanups stand on their own, although I wrote them in the context of writing the HPT resizing code, and are prerequisites for tho

[PATCH 1/2] kvm: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its structure

2016-11-22 Thread David Gibson
The KVM_PPC_PVINFO_FLAGS_EV_IDLE macro defines a bit for use in the flags field of struct kvm_ppc_pvinfo. However, changes since that was introduced have moved it away from that structure definition, which is confusing. Move it back next to the structure it belongs with. Signed-off-by: David Gib

Re: Locking API testsuite output mangled

2016-11-22 Thread Michael Ellerman
Christian Kujau writes: > The "Locking API testsuite" output during bootup (with > CONFIG_DEBUG_LOCKING_API_SELFTESTS=y) on this PowerPC system looks > mangled, possibly related to the recent printk changes (4bcc595ccd80, > "printk: reinstate KERN_CONT for printing continuation lines"). Before

Re: [PATCH v2 7/8] perf sched timehist: Add -V/--cpu-visual option

2016-11-22 Thread Namhyung Kim
On Tue, Nov 22, 2016 at 03:33:26PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 16, 2016 at 03:06:33PM +0900, Namhyung Kim escreveu: > > From: David Ahern > > > > The -V option provides a visual aid for sched switches by cpu: > > > > $ perf sched timehist -V > > timecp

Crypto Fixes for 4.9

2016-11-22 Thread Herbert Xu
Hi Linus: The last push broke algif_hash for all shash implementations, so this is a follow-up to fix that. It also fixes a problem in the crypto scatterwalk that triggers a BUG_ON with certain debugging options due to the new vmalloced-stack code. Please pull from git://git.kernel.org/pub/scm

Re: [PATCH v2 1/5] ARM: memory: da8xx-ddrctl: new driver

2016-11-22 Thread Sekhar Nori
On Tuesday 22 November 2016 11:51 PM, Frank Rowand wrote: > Please note that the compatible property might contain several strings, not > just > a single string. So I guess the best thing to do is to use of_property_read_string_index() and print the sting at index 0. Thanks, Sekhar

Re: [PATCH] HID: lg: fix noderef.cocci warnings

2016-11-22 Thread Fengguang Wu
On Tue, Nov 22, 2016 at 11:44:34AM +0100, Jiri Kosina wrote: On Mon, 21 Nov 2016, Benjamin Tissoires wrote: > Generated by: scripts/coccinelle/misc/noderef.cocci > > CC: Benjamin Tissoires > Signed-off-by: Fengguang Wu > --- > > hid-lg.c |6 -- > 1 file changed, 4 insertions(+), 2 de

Re: net/can: use-after-free in bcm_rx_thr_flush

2016-11-22 Thread Oliver Hartkopp
On 11/22/2016 06:37 PM, Andrey Konovalov wrote: On Tue, Nov 22, 2016 at 6:29 PM, Oliver Hartkopp wrote: Hi Andrey, thanks for the report. Although I can't see the issue in the code ... Oh, I can see it now m( Will send a patch today. Many thanks, Oliver

Re: [PATCH v16 10/15] clocksource/drivers/arm_arch_timer: Refactor the timer init code to prepare for GTDT

2016-11-22 Thread Fu Wei
Hi Mark, On 19 November 2016 at 04:03, Mark Rutland wrote: > On Wed, Nov 16, 2016 at 09:49:03PM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> The patch refactor original memory-mapped timer init code: >> (1) Extract a subfunction for detecting a bast time frame: >> is_best_f

Re: sendfile from 9p fs into af_alg

2016-11-22 Thread Al Viro
On Tue, Nov 22, 2016 at 08:55:59PM -0800, Alexei Starovoitov wrote: > On Wed, Nov 23, 2016 at 04:46:26AM +, Al Viro wrote: > > On Tue, Nov 22, 2016 at 07:58:29PM -0800, Alexei Starovoitov wrote: > > > Hi Al, > > > > > > it seems the following commit 523ac9afc73a ("switch > > > default_file_sp

Re: [PATCH 0/8] CaitSith LSM module

2016-11-22 Thread Tetsuo Handa
Tetsuo Handa wrote: > John Johansen wrote: > > > In order to minimize the burden of reviewing, this patchset implements > > > only functionality of checking program execution requests (i.e. execve() > > > system call) using pathnames. I'm planning to add other functionalities > > > after this versi

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Michal Hocko
On Tue 22-11-16 11:38:47, Linus Torvalds wrote: > On Tue, Nov 22, 2016 at 8:14 AM, Vlastimil Babka wrote: > > > > Thanks a lot for the testing. So what do we do now about 4.8? (4.7 is > > already EOL AFAICS). > > > > - send the patch [1] as 4.8-only stable. > > I think that's the right thing to d

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-22 Thread Anshuman Khandual
On 11/18/2016 11:48 PM, Jérôme Glisse wrote: > HMM provides 3 separate functionality : > - Mirroring: synchronize CPU page table and device page table > - Device memory: allocating struct page for device memory > - Migration: migrating regular memory to device memory > > This patch int

Re: [LKP] [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Fengguang Wu
Hi Linus, On Tue, Nov 22, 2016 at 02:04:42PM -0800, Linus Torvalds wrote: [snip] I also noticed that the kernel test robot had screwed up the participants list for some reason, and had "Acked-by: Alexander Duyck , David S. Miller" as one of the participants. So there's some odd commit parsi

linux-next: Tree for Nov 23

2016-11-22 Thread Stephen Rothwell
Hi all, Changes since 20161122: The clk tree gained conflicts against the arm-soc tree (resolved today with help). The md tree gained a conflict against the block tree. The kvm-ppc-paulus tree gained a conflict against the powerpc-fixes tree. The kvms390 tree gained a conflict against the

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Hillf Danton
On Wednesday, November 23, 2016 2:34 PM Michal Hocko wrote: > @@ -3161,6 +3161,16 @@ should_compact_retry(struct alloc_context *ac, > unsigned int order, int alloc_fla > if (!order || order > PAGE_ALLOC_COSTLY_ORDER) > return false; > > +#ifdef CONFIG_COMPACTION > + /* > +

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Michal Hocko
On Wed 23-11-16 14:53:12, Hillf Danton wrote: > On Wednesday, November 23, 2016 2:34 PM Michal Hocko wrote: > > @@ -3161,6 +3161,16 @@ should_compact_retry(struct alloc_context *ac, > > unsigned int order, int alloc_fla > > if (!order || order > PAGE_ALLOC_COSTLY_ORDER) > > return

Re: [PATCH] HID: lg: fix noderef.cocci warnings

2016-11-22 Thread Julia Lawall
On Wed, 23 Nov 2016, Fengguang Wu wrote: > On Tue, Nov 22, 2016 at 11:44:34AM +0100, Jiri Kosina wrote: > > On Mon, 21 Nov 2016, Benjamin Tissoires wrote: > > > > > > Generated by: scripts/coccinelle/misc/noderef.cocci > > > > > > > > CC: Benjamin Tissoires > > > > Signed-off-by: Fengguang Wu

[RFC 0/2] GFP_NOFAIL cleanups

2016-11-22 Thread Michal Hocko
Hi, Tetsuo has noticed [1] that recent changes have changed GFP_NOFAIL semantic for costly order requests. I believe that the primary reason why this happened is that our GFP_NOFAIL checks are too scattered and it is really easy to forget about adding one. That's why I am proposing patch 1 which co

[RFC 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-11-22 Thread Michal Hocko
From: Michal Hocko __alloc_pages_may_oom makes sure to skip the OOM killer depending on the allocation request. This includes lowmem requests, costly high order requests and others. For a long time __GFP_NOFAIL acted as an override for all those rules. This is not documented and it can be quite s

Re: [LKP] [net] 34fad54c25: kernel BUG at include/linux/skbuff.h:1935!

2016-11-22 Thread Linus Torvalds
On Tue, Nov 22, 2016 at 10:44 PM, Fengguang Wu wrote: > > On Tue, Nov 22, 2016 at 02:04:42PM -0800, Linus Torvalds wrote: > >> I also noticed that the kernel test robot had screwed up the >> participants list for some reason, and had >> >> "Acked-by: Alexander Duyck , David S. >> Miller" >> >> a

Re: [PATCH V3 1/2] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-11-22 Thread Scott Wood
On Tue, 2016-10-25 at 10:15 +0800, Jia Hongtao wrote: > From: Hongtao Jia > > Update #thermal-sensor-cells from 0 to 1 according to the new binding. The > sensor specifier added is the monitoring site ID, and represents the "n" in > TRITSRn and TRATSRn. > > Signed-off-by: Jia Hongtao Where can

<    4   5   6   7   8   9   10   >