Re: [PATCH v2 1/6] powerpc/perf: Define big-endian version of perf_mem_data_src

2017-03-15 Thread Peter Zijlstra
On Wed, Mar 15, 2017 at 05:20:15PM +1100, Michael Ellerman wrote: > > I see no implementation; so why are you poking at it. > > Maddy has posted an implementation of the kernel part for powerpc in > patch 2 of this series, but maybe you're not on Cc? I am not indeed. That and a completely

Re: [PATCH v4.9] sched/fair: Overload-On-Wakeup fix.

2017-03-15 Thread Peter Zijlstra
On Tue, Mar 14, 2017 at 11:34:06PM +0200, Jarmo Tiitto wrote: > Try improve multi-core scaling. > The changes are experimental - the fix works > but possible regressions are unknown. > > Please read the orginal author's paper to understand > the overall problem this patch tries to solve. > > See

Re: [PATCH 4/7] kref: Remove WARN_ON for NULL release functions

2017-03-15 Thread Peter Zijlstra
On Wed, Mar 15, 2017 at 10:46:56AM +0800, Greg KH wrote: > On Tue, Mar 14, 2017 at 07:14:28PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > The kref functions check for NULL release functions. > > This WARN_ON seems rather pointless. We will eventually release and > > then just crash

ZONE_NORMAL vs. ZONE_MOVABLE (was: Re: [RFC PATCH] rework memory hotplug onlining)

