Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9

2017-04-13 Thread Michael Neuling
On Wed, 2017-04-12 at 17:16 +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > This patch ensures that POWER8 and POWER9 processors use the correct > value of IDLE_THREAD_BITS as POWER8 has 8 threads per core and hence > the IDLE_THREAD_BITS should be 0xFF

Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS

2017-04-13 Thread Bhupesh Sharma
Hi Aneesh, On Thu, Apr 13, 2017 at 12:06 PM, Aneesh Kumar K.V wrote: > Bhupesh Sharma writes: > >> powerpc arch_mmap_rnd() currently uses hard-coded values - (23-PAGE_SHIFT) >> for >> 32-bit and (30-PAGE_SHIFT) for 64-bit, to generate the

Re: [PATCH] ALSA: line6: constify snd_kcontrol_new structures

2017-04-13 Thread Bhumika Goyal
On Wed, Apr 12, 2017 at 7:15 PM, Takashi Sakamoto wrote: > Hi, > > > On Apr 12 2017 22:10, Bhumika Goyal wrote: >> >> Declare snd_kcontrol_new strcutures as const as they are only passed as >> an argument to the function snd_ctl_new1. This argument is of type const, >> so

[tip:efi/urgent] x86/efi: Don't try to reserve runtime regions

2017-04-13 Thread tip-bot for Omar Sandoval
Commit-ID: 6f6266a561306e206e0e31a5038f029b6a7b1d89 Gitweb: http://git.kernel.org/tip/6f6266a561306e206e0e31a5038f029b6a7b1d89 Author: Omar Sandoval AuthorDate: Wed, 12 Apr 2017 16:27:19 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Apr 2017

[PATCH] perf trace: Add usage of --no-syscalls in man page

2017-04-13 Thread Ravi Bangoria
perf trace supports --no-syscalls option but it's not listed in the man page. (Though, I see an example using --no-syscalls in EXAMPLES section.) Signed-off-by: Ravi Bangoria --- tools/perf/Documentation/perf-trace.txt | 3 ++- 1 file changed, 2 insertions(+),

Re: [PATCH] mm,hugetlb: compute page_size_log properly

2017-04-13 Thread Aneesh Kumar K.V
Matthew Wilcox writes: > On Tue, Mar 28, 2017 at 09:55:13AM -0700, Davidlohr Bueso wrote: >> Do we have any consensus here? Keeping SHM_HUGE_* is currently >> winning 2-1. If there are in fact users out there computing the >> value manually, then I am ok with keeping it and

Re: [PATCH V4 2/9] PM / Domains: Use OPP tables for power-domains

2017-04-13 Thread Viresh Kumar
On 12-04-17, 17:58, Sudeep Holla wrote: > > > On 20/03/17 09:32, Viresh Kumar wrote: > > The OPP table bindings contains all the necessary fields to support > > power-domains now. Update the power-domain bindings to allow > > "operating-points-v2" to be present within the power-domain node. > >

Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020

2017-04-13 Thread Martin Kepplinger
On 2017-04-12 17:40, Dmitry Torokhov wrote: > Hi Martin, > > On Tue, Apr 11, 2017 at 12:27:57PM +0200, Martin Kepplinger wrote: >> ar1021_i2c simply also supports the ar1020 device we use. This is tested. >> They also share the same datasheet: >> >>

Re: [REGRESSION next-20170410] Commit a6ff6cbf1fab ("usb: xhci: Add helper function xhci_set_power_on().") breaks armada-385

2017-04-13 Thread Mathias Nyman
On 12.04.2017 10:47, Ralph Sennhauser wrote: Hi Guoqing Zhang, Commit a6ff6cbf1fabe7500d8ac25e133e3346db0a0fca ("usb: xhci: Add helper function xhci_set_power_on().") causes a null pointer dereference on an armada-385. Below the kernel as well as the bisect log. Seems Guoqing Zhang is not

Re: [PATCH v2] mac80211: Fix clang warning about constant operand in logical operation

2017-04-13 Thread Johannes Berg
On Thu, 2017-04-06 at 16:31 -0700, Matthias Kaehlcke wrote: > When clang detects a non-boolean constant in a logical operation it > generates a 'constant-logical-operand' warning. In > ieee80211_try_rate_control_ops_get() the result of strlen( str>) > is used in a logical operation, clang resolves

