Re: [PATCH 21/39] mtd: nand: denali: support 64bit capable DMA engine

2016-11-29 Thread Masahiro Yamada
Hi Boris, 2016-11-28 1:16 GMT+09:00 Boris Brezillon : > > If you follow my suggestions of definition function pointers, you'll > just have to add a function pointer to the denali_caps struct: > > void (*setup_dma)(struct denali_nand_info *denali, int

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

2016-11-29 Thread Vinod Koul
On Fri, Nov 25, 2016 at 05:59:05PM +0300, Eugeniy Paltsev wrote: > It wasn't possible to enable some features like > memory-to-memory transfers or multi block transfers via DT. > It is fixed by these patches. Applied after adding substem name tag. -- ~Vinod

linux-next: Tree for Nov 30

2016-11-29 Thread Stephen Rothwell
Hi all, Changes since 20161129: New tree: drm-misc-fixes The cifs tree gained a build failure so I used the version from next-20161129. The crypto tree lost its build failure. The akpm-current tree still had its build failure for which I added a supplied patch. Non-merge commits (relative

Re: [PATCH] net: macb: Write only necessary bits in NCR in macb reset

2016-11-29 Thread Harini Katakam
Hi David, On Wed, Nov 30, 2016 at 5:35 AM, David Miller wrote: > From: Harini Katakam > Date: Mon, 28 Nov 2016 14:53:49 +0530 > >> In macb_reset_hw, use read-modify-write to disable RX and TX. >> This way exiting settings and reserved bits wont be

Re: [patch V2 00/12] thermal/x86_pkg_temp: Sanitize hotplug and locking

2016-11-29 Thread Eduardo Valentin
Rui, On Tue, Nov 22, 2016 at 05:57:04PM -, Thomas Gleixner wrote: > --- > x86_pkg_temp_thermal.c | 593 > - > 1 file changed, 249 insertions(+), 344 deletions(-) I am assuming you are handling this one in your tree directly. In any case,

Re: [PATCH 19/39] mtd: nand: denali: perform erased check against raw transferred page

2016-11-29 Thread Masahiro Yamada
Hi Boris 2016-11-28 1:12 GMT+09:00 Boris Brezillon : > On Sun, 27 Nov 2016 03:06:05 +0900 > Masahiro Yamada wrote: > >> The erased page check must be done against the raw transferred data. >> The current first call of is_erase()

[PATCH 0/3] Support for USB DRD Phy driver for NS2

2016-11-29 Thread Raviteja Garimella
This patch adds support for USB Dual Role Device Phy for Broadcom Northstar2 SoC. Apart from the new phy driver, this patchset contains changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo:

[PATCH 1/3] Add DT bindings documentation for NS2 USB DRD phy

2016-11-29 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

[PATCH 2/3] Broadcom USB DRD Phy driver for Northstar2

2016-11-29 Thread Raviteja Garimella
This is driver for USB DRD Phy used in Broadcom's Northstar2 SoC. The phy can be configured to be in Device mode or Host mode based on the type of cable connected to the port. The driver registers to extcon framework to get appropriate connect events for Host/Device cables connect/disconnect

[PATCH 0/2] Support for Synopsys UDC for ARM platforms

2016-11-29 Thread Raviteja Garimella
This patchset adds support for Synposys Designware core AHB-UDC (USB Device controller) for Arm platfoms. New UDC driver is added to drivers/usb/gadget directory along with updating the Kconfig and Makefile. DT bindings documentation is also added for the same. Device tree entry for the same in

Re: [PATCH 18/39] mtd: nand: denali: move denali_read_page_raw() above denali_read_page()

2016-11-29 Thread Masahiro Yamada
Hi Boris, 2016-11-28 1:10 GMT+09:00 Boris Brezillon : > On Sun, 27 Nov 2016 03:06:04 +0900 > Masahiro Yamada wrote: > >> This will be needed in the next commit to call denali_read_page_raw() >> from denali_read_page(). > > Please

Re: [PATCH V4] PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()

2016-11-29 Thread Joonyoung Shim
Hi Viresh, On 11/30/2016 12:59 PM, Viresh Kumar wrote: > From: Stephen Boyd > > Joonyoung Shim reported an interesting problem on his ARM octa-core > Odoroid-XU3 platform. During system suspend, dev_pm_opp_put_regulator() > was failing for a struct device for which

Re: [PATCH 17/39] mtd: nand: denali: support HW_ECC_FIXUP capability

2016-11-29 Thread Masahiro Yamada
Hi Boris, 2016-11-28 1:09 GMT+09:00 Boris Brezillon : _bitflips); > > Okay, so you currently have two ways of handling ECC errors. What if a > new revision introduces yet another way to do it? > > How about making

