[PATCH 2/2] selftests: lib: add config fragment for bitmap, printf and prime numbers tests

2017-03-15 Thread Fathi Boudra
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/testing/selftests/lib/config b/t

Re: [PATCH v5 3/7] perf/sdt: Directly record SDT events with 'perf record'

2017-03-15 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 15, 2017 at 01:03:31PM +0100, Jiri Olsa escreveu: > On Tue, Mar 14, 2017 at 08:36:54PM +0530, Ravi Bangoria wrote: > > +++ b/tools/perf/builtin-record.c > > +static int record__parse_events_option(const struct option *opt, > > + const char *str, > > +

Re: [RFC v3 1/5] sched/core: add capacity constraints to CPU controller

2017-03-15 Thread Joel Fernandes
On Wed, Mar 15, 2017 at 4:20 AM, Patrick Bellasi wrote: > On 13-Mar 03:46, Joel Fernandes (Google) wrote: >> On Tue, Feb 28, 2017 at 6:38 AM, Patrick Bellasi >> wrote: >> > The CPU CGroup controller allows to assign a specified (maximum) >> > bandwidth to tasks within a group, however it does not

Re: [PATCH 1/7] mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation

2017-03-15 Thread Boris Brezillon
On Wed, 15 Mar 2017 12:19:48 + Lee Jones wrote: > On Tue, 14 Mar 2017, Boris Brezillon wrote: > > > On Tue, 14 Mar 2017 17:00:03 + > > Lee Jones wrote: > > > > > On Mon, 20 Feb 2017, Boris Brezillon wrote: > > > > > > > These new helpers + macro definitions are meant to replace th

Re: [PATCH v2 07/14] mmc: sdhci-st: simplify optional reset handling

2017-03-15 Thread Patrice CHOTARD
Hi Philipp On 03/15/2017 12:31 PM, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > > This allows to return errors from devm_reset_control_get

[PATCH] netfilter: logging copyrights is useless

2017-03-15 Thread Corentin Labbe
Logging copyrights does not add any useful information in logs. This patch remove such logging Signed-off-by: Corentin Labbe --- net/ipv4/netfilter/arp_tables.c | 1 - net/ipv4/netfilter/ip_tables.c | 1 - net/ipv6/netfilter/ip6_tables.c | 1 - net/netfilter/nf_tables_api.c | 1 - net/netfilt

Re: [PATCH V7 0/7] LPC: legacy ISA I/O support

2017-03-15 Thread Arnd Bergmann
On Wed, Mar 15, 2017 at 5:05 AM, zhichang.yuan wrote: >> - I think the libio framework is more generic than it needs to be, but as >> Alex really liked it this way and it was done like this based on his >> earlier >> comments, I think that's ok. >> >> - after we went back and forth on the ACP

Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply drivers

2017-03-15 Thread Quentin Schulz
Hi Lee, On 15/03/2017 13:14, Lee Jones wrote: > On Wed, 15 Mar 2017, Quentin Schulz wrote: > >> The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose >> information and data of the various power supplies they support such as >> ACIN, battery and VBUS. For example, they expose the c

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Marc Zyngier
On 15/03/17 10:56, Christoffer Dall wrote: > On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: >> On 15/03/17 09:21, Christoffer Dall wrote: >>> On Tue, Mar 14, 2017 at 02:52:34PM +, Suzuki K Poulose wrote: In kvm_free_stage2_pgd() we don't hold the kvm->mmu_lock while calling

Re: [PATCH 1/3] kvm: arm/arm64: Take mmap_sem in stage2_unmap_vm

2017-03-15 Thread Paolo Bonzini
On 15/03/2017 10:17, Christoffer Dall wrote: > On Tue, Mar 14, 2017 at 02:52:32PM +, Suzuki K Poulose wrote: >> From: Marc Zyngier >> >> We don't hold the mmap_sem while searching for the VMAs when >> we try to unmap each memslot for a VM. Fix this properly to >> avoid unexpected results. >>

[PATCH] selftests/vm: Set mmap()'s fd as -1 for MAP_ANONYMOUS flag

2017-03-15 Thread SeongJae Park
Man page of mmap() says that portable applications should ensure fd argument to be -1 if MAP_ANONYMOUS flag is set as below: ``` The mapping is not backed by any file; its contents are initialized to zero. The fd and offset arguments are ignored; however, some implementations require fd to be

Re: [RFC PATCH] ASoC: wm8960: Use physical width for bclk

2017-03-15 Thread Mark Brown
On Wed, Mar 15, 2017 at 09:19:01AM +, Charles Keepax wrote: > On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote: > > - wm8960->bclk = snd_soc_params_to_bclk(params); > > + wm8960->bclk = params_physical_width(params) * > > + params_channels(params) * params_rate(param

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Christoffer Dall
On Wed, Mar 15, 2017 at 01:28:07PM +, Marc Zyngier wrote: > On 15/03/17 10:56, Christoffer Dall wrote: > > On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: > >> On 15/03/17 09:21, Christoffer Dall wrote: > >>> On Tue, Mar 14, 2017 at 02:52:34PM +, Suzuki K Poulose wrote: >

Re: [PATCH] cpufreq: dbx500: Manage cooling device from cpufreq driver

2017-03-15 Thread Linus Walleij
On Tue, Mar 14, 2017 at 6:18 AM, Viresh Kumar wrote: > The best place to register the CPU cooling device is from the cpufreq > driver as we would know if all the resources are already available or > not. That's what is done for the cpufreq-dt.c driver as well. > > The cpu-cooling driver for dbx50

Re: [PATCH] tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx

2017-03-15 Thread Richard Genoud
2017-03-15 12:37 GMT+01:00 Nicolas Ferre : > Le 13/12/2016 à 17:27, Richard Genoud a écrit : >> If we don't disable the transmitter in atmel_stop_tx, the DMA buffer >> continues to send data until it is emptied. >> This cause problems with the flow control (CTS is asserted and data are >> still sen

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

2017-03-15 Thread Jan Kara
On Wed 15-03-17 10:19:52, Marko Rauhamaa wrote: > Filip Štědronský : > > > there are basically two classes of uses for a fantotify-like > > interface: > > > > (1) Keeping an up-to-date representation of the file system. For this, > > superblock watches are clearly what you want. > > > > [.

[PATCH v2] pata: remove the at91 driver

2017-03-15 Thread Boris Brezillon
This driver is orphan since commit b2026f708e09 ("ARM: at91: remove at91sam9260/at91sam9g20 legacy board support"). Given that nobody cared adding DT support to it, it probably means it's no longer used and is thus a good candidate for removal. Signed-off-by: Boris Brezillon Acked-by: Bartlomiej

Re: [PATCH v6 09/14] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2017-03-15 Thread Ulf Hansson
On 14 February 2017 at 18:01, Gregory CLEMENT wrote: > From: Hu Ziji > > Marvell Xenon eMMC/SD/SDIO Host Controller contains PHY. > Multiple types of PHYs are supported. > > Add support to multiple types of PHYs init and configuration. > Add register definitions of PHYs. > > Xenon PHY cannot fit

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Marc Zyngier
On 15/03/17 13:35, Christoffer Dall wrote: > On Wed, Mar 15, 2017 at 01:28:07PM +, Marc Zyngier wrote: >> On 15/03/17 10:56, Christoffer Dall wrote: >>> On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: On 15/03/17 09:21, Christoffer Dall wrote: > On Tue, Mar 14, 2017 at 02

Re: Applied "ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE" to the asoc tree

2017-03-15 Thread Mark Brown
On Tue, Mar 14, 2017 at 12:31:22PM +0800, Chen-Yu Tsai wrote: > On Wed, Mar 8, 2017 at 9:22 PM, Mark Brown wrote: Please delete unneeded context from mails when replying. Doing this makes it much easier to find your reply in the message, helping ensure it won't be missed by people scrolling thro

[PATCH 1/1] fentry: x86, cleanup function_hook uses

2017-03-15 Thread Jiri Slaby
Let's define fentry_hook depending on CC_USING_FENTRY and use that macro over the users. This saves some #ifdef's in the assembly and headers. Signed-off-by: Jiri Slaby Cc: Thomas Gleixner Cc: "H. Peter Anvin" Cc: Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar --- arch/x86/incl

Re: [RESEND PATCH] gpio: xgene: mark PM functions as __maybe_unused

2017-03-15 Thread Linus Walleij
On Tue, Mar 14, 2017 at 1:57 PM, Arnd Bergmann wrote: > When CONFIG_PM_SLEEP is disabled, we get a warning about unused functions: > > drivers/gpio/gpio-xgene.c:155:12: warning: 'xgene_gpio_resume' defined but > not used [-Wunused-function] > static int xgene_gpio_resume(struct device *dev) >

Re: [PATCH v6 03/14] mmc: core: Add mmc-card dt sub-node parse in core layer

2017-03-15 Thread Ziji Hu
Hi Ulf, On 2017/3/15 20:43, Ulf Hansson wrote: > On 14 February 2017 at 18:01, Gregory CLEMENT > wrote: >> From: Hu Ziji >> >> Some vendor host, like Xenon, can support multiple types. >> In dts, use mmc-card dt sub-node to indicate eMMC is in use. >> >> Add a generic mmc-card parse function in

Re: [PATCH v5 3/7] perf/sdt: Directly record SDT events with 'perf record'

2017-03-15 Thread Ravi Bangoria
On Wednesday 15 March 2017 06:46 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Mar 15, 2017 at 01:03:31PM +0100, Jiri Olsa escreveu: >> On Tue, Mar 14, 2017 at 08:36:54PM +0530, Ravi Bangoria wrote: >>> +++ b/tools/perf/builtin-record.c >>> +static int record__parse_events_option(const struct opt

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Robin Murphy
Hi Marc, On 15/03/17 13:43, Marc Zyngier wrote: > On 15/03/17 13:35, Christoffer Dall wrote: >> On Wed, Mar 15, 2017 at 01:28:07PM +, Marc Zyngier wrote: >>> On 15/03/17 10:56, Christoffer Dall wrote: On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: > On 15/03/17 09:21, C

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Marc Zyngier
On 15/03/17 13:50, Robin Murphy wrote: > Hi Marc, > > On 15/03/17 13:43, Marc Zyngier wrote: >> On 15/03/17 13:35, Christoffer Dall wrote: >>> On Wed, Mar 15, 2017 at 01:28:07PM +, Marc Zyngier wrote: On 15/03/17 10:56, Christoffer Dall wrote: > On Wed, Mar 15, 2017 at 09:39:26AM +000

Re: [PATCH v6 08/14] mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality

2017-03-15 Thread Ziji Hu
Hi Ulf, On 2017/3/15 21:11, Ulf Hansson wrote: > On 14 February 2017 at 18:01, Gregory CLEMENT > wrote: >> From: Hu Ziji >> +config MMC_SDHCI_XENON >> + tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver" >> + depends on MMC_SDHCI_PLTFM >> + help >> + This selects Marve

Re: [PATCH] perf/record: make perf_event__synthesize_mmap_events() scale

2017-03-15 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 14, 2017 at 11:57:21PM -0700, Stephane Eranian escreveu: > This patch significantly improves the execution time of > perf_event__synthesize_mmap_events() when running perf record > on systems where processes have lots of threads. It just happens > that cat /proc/pid/maps support uses a

Re: [PATCH v3] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread Sean Paul
On Wed, Mar 15, 2017 at 06:20:47PM +0800, Jeffy Chen wrote: > Currently we are adding all components from the dts, if one of their > drivers been disabled, we would not be able to bring up others. > > Refactor component match logic, follow exynos drm. > > Signed-off-by: Jeffy Chen > Reviewed-by:

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Christoffer Dall
On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: > On 15/03/17 09:21, Christoffer Dall wrote: > > On Tue, Mar 14, 2017 at 02:52:34PM +, Suzuki K Poulose wrote: > >> In kvm_free_stage2_pgd() we don't hold the kvm->mmu_lock while calling > >> unmap_stage2_range() on the entire memory

Re: [PATCH v2 1/4] pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433

2017-03-15 Thread Linus Walleij
On Tue, Mar 14, 2017 at 3:27 PM, Krzysztof Kozlowski wrote: > On Tue, Mar 14, 2017 at 3:47 PM, Linus Walleij > wrote: >> On Fri, Feb 24, 2017 at 1:22 AM, Chanwoo Choi wrote: >>> On 2016년 12월 30일 22:28, Linus Walleij wrote: On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: >> Probably. Se

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

2017-03-15 Thread Roger Quadros
Since commit 3c293f4e08b5 ("net: phy: Trigger state machine on state change and not polling.") phy_suspend() doesn't get called as part of phy_stop() for PHYs using interrupts because the phy state machine is never triggered after a phy_stop(). Explicitly trigger the PHY state machine so that it

Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-03-15 Thread Mauro Carvalho Chehab
Em Fri, 27 Jan 2017 13:54:57 -0800 Eric Anholt escreveu: > Here's my first pass at importing the camera driver. There's a bunch > of TODO left to it, most of which is documented, and the rest being > standard checkpatch fare. > > Unfortunately, when I try modprobing it on my pi3, the USB networ

Re: [PATCH v7 1/3] x86/mm: Adapt MODULES_END based on Fixmap section size

2017-03-15 Thread Boris Ostrovsky
On 03/14/2017 01:05 PM, Thomas Garnier wrote: > This patch aligns MODULES_END to the beginning of the Fixmap section. > It optimizes the space available for both sections. The address is > pre-computed based on the number of pages required by the Fixmap > section. > > It will allow GDT remapping in

Re: [PATCH] perf/record: make perf_event__synthesize_mmap_events() scale

2017-03-15 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 15, 2017 at 10:50:59AM -0300, Arnaldo Carvalho de Melo escreveu: > So, fixing up the "tasks" -> "tasks" we end up with something safe and > that avoids this by now "tasks" -> "task", grrr - Arnaldo

[PATCH v4 00/18] add support for AXP20X and AXP22X power supply drivers

2017-03-15 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose information and data of the various power supplies they support such as ACIN, battery and VBUS. For example, they expose the current battery voltage, charge or discharge, as well as ACIN and VBUS current voltages and currents, int

Re: [RFC 1/2] fanotify: new event FAN_MODIFY_DIR

2017-03-15 Thread Jan Kara
Hello, On Tue 14-03-17 12:11:40, Amir Goldstein wrote: > > Add a new fanotify event, FAN_MODIFY_DIR, that is emitted whenever the > > contents of a directory change (a directory entry is added, removed or > > renamed). This covers all the currently missing events: rename, unlink, > > mknod, mkdir,

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-15 Thread Diego Viola
On Tue, Mar 14, 2017 at 4:15 PM, Diego Viola wrote: > On Tue, Mar 14, 2017 at 2:20 PM, Diego Viola wrote: >> On Thu, Mar 9, 2017 at 2:15 PM, Diego Viola wrote: >>> On Thu, Mar 9, 2017 at 11:11 AM, Diego Viola wrote: On Wed, Mar 8, 2017 at 5:40 PM, Diego Viola wrote: > Hi Greg, > >

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

2017-03-15 Thread Andrew Lunn
On Wed, Mar 15, 2017 at 03:51:27PM +0200, Roger Quadros wrote: > Since commit 3c293f4e08b5 ("net: phy: Trigger state machine on state change > and not polling.") > phy_suspend() doesn't get called as part of phy_stop() for PHYs using > interrupts because the phy state machine is never triggered af

[PATCH] clk: tegra: fix disable unused for clocks sharing enable bit

2017-03-15 Thread Peter De Schrijver
In case 2 clocks share an enable bit and one of them is enabled by a driver and the other one is not, CCF will think it's enabled because it will only look at the hw state. Therefor it will disable the clock and thus also disable the other clock which was enabled. Solve this by reading the initial

Információ

2017-03-15 Thread -Nyertes Iroda
-- https://translate.google.com/#en/hu/1 Két millió euró díjas, Gratulálok, ez tájékoztatni arról, hogy az e-mail címet nyert két millió euró a mi e-mail tombola sorsoláson. Ez hogyan nyert két millió euró!!! Az e-mail címet: Regisztrált ERRE felhívni AZ adatbázison Keresztül AZ e-mail szer

Re: [PATCH] netfilter: logging copyrights is useless

2017-03-15 Thread Harald Welte
Hi Corentin, On Wed, Mar 15, 2017 at 02:17:39PM +0100, Corentin Labbe wrote: > Logging copyrights does not add any useful information in logs. > This patch remove such logging Historically, there were plenty of more copyright notices for certain drivers or sections of the code being printed while

[PATCH v4 03/18] mfd: axp20x: correct name of temperature data ADC registers

2017-03-15 Thread Quentin Schulz
The registers 0x56 and 0x57 of AXP22X PMIC store the value of the internal temperature of the PMIC. This patch modifies the name of these registers from AXP22X_PMIC_ADC_H/L to AXP22X_PMIC_TEMP_H/L so their purpose is clearer. Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai Acked-by: Maxime

Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig

2017-03-15 Thread Bjorn Helgaas
On Wed, Mar 15, 2017 at 11:00:22AM +0100, Thomas Gleixner wrote: > On Tue, 14 Mar 2017, Bjorn Helgaas wrote: > > On Tue, Mar 14, 2017 at 07:24:14PM -0700, Andi Kleen wrote: > > > > I agree that it should be fairly safe to do ECAM/MMCONFIG without > > > > locking. Can we handle the decision part by

Re: [PATCH 1/2] blk-mq: don't complete un-started request in timeout handler

2017-03-15 Thread Yi Zhang
Thanks Ming. Tested-by: Yi Zhang Best Regards, Yi Zhang - Original Message - From: "Ming Lei" To: "Jens Axboe" , linux-kernel@vger.kernel.org, linux-bl...@vger.kernel.org, "Christoph Hellwig" Cc: "Yi Zhang" , "Ming Lei" , sta...@vger.kernel.org Sent: Thursday, March 9, 2017 9:02:

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

2017-03-15 Thread Marko Rauhamaa
Jan Kara : > On Wed 15-03-17 10:19:52, Marko Rauhamaa wrote: >> As for "who (user/process/...) did what", the fanotify API is flawed >> in that we don't have a CLOSE_WRITE_PERM event. The hit-and-run >> process is long gone by the time we receive the event. That's more of >> a rule than an excepti

Re: [PATCH 23/35] drivers/mfd: Convert remaining uses of pr_warning to pr_warn

2017-03-15 Thread Joe Perches
On Wed, 2017-03-15 at 12:23 +, Lee Jones wrote: > On Tue, 14 Mar 2017, Joe Perches wrote: [] > > never break user-visible strings such as > > printk messages, because that breaks the ability to grep for them. > > Right, I'm aware of this. I'm also aware of the other rule we have > where lines

Re: [PATCH v2 0/5] mm: support parallel free of memory

2017-03-15 Thread Michal Hocko
On Wed 15-03-17 16:59:59, Aaron Lu wrote: [...] > The proposed parallel free did this: if the process has many pages to be > freed, accumulate them in these struct mmu_gather_batch(es) one after > another till 256K pages are accumulated. Then take this singly linked > list starting from tlb->local.

Re: [PATCH 1/2] serdev: Add serdev_device_write subroutine

2017-03-15 Thread Rob Herring
On Tue, Mar 14, 2017 at 8:48 AM, Andrey Smirnov wrote: > Add serdev_device_write() which is a blocking call allowing to transfer > arbitraty amount of data (potentially exceeding amount that > serdev_device_write_buf can process in a single call) > > Cc: cphe...@gmail.com > Cc: Guenter Roeck > Cc

Re: Applied "ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE" to the asoc tree

2017-03-15 Thread Chen-Yu Tsai
On Wed, Mar 15, 2017 at 9:43 PM, Mark Brown wrote: > On Tue, Mar 14, 2017 at 12:31:22PM +0800, Chen-Yu Tsai wrote: >> On Wed, Mar 8, 2017 at 9:22 PM, Mark Brown wrote: >> This patch changes the mixer controls exposed to user space. > >> This driver was just introduced in 4.11-rc1. Would it make s

Re: [RESEND PATCH] drm: amd: remove broken include path

2017-03-15 Thread Alex Deucher
On Tue, Mar 14, 2017 at 5:27 PM, Arnd Bergmann wrote: > The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command > line, which makes no sense, since these are evaluated relative to the > build directory. When we build with "make W=1", they instead cause > a warning: > > cc1: error: .

Re: [PATCH 2/2] serdev: Add minimal bus locking API

2017-03-15 Thread Rob Herring
On Tue, Mar 14, 2017 at 8:48 AM, Andrey Smirnov wrote: > Add minimal bus locking API which is useful for serial devices that > implement request-reply protocol It's assumed that there's a single client, so I think the client drivers should manage any locking they need. Maybe that changes if we ha

Re: [PATCH net-next 3/3] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses

2017-03-15 Thread Matthias Schiffer
On 03/14/2017 04:28 PM, Jiri Benc wrote: > On Fri, 10 Mar 2017 23:39:44 +0100, Matthias Schiffer wrote: >> @@ -233,17 +234,30 @@ static struct vxlan_dev *vxlan_vs_find_vni(struct >> vxlan_sock *vs, __be32 vni) >> vni = 0; >> >> hlist_for_each_entry_rcu(vxlan, vni_head(vs, vni),

[PATCH v4 10/18] ARM: sun5i: chip: enable ACIN power supply subnode

2017-03-15 Thread Quentin Schulz
The NextThing Co. CHIP has an AXP209 PMIC and can be power-supplied by ACIN via the CHG-IN pin. This enables the ACIN power supply subnode in the DT. Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-r8-chip.dts | 4 1 file changed,

GFS2: pull request for high-priority bug

2017-03-15 Thread Bob Peterson
Hi Linus, Please consider pulling the following additional patch for the GFS2 file system. Regards, Bob Peterson The following changes since commit ae50dfd61665086e617cc9e554a1285d52765670: Merge git://git.kernel.org/pub/scm/li

Re: [RFC 1/2] fanotify: new event FAN_MODIFY_DIR

2017-03-15 Thread Amir Goldstein
On Wed, Mar 15, 2017 at 4:05 PM, Jan Kara wrote: > Hello, > > On Tue 14-03-17 12:11:40, Amir Goldstein wrote: >> > Add a new fanotify event, FAN_MODIFY_DIR, that is emitted whenever the >> > contents of a directory change (a directory entry is added, removed or >> > renamed). This covers all the c

Re: [PATCH v6 09/14] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2017-03-15 Thread Ziji Hu
Hi Ulf, On 2017/3/15 21:39, Ulf Hansson wrote: > On 14 February 2017 at 18:01, Gregory CLEMENT > wrote: >> From: Hu Ziji >> >> + >> + /* >> +* FIXME: should depends on the specific board timing. >> +*/ >> + if ((timing == MMC_TIMING_MMC_HS400) || >> + (timi

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Suzuki K Poulose
On 15/03/17 13:28, Marc Zyngier wrote: On 15/03/17 10:56, Christoffer Dall wrote: On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: On 15/03/17 09:21, Christoffer Dall wrote: On Tue, Mar 14, 2017 at 02:52:34PM +, Suzuki K Poulose wrote: In kvm_free_stage2_pgd() we don't hold t

Re: [PATCH v2 13/14] usb: host: ehci-st: simplify optional reset handling

2017-03-15 Thread Alan Stern
On Wed, 15 Mar 2017, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. What does it use to describe genuine errors? > This allows to return err

Re: [PATCH RESEND 4/4] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-03-15 Thread Charles Keepax
On Wed, Mar 15, 2017 at 12:17:03PM +, Lee Jones wrote: > On Tue, 14 Mar 2017, Charles Keepax wrote: > > > On Tue, Mar 14, 2017 at 05:07:04PM +, Lee Jones wrote: > > > On Thu, 09 Mar 2017, Charles Keepax wrote: > > > > > > > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout,

Re: [PATCH] sched: write better comments for weight calculations

2017-03-15 Thread Patrick Bellasi
On 15-Mar 05:35, Joel Fernandes wrote: > On Wed, Mar 15, 2017 at 5:04 AM, Patrick Bellasi > wrote: > > Few comments inline, otherwise LGTM. > > Ok, I'll take that as an Acked-by with the following comment addressed > if that's Ok with you. Well, I cannot really ACK anything... you should defenit

[PATCH] usb-musb: keep VBUS on when device is disconnected

2017-03-15 Thread Moreno Bartalucci
With usb-musb port in host mode, when the device is disconnected, either logically (because of a mode switch) or physically (by pulling the cable), the USB port should keep suppling VBUS, with no interruption, to prevent power loss on USB powered devices. Signed-off-by: Moreno Bartalucci --- dri

Re: [PATCH 3/6] cpufreq: schedutil: ensure max frequency while running RT/DL tasks

2017-03-15 Thread Patrick Bellasi
On 15-Mar 12:52, Rafael J. Wysocki wrote: > On Friday, March 03, 2017 12:38:30 PM Patrick Bellasi wrote: > > On 03-Mar 14:01, Viresh Kumar wrote: > > > On 02-03-17, 15:45, Patrick Bellasi wrote: > > > > diff --git a/kernel/sched/cpufreq_schedutil.c > > > > b/kernel/sched/cpufreq_schedutil.c > > >

Re: [PATCH][RFC v4] ACPI throttling: Disable the MSR T-state if enabled after resumed

2017-03-15 Thread Chen Yu
Hi, On Mon, Mar 13, 2017 at 11:41:03PM +0100, Rafael J. Wysocki wrote: > On Friday, February 17, 2017 04:27:30 PM Chen Yu wrote: > > Previously a bug was reported that on certain Broadwell > > platform, after resumed from S3, the CPU is running at > > an anomalously low speed, due to the BIOS has e

Re: [RFC v3 5/5] sched/{core,cpufreq_schedutil}: add capacity clamping for RT/DL tasks

2017-03-15 Thread Juri Lelli
Hi Joel, On 15/03/17 05:59, Joel Fernandes wrote: > On Wed, Mar 15, 2017 at 4:40 AM, Patrick Bellasi > wrote: > > On 13-Mar 03:08, Joel Fernandes (Google) wrote: > >> Hi Patrick, > >> > >> On Tue, Feb 28, 2017 at 6:38 AM, Patrick Bellasi > >> wrote: > >> > Currently schedutil enforce a maximum O

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

2017-03-15 Thread Amir Goldstein
On Wed, Mar 15, 2017 at 3:39 PM, Jan Kara wrote: > On Wed 15-03-17 10:19:52, Marko Rauhamaa wrote: >> Filip Štědronský : >> >> > there are basically two classes of uses for a fantotify-like >> > interface: >> > >> > (1) Keeping an up-to-date representation of the file system. For this, >> > su

Re: [PATCH net] bridge: ebtables: fix reception of frames DNAT-ed to bridge device

2017-03-15 Thread Linus Lüssing
On Wed, Mar 15, 2017 at 11:42:11AM +0100, Pablo Neira Ayuso wrote: > I'm missing then why redirect is not then just enough for Linus usecase. For my usecase, the MAC address is configured by the user from a Web-UI. It may or may not be the one from the bridge device. Besides, found it counter int

[PATCH 0/2] STM32F4 clock fixes

2017-03-15 Thread gabriel.fernandez
From: Gabriel Fernandez This patch-set contains 2 fixes. One concerning exclusion of wrong values for PLLQ (0 & 1) And the second is a fix about timeout management of PLL and LSE/LSI clocks. Gabriel Fernandez (2): clk: stm32f4: fix: exclude values 0 and 1 for PLLQ clk: stm32f4: fix timeout m

[PATCH 2/2] clk: stm32f4: fix timeout management for pll and ready gate

2017-03-15 Thread gabriel.fernandez
From: Gabriel Fernandez Use a classic polling to test bit ready. And the shift of the bit ready of LSE & LSI were wrongs. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 43 +-- 1 file changed, 29 insertions(+), 14 deletions(-) diff --g

Re: [patch 0/7] staging: speakup: introduce tty-based comms

2017-03-15 Thread Rob Herring
On Mon, Mar 13, 2017 at 8:18 PM, Samuel Thibault wrote: > Samuel Thibault, on mar. 14 mars 2017 01:47:01 +0100, wrote: >> Greg KH, on mar. 14 mars 2017 06:14:04 +0800, wrote: >> > On Mon, Mar 13, 2017 at 10:05:51PM +, okash.khaw...@gmail.com wrote: >> > > This patchset introduces a TTY-based w

[PATCH] disable RTS override on LPSS UART with Auto Flow Control

2017-03-15 Thread Dan O'Donovan
Currently, Auto Flow Control is not working correctly on the Atom X5-Z8350 "Cherry Trail" SoC, because an "RTS override" feature is enabled in a vendor-specific register in the LPSS UART. The symptom is that RTS is not de-asserted as it should be when RTS/CTS flow control is enabled and the RX FIFO

[PATCH 1/2] clk: stm32f4: fix: exclude values 0 and 1 for PLLQ

2017-03-15 Thread gabriel.fernandez
From: Gabriel Fernandez : PLLQ = 0, wrong configuration 0001: PLLQ = 1, wrong configuration ... 0010: PLLQ = 2 0011: PLLQ = 3 0100: PLLQ = 4 ... : PLLQ = 1 Use divider table to exclude 0 and 1 values. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 13 ++--- 1

Re: [PATCH] linux/serdev.h: Replace 'ctrl->serdev' with 'serdev'

2017-03-15 Thread Rob Herring
On Tue, Mar 14, 2017 at 8:48 AM, Andrey Smirnov wrote: > Replace 'ctrl->serdev' with 'serdev' in serdev_controller_write_wakeup() > and serdev_controller_receive_buf(). > > Cc: cphe...@gmail.com > Cc: linux-ser...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Andrey Smirnov

[PATCH v4 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-03-15 Thread Quentin Schulz
This adds the constant-charge-current property to the list of optional properties of the battery. The constant charge current is critical for batteries as they can't handle all charge currents. Signed-off-by: Quentin Schulz Acked-by: Rob Herring --- v4: - switch from constant-charge-current-m

Re: Getting "Wrong diagnostic page; asked for 7 got 0" error message on HBA's virtual SES device

2017-03-15 Thread James Bottomley
On Mon, 2017-03-13 at 12:13 +0530, Sreekanth Reddy wrote: > Hi, > > Our LSI(Broadcom) SAS3.5 HBA device's support virtual SES device. > > Whenever we load the mpt3sas driver then we are observing below error > message, > > "Wrong diagnostic page; asked for 7 got 0" > > Our virtual SES device do

Re: [RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-15 Thread Vivek Gautam
On Wed, Mar 15, 2017 at 1:38 PM, Heiko Stübner wrote: > Am Dienstag, 14. März 2017, 11:52:50 CET schrieb Vivek Gautam: >> Adding vendor specific directories in phy to group >> phy drivers under their respective vendor umbrella. >> >> Also updated the MAINTAINERS file to reflect the correct >> dire

Re: kbuild/mkspec: Fix architectures where KBUILD_IMAGE isn't a full path

2017-03-15 Thread Tom Rini
On Sat, Mar 11, 2017 at 11:59:22PM +, Tom Rini wrote: > On some architectures, such as arm64, KBUILD_IMAGE is not a full path > but instead just the build target. The builddeb script handles this > case correctly today and will try arch/$ARCH/boot/$KBUILD_IMAGE so we > can just borrow that lo

Re: [PATCH v3 5/8] staging: rtl8192e: Fix unbalanced braces

2017-03-15 Thread Joe Perches
As Dan said, the original was better, but it could still be improved. There is only a single case used in the switch. Perhaps better would be to reduce indentation by removing the switch and using another goto label for the memory allocation freeing like the below. Perhaps better still, if there

[PATCH v4 09/18] ARM: dts: sun8i: sina33: enable ACIN power supply subnode

2017-03-15 Thread Quentin Schulz
The Sinlinx SinA33 has an AXP223 PMIC and an ACIN connector, thus, we enable the ACIN power supply in its Device Tree. Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 1 file changed, 4 insertions(+) diff

Re: [RESEND PATCH -net] cpsw/netcp: cpts depends on posix_timers

2017-03-15 Thread Arnd Bergmann
On Mon, Mar 13, 2017 at 9:51 PM, Nicolas Pitre wrote: > On Mon, 13 Mar 2017, Nicolas Pitre wrote: > >> So unless I'm mistaken I don't see any problem using "depends on >> PTP_1588_CLOCK" here. > > Furthermore that wouldn't be a first. See for example > PTP_1588_CLOCK_GIANFAR, PTP_1588_CLOCK_IXP46X

Re: [PATCH v2 0/5] mm: support parallel free of memory

2017-03-15 Thread Vlastimil Babka
On 03/15/2017 09:59 AM, Aaron Lu wrote: > For regular processes, the time taken in its exit() path to free its > used memory is not a problem. But there are heavy ones that consume > several Terabytes memory and the time taken to free its memory in its > exit() path could last more than ten minutes

[PATCH v4 1/3] mfd: arizona: Remove duplicate set of ret variable

2017-03-15 Thread Charles Keepax
arizona_poll_reg already returns ETIMEDOUT if we don't see the expected register changes before the time out, so remove pointless local setting of ETIMEDOUT. Signed-off-by: Charles Keepax --- No changes since v3. drivers/mfd/arizona-core.c | 8 ++-- 1 file changed, 2 insertions(+), 6 delet

[PATCH v4 3/3] mfd: arizona: Refactor arizona_poll_reg

2017-03-15 Thread Charles Keepax
Currently, we specify the timeout in terms of the number of polls but it is more clear from a user of the functions perspective to specify the timeout directly in milliseconds, as such update the function to these new semantics. Additionally, arizona_poll_reg essentially hard-codes regmap_read_pol

[PATCH v4 2/3] mfd: arizona: Display register addresses in hex

2017-03-15 Thread Charles Keepax
Register addresses are normally displayed in hex throughout the Arizona driver. Update the arizona_poll_reg function to follow this convention. Signed-off-by: Charles Keepax --- No changes since v4. drivers/mfd/arizona-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

[PATCH] ARM: dts: BCM5301X: Add support for Linksys EA9500

2017-03-15 Thread Vivek Unune
Hardware Info - Processor - Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz Switch - BCM53012 in BCM4709C0KFEBG & external BCM53125 DDR3 RAM- 256 MB Flash - 128 MB (Toshiba TC58BVG0S3HTA00) 2.4GHz - BCM4366 4×4 2.4/5G single chip 802.11ac SoC Power

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

2017-03-15 Thread Roger Quadros
Andrew, On 15/03/17 16:08, Andrew Lunn wrote: > On Wed, Mar 15, 2017 at 03:51:27PM +0200, Roger Quadros wrote: >> Since commit 3c293f4e08b5 ("net: phy: Trigger state machine on state change >> and not polling.") >> phy_suspend() doesn't get called as part of phy_stop() for PHYs using >> interrupt

Re: kbuild/mkspec: Fix architectures where KBUILD_IMAGE isn't a full path

2017-03-15 Thread Michal Marek
Dne 15.3.2017 v 15:51 Tom Rini napsal(a): > I found https://patchwork.kernel.org/patch/9442211/ today and I see that > it was brought up again just before I sent my patch. I just want to > point out that 9442211 doesn't address arm, arc, and sh and they will > still not have a functional rpm build

Re: [patch 0/7] staging: speakup: introduce tty-based comms

2017-03-15 Thread Samuel Thibault
Rob Herring, on mer. 15 mars 2017 09:45:59 -0500, wrote: > On Mon, Mar 13, 2017 at 8:18 PM, Samuel Thibault > wrote: > > Samuel Thibault, on mar. 14 mars 2017 01:47:01 +0100, wrote: > >> Greg KH, on mar. 14 mars 2017 06:14:04 +0800, wrote: > >> > On Mon, Mar 13, 2017 at 10:05:51PM +, okash.kha

Re: [PATCH 3/3] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-03-15 Thread Marc Zyngier
On 15/03/17 14:33, Suzuki K Poulose wrote: > On 15/03/17 13:28, Marc Zyngier wrote: >> On 15/03/17 10:56, Christoffer Dall wrote: >>> On Wed, Mar 15, 2017 at 09:39:26AM +, Marc Zyngier wrote: On 15/03/17 09:21, Christoffer Dall wrote: > On Tue, Mar 14, 2017 at 02:52:34PM +, Suzuki

Re: [PATCH][RFC v4] ACPI throttling: Disable the MSR T-state if enabled after resumed

2017-03-15 Thread Chen Yu
Hi, On Tue, Mar 14, 2017 at 06:38:03PM +0100, Pavel Machek wrote: > Hi! > > > > > However there are still three problems left: > > > > 1. More and more reports show that other platforms also > > > >encountered the same issue, so the quirk list might > > > >be endless. > > > > 2. Each CPUs

Re: [alsa-devel] [RFC PATCH] ASoC: wm8960: Use physical width for bclk

2017-03-15 Thread Daniel Baluta
On Wed, Mar 15, 2017 at 3:33 PM, Mark Brown wrote: > On Wed, Mar 15, 2017 at 09:19:01AM +, Charles Keepax wrote: >> On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote: > >> > - wm8960->bclk = snd_soc_params_to_bclk(params); >> > + wm8960->bclk = params_physical_width(params) * >

Re: [PATCH net-next 3/3] vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses

2017-03-15 Thread Jiri Benc
On Wed, 15 Mar 2017 15:29:29 +0100, Matthias Schiffer wrote: > While ensuring that the destination address is link-local iff the source > address is would also be an option, it didn't seem too useful as the > destination address will be a multicast address anyways in "normal" VXLAN > configurations

Re: [PATCH v3 3/3] mfd: wm831x: Add device tree binding document

2017-03-15 Thread Charles Keepax
On Tue, Mar 14, 2017 at 02:59:35PM +, Lee Jones wrote: > On Mon, 06 Mar 2017, Charles Keepax wrote: > > > Add a device tree binding document for the wm831x series of PMICs. > > Currently only support for the registering the device and the GPIOs are > > actually implemented in the driver. > >

Re: [PATCH v2 13/14] usb: host: ehci-st: simplify optional reset handling

2017-03-15 Thread Philipp Zabel
Hi Alan, On Wed, 2017-03-15 at 10:35 -0400, Alan Stern wrote: > On Wed, 15 Mar 2017, Philipp Zabel wrote: > > > As of commit bb475230b8e5 ("reset: make optional functions really > > optional"), the reset framework API calls use NULL pointers to describe > > optional, non-present reset controls. >

[PATCH v4 07/18] ARM: dtsi: axp209: add AC power supply subnode

2017-03-15 Thread Quentin Schulz
The X-Powers AXP20X PMIC exposes the status of AC power supply, the current current and voltage supplied to the board by the AC power supply. This adds the AC power supply subnode for AXP20X PMIC. Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- v2: - changed

[PATCH] kobject: support passing in variables for synthetic uevents

2017-03-15 Thread Peter Rajnoha
This patch makes it possible to pass additional arguments in addition to uevent action name when writing /sys/.../uevent attribute. These additional arguments are then inserted into generated synthetic uevent as additional environment variables. Before, we were not able to pass any additional ueve

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-15 Thread Ralf Baechle
On Tue, Mar 14, 2017 at 05:34:02PM -0700, David Daney wrote: > > What tree are you targetting with these changes? Do you expect > > them to go via the MIPS or the net-next tree? > > > > Please be explicit about this in the future. > > > > Sorry I didn't mention it. > > My expectation is that

Re: [PATCH] morse code panics for 2.5.65

2017-03-15 Thread Oleksij Rempel
Am 12.03.2017 um 17:22 schrieb Tomas Szepe: > Hello Oleksij, > >> can you please give GPL permission for this code. > > Fine by me. > Thank you, is you permission enough, or I should wait for Andrew response? -- Regards, Oleksij signature.asc Description: OpenPGP digital signature

Re: [PATCH] MIPS: Add 48-bit VA space (and 4-level page tables) for 4K pages.

2017-03-15 Thread Ralf Baechle
On Thu, Feb 16, 2017 at 05:27:34PM -0800, David Daney wrote: > From: Alex Belits > > Some users must have 4K pages while needing a 48-bit VA space size. > The cleanest way do do this is to go to a 4-level page table for this > case. Each page table level using order-0 pages adds 9 bits to the >

Re: [PATCH] MIPS: cavium-octeon: Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL

2017-03-15 Thread Ralf Baechle
On Fri, Feb 17, 2017 at 11:45:55AM -0800, David Daney wrote: > This config option never really worked, and has bit-rotted to the > point of being completely useless. Remove it completely. Thanks, queued for 4.12. Ralf

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