Re: [PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting

2017-04-13 Thread Carlo Caione
On Sun, Apr 9, 2017 at 3:56 PM, Carlo Caione wrote: > From: Carlo Caione > > Several HP laptops cannot be put to sleep using the LID since systemd > complains > that the system is docked even though the laptop is not even dockable (see > [1]). > > This is

Re: [PATCH 3/3] powernv:idle: Set LPCR_UPRT on wakeup from deep-stop

2017-04-13 Thread Michael Neuling
On Thu, 2017-04-13 at 14:12 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2017-04-13 at 09:28 +0530, Aneesh Kumar K.V wrote: > > >   #endif > > >    mtctr   r12 > > >    bctrl > > > +/* > > > + * cur_cpu_spec->cpu_restore would restore LPCR to a > > > + * sane value that is set at early

Re: [PATCH v3] powerpc: mm: support ARCH_MMAP_RND_BITS

2017-04-13 Thread Aneesh Kumar K.V
Bhupesh Sharma writes: > powerpc arch_mmap_rnd() currently uses hard-coded values - (23-PAGE_SHIFT) for > 32-bit and (30-PAGE_SHIFT) for 64-bit, to generate the random offset > for the mmap base address for a ASLR ELF. > > This patch makes sure that powerpc mmap

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

2017-04-13 Thread Vlastimil Babka
On 04/13/2017 07:42 AM, Anshuman Khandual wrote: > On 04/11/2017 07:36 PM, Vlastimil Babka wrote: >> Commit e47483bca2cc ("mm, page_alloc: fix premature OOM when racing with >> cpuset >> mems update") has fixed known recent regressions found by LTP's cpuset01 >> testcase. I have however found

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

2017-04-13 Thread Vlastimil Babka
On 04/13/2017 08:06 AM, Vlastimil Babka wrote: >> Did you really mean node_zonelist() in both the instances above. Because >> that function just picks up either FALLBACK_ZONELIST or NOFALLBACK_ZONELIST >> depending upon the passed GFP flags in the allocation request and does not >> deal with

[PATCH] dma-debug: Make locking to work for RT

2017-04-13 Thread Pankaj Gupta
Interrupt enable/disabled with spinlock is not a valid implementation for RT as it can make executing task to sleep from a non-sleepable context. So, converting it to spin_lock_irq[save, restore]. Signed-off-by: Pankaj Gupta --- lib/dma-debug.c | 8 ++-- 1 file

''Goodness''

2017-04-13 Thread Dr. Sheikha
Dear Beneficiary, This is to inform you that you are among the lucky beneficiary selected to receive a donation award sum of Eur1,950,000 each as charity donations/aid from the Qatar Foundation to promote your business and personal Interest. For collection of fund, Kindly get back to us for

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

2017-04-13 Thread Vlastimil Babka
On 04/12/2017 11:25 PM, Christoph Lameter wrote: > On Tue, 11 Apr 2017, Vlastimil Babka wrote: > >>> The fallback was only intended for a cpuset on which boundaries are not >>> enforced >>> in critical conditions (softwall). A hardwall cpuset (CS_MEM_HARDWALL) >>> should fail the allocation. >>

Re: [PATCH 0/6] fujitsu-laptop: LED cleanup

2017-04-13 Thread Jonathan Woithe
On Fri, Apr 07, 2017 at 03:07:07PM +0200, Micha?? K??pie?? wrote: > This patch series cleans up parts of fujitsu-laptop responsible for > handling LED class devices. It was tested on a Lifebook E744. It > depends on the previous patch series I submitted for fujitsu-laptop and > should be applied

Re: [PATCH] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-04-13 Thread 李務誠
Reviewed-by: Wu-Cheng Li On Thu, Apr 13, 2017 at 12:18 PM, Minghsiu Tsai wrote: > From: Daniel Kurtz > > Experiments show that the: > (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPUT > (2) CAPTURE types use CROP

RE: RFC: WMI Enhancements

2017-04-13 Thread Mario.Limonciello
> -Original Message- > From: Andy Lutomirski [mailto:l...@kernel.org] > Sent: Thursday, April 13, 2017 12:44 PM > To: Limonciello, Mario > Cc: Darren Hart ; Andrew Lutomirski ; > Michał Kępień ; Rafael

Re: [PATCH v2 5/5] drm/vc4: Expose dma-buf fences for V3D rendering.

2017-04-13 Thread Eric Anholt
Daniel Vetter writes: > On Wed, Apr 12, 2017 at 12:12:02PM -0700, Eric Anholt wrote: >> This is needed for proper synchronization with display on another DRM >> device (pl111 or tinydrm) with buffers produced by vc4 V3D. Fixes the >> new igt vc4_dmabuf_poll testcase, and

Re: [PATCH v5] Allow user probes on versioned symbols.

2017-04-13 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 13, 2017 at 10:40:50AM -0500, Paul Clarke escreveu: > On 04/12/2017 09:20 PM, Masami Hiramatsu wrote: > > On Wed, 12 Apr 2017 09:41:51 -0500 > > Paul Clarke wrote: > > > static struct symbol *symbols__find_by_name(struct rb_root *symbols, > > > -

Re: [PATCH 3/3] arm64/locking: qspinlocks and qrwlocks support

2017-04-13 Thread Peter Zijlstra
On Tue, Apr 11, 2017 at 01:35:04AM +0400, Yury Norov wrote: > +++ b/arch/arm64/include/asm/qspinlock.h > @@ -0,0 +1,20 @@ > +#ifndef _ASM_ARM64_QSPINLOCK_H > +#define _ASM_ARM64_QSPINLOCK_H > + > +#include > + > +#define queued_spin_unlock queued_spin_unlock > +/** > + * queued_spin_unlock

[PATCH v2 15/22] arm64: dts: ls1043a: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v2 19/22] powerpc/512x: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: [PATCH v2] net: phy: micrel: fix crash when statistic requested for KSZ9031 phy

2017-04-13 Thread Andrew Lunn
On Wed, Apr 12, 2017 at 05:55:10PM -0500, Grygorii Strashko wrote: > Now the command: > ethtool --phy-statistics eth0 > will cause system crash with meassage "Unable to handle kernel NULL pointer > dereference at virtual address 0010" from: > > (kszphy_get_stats) from []

[PATCH 6/7] perf util: Hint missing file when tool tips fail to load

2017-04-13 Thread Arnaldo Carvalho de Melo
From: David Carrillo-Cisneros Besides memory allocation failure, tips.txt may fail to load because the file is not found (a more likely cause). Communicate that to the user in tips failure warning. Signed-off-by: David Carrillo-Cisneros Acked-by: Jiri

[PATCH 3/7] perf trace: Add usage of --no-syscalls in man page

2017-04-13 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria perf trace supports --no-syscalls option but it's not listed in the man page. (Though, I see an example using --no-syscalls in EXAMPLES section.) Committer note: The --no-syscalls option tells 'perf trace' not to automagically ask for

[PATCH 4/7] perf tools: Disable JVMTI if no ELF support available

2017-04-13 Thread Arnaldo Carvalho de Melo
From: David Carrillo-Cisneros The build of JVMTI depends on LIBELF (-lelf). Make Makefile.conf check this dependendancy and notify user when not present. v2: Comma nitpicking. Signed-off-by: David Carrillo-Cisneros Tested-by: Kim Phillips

Re: [PATCH tip/core/rcu 04/13] rcu: Make RCU_FANOUT_LEAF help text more explicit about skew_tick

2017-04-13 Thread Paul E. McKenney
On Thu, Apr 13, 2017 at 08:29:39PM +0200, Peter Zijlstra wrote: > On Thu, Apr 13, 2017 at 10:31:00AM -0700, Paul E. McKenney wrote: > > On Thu, Apr 13, 2017 at 07:04:34PM +0200, Peter Zijlstra wrote: > > > > And I have vague memories of it actually causing lock contention, but > > > I've

MMC block addressing mode.

2017-04-13 Thread Steven J. Hill
Uffe, The Cavium hardware requires knowledge of the card addressing mode. We need to either restore mmc_card_blockaddr(), or create another way to generate the same information. You previously suggested use of the 'blksz' value, however, it has the same value regardless of the card capacity. What

Re: [PATCH v2 1/4] gpio: aspeed: dt: Fix description alignment in bindings document

2017-04-13 Thread Rob Herring
On Fri, Apr 07, 2017 at 10:28:59PM +0930, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > --- > Documentation/devicetree/bindings/gpio/gpio-aspeed.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Rob Herring

Re: [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON

2017-04-13 Thread Rob Herring
On Fri, Apr 07, 2017 at 03:00:09PM -0700, Moritz Fischer wrote: > From: Moritz Fischer > > Add bindings for the Chromium EC HWMON. The Chromium EC HWMON > allows monitoring of temperature sensors and fans attached to the > EC. > > Signed-off-by: Moritz Fischer

Re: [PATCH v4 08/10] dt-bindings: mediatek: add MT6797 power dt-bindings

2017-04-13 Thread Rob Herring
On Sat, Apr 08, 2017 at 09:20:33AM +0800, Mars Cheng wrote: > This adds power dt-bindings for MT6797 > > Signed-off-by: Mars Cheng > Signed-off-by: Kevin-CW Chen > --- > .../devicetree/bindings/soc/mediatek/scpsys.txt|6 +- > 1

Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC

2017-04-13 Thread Tyler Baker
quot; >> "soc: imx: Add GPCv2 power gating driver" >> >> I've pulled these patches from Shawn's tree to test with, but still >> not able to get anything functional. Is there another series I should >> be looking at? > > Yes, these are the ones I was thinking

Re: [PATCH v5] dt-bindings: fpga: Add bindings document for Xilinx LogiCore PR Decoupler

2017-04-13 Thread Alan Tull
On Thu, Apr 13, 2017 at 3:07 PM, Rob Herring wrote: > On Sun, Apr 09, 2017 at 10:10:31AM -0700, Moritz Fischer wrote: >> This adds the binding documentation for the Xilinx LogiCORE PR >> Decoupler soft core. >> >> Signed-off-by: Moritz Fischer >> Signed-off-by:

Re: [PATCH v9 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2017-04-13 Thread Matthew Wilcox
On Thu, Apr 13, 2017 at 05:35:03PM +0800, Wei Wang wrote: > 2) transfer the guest unused pages to the host so that they > can be skipped to migrate in live migration. I don't understand this second bit. You leave the pages on the free list, and tell the host they're free. What's preventing

[PATCH 1/2] xen/arm,arm64: fix xen_dma_ops after 815dd18 "Consolidate get_dma_ops..."

2017-04-13 Thread Stefano Stabellini
The following commit: commit 815dd18788fe0d41899f51b91d0560279cf16b0d Author: Bart Van Assche Date: Fri Jan 20 13:04:04 2017 -0800 treewide: Consolidate get_dma_ops() implementations rearranges get_dma_ops in a way that xen_dma_ops are not returned

[PATCH 2/2] xen/arm,arm64: rename __generic_dma_ops to xen_get_dma_ops

2017-04-13 Thread Stefano Stabellini
Now that __generic_dma_ops is a xen specific function, rename it to xen_get_dma_ops. Change all the call sites appropriately. Signed-off-by: Stefano Stabellini CC: li...@armlinux.org.uk CC: catalin.mari...@arm.com CC: will.dea...@arm.com CC: boris.ostrov...@oracle.com CC:

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Guenter Roeck
On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: > From: Moritz Fischer > > The ChromeOS EC has mapped memory regions where things like temperature > sensors and fan speed are stored. Provide access to those from the > cros-ec mfd device. > Turns out struct

Re: [PATCH v5] dt-bindings: fpga: Add bindings document for Xilinx LogiCore PR Decoupler

2017-04-13 Thread Rob Herring
On Thu, Apr 13, 2017 at 3:25 PM, Alan Tull wrote: > On Thu, Apr 13, 2017 at 3:07 PM, Rob Herring wrote: >> On Sun, Apr 09, 2017 at 10:10:31AM -0700, Moritz Fischer wrote: >>> This adds the binding documentation for the Xilinx LogiCORE PR >>> Decoupler soft

RE: RFC: WMI Enhancements

2017-04-13 Thread Mario.Limonciello
> -Original Message- > From: Andy Lutomirski [mailto:l...@kernel.org] > Sent: Thursday, April 13, 2017 12:33 PM > To: Darren Hart > Cc: Limonciello, Mario ; Andrew Lutomirski > ; Michał Kępień ; Rafael

Re: RFC: WMI Enhancements

2017-04-13 Thread Andy Lutomirski
On Thu, Apr 13, 2017 at 10:39 AM, wrote: >> -Original Message- >> From: Darren Hart [mailto:dvh...@infradead.org] >> Sent: Thursday, April 13, 2017 12:06 PM >> To: Limonciello, Mario >> Cc: l...@kernel.org; ker...@kempniu.pl;

Re: [PATCH tip/core/rcu 07/13] rcu: Add smp_mb__after_atomic() to sync_exp_work_done()

2017-04-13 Thread Peter Zijlstra
On Thu, Apr 13, 2017 at 10:39:51AM -0700, Paul E. McKenney wrote: > Well, if there are no objections, I will fix up the smp_mb__before_atomic() > and smp_mb__after_atomic() pieces. Feel free. > I suppose that one alternative is the new variant of kerneldoc, though > very few of these functions

[PATCH 1/2] regulator: core: Only propagate voltage changes to if it can change voltages

2017-04-13 Thread Mark Brown
When we are propagating voltage changes to parent regulators don't bother if the parent does not have permission to change voltages. This simplifies error checking in the function for cases where the regulator lacks some of the voltage operations. Reported-by: Dong Aisheng

[PATCH v2 13/22] ARM: dts: uniphier: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: 4.11-rc*: PCI IRQ allocation broken

2017-04-13 Thread Bjorn Helgaas
On Thu, Apr 13, 2017 at 2:03 PM, Meelis Roos wrote: >> > This happens on my HP Compaq 8100 Elite SFF PC. While 4.10 works fine, >> > 4.11.-rc5 and at least back to 4.10.0-10770-g2d6be4abf514 fail to assign >> > PCI IRQ to multiple devices (no GSI messages in the dmesg). This

Re: [PATCH v2 1/4] pinctrl: aspeed: Document pinconf in devicetree bindings

2017-04-13 Thread Rob Herring
On Fri, Apr 07, 2017 at 10:27:10PM +0930, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > --- > .../devicetree/bindings/pinctrl/pinctrl-aspeed.txt | 40 > +- > 1 file changed, 31 insertions(+), 9 deletions(-) Acked-by: Rob Herring

Re: [PATCH v5] dt-bindings: fpga: Add bindings document for Xilinx LogiCore PR Decoupler

2017-04-13 Thread Rob Herring
On Sun, Apr 09, 2017 at 10:10:31AM -0700, Moritz Fischer wrote: > This adds the binding documentation for the Xilinx LogiCORE PR > Decoupler soft core. > > Signed-off-by: Moritz Fischer > Signed-off-by: Michal Simek > Acked-by: Alan Tull

RE: RFC: WMI Enhancements

2017-04-13 Thread Mario.Limonciello
Earlier question from Andy. I had some discussion with the right people about this. > Is it just the "call SMBIOS" GUID or are there other things? Today - it's just the SMBIOS calling GUID. There are plans (not yet concrete) for splitting up data access and organization of that data access

Re: [PATCH tip/core/rcu 07/13] rcu: Add smp_mb__after_atomic() to sync_exp_work_done()

2017-04-13 Thread Peter Zijlstra
On Thu, Apr 13, 2017 at 07:51:36PM +0200, Peter Zijlstra wrote: > > I suppose that one alternative is the new variant of kerneldoc, though > > very few of these functions have comment headers, let alone kerneldoc > > headers. Which reminds me, the question of spin_unlock_wait() and > >

Re: "Consolidate get_dma_ops" breaks Xen on ARM

2017-04-13 Thread Stefano Stabellini
On Thu, 13 Apr 2017, Julien Grall wrote: > Hi Stefano, > > Sorry for the late answer. > > On 12/04/17 00:39, Stefano Stabellini wrote: > > On Tue, 11 Apr 2017, Catalin Marinas wrote: > > > On Tue, Apr 11, 2017 at 01:43:28PM +0100, Julien Grall wrote: > > > > On 11/04/17 02:14, Bart Van Assche

Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null?

2017-04-13 Thread Greg Kroah-Hartman
On Thu, Apr 13, 2017 at 11:42:00AM +0200, Samuel Thibault wrote: > Hello, > > More than one year passed without any activity :) > > I have attached a proposed patch for discussion. As a rule, I don't apply RFC patches, as obviously the submitter doesn't think it is worthy of being applied :)

Re: net/ipv4: use-after-free in ip_queue_xmit

2017-04-13 Thread Andrey Konovalov
On Mon, Apr 10, 2017 at 7:46 PM, Andrey Konovalov wrote: > On Mon, Apr 10, 2017 at 7:42 PM, Cong Wang wrote: >> On Mon, Apr 10, 2017 at 7:40 AM, Andrey Konovalov >> wrote: >>> Hi, >>> >>> I've got the following error

Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC

2017-04-13 Thread Tyler Baker
On 13 April 2017 at 12:18, Fabio Estevam wrote: > On Thu, Apr 13, 2017 at 4:03 PM, Tyler Baker wrote: > >> I've been testing your GPC/PCIe patch sets against v4.11-rc5 on my >> imx7d-cl-som-imx7, but hit a bit of a wall. When gpc is set as the >>

Re: [PATCH] lib/crc-ccitt: add CCITT-FALSE CRC16 variant

2017-04-13 Thread Andrew Morton
On Thu, 13 Apr 2017 07:29:32 -0700 Andrey Smirnov wrote: > From: Andrey Vostrikov > > Cc: cphe...@gmail.com > Cc: Andrew Morton > Signed-off-by: Andrey Vostrikov >

Re: net/ipv4: use-after-free in ip_queue_xmit

2017-04-13 Thread Cong Wang
On Thu, Apr 13, 2017 at 11:49 AM, Andrey Konovalov wrote: > On Mon, Apr 10, 2017 at 7:46 PM, Andrey Konovalov > wrote: >> On Mon, Apr 10, 2017 at 7:42 PM, Cong Wang wrote: >>> On Mon, Apr 10, 2017 at 7:40 AM, Andrey

Re: [PATCH v4 1/2] ASoC: stm32: add bindings for SAI

2017-04-13 Thread Rob Herring
On Tue, Apr 11, 2017 at 05:47:25PM +0200, olivier moysan wrote: > This patch adds documentation of device tree bindings for the > STM32 SAI ASoC driver. > > Signed-off-by: olivier moysan > --- > .../devicetree/bindings/sound/st,stm32-sai.txt | 89 >

Re: [RFC 4/8] regulator: core: Check enabling bypass respects constraints

2017-04-13 Thread Leonard Crestez
On Fri, 2017-04-07 at 12:22 +0100, Mark Brown wrote: > On Fri, Apr 07, 2017 at 01:51:52PM +0300, Leonard Crestez wrote: > > It currently seems to work how I expect but from your statement it's > > not clear if it's entirely intentional. > The current behaviour of bypassed regulators is

Re: [PATCH v2 05/22] ARM: dts: at91: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
Hello Peter, On 04/13/2017 05:43 PM, Peter Rosin wrote: > On 2017-04-13 20:28, Javier Martinez Canillas wrote: [snip] >> >> eeprom@50 { >> -compatible = "nxp,24c02"; >> +compatible = "nxp,24c02","atmel,24c02"; >> reg = <0x50>; >> pagesize

Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory

2017-04-13 Thread Logan Gunthorpe
On 12/04/17 03:55 PM, Benjamin Herrenschmidt wrote: > Look at pcibios_resource_to_bus() and pcibios_bus_to_resource(). They > will perform the conversion between the struct resource content (CPU > physical address) and the actual PCI bus side address. Ah, thanks for the tip! On my system, this

Re: [PATCH tip/core/rcu 01/13] mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU

2017-04-13 Thread Eric Dumazet
On Thu, Apr 13, 2017 at 9:17 AM, Peter Zijlstra wrote: > git log -S SLAB_DESTROY_BY_RCU Maybe, but "git log -S" is damn slow at least here. While "git grep" is _very_ fast

Re: [PATCH tip/core/rcu 07/13] rcu: Add smp_mb__after_atomic() to sync_exp_work_done()

2017-04-13 Thread Paul E. McKenney
On Thu, Apr 13, 2017 at 07:10:27PM +0200, Peter Zijlstra wrote: > On Thu, Apr 13, 2017 at 09:57:55AM -0700, Paul E. McKenney wrote: > > On Thu, Apr 13, 2017 at 06:24:09PM +0200, Peter Zijlstra wrote: > > > On Thu, Apr 13, 2017 at 09:10:42AM -0700, Paul E. McKenney wrote: > > > > On Thu, Apr 13,

RE: RFC: WMI Enhancements

2017-04-13 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Thursday, April 13, 2017 12:06 PM > To: Limonciello, Mario > Cc: l...@kernel.org; ker...@kempniu.pl; r...@rjwysocki.net; > len.br...@intel.com; pali.ro...@gmail.com;

Re: [PATCH v2 net-next] net: dwc-xlgmac: add the initial ethtool support

2017-04-13 Thread David Miller
From: Jie Deng Date: Wed, 12 Apr 2017 13:10:06 +0800 > It is necessary to provide ethtool support for displaying and > modifying parameters of dwc-xlgmac. > > Signed-off-by: Jie Deng > --- > v1->v2: > - remove begin() method which is

Re: [PATCH V8 2/5] PCI/ASPM: split pci_aspm_init() into two

2017-04-13 Thread Bjorn Helgaas
On Wed, Apr 12, 2017 at 2:16 PM, Rajat Jain wrote: > On Fri, Apr 7, 2017 at 9:55 PM, Sinan Kaya wrote: >> Split pci_aspm_init() body into pci_aspm_init_upstream() >> and pci_aspm_init_downstream() for bridge and endpoint >> specific code behavior. >> >>

[PATCH v2] crypto: chcr - Fix error handling related to 'chcr_alloc_shash'

2017-04-13 Thread Christophe JAILLET
Up to now, 'crypto_alloc_shash()' may return a valid pointer, an error pointer or NULL (in case of invalid parameter) Update it to always return an error pointer in case of error. It now returns ERR_PTR(-EINVAL) instead of NULL in case of invalid parameter. This simplifies error handling. Also

Re: [GIT PULL] TTY/Serial driver fixes for 4.11-rc4

2017-04-13 Thread Greg KH
On Thu, Apr 13, 2017 at 09:07:40AM -0700, Linus Torvalds wrote: > On Thu, Apr 13, 2017 at 3:50 AM, Vegard Nossum > wrote: > > > > I've bisected a syzkaller crash down to this commit > > (5362544bebe85071188dd9e479b5a5040841c895). The crash is: > > > > [ 25.137552] BUG:

[PATCH v2 22/22] powerpc/44x: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: [PATCH] Save current timestamp while moving oops message to nvram

2017-04-13 Thread Kees Cook
On Wed, Apr 12, 2017 at 7:32 AM, Ankit Kumar wrote: > Currently on panic or Oops, kernel saves the last few bytes from dmesg > buffer to nvram. Usually kdump does capture kernel memory and provide > dmesg logs as well. But in some cases where kdump fails to capture >

Mac80211 - 802.11s

2017-04-13 Thread prabhu
How to get the vif of mesh stations and does the vif have separate queue structure apart from PHY queues ? I want to get the queue statistics for every mesh station that are associated.

Re: [PATCH] iommu/dma: Setup iova_domain granule for IOMMU_DMA_MSI cookies

2017-04-13 Thread Nate Watterson
Hi Robin, On 4/13/2017 7:21 AM, Robin Murphy wrote: Hi Nate, On 13/04/17 09:55, Nate Watterson wrote: Currently, the __iommu_dma_{map/free} functions call iova_{offset/align} making them unsuitable for use with iommu_domains having an IOMMU_DMA_MSI cookie since the cookie's iova_domain

Re: [PATCH RFC 0/5] *** SPI Slave mode support ***

2017-04-13 Thread Geert Uytterhoeven
On Thu, Apr 13, 2017 at 2:59 PM, Mark Brown wrote: > On Thu, Apr 13, 2017 at 05:13:59AM -0700, jiada_w...@mentor.com wrote: >> From: Jiada Wang >> >> v1: >> add Slave mode support in SPI core >> spidev create slave device when SPI controller work in

Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC

2017-04-13 Thread Fabio Estevam
On Thu, Apr 13, 2017 at 4:24 PM, Tyler Baker wrote: > Are you referring to the following patches? > > "dt-bindings: Add GPCv2 power gating driver" > "soc: imx: Add GPCv2 power gating driver" > > I've pulled these patches from Shawn's tree to test with, but still > not

Re: [RFC PATCH 1/3] clk: add clk_bulk_get accessories

2017-04-13 Thread Geert Uytterhoeven
On Wed, Apr 12, 2017 at 6:03 AM, Dong Aisheng wrote: > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -520,6 +520,23 @@ void clk_unprepare(struct clk *clk) > } > EXPORT_SYMBOL_GPL(clk_unprepare); > > +/** > + * clk_bulk_unprepare - undo preparation of a bulk of

Re: [PATCH] lib/crc-ccitt: add CCITT-FALSE CRC16 variant

2017-04-13 Thread Chris Healy
On Thu, Apr 13, 2017 at 7:29 AM, Andrey Smirnov wrote: > From: Andrey Vostrikov > > Cc: cphe...@gmail.com > Cc: Andrew Morton > Signed-off-by: Andrey Vostrikov >

Re: [PATCH v2 05/22] ARM: dts: at91: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Peter Rosin
On 2017-04-13 20:28, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. > > But when matching

Re: [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON

2017-04-13 Thread Guenter Roeck
On Thu, Apr 13, 2017 at 03:01:40PM -0500, Rob Herring wrote: > On Fri, Apr 07, 2017 at 03:00:09PM -0700, Moritz Fischer wrote: > > From: Moritz Fischer > > > > Add bindings for the Chromium EC HWMON. The Chromium EC HWMON > > allows monitoring of temperature sensors and fans

Re: [RFC 2/3] sched/topology: fix sched groups on NUMA machines with mesh topology

2017-04-13 Thread Lauro Venancio
On 04/13/2017 05:21 PM, Lauro Venancio wrote: > On 04/13/2017 12:48 PM, Peter Zijlstra wrote: >> On Thu, Apr 13, 2017 at 10:56:08AM -0300, Lauro Ramos Venancio wrote: >>> Currently, on a 4 nodes NUMA machine with ring topology, two sched >>> groups are generated for the last NUMA sched domain. One

Re: [patch 02/13] workqueue: Provide work_on_cpu_safe()

2017-04-13 Thread Thomas Gleixner
On Thu, 13 Apr 2017, Dou Liyang wrote: > At 04/13/2017 04:07 AM, Thomas Gleixner wrote: > > + > > +/** > > There is an extra '*' :) On purpose. It's the begin of a kernel-doc format comment for interface documentation. Thanks, tglx

Re: [PATCH 0/3] selftests: config fragments update

2017-04-13 Thread Shuah Khan
On 03/20/2017 04:18 AM, Fathi Boudra wrote: > kselftest-merge target allows to enable the dependencies of kernel config > for kselftest testcases. Add config dependencies to run ftrace, lib and vm > tests. > > Fathi Boudra (3): > selftests: lib: add config fragment for bitmap, printf and prime

[PATCH] xen/9pfs: initialize len to 0 to detect xenbus_read errors

2017-04-13 Thread Stefano Stabellini
In order to use "len" to check for xenbus_read errors properly, we need to initialize len to 0 before passing it to xenbus_read. Signed-off-by: Stefano Stabellini CC: dan.carpen...@oracle.com CC: jgr...@suse.com CC: boris.ostrov...@oracle.com CC: Eric Van Hensbergen

Re: [PATCH v2] sched/fair: update scale invariance of PELT

2017-04-13 Thread Peter Zijlstra
On Thu, Apr 13, 2017 at 04:59:15PM +0200, Vincent Guittot wrote: > On 13 April 2017 at 15:32, Peter Zijlstra wrote: > > On Wed, Apr 12, 2017 at 01:28:58PM +0200, Peter Zijlstra wrote: > > > >> I still wonder about the whole !running vs !weight thing., > > > > Ah, since we

Re: [PATCH tip/core/rcu 04/13] rcu: Make RCU_FANOUT_LEAF help text more explicit about skew_tick

2017-04-13 Thread Paul E. McKenney
On Thu, Apr 13, 2017 at 07:46:31PM +0200, Peter Zijlstra wrote: > On Thu, Apr 13, 2017 at 10:31:00AM -0700, Paul E. McKenney wrote: > > On Thu, Apr 13, 2017 at 07:04:34PM +0200, Peter Zijlstra wrote: > > > On Thu, Apr 13, 2017 at 09:55:16AM -0700, Paul E. McKenney wrote: > > > > > > To avoid

Re: [PATCH v5 BlueZ 4/4] Bluetooth: Handle Slave Connection Interval Range AD

2017-04-13 Thread Vinicius Costa Gomes
Hi Felipe, "Felipe F. Tonello" writes: > The Slave Connection Interval Range data type contains the Peripheral's > preferred connection interval range, for all logical connections. > > It is useful to parse it in the Kernel so there is no multiple calls to > MGMT

[PATCH v2 05/22] ARM: dts: at91: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v2 04/22] ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

[PATCH v2 03/22] ARM: dts: omap: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Javier Martinez Canillas
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken

Re: [PATCH v3] net: phy: micrel: fix crash when statistic requested for KSZ9031 phy

2017-04-13 Thread Sergei Shtylyov
On 04/13/2017 10:11 PM, Grygorii Strashko wrote: Now the command: ethtool --phy-statistics eth0 will cause system crash with meassage "Unable to handle kernel NULL pointer dereference at virtual address 0010" from: (kszphy_get_stats) from [] (ethtool_get_phy_stats+0xd8/0x210)

[GIT PULL 0/7] perf/core improvements and fixes

2017-04-13 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo Test results at the end of this message, as usual. Test results: The first ones are container (docker) based builds of tools/perf with and without libelf support, objtool where it is supported and samples/bpf/, ditto. Where clang is

[PATCH 2/7] perf stat: Fix bug in handling events in error state

2017-04-13 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian (This is a patch has been sitting in the Intel CQM/CMT driver series for a while, despite not depend on it. Sending it now independently since the series is being discarded.) When an event is in error state, read() returns 0 instead of sizeof()

[PATCH 7/7] Revert "perf tools: Fix include of linux/mman.h"

2017-04-13 Thread Arnaldo Carvalho de Melo
From: David Carrillo-Cisneros In https://lkml.org/lkml/2017/2/2/16 I reported a build error that I believed was caused by wrong uapi includes. The synthom was fixed by Arnaldo in: commit 2f7db5557994 ("perf tools: Fix include of linux/mman.h") but I was wrong attributing

Re: [PATCH v2 2/4] gpio: aspeed: dt: Add optional clocks property

2017-04-13 Thread Rob Herring
On Fri, Apr 07, 2017 at 10:29:00PM +0930, Andrew Jeffery wrote: > We need a reference to the HPLL to calculate debounce cycles. If the > clocks property is not supplied in the GPIO node then the consumer > should deny any debounce requests. > > Signed-off-by: Andrew Jeffery >

Re: [PATCH v2 10/22] ARM: dts: r7s72100: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Geert Uytterhoeven
On Thu, Apr 13, 2017 at 8:28 PM, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has

Re: [PATCH v2 11/22] ARM: dts: koelsch: Add generic compatible string for I2C EEPROM

2017-04-13 Thread Geert Uytterhoeven
On Thu, Apr 13, 2017 at 8:28 PM, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has

[PATCH 2/4] KVM: allocate kvm->vcpus separately

2017-04-13 Thread Radim Krčmář
The maximal number of VCPUs is going to be high, but most VMs are still going to use just a few. We want to save memory and there are two main conservative possibilities: 1) turn vcpus into a pointer and allocate separately 2) turn vcpus into variable length array at the end of struct kvm

Re: [PATCH v3 1/2] dt-bindings: iio: stm32-dac: Add support for STM32 DAC

2017-04-13 Thread Rob Herring
On Mon, Apr 10, 2017 at 05:49:49PM +0200, Fabrice Gasnier wrote: > Document STMicroelectronics STM32 DAC (digital-to-analog converter). > > Signed-off-by: Fabrice Gasnier > --- > Changes in v2: > - use 'reg' instead of 'st,dac-channel' property > - remove alignment from

[PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings

2017-04-13 Thread kbuild test robot
drivers/regulator/tps65132-regulator.c:274:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Venkat Reddy Talla Signed-off-by:

[PATCH] ARM: dts: at91: use correct compatible for the gpio mux controller

2017-04-13 Thread Peter Rosin
The compatible string for a gpio based mux controller is "gpio-mux", and nothing else. Fixes: 29dd89418007 ("ARM: dts: at91: add envelope detector mux to the Axentia TSE-850") Signed-off-by: Peter Rosin --- arch/arm/boot/dts/at91-tse850-3.dts | 2 +- 1 file changed, 1

  1   2   3   4   5   6   7   8   9   10   >