Re: [PATCH 20/39] mtd: nand: denali_dt: enable HW_ECC_FIXUP capability for DT platform

2016-11-29 Thread Masahiro Yamada
Hi Boris, 2016-11-28 1:14 GMT+09:00 Boris Brezillon : > On Sun, 27 Nov 2016 03:06:06 +0900 > Masahiro Yamada wrote: > >> The denali_dt.c was split out by Altera for the SOCFPGA port. The >> Denali IP on SOCFPGA incorporates the

Re: next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-29 Thread Paul E. McKenney
On Tue, Nov 29, 2016 at 08:32:51PM -0800, Guenter Roeck wrote: > On 11/29/2016 05:28 PM, Paul E. McKenney wrote: > >On Tue, Nov 29, 2016 at 01:23:08PM -0800, Guenter Roeck wrote: > >>Hi Paul, > >> > >>most of my qemu tests for sparc32 targets started to fa

[PATCH] lib/idr: trivial: Fix typo in file header

2016-11-29 Thread Cao jin
Signed-off-by: Cao jin --- lib/idr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idr.c b/lib/idr.c index 6098336df267..69fa487dbfda 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -14,7 +14,7 @@ * by the id to obtain the pointer. The bitmap

[PATCH] vfio: Fix handling of error returned by 'vfio_group_get_from_dev()'

2016-11-29 Thread Christophe JAILLET
'vfio_group_get_from_dev()' seems to return only NULL on error, not an error pointer. Fixes: 2169037dc322 ("vfio iommu: Added pin and unpin callback functions to vfio_iommu_driver_ops") Fixes: c086de818dd8 ("vfio iommu: Add blocking notifier to notify DMA_UNMAP") Signed-off-by: Christophe

[PATCH] printk: Fix spinlock deadlock in printk reenty

2016-11-29 Thread linyongting
From: Jinling Ke when Oops in printk, printk will call zap_locks() to reinitialize spinlock to prevent deadlock. In arm, arm64, x86 or other architecture smp cpu, race condition will occur in printk spinlock logbuf_lock and then it will result other cpu that is waiting

[PATCH 00/11] ACPICA: 20161117 Release

2016-11-29 Thread Lv Zheng
The 20161117 ACPICA kernel-resident subsystem updates are linuxized based on the linux-pm/linux-next branch. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + allyes 2. i386 + allno 3. i386 + default + ACPI_DEBUGGER=y 4. i386 + default +

Re: Still OOM problems with 4.9er kernels

2016-11-29 Thread Gerhard Wiesinger
Hello, See also: Bug 1314697 - Kernel 4.4.3-300.fc23.x86_64 is not stable inside a KVM VM https://bugzilla.redhat.com/show_bug.cgi?id=1314697 Ciao, Gerhard On 30.11.2016 08:10, Gerhard Wiesinger wrote: Hello, I'm having out of memory situations with my "low memory" VMs in KVM under Fedora

Still OOM problems with 4.9er kernels

2016-11-29 Thread Gerhard Wiesinger
Hello, I'm having out of memory situations with my "low memory" VMs in KVM under Fedora (Kernel 4.7, 4.8 and also before). They started to get more and more sensitive to OOM. I recently found the following info:

[PATCH 10/11] ACPICA: Utilities: Add new decode function for parser values

2016-11-29 Thread Lv Zheng
From: Bob Moore ACPICA commit 198fde8a061ac77357bcf1752e3c988fbe59f128 Implements a decode function for the ARGP_* parser info values for all AML opcodes. Link: https://github.com/acpica/acpica/commit/198fde8a Signed-off-by: Bob Moore

[PATCH 11/11] ACPICA: Update version to 20161117

2016-11-29 Thread Lv Zheng
From: Bob Moore ACPICA commit 0d5a056877c2e37e0bfce8d262cec339dc8d55fd Version 20161117. Link: https://github.com/acpica/acpica/commit/0d5a0568 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |

[PATCH 05/11] ACPICA: Tables: Cleanup acpi_tb_install_and_load_table()

2016-11-29 Thread Lv Zheng
ACPICA commit 7fdac0289faa1c28b91413c8e394e87372aa69e6 acpi_tb_install_and_load_table() can invoke acpi_tb_load_table() to eliminate redundant code. No functional change. Lv Zheng. Link: https://github.com/acpica/acpica/commit/7fdac028 Signed-off-by: Lv Zheng Signed-off-by:

Re: [PATCH 21/39] mtd: nand: denali: support 64bit capable DMA engine

2016-11-29 Thread Boris Brezillon
On Wed, 30 Nov 2016 16:11:53 +0900 Masahiro Yamada wrote: > Hi Boris, > > 2016-11-28 1:16 GMT+09:00 Boris Brezillon > : > > > > If you follow my suggestions of definition function pointers, you'll > > just have to add a

[PATCH 07/11] ACPICA: Tables: Add an error message complaining driver bugs

2016-11-29 Thread Lv Zheng
ACPICA commit 68af3c3aa238dd8040e846ac6b4827a016434d8d During early OS boot stage, drivers that have mapped system memory should unmap it during the same stage. Linux kernel has an error message indicating the unbalanced early memory mappings. This patch back ports such error message into ACPICA

[PATCH] staging: lustre: libcfs: repair improper unlikely test

2016-11-29 Thread James Simmons
The scripts to replace NULL test got confused with the macro parenthesis so the unlikely test in libcfs_private.h ended up incorrect. This fixes this error. Reported-by: Dan Carpenter Signed-off-by: James Simmons ---

Re: [PATCH v2 1/1] net: macb: ensure ordering write to re-enable RX smoothly

2016-11-29 Thread David Miller
From: Zumeng Chen Date: Mon, 28 Nov 2016 21:55:00 +0800 > When a hardware issue happened as described by inline comments, the register > write pattern looks like the following: > > > + wmb(); > > > There might be a memory barrier between these two write operations,

Re: [PATCH V2 5/5] Input: arizona-haptics - Use SoC component pin control functions

2016-11-29 Thread Dmitry Torokhov
On Tue, Nov 29, 2016 at 03:44:42PM +, Richard Fitzgerald wrote: > The name of a codec pin can have an optional prefix string, which is > defined by the SoC machine driver. The snd_soc_dapm_x_pin functions > take the fully-specified name including the prefix and so the existing > code would

Re: [alsa-devel] [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-29 Thread Kuninori Morimoto
Hi Stephen Thank you for your feedback. > > > > sound_soc { > > > > clocks = <>, <>; > > > > clock-names = "cpu", "codec"; > > > > ... > > > > cpu { > > > > ... > > > > }; > > > >

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

2016-11-29 Thread Stephen Boyd
On 11/29, Viresh Kumar wrote: > On 28-11-16, 10:27, Stephen Boyd wrote: > > On 11/23/2016 08:40 PM, Viresh Kumar wrote: > > > But even in these cases we wouldn't be using the voltage values within the > > > kernel as we will be giving only a performance state to the M3 core, > > > right? > > > >

[PATCH] drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments

2016-11-29 Thread Florian Fainelli
The function we are wrapping is named dma_alloc_noncoherent, and not dma_alloc_non_coherent. Fixes: 9ac7849e35f70 ("devres: device resource management") Signed-off-by: Florian Fainelli --- drivers/base/dma-mapping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v3 RESEND] platform/x86/asus-nb-wmi.c: Add X45U quirk

2016-11-29 Thread Marcos Paulo de Souza
Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working. Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test. [1]

[PATCH v3 1/5] KVM: nVMX: generate non-true VMX MSRs based on true versions

2016-11-29 Thread David Matlack
The "non-true" VMX capability MSRs can be generated from their "true" counterparts, by OR-ing the default1 bits. The default1 bits are fixed and defined in the SDM. Since we can generate the non-true VMX MSRs from the true versions, there's no need to store both in struct nested_vmx. This also

[PATCH v3 0/5] VMX Capability MSRs

2016-11-29 Thread David Matlack
This patchset adds support setting the VMX capability MSRs from userspace. This is required for migration of nested-capable VMs to different CPUs and KVM versions. Patch 1 generates the non-true VMX MSRs using the true MSRs, which allows userspace to skip restoring them. Patch 2 adds support for

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

2016-11-29 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

[PATCH v3 4/5] KVM: nVMX: generate MSR_IA32_CR{0,4}_FIXED1 from guest CPUID

2016-11-29 Thread David Matlack
MSR_IA32_CR{0,4}_FIXED1 define which bits in CR0 and CR4 are allowed to be 1 during VMX operation. Since the set of allowed-1 bits is the same in and out of VMX operation, we can generate these MSRs entirely from the guest's CPUID. This lets userspace avoiding having to save/restore these MSRs.

Re: [PATCH 3/3] ARM: dts: sunxi: enable SDIO Wi-Fi on Orange Pi Zero

2016-11-29 Thread Alexey Kardashevskiy
On 29/11/16 21:19, Icenowy Zheng wrote: > > 2016年11月29日 15:16于 Alexey Kardashevskiy 写道: >> >> >> >> On Wed, Nov 23, 2016 at 6:59 PM, Maxime Ripard > wrote: >>> >>> Hi, >>> >>> On Tue, Nov 22, 2016 at 12:24:21AM +0800, Icenowy Zheng wrote: >>> >

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

2016-11-29 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/3] MAINTAINERS: Add bug tracking system location entry for cpufreq