2017-03-15 Thread Michal Hocko
On Wed 15-03-17 11:48:37, Vitaly Kuznetsov wrote: > Michal Hocko writes: [...] > Speaking about long term approach, Not really related to the patch but ok (I hope this will not distract from the original intention here)... > (I'm not really familiar with the history of memory zones code so

Re: [PATCH] drm/exynos: Print kernel pointers in a restricted form

2017-03-15 Thread Tobias Jakobi
Hello Andrzej, note that i had already pointed Krzysztof to that documentation in my previous mail. - Tobias Andrzej Hajda wrote: > Hi Tobias, > > On 14.03.2017 21:41, Tobias Jakobi wrote: >> Krzysztof Kozlowski wrote: >>> On Tue, Mar 14, 2017 at 08:17:35PM +0100, Tobias Jakobi wrote:

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

2017-03-15 Thread Joel Fernandes
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. > > On 10-Mar 12:47, Joel Fernandes wrote: >> This patch rewrites comments related task priorities and CPU

Re: [PATCH] ARM: tegra: Select SOC_TEGRA_PMC to fix linking error

2017-03-15 Thread Jon Hunter
On 11/03/17 20:26, Krzysztof Kozlowski wrote: > It is possible to create a ARMv7 config with ARCH_TEGRA but without any > SoC specific flavors. Such configs fails because mach-tegra/pm.c is > compiled always and it references SOC_TEGRA_PMC driver: > > arch/arm/mach-tegra/built-in.o: In

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

2017-03-15 Thread Jack Wang
2017-03-13 7:43 GMT+01:00 Sreekanth Reddy : > 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 doesn't support

[PATCH v4 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode

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

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

2017-03-15 Thread Ming Lei
On Wed, Mar 15, 2017 at 08:18:53PM +0800, Ming Lei wrote: > On Wed, Mar 15, 2017 at 12:07:37AM +, Bart Van Assche wrote: > > > or __blk_mq_requeue_request(). Another issue with this function is that the > > __blk_mq_requeue_request() can be run from two pathes: > > - dispatch failure,

[PATCH] clk: tegra: add Tegra210 special resets

2017-03-15 Thread Peter De Schrijver
Tegra210 has 2 special resets which don't follow the normal pattern: DVCO and ADSP. Add them in this patch. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 85 1 file changed, 85 insertions(+) diff --git

Re: stable build: 199 builds: 1 failed, 198 passed, 1 error, 31 warnings (v4.4.52)

2017-03-15 Thread Arnd Bergmann
On Wed, Mar 15, 2017 at 8:22 AM, gregkh wrote: > On Tue, Feb 28, 2017 at 02:55:42PM +0100, Arnd Bergmann wrote: >> On Sun, Feb 26, 2017 at 3:09 PM, kernelci.org bot wrote: >> > stable build: 199 builds: 1 failed, 198 passed, 1 error, 31 warnings >> >> d43e6fb4ac4a ("cpmac: remove hopeless

Re: [PATCH v4] mm/vmscan: more restrictive condition for retry in do_try_to_free_pages

2017-03-15 Thread Michal Hocko
On Wed 15-03-17 19:36:48, Yisheng Xie wrote: > By reviewing code, I find that when enter do_try_to_free_pages, the > may_thrash is always clear, and it will retry shrink zones to tap > cgroup's reserves memory by setting may_thrash when the former > shrink_zones reclaim nothing. > > However, when

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

2017-03-15 Thread Ulf Hansson
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 mmc core layer. > If mmc-card sub-node is detected, set

Re: stable build: 203 builds: 3 failed, 200 passed, 5 errors, 28 warnings (v4.9.13)

2017-03-15 Thread Arnd Bergmann
On Wed, Mar 15, 2017 at 8:22 AM, gregkh wrote: > On Tue, Feb 28, 2017 at 02:50:03PM +0100, Arnd Bergmann wrote: >> On Sun, Feb 26, 2017 at 2:52 PM, kernelci.org bot wrote: >> > >> > stable build: 203 builds: 3 failed, 200 passed, 5 errors, 28 warnings >> > (v4.9.13) >> >> Only one warning that

Re: [PATCH v6 07/14] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2017-03-15 Thread Ulf Hansson
[...] > + > +Example: > +- For eMMC: > + > + sdhci@aa { > + compatible = "marvell,armada-ap806-sdhci"; > + reg = <0xaa 0x1000>; > + interrupts = > + clocks = <_clk>; > + clock-names = "core"; > +

Re: ZONE_NORMAL vs. ZONE_MOVABLE

2017-03-15 Thread Vitaly Kuznetsov
Michal Hocko writes: > On Wed 15-03-17 11:48:37, Vitaly Kuznetsov wrote: >> Michal Hocko writes: > [...] >> Speaking about long term approach, > > Not really related to the patch but ok (I hope this will not distract > from the original intention here)... > Yes, not directly related to your

Re: net/sctp: recursive locking in sctp_do_peeloff

2017-03-15 Thread Marcelo Ricardo Leitner
On Tue, Mar 14, 2017 at 09:52:15PM -0700, Cong Wang wrote: > On Fri, Mar 10, 2017 at 12:04 PM, Dmitry Vyukov wrote: > > On Fri, Mar 10, 2017 at 8:46 PM, Marcelo Ricardo Leitner > > wrote: > >> On Fri, Mar 10, 2017 at 4:11 PM, Dmitry Vyukov wrote: > >>> Hello, > >>> > >>> I've got the following

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

2017-03-15 Thread Quentin Schulz
The NextThing Co. CHIP has an AXP209 PMIC with battery connector. This enables the battery power supply subnode. Signed-off-by: Quentin Schulz Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-r8-chip.dts | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2] clk: tegra: add Tegra210 special resets

2017-03-15 Thread Peter De Schrijver
Tegra210 has 2 special resets which don't follow the normal pattern: DVCO and ADSP. Add them in this patch. Changelog: v2: add DT bindings file Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 85

Re: [RFC v3 0/5] Add capacity capping support to the CPU controller

2017-03-15 Thread Patrick Bellasi
On 15-Mar 12:41, Rafael J. Wysocki wrote: > On Tuesday, February 28, 2017 02:38:37 PM Patrick Bellasi wrote: > > Was: SchedTune: central, scheduler-driven, power-perfomance control > > > > This series presents a possible alternative design for what has been > > presented > > in the past as

[GIT PULL] intel_th: Fixes for char-misc-linus

2017-03-15 Thread Alexander Shishkin
://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git tags/stm-fixes-for-greg-20170315 for you to fetch changes up to 340837f985c2cb87ca0868d4aa9ce42b0fab3a21: intel_th: pci: Add Gemini Lake support (2017-03-15 14:55:18 +0200

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

2017-03-15 Thread Joel Fernandes
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 OPP when RT/DL tasks are RUNNABLE. >> > Such a mandatory policy can

Re: [PATCH 0/7] net, netfilter refcounter conversions

2017-03-15 Thread Pablo Neira Ayuso
On Wed, Mar 15, 2017 at 01:10:38PM +0200, Elena Reshetova wrote: > This series, for the netfilter subsystem, replaces atomic_t reference > counters with the new refcount_t type and API (see include/linux/refcount.h). > By doing this we prevent intentional or accidental > underflows or overflows

Re: [RFC PATCH 0/4] pinctrl: rockchip: PREEMPT_RT_FULL fixes

2017-03-15 Thread Linus Walleij
On Mon, Mar 13, 2017 at 7:38 PM, John Keeping wrote: > As described in Documentation/gpio/driver.txt, we should not be using > sleepable APIs in the irqchip implementation. Since this includes the > regmap API, this patch series ends up moving the mux setup for IRQs into > an

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

2017-03-15 Thread Ulf Hansson
On 14 February 2017 at 18:01, Gregory CLEMENT wrote: > From: Hu Ziji > > Add Xenon eMMC/SD/SDIO host controller core functionality. > Add Xenon specific initialization process. > Add Xenon specific mmc_host_ops APIs. > Add Xenon specific register definitions. > > Add CONFIG_MMC_SDHCI_XENON

[PATCH v4 16/18] ARM: dtsi: axp22x: add battery power supply subnode

2017-03-15 Thread Quentin Schulz
The X-Powers AXP22X PMIC exposes battery supply various data such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capacity (in percentage), voltage max limit, current voltage, and battery capacity (in Ah). This adds the battery power supply

Re: ZONE_NORMAL vs. ZONE_MOVABLE

2017-03-15 Thread Michal Hocko
On Wed 15-03-17 13:53:09, Vitaly Kuznetsov wrote: > Michal Hocko writes: > > > On Wed 15-03-17 11:48:37, Vitaly Kuznetsov wrote: [...] > >> What actually stops us from having the following approach: > >> 1) Everything is added to MOVABLE > >> 2) When we're out of memory for kernel allocations in

[PATCH] mmc: 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 --- drivers/mmc/host/sdhci.c | 1 - drivers/mmc/host/wbsd.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c

Re: stable build: 203 builds: 4 failed, 199 passed, 5 errors, 41 warnings (v4.10.1)

2017-03-15 Thread Arnd Bergmann
On Wed, Mar 15, 2017 at 8:22 AM, gregkh wrote: > > All now queued up in the stable trees, thanks. Like 4.9.y it builds clean except for a couple of stack frame size warnings and this one that continues to puzzle me. /bin/sh: 1:

Re: [PATCH v4 4/5] mfd: exynos-lpass: Use common soc/exynos-regs-pmu.h header

2017-03-15 Thread Krzysztof Kozlowski
On Wed, Mar 15, 2017 at 2:12 PM, Lee Jones wrote: > On Wed, 15 Mar 2017, Krzysztof Kozlowski wrote: > >> On Wed, Mar 15, 2017 at 12:10 PM, Lee Jones wrote: >> > On Tue, 14 Mar 2017, Krzysztof Kozlowski wrote: >> > >> >> The MFD-specific header will go away because it duplicates defines from >>

[PATCH 1/2] selftests: keep consistency for uname -m usage

2017-03-15 Thread Fathi Boudra
powerpc selftests allow to override ARCH for cross-compilation by making the first ARCH assignment weak. Use the same approach in breakpoints, ipc and prctl tests to: - keep uname usage consistent across selftests - make it easier to cross-compile Signed-off-by: Fathi Boudra ---

[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

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

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

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

[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 -

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

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

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) *

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

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

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

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

[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 ---

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

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,

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

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

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 >

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

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.

[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

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

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,

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,

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

[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

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

[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:

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

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

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

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

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

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 >

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

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

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,

[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

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

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) || >> +

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

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

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

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

[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 ---

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

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

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, >> >

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

[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

<    8   9   10   11   12   13   14   15   16   17   >