2016-11-29 Thread Viresh Kumar
On 30-11-16, 02:31, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The kernel Bugzilla is used for tracking cpufreq bugs, so document > that. > > Signed-off-by: Rafael J. Wysocki > --- > MAINTAINERS |1 + > 1 file changed, 1

[PATCH v8 4/4] vcodec: mediatek: Add Maintainers entry for Mediatek JPEG driver

2016-11-29 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Signed-off-by: Bin Liu --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93e9f42..6f68fb6 100644 ---

[PATCH v8 2/4] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-29 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 +

Re: [patch] mm, slab: faster active and free stats

2016-11-29 Thread David Rientjes
On Mon, 28 Nov 2016, Joonsoo Kim wrote: > Hello, > > Sorry for long delay. > I agree that this improvement is needed. Could you try the approach > that maintains n->num_slabs and n->free_slabs? I guess that it would be > simpler than this patch so more maintainable. > Ok, what do you think

Re: [PATCH net-next v3 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-29 Thread David Miller
From: Florian Fainelli Date: Tue, 29 Nov 2016 16:43:20 -0800 > On 11/29/2016 04:38 PM, David Miller wrote: >> From: Jerome Brunet >> Date: Mon, 28 Nov 2016 10:46:45 +0100 >> >>> This patchset fixes an issue with the OdroidC2 board (DWMAC + RTL8211F).

Re: [PATCH v2 0/9] openrisc: Misc fixes from backlog

2016-11-29 Thread Guenter Roeck
On Mon, Nov 14, 2016 at 10:30:30PM +0900, Stafford Horne wrote: > Hello, > > This patch is a small set of fixes from the openrisc backlog. These > changes fix several issues with the openrisc build on modern tool chains > and address other issues which have cropped up as the kernel has been >

[PATCH v2] reset: ti_syscon: fix a ti_syscon_reset_status issue

2016-11-29 Thread Jiancheng Xue
If STATUS_SET was not set, ti_syscon_reset_status would always return 0 no matter whether the status_bit was set or not. Signed-off-by: Jiancheng Xue --- Change Log v2: - Refined this patch according to the suggestion from Andrew F. Davis.

Re: [PATCH v2] net: phy: Fix use after free in phy_detach()

2016-11-29 Thread David Miller
From: Geert Uytterhoeven Date: Mon, 28 Nov 2016 15:18:31 +0100 > If device_release_driver(>mdio.dev) is called, it releases all > resources belonging to the PHY device. Hence the subsequent call to > phy_led_triggers_unregister() will access already freed memory when >

Re: [PATCH] PM / OPP: Allow inactive opp_device to be present in dev list

2016-11-29 Thread Viresh Kumar
On 30 November 2016 at 02:26, Stephen Boyd wrote: > On 11/29, Viresh Kumar wrote: >> On 28-11-16, 18:46, Stephen Boyd wrote: >> > Anyway, rant over, how about handing out the opp table pointer to >> > the caller so they can pass it back in when they call the put >> > side?

Re: [PATCH net-next v3 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-29 Thread Florian Fainelli
On 11/29/2016 05:13 PM, David Miller wrote: > From: Florian Fainelli > Date: Tue, 29 Nov 2016 16:43:20 -0800 > >> On 11/29/2016 04:38 PM, David Miller wrote: >>> From: Jerome Brunet >>> Date: Mon, 28 Nov 2016 10:46:45 +0100 >>> This patchset

[PATCH 3/3] MAINTAINERS: Add Jacob Pan as a new intel_idle maintainer

2016-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The intel_idle driver is going to be maintained by Jacob Pan now, so update MAINTAINERS accordingly. Signed-off-by: Rafael J. Wysocki --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) Index:

Re: [PATCH net-next v2] mlxsw: switchib: add MLXSW_PCI dependency

2016-11-29 Thread David Miller
From: Arnd Bergmann Date: Mon, 28 Nov 2016 15:26:04 +0100 > The newly added switchib driver fails to link if MLXSW_PCI=m: > > drivers/net/ethernet/mellanox/mlxsw/mlxsw_switchib.o: In > function^Cmlxsw_sib_module_exit': > switchib.c:(.exit.text+0x8): undefined reference to >

[PATCH 2/3] MAINTAINERS: Add bug tracking system location entries for cpuidle

2016-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The kernel Bugzilla is used for tracking bugs in the cpuidle core and intel_idle, so document that. Signed-off-by: Rafael J. Wysocki --- MAINTAINERS |2 ++ 1 file changed, 2 insertions(+) Index:

Re: [PATCH net] net/dccp: fix use-after-free in dccp_invalid_packet

2016-11-29 Thread David Miller
From: Eric Dumazet Date: Mon, 28 Nov 2016 06:26:49 -0800 > From: Eric Dumazet > > pskb_may_pull() can reallocate skb->head, we need to reload dh pointer > in dccp_invalid_packet() or risk use after free. > > Bug found by Andrey Konovalov using

[PATCH 1/3] MAINTAINERS: Add bug tracking system location entry for cpufreq

2016-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The kernel Bugzilla is used for tracking cpufreq bugs, so document that. Signed-off-by: Rafael J. Wysocki --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) Index: linux-pm/MAINTAINERS

Re: [PATCH net-next] hv_netvsc: remove excessive logging on MTU change

2016-11-29 Thread David Miller
From: Vitaly Kuznetsov Date: Mon, 28 Nov 2016 18:25:44 +0100 > When we change MTU or the number of channels on a netvsc device we get the > following logged: > > hv_netvsc bf5edba8...: net device safe to remove > hv_netvsc: hv_netvsc channel opened successfully >

Re: [PATCH 1/2] bcache: Remove redundant set_capacity

2016-11-29 Thread wangyijing
在 2016/11/30 4:49, Eric Wheeler 写道: > On Fri, 25 Nov 2016, Yijing Wang wrote: > >> set_capacity() has been called in bcache_device_init(), >> remove the redundant one. >> >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/super.c | 3 --- >> 1 file changed, 3

[PATCH v3 2/5] KVM: nVMX: support restore of VMX capability MSRs

2016-11-29 Thread David Matlack
The VMX capability MSRs advertise the set of features the KVM virtual CPU can support. This set of features varies 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

Re: [PATCH] dmaengine: edma: re-initialize dummy slot during system resume

2016-11-29 Thread Vinod Koul
On Wed, Nov 23, 2016 at 02:57:55PM +0530, Vignesh R wrote: > The last param set in a transfer should always be pointing to dummy > param set in non-cyclic mode. When system wakes from low power state > EDMA PARAM slots may be reset to random values. Hence, re-initialize > dummy slot to dummy param

Re: [PATCH v3 0/2] dmaengine: core/omap-dma: Support for port window

2016-11-29 Thread Vinod Koul
On Tue, Nov 29, 2016 at 04:23:40PM +0200, Peter Ujfalusi wrote: > Hi, > > Changes since v2: > - the src/dst_port_window_size is in words, not in bytes (comment updated) > - correct the port_window based configuration in the omap-dma driver > > Changes since v1: > - Make sure that the one frame

Re: [PATCH] stmmac: fix comments, make debug output consistent

2016-11-29 Thread David Miller
From: Pavel Machek Date: Mon, 28 Nov 2016 12:55:59 +0100 > Fix comments, add some new, and make debugfs output consistent. > > Signed-off-by: Pavel Machek Applied to net-next, thanks.

Re: [PATCH net v2 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-29 Thread David Miller
From: Cyrille Pitchen Date: Mon, 28 Nov 2016 14:40:55 +0100 > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we

[PATCH 3/3] dev_pm_qos: Export dev_pm_qos_update_user_latency_tolerance

2016-11-29 Thread Andy Lutomirski
nvme wants a module parameter that overrides the default latency tolerance. This makes it easy for nvme to reflect that default in sysfs. Signed-off-by: Andy Lutomirski --- drivers/base/power/qos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/qos.c

[PATCH 2/3] dev_pm_qos: Fix writing 'auto' to pm_qos_latency_tolerance_us

2016-11-29 Thread Andy Lutomirski
If it was already 'auto', then writing 'auto' again would incorrectly fail. Signed-off-by: Andy Lutomirski --- drivers/base/power/qos.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index

[PATCH v3 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-11-29 Thread Joshua Clayton
cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. This is one of the simpler ways to set up an FPGA at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton

[PATCH v3 0/3] Altera Cyclone Passive Serial SPI FPGA Manager

2016-11-29 Thread Joshua Clayton
This series adds an FPGA manager for Altera cyclone FPGAs that can program them using an spi port and a couple of gpios, using Alteras passive serial protocol. Changes from v2: - Merged patch 3 and 4 as suggested in review by Moritz Fischer - Changed FPGA_MIN_DELAY from 250 to 50 ms is the time

[PATCH v3 1/3] lib: add bitrev8x4()

2016-11-29 Thread Joshua Clayton
Add a function to reverse bytes within a 32 bit word. This function is more efficient than using the 8 bit version when iterating over an array Signed-off-by: Joshua Clayton --- arch/arm/include/asm/bitrev.h | 5 + include/linux/bitrev.h| 26

[PATCH 1/3] dev_pm_qos: Improve sysfs pm_qos_latency_tolerance validation

2016-11-29 Thread Andy Lutomirski
Negative values are special. Don't let users write them directly. Signed-off-by: Andy Lutomirski --- drivers/base/power/sysfs.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c index

[PATCH 0/3] dev_pm_qos improvements

2016-11-29 Thread Andy Lutomirski
Hi Rafael- Here are three minor dev_pm_qos improvements that make my upcoming nvme power management code work much better. Any chance you could take them for 4.10? Thanks, Andy Andy Lutomirski (3): dev_pm_qos: Improve sysfs pm_qos_latency_tolerance validation dev_pm_qos: Fix writing 'auto'

[PATCH v3 2/3] doc: dt: add cyclone-spi binding document

2016-11-29 Thread Joshua Clayton
Describe a cyclonei-ps-spi devicetree entry, required features Signed-off-by: Joshua Clayton --- .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

Re: [PATCH] mmc: pwrseq: add support for Marvell SD8787 chip

2016-11-29 Thread Matt Ranostay
On Tue, Nov 29, 2016 at 9:13 AM, Javier Martinez Canillas wrote: > Hello Matt, > > On Thu, Nov 17, 2016 at 10:55 PM, Matt Ranostay > wrote: >> Allow power sequencing for the Marvell SD8787 Wifi/BT chip. >> This can be abstracted to other chipsets if

Re: next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-29 Thread Paul E. McKenney
On Tue, Nov 29, 2016 at 01:23:08PM -0800, Guenter Roeck wrote: > Hi Paul, > > most of my qemu tests for sparc32 targets started to fail in next-20161129. > The problem is only seen in SMP builds; non-SMP builds are fine. > Bisect points to commit 2d66cccd73436 ("mm: Prevent __

Re: linker-tables v5 testing

2016-11-29 Thread Luis R. Rodriguez
On Thu, Nov 24, 2016 at 08:18:40AM -0800, Guenter Roeck wrote: > Hi Luis, > > On 11/23/2016 08:11 PM, Luis R. Rodriguez wrote: > > Guenter, > > > > I think I'm ready to start pushing a new patch set out for review. > > Before I do that -- can I trouble you for letting your test > >

[PATCH 0/3] MAINTAINERS updates for cpufreq and cpuidle

2016-11-29 Thread Rafael J. Wysocki
Hi, A few MAINTAINERS updates: [1/3] Add a bug tracking system location entry for cpufreq. [2/3] Add a bug tracking system location entry for cpuidle and intel_idle. [3/3] Add a new maintainer of intel_idle. Thanks, Rafael

Re: [PATCH 1/2] Input: drv2665: Fix misuse of regmap_update_bits

2016-11-29 Thread Dmitry Torokhov
On Tue, Nov 29, 2016 at 05:59:13PM +0100, Florian Vaussard wrote: > Using regmap_update_bits(..., mask, 1) with 'mask' following (1 << k) > and k greater than 0 is wrong. Indeed, _regmap_update_bits will perform > (mask & 1), which results in 0 if LSB of mask is 0. Thus the call >

Re: [PATCH 2/2] Input: drv2667: Fix misuse of regmap_update_bits

2016-11-29 Thread Dmitry Torokhov
On Tue, Nov 29, 2016 at 05:59:14PM +0100, Florian Vaussard wrote: > Using regmap_update_bits(..., mask, 1) with 'mask' following (1 << k) > and k greater than 0 is wrong. Indeed, _regmap_update_bits will perform > (mask & 1), which results in 0 if LSB of mask is 0. Thus the call >

Re: [lkp] [mm] e7c1db75fe: BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c

2016-11-29 Thread Ye Xiaolong
On 11/29, Paul E. McKenney wrote: >On Tue, Nov 29, 2016 at 05:21:19PM +, Sudeep Holla wrote: >> On Sun, Nov 27, 2016 at 6:16 PM, kernel test robot >> wrote: >> > >> > FYI, we noticed the following commit: >> > >> > commit e7c1db75fed821a961ce1ca2b602b08e75de0cd8 ("mm:

Re: [PATCH] dt-bindings/gpio: Add Aspeed GPIO bindings header

2016-11-29 Thread Joel Stanley
Hi Rob, Can you take this one? Cheers, Joel On Mon, Oct 31, 2016 at 3:15 PM, Joel Stanley wrote: > This provides constants for using GPIOs in the device tree on Aspeed > SoCs. > > Signed-off-by: Joel Stanley > --- > The Apseed GPIO driver and binding document

[PATCH v8 0/4] Add Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v7: - Update MAINTAINERS changes since v6: - fix kbuild test fail - Add patch for MAINTAINERS changes since v5: - remove redundant name from struct

[PATCH v8 3/4] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1]

Re: linker-tables v5 testing

2016-11-29 Thread Nicholas Piggin
On Wed, 30 Nov 2016 02:33:49 +0100 "Luis R. Rodriguez" wrote: > On Thu, Nov 24, 2016 at 08:18:40AM -0800, Guenter Roeck wrote: > > Hi Luis, > > > > On 11/23/2016 08:11 PM, Luis R. Rodriguez wrote: > > > Guenter, > > > > > > I think I'm ready to start pushing a new patch

[PATCH v8 1/4] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-29 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Acked-by: Rob Herring --- .../bindings/media/mediatek-jpeg-decoder.txt | 37

[PATCH V3] leds: pca955x: Add ACPI support for pca955x

2016-11-29 Thread Tin Huynh
This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh --- drivers/leds/leds-pca955x.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) Change from V2: -Correct coding conventions. Change from V1: -Remove

[PATCH RESENT] platform: asus-nb-wmi: Make use of dmi->ident

2016-11-29 Thread Marcos Paulo de Souza
as other drives also do, like fujitsu, intel, hp and samsung. Signed-off-by: Marcos Paulo de Souza --- drivers/platform/x86/asus-nb-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c

Re: [PATCH] vfio/pci: Support error recovery

2016-11-29 Thread Michael S. Tsirkin
On Mon, Nov 28, 2016 at 05:32:15PM +0800, Cao jin wrote: > > > On 11/28/2016 11:00 AM, Michael S. Tsirkin wrote: > > On Sun, Nov 27, 2016 at 07:34:17PM +0800, Cao jin wrote: > > > It is user space driver's or device-specific driver's(in guest) > > > responsbility > > > to do a serious recovery

Re: [PATCH V7 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-11-29 Thread Hanjun Guo
On 2016/11/30 0:26, Rafael J. Wysocki wrote: > On Tue, Nov 29, 2016 at 4:20 PM, Agustin Vega-Frias > wrote: >> Hi Rafael, >> >> >> On 2016-11-29 07:43, Rafael J. Wysocki wrote: >>> On Tue, Nov 29, 2016 at 1:11 PM, Lorenzo Pieralisi >>> wrote:

[RESEND PATCH] pinctrl: mt8173: set GPIO16 to usb iddig mode

2016-11-29 Thread Chunfeng Yun
the default mode of GPIO16 pin is gpio, when set EINT16 to IRQ_TYPE_LEVEL_HIGH, no interrupt is triggered, it can be fixed when set its default mode as usb iddig. Signed-off-by: Chunfeng Yun --- drivers/pinctrl/mediatek/pinctrl-mtk-mt8173.h |2 +- 1 file changed,

[PATCH V1] rtc: ds1307: Add ACPI support

2016-11-29 Thread Tin Huynh
This patch enables ACPI support for rtc-ds1307 driver. Signed-off-by: Tin Huynh --- drivers/rtc/rtc-ds1307.c | 51 ++--- 1 files changed, 43 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c

[PATCH v4 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread ASIX_Allan [Office]
The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert Foss

[PATCH v2 1/2] regulator: core: Correct type of mode in regulator_mode_constrain

2016-11-29 Thread Charles Keepax
Every function handling the mode within the regulator core uses an unsigned int for mode, except for regulator_mode_constrain. This patch changes the type of mode within regulator_mode_constrain which fixes several instances where we are passing pointers to unsigned ints then treating them as an

Re: [PATCH V5] i2c: mux: pca954x: Add ACPI support for pca954x

2016-11-29 Thread Peter Rosin
On 2016-11-29 11:12, Tin Huynh wrote: > This patch enables ACPI support for mux-pca954x driver. Looks good, thanks! > Signed-off-by: Tin Huynh Acked-by: Peter Rosin Cheers, Peter

[PATCH v2 2/2] regulator: core: Allow enable GPIO to be specified using GPIOD

2016-11-29 Thread Charles Keepax
The regulator subsystem has used GPIOs internally for a while, however, end drivers must still specify their enable GPIO using a GPIO number. This patch allows the end drivers to specify the enable GPIO using GPIOD directly. Signed-off-by: Charles Keepax ---

Re: [PATCH v2] platform/chrome: Use proper protocol transfer function

2016-11-29 Thread Javier Martinez Canillas
Hello Brian, On 11/28/2016 07:19 PM, Brian Norris wrote: > From: Shawn Nematbakhsh > > pkt_xfer should be used for protocol v3, and cmd_xfer otherwise. We had > one instance of these functions correct, but not the second, fall-back > case. We use the fall-back only when the

Re: [Xen-devel] [PATCH] xen/scsifront: don't advance ring request pointer in case of error

2016-11-29 Thread Juergen Gross
On 29/11/16 12:40, Jan Beulich wrote: On 29.11.16 at 12:19, wrote: >> On 29/11/16 12:14, Jan Beulich wrote: >> On 29.11.16 at 11:50, wrote: --- a/drivers/scsi/xen-scsifront.c +++ b/drivers/scsi/xen-scsifront.c @@ -184,8 +184,6 @@ static

[PATCH 1/1] usb: return error code when platform_get_irq fails

2016-11-29 Thread Pan Bian
In function xhci_mtk_probe(), variable ret takes the return value. Its value should be negative on failures. However, when the call to function platform_get_irq() fails, it does not set the error code, and 0 will be returned. 0 indicates no error. As a result, the callers of function

Re: [PATCHv12 2/3] usb: USB Type-C connector class

2016-11-29 Thread Heikki Krogerus
Hi Guenter, On Mon, Nov 28, 2016 at 12:11:43PM -0800, Guenter Roeck wrote: > Personally I don't really care about a module parameter; as mentioned above, > I would expect the preference, if it needs to be selectable, to be configured > with devicetree or ACPI properties (or by a platform driver

[PATCH 1/1] usb: abort on exception path

2016-11-29 Thread Pan Bian
Function klsi_105_open() calls usb_control_msg() and checks its return value. When the return value is unexpected, it only assigns the error code to the return variable retval, but does not terminate the exception path. This patch fixes the bug by inserting "goto exit;" when the call to

[PATCH v4 04/11] irqchip: gicv3-its: platform-msi: refactor its_pmsi_prepare()

2016-11-29 Thread Hanjun Guo
From: Hanjun Guo Adding ACPI support for platform MSI, we need to retrieve the dev id in ACPI way instead of device tree, we already have a well formed function its_pmsi_prepare() to get the dev id but it's OF dependent, so collect OF related code and put them into a

Re: RFC: documentation of the autogroup feature [v2]

2016-11-29 Thread Michael Kerrisk (man-pages)
Hi Peter, On 29 November 2016 at 12:46, Peter Zijlstra wrote: > On Tue, Nov 29, 2016 at 08:43:33AM +0100, Michael Kerrisk (man-pages) wrote: >> > >> > In any case, for the case of autogroup, the behaviour has always been, >> > autogroups came quite late. >> >> This ("the

Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change

2016-11-29 Thread Thomas Gleixner
On Tue, 29 Nov 2016, Alexander Kochetkov wrote: > After a cpufreq transition, update the clockevent's frequency > by fetching the new clock rate from the clock framework and > reprogram the next clock event. The frequency change would not only affect the clockevent device, it also would affect

[PATCH v3 00/13] Implement clocksource for rockchip SoC using rockchip timer

2016-11-29 Thread Alexander Kochetkov
Hello, This patch series contain: - devicetree bindings clarification for rockchip timers - dts files fixes for rk3228-evb, rk3229-evb and rk3188 - implementation of clocksource for rockchip SoC The clock supplying the arm-global-timer on the rk3188 is coming from the the cpu clock itself and

<    1   2   3   4   5   6   7   8   9   10   >