Re: [PATCH 2/2] printk/console: Enhance the check for consoles using init memory

2017-07-27 Thread Sergey Senozhatsky
On (07/27/17 11:28), Petr Mladek wrote: > > well, the console output is far from perfect, so I can imagine future > > changes ;) > > Sure and we will need to deal with it. Anyway, I still thing that this > check is better than nothing. Even if we "fix" all consoles and move > them out of init sect

Re: [PATCH 3/4] ACPI / APEI: Drop uninformative messages during boot

2017-07-27 Thread Borislav Petkov
On Thu, Jul 27, 2017 at 10:35:45AM +0100, Punit Agrawal wrote: > ... would you be open to a patch re-working the ghes driver > initialisation to only do the platform driver registration. The the rest > of the initialisation (including the apei_osc_setup and related > messages) can be performed when

Re: [PATCH net-next 2/2] bnxt_en: define sriov_lock unconditionally

2017-07-27 Thread Arnd Bergmann
On Thu, Jul 27, 2017 at 11:00 AM, Sathya Perla wrote: > On Thu, Jul 27, 2017 at 1:18 PM, Arnd Bergmann wrote: > [...] >> >> On today's linux-next: >> >> drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.o: In function >> `bnxt_dl_register': >> bnxt_vfr.c:(.text+0x1440): undefined reference to `devlink

Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning

2017-07-27 Thread Mark Brown
On Wed, Jul 26, 2017 at 02:39:11PM -0700, Andrew Morton wrote: > On Wed, 26 Jul 2017 15:28:06 +0100 Mark Brown wrote: > > On Wed, Jul 26, 2017 at 03:37:32PM +0200, Arnd Bergmann wrote: > > > When we pass the result of a multiplication as the timeout or > > > the delay, we can get a warning: > >

Re: Regression with suspicious RCU usage splats with cpu_pm change

2017-07-27 Thread Alex Shi
Hi Rafael, Guess you overlook my new patch in this thread. :) Do I need to recent this patch as new? or you could pick it up here? BTW, it's Tested-by: Tony Lindgren Thanks! Alex On 07/17/2017 07:24 AM, Alex Shi wrote: > > > On 07/13/2017 08:43 PM, Paul E. McKenney wrote: >> On Thu, Jul 13,

Re: [PATCH 3/4] ACPI / APEI: Drop uninformative messages during boot

2017-07-27 Thread Punit Agrawal
Borislav Petkov writes: > On Thu, Jul 27, 2017 at 10:35:45AM +0100, Punit Agrawal wrote: >> ... would you be open to a patch re-working the ghes driver >> initialisation to only do the platform driver registration. The the rest >> of the initialisation (including the apei_osc_setup and related >>

trinity test fanotify cause hungtasks on kernel 4.13

2017-07-27 Thread Gu Zheng
hi,Eric Paris: when we used the trinity test the fanotify interfaces, it cause many hungtasks. CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y the shell is simple: 1 #!/bin/bash 2 3 while true 4 do 5 ./trinity -c fanotify_init -l off -C 2 -X > /dev/null 2>&1 & 6 sleep 1 7 ./trinity -c fanotify

Re: [PATCH] drivers/rxe: improve rxe loopback

2017-07-27 Thread Marcel Apfelbaum
On 27/07/2017 10:04, Moni Shoua wrote: On Wed, Jul 26, 2017 at 10:57 PM, Yuval Shaia wrote: On Wed, Jul 26, 2017 at 05:52:48PM +0300, Marcel Apfelbaum wrote: Currently a packet is marked for loopback only if the source and destination address match. This is not enough when multiple gids are pr

Re: [PATCH V4 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-27 Thread Peter Zijlstra
On Wed, Jul 26, 2017 at 02:52:32PM +0530, Viresh Kumar wrote: > diff --git a/kernel/sched/cpufreq_schedutil.c > b/kernel/sched/cpufreq_schedutil.c > index 45fcf21ad685..bb834747e49b 100644 > --- a/kernel/sched/cpufreq_schedutil.c > +++ b/kernel/sched/cpufreq_schedutil.c > @@ -72,10 +72,15 @@ stati

[PATCH] tinydrm: repaper: add CONFIG_THERMAL dependency

2017-07-27 Thread Arnd Bergmann
The new RePaper driver uses the thermal subsystem, and fails to link when it is built-in but thermal is a loadable module: drivers/gpu/drm/tinydrm/repaper.o: In function `repaper_probe': repaper.c:(.text+0x540): undefined reference to `thermal_zone_get_zone_by_name' drivers/gpu/drm/tinydrm/repaper

Re: [PATCHv3 1/6] ALSA: pcm: Export soc_dpcm_runtime_update

2017-07-27 Thread Sebastian Reichel
Hi, On Tue, Jul 25, 2017 at 05:42:59PM +0200, Takashi Iwai wrote: > On Tue, 25 Jul 2017 17:10:25 +0200, > Sebastian Reichel wrote: > > Some codecs may need to use this from loadable modules. Without > > this patch compilation for this kind of codec will fail with the > > following error: > > > >

Re: [alsa-devel] [PATCH v1 5/6] ASoC: codecs: msm8916-wcd-analog: add MBHC support

2017-07-27 Thread Srinivas Kandagatla
Thanks Damien, for testing the patchset. On 26/07/17 20:35, Damien Riegel wrote: [Sorry for breaking the thread, but I don't have the initial message to reply to.] I tried your patchset and faced some issues regarding removal detection: the driver detects headphone and microphone removal as so

Re: [PATCH 2/2] printk/console: Enhance the check for consoles using init memory

2017-07-27 Thread Petr Mladek
On Thu 2017-07-27 18:51:01, Sergey Senozhatsky wrote: > On (07/27/17 11:29), Petr Mladek wrote: > [..] > > > > Signed-off-by: Petr Mladek > > > > > > Reviewed-by: Sergey Senozhatsky > > > > Thanks for the review. I am going to push the two patches into > > for-4.14 branch so that we could get s

Re: [PATCH 06/12] ARM: omap2: mark unused functions as __maybe_unused

2017-07-27 Thread Sebastian Reichel
Hi, On Thu, Jul 20, 2017 at 05:51:44PM +0200, Arnd Bergmann wrote: > The omap_generic_init() and omap_hwmod_init_postsetup() functions are > used in the initialization for all OMAP2+ SoC types, but in the > extreme case that those are all disabled, we get a warning about > unused code: > > arch/a

Re: [PATCH] btrfs: Remove extra parentheses from condition in copy_items()

2017-07-27 Thread Christoph Hellwig
> - if ((i == (nr - 1))) > + if (i == (nr - 1)) Please remove the other set of redundant parentheses as well if you change that line.

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-27 Thread Peter Zijlstra
On Thu, Jul 27, 2017 at 10:53:12AM +0200, Peter Zijlstra wrote: > Another crazy idea is using madvise() for this. The new MADV_MEMBAR > could revoke PROT_WRITE and PROT_READ for all extant PTEs. Then the > tasks attempting access will fault and the fault handler can figure out > if it still needs

Re: [PATCH v6 4/7] drm/rockchip: vop: group vop registers

2017-07-27 Thread Heiko Stübner
Am Donnerstag, 27. Juli 2017, 11:51:06 CEST schrieb Heiko Stübner: > Hi Mark, > > Am Mittwoch, 26. Juli 2017, 14:19:25 CEST schrieb Mark Yao: > > Grouping the vop registers facilitates make register > > definition clearer, and also is useful for different vop > > reuse the same group register. > >

[PATCH RESEND] ARM: davinci: don't mark vpif_input structures as 'const'

2017-07-27 Thread Arnd Bergmann
A change to the platform data definitions caused a warning in the board code: arch/arm/mach-davinci/board-dm646x-evm.c:680:13: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] arch/arm/mach-davinci/board-dm646x-evm.c:690:13: error: initializ

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-27 Thread Peter Zijlstra
On Tue, Jul 25, 2017 at 12:36:12PM -0700, Paul E. McKenney wrote: > This horse is already out, so trying to shut the gate won't be effective. So I'm not convinced it is. The mprotect() hack isn't portable as we've established and on x86 where it does work, it doesn't (much) perturb tasks not relat

[PATCH] genirq/cpuhotplug: Revert "Set force affinity flag on hotplug migration"

2017-07-27 Thread Thomas Gleixner
That commit was part of the changes moving x86 to the generic CPU hotplug interrupt migration code. The force flag was required on x86 before the hierarchical irqdomain rework, but invoking set_affinity() with force=true stayed and had no side effects. At some point in the past, the force flag got

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-27 Thread Will Deacon
On Thu, Jul 27, 2017 at 10:53:12AM +0200, Peter Zijlstra wrote: > On Wed, Jul 26, 2017 at 06:01:15PM +, Mathieu Desnoyers wrote: > > > Another alternative for a MEMBARRIER_CMD_SHARED_EXPEDITED would be > > rate-limiting > > per thread. For instance, we could add a new "ulimit" that would boun

Re: [PATCHv2 0/6] Motorola Droid 4 Audio Support

2017-07-27 Thread Mark Brown
On Thu, Jul 27, 2017 at 02:39:43AM -0700, Tony Lindgren wrote: > * Takashi Iwai [170718 02:38]: > > The problem manifests itself as an unblanaced of node reference. > > The node is released mistakenly at of_node_put() and this is caught as > > sleep-in-atomic, fortunately. > > So likely either s

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-27 Thread Peter Zijlstra
On Wed, Jul 26, 2017 at 11:30:32AM -0700, Paul E. McKenney wrote: > The patch I posted reverts to synchronize_sched() in kernels booted with > rcupdate.rcu_normal=1. ;-) So boot parameters are no solution and are only slightly better than compile time switches. What if you have a machine that ru

Re: [PATCH] genirq/cpuhotplug: Revert "Set force affinity flag on hotplug migration"

2017-07-27 Thread Will Deacon
Thanks Thomas, this should fix our nightly testing which is currently failing the CPU hotplug tests. On Thu, Jul 27, 2017 at 12:21:11PM +0200, Thomas Gleixner wrote: > --- a/kernel/irq/cpuhotplug.c > +++ b/kernel/irq/cpuhotplug.c > @@ -95,8 +95,13 @@ static bool migrate_one_irq(struct irq_d >

Re: [PATCHv2 1/2] dt-bindings: backlight: add ti-lmu-backlight binding

2017-07-27 Thread Sebastian Reichel
Hi, On Mon, Jul 24, 2017 at 11:58:26AM -0500, Rob Herring wrote: > On Mon, Jul 17, 2017 at 03:39:55PM +0200, Sebastian Reichel wrote: > > +Required property: > > + - compatible: Should be one of: > > +"ti,lm3532-backlight" > > +"ti,lm3631-backlight" > > +"ti,lm3632-backligh

[PATCH] rbd: add timeout function to rbd driver

2017-07-27 Thread xiongweijiang666
From: Xiongwei Jiang when an application is writing or reading on rbd device, if some or all OSDs crash, the application will hang and can't be killed because it is in D state. Even though OSDs comes up later, the application may still keeps in D state. So we need a timeout mechanism to solve thi

Re: [PATCH 1/2] ASoC: hdmi-codec: Allow drivers to restrict sample sizes.

2017-07-27 Thread Jyri Sarha
On 07/17/17 17:02, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > Currently hdmi client drivers does have means to limit the > sample sizes that it can only support. Having formats parameter > option would solve this. > > This issue was noticed on DB410c board when adv7511

Re: [PATCH net-next v2 02/10] net: dsa: lan9303: Do not disable/enable switch fabric port 0 at startup

2017-07-27 Thread Egil Hjelmeland
On 26. juli 2017 18:58, Andrew Lunn wrote: On Tue, Jul 25, 2017 at 06:15:45PM +0200, Egil Hjelmeland wrote: For some mysterious reason enable switch fabric port 0 TX fails to work, when the TX has previous been disabled. Resolved by not disable/enable switch fabric port 0 at startup. Port 1 and

[PATCH v2] clk: meson: gxbb: add sd_emmc clk0 clocks

2017-07-27 Thread Jerome Brunet
Input source 0 of the mmc controllers is not directly xtal, as currently described in DT. Each controller is fed by a composite clock (the usual mux, divider and gate). The muxes inputs are the xtal (default) and the fclk_div clocks. These parents, along with the divider, should be able to provide

Re: [PATCH] drivers/rxe: improve rxe loopback

2017-07-27 Thread Leon Romanovsky
On Thu, Jul 27, 2017 at 12:49:17PM +0300, Marcel Apfelbaum wrote: > On 27/07/2017 10:36, Leon Romanovsky wrote: > > On Wed, Jul 26, 2017 at 05:52:48PM +0300, Marcel Apfelbaum wrote: > > > Currently a packet is marked for loopback only if the source and > > > destination address match. This is not e

[PATCH 1/4] staging: ccree: fix parenthesis alignment

2017-07-27 Thread Gilad Ben-Yossef
Fix various remaining parenthesis alignment issues. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 46 + drivers/staging/ccree/ssi_buffer_mgr.c | 30 ++- drivers/staging/ccree/ssi_cipher.c | 2 +- drivers/staging/ccree/ssi_hash.c

[PATCH 4/4] staging: ccree: kmalloc by sizeof var not type

2017-07-27 Thread Gilad Ben-Yossef
Change places where we alloc memory by sizeof type to sizeof var. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 4 ++-- drivers/staging/ccree/ssi_cipher.c | 4 ++-- drivers/staging/ccree/ssi_driver.c | 2 +- drivers/staging/ccree/ssi_hash.c| 4 ++

[PATCH 0/4] staging: ccree: coding style clean ups

2017-07-27 Thread Gilad Ben-Yossef
Misc. coding style fixes for ccree driver. These are the missing patches that failed to apply two weeks ago, rebased onto latest staging-next. By the way, I still do not understand why they failed to apply, as they applied just fine being cherry picked on top of latest staging-next apart for fixe

[PATCH 3/4] staging: ccree: remove func name from log messages

2017-07-27 Thread Gilad Ben-Yossef
The SSI_LOG macros already add __func__ to log messages, so remove log message that add them a second time in the log message itself. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 4 ++-- drivers/staging/ccree/ssi_cipher.c | 14 +++--- drivers/staging/ccree/ss

[PATCH 2/4] staging: ccree: fix split strings

2017-07-27 Thread Gilad Ben-Yossef
Fix strings in log messages being split across lines and the resulting alignment issues when being fixed. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 9 ++-- drivers/staging/ccree/ssi_buffer_mgr.c | 86 ++--- drivers/staging/ccree/s

Re: [PATCH net-next v2 04/10] net: dsa: lan9303: Added adjust_link() method

2017-07-27 Thread Egil Hjelmeland
On 26. juli 2017 19:09, Andrew Lunn wrote: On Tue, Jul 25, 2017 at 06:15:47PM +0200, Egil Hjelmeland wrote: This makes the driver react to device tree "fixed-link" declaration on CPU port. - turn off autonegotiation - force speed 10 or 100 mb/s - force duplex mode Signed-off-by: Egil Hjelmelan

FYI: Regression tracker now uses an identifier to make tracking easier

2017-07-27 Thread Thorsten Leemhuis
Hi! TLDR: The Linux regression tracker from now on hands out a tag like "Linux-Regression-ID: lr#bd29ab" for every issues he tracks. Please include this string in the comment section of patches that are supposed to fix the issue. Please also mention the string once in other mailinglist threads or d

Re: [v4.13-rc1 fixes] ARM: dts: exynos: Add clocks to audss block to fix silent hang on Exynos4412

2017-07-27 Thread Arnd Bergmann
On Mon, Jul 17, 2017 at 9:45 PM, Krzysztof Kozlowski wrote: > Add necessary parent clocks for audss (Audio SubSystem, MAUDIO) clock > controller block. > > This allows driver to keep EPLL enabled before accessing any MAUDIO > registers thus fixing silent hang. This silent hang appeared with > com

Re: [PATCH RESEND] ARM: davinci: don't mark vpif_input structures as 'const'

2017-07-27 Thread Sekhar Nori
Hi Arnd, On Thursday 27 July 2017 03:42 PM, Arnd Bergmann wrote: > A change to the platform data definitions caused a warning in the board code: > > arch/arm/mach-davinci/board-dm646x-evm.c:680:13: error: initialization > discards 'const' qualifier from pointer target type > [-Werror=discarded-

Re: [PATCH resend v2] soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST

2017-07-27 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 9:12 AM, Geert Uytterhoeven wrote: > The ZTE SoC drivers are only useful when building for a ZTE ZX platform. > > Fixes: 4c2c2e39713b8cfb ("soc: zte: pm_domains: Prepare for supporting ARMv8 > zx2967 family") > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Baoyou Xie

Re: [-next] rtlwifi: kfree entry until after entry->bssid has been accessed

2017-07-27 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > The current code kfree's entry and then dereferences it by accessing > entry->bssid. Avoid the dereference-after-free by moving the kfree > after the access to entry->bssid. > > Detected by CoverityScan, CID#1448600 ("Read from pointer after fr

Re: bcma: gpio: Correct number of GPIOs for BCM53573

2017-07-27 Thread Kalle Valo
Florian Fainelli wrote: > Broadcom BCM53573 SoCs actually have 32 GPIOs, and not 16. > > Fixes: 3f37ec79dd21 ("bcma: support BCM53573 series of wireless SoCs") > Signed-off-by: Florian Fainelli Patch applied to wireless-drivers-next.git, thanks. 459c35148ef6 bcma: gpio: Correct number of GPIO

Re: [PATCH net-next v2 06/10] net: dsa: lan9303: added sysfs node swe_bcst_throt

2017-07-27 Thread Egil Hjelmeland
On 26. juli 2017 19:14, Andrew Lunn wrote: On Tue, Jul 25, 2017 at 06:15:49PM +0200, Egil Hjelmeland wrote: Allowing per-port access to Switch Engine Broadcast Throttling Register Hi Egil In general, we are against using sysfs. If there is a generic mechanism, that applies for all sorts of ne

Re: [PATCH net-next v2 08/10] net: dsa: lan9303: Added ALR/fdb/mdb handling

2017-07-27 Thread Egil Hjelmeland
On 26. juli 2017 19:41, Andrew Lunn wrote: Hi Egil +/* This function will wait a while until mask & reg == value */ +/* Otherwise, return timeout */ +static int lan9303_csr_reg_wait(struct lan9303 *chip, int regno, + int mask, char value) +{ + int i; + +

[RFC 00/12] Misc patches for QCOM clocks

2017-07-27 Thread Abhishek Sahu
This patch series does the miscellaneous changes in different types of Qualcomm clock nodes which are required for IPQ8074 SoC. Following are the major changes in IPQ8074 for which the existing code does not have support. 1. Some of the IPQ8074 RCG2 has CFG_RCGR at offset 8 from CMD_RCGR instea

[RFC 06/12] Clk: qcom: support for dynamic updating the PLL

2017-07-27 Thread Abhishek Sahu
Some of the Alpha PLL’s support dynamic update in which the frequency can be changed dynamically without turning off the PLL. This dynamic update requires the following sequence 1. Write the desired values to pll_l_val and pll_alpha_val. 2. Toggle pll_latch_input from low to high. 3. Wait for pll

[RFC 01/12] clk: qcom: support for register offsets from rcg2 clock node

2017-07-27 Thread Abhishek Sahu
The current driver hardcodes the RCG2 register offsets. Some of the RCG2’s use different offsets from the default one. This patch adds the support to provide the register offsets array in RCG2 clock node. If RCG2 clock node contains the register offsets then this will be used instead of default on

[RFC 08/12] clk: qcom: support for Huayra PLL

2017-07-27 Thread Abhishek Sahu
Following are the major differences in Huayra PLL 1. PLL Alpha Value is 16 bits 2. Depending on alpha_mode, the pll_alpha_val can be treated as M/N value or as a two’s compliment number. 3. Huayra PLL supports PLL dynamic programming. User can change L_VAL, without having to go through the p

[RFC 10/12] clk: qcom: add read-only divider operations

2017-07-27 Thread Abhishek Sahu
Some of the divider settings are preconfigured and should not be changed by the clock framework during frequency change. This patch adds the read-only divider operation for QCOM dividers which is equivalent to generic divider operations in 'commit 79c6ab509558 ("clk: divider: add CLK_DIVIDER_READ_O

[RFC 12/12] clk: qcom: add parent map for regmap mux

2017-07-27 Thread Abhishek Sahu
Currently the driver assumes the register configuration value is identical to its index in the parent map. This patch adds the parent map field in regmap mux clock node which contains the mapping of parent index with actual register configuration value. If regmap node contains this parent map then

[RFC 11/12] clk: qcom: add read-only alpha pll post divider operations

2017-07-27 Thread Abhishek Sahu
Some of the divider settings are preconfigured and should not be changed by the clock framework during frequency change. This patch adds the read-only divider operation for QCOM alpha pll post divider which is equivalent to generic divider operations in 'commit 79c6ab509558 ("clk: divider: add CLK_

Re: [PATCH RESEND] ARM: davinci: don't mark vpif_input structures as 'const'

2017-07-27 Thread Arnd Bergmann
On Thu, Jul 27, 2017 at 12:54 PM, Sekhar Nori wrote: > Hi Arnd, > > On Thursday 27 July 2017 03:42 PM, Arnd Bergmann wrote: >> A change to the platform data definitions caused a warning in the board code: >> >> arch/arm/mach-davinci/board-dm646x-evm.c:680:13: error: initialization >> discards 'co

[RFC 09/12] clk: qcom: support for Brammo PLL

2017-07-27 Thread Abhishek Sahu
Brammo PLL does not allow configuration of VCO and it supports the dynamic update in which the frequency can be changed dynamically without turning off the PLL. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/clk-alpha-pll.c | 12 drivers/clk/qcom/clk-alpha-pll.h | 2 ++ 2 files

[RFC 07/12] clk: qcom: add flag for VCO operation

2017-07-27 Thread Abhishek Sahu
Some of the Alpha PLL’s does not have VCO configuration so this patch adds the flag and does not perform VCO operation if this flag is set. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/clk-alpha-pll.c | 19 --- drivers/clk/qcom/clk-alpha-pll.h | 1 + 2 files changed, 13 ins

[RFC 02/12] clk: qcom: flag for 64 bit CONFIG_CTL

2017-07-27 Thread Abhishek Sahu
Some of the Alpha PLL’s (like Spark, Brammo PLL) do not have CONFIG_CTL_U register. This patch adds the flag for PLL’s which have CONFIG_CTL_U register and checks the same while doing PLL initial configuration. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/clk-alpha-pll.c | 5 - drivers/

[RFC 05/12] clk: qcom: fix 16 bit alpha support calculation

2017-07-27 Thread Abhishek Sahu
The alpha value calculation function has been written for 40 bit alpha which is not coming properly for 16 bit alpha. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/clk-alpha-pll.c | 58 +++- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/d

[RFC 04/12] clk: qcom: use offset from alpha pll node

2017-07-27 Thread Abhishek Sahu
Alpha PLL is a generic name used for Qualcomm PLL’s which uses L and Alpha values for configuring the integer and fractional part. Qualcomm SoC’s use different types of Alpha PLL’s for which basic software configuration part is common. These PLL’s will have same basic registers like PLL_MODE, L_VAL

[RFC 03/12] clk: qcom: support for alpha mode configuration

2017-07-27 Thread Abhishek Sahu
The current configuration does not fully configure PLL alpha mode and values so this patch 1. Configures PLL_ALPHA_VAL_U for PLL which supports 40 bit alpha. 2. Adds alpha enable and alpha mode configuration support. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/clk-alpha-pll.c | 5 + d

Re: [PATCH v5 03/19] arm: qcom-msm8974: dts: Update coresight replicator

2017-07-27 Thread Suzuki K Poulose
On 20/07/17 11:17, Suzuki K Poulose wrote: Replace the obsolete compatible string for Coresight programmable replicator with the new one. Cc: Andy Gross Cc: David Brown Cc: linux-arm-...@vger.kernel.org Cc: Mathieu Poirier Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose David

Re: [PATCH net-next v2 07/10] net: dsa: lan9303: Added basic offloading of unicast traffic

2017-07-27 Thread Egil Hjelmeland
On 26. juli 2017 19:24, Andrew Lunn wrote: Hi Egil +/* forward special tagged packets from port 0 to port 1 *or* port 2 */ +static int lan9303_setup_tagging(struct lan9303 *chip) +{ + int ret; Blank line please. + /* enable defining the destination port via special VLAN tagging

Re: [PATCH v5 02/19] arm64: juno: dts: Use the new coresight replicator string

2017-07-27 Thread Sudeep Holla
Hi Suzuki, On 20/07/17 13:57, Liviu Dudau wrote: > On Thu, Jul 20, 2017 at 11:17:12AM +0100, Suzuki K Poulose wrote: >> Use the new compatible for ATB programmable replicator in Juno. >> >> Cc: Sudeep Holla >> Cc: Mike Leach >> Cc: Mathieu Poirier >> Cc: Liviu Dudau > > Acked-by: Liviu Dudau

Re: [PATCH] rbd: add timeout function to rbd driver

2017-07-27 Thread Ilya Dryomov
On Thu, Jul 27, 2017 at 12:32 PM, wrote: > From: Xiongwei Jiang > > when an application is writing or reading on rbd device, if some or all > OSDs crash, the application will hang and can't be killed because it is > in D state. Even though OSDs comes up later, the application may still > keeps i

Re: [PATCH] turbostat: Running on virtual machine is not supported

2017-07-27 Thread Prarit Bhargava
On 07/26/2017 11:09 PM, Len Brown wrote: > Henrique, > > I like your suggestion, thanks! > > BTW. let's discuss (and patch) turbostat on linux-pm, rather than on lkml. Sure -- Len, can you add an entry to RHMAINTAINERS for that? I use the get_maintainer.pl script to apply all cc's. P.

Re: [alsa-devel] [PATCH v3 07/17] regulator: arizona-micsupp: Add support for Cirrus Logic Madera codecs

2017-07-27 Thread Richard Fitzgerald
On Mon, 2017-06-05 at 12:10 -0500, Rob Herring wrote: > On Fri, Jun 02, 2017 at 04:03:00PM +0100, Richard Fitzgerald wrote: > > This adds a new driver identity "madera-micsupp" and probe function > > so that this driver can be used to control the micsupp regulator on > > Cirrus Logic Madera codecs.

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-27 Thread Jassi Brar
On Thu, Jul 27, 2017 at 11:20 AM, Anup Patel wrote: > On Thu, Jul 27, 2017 at 10:29 AM, Jassi Brar wrote: >>> Sorry for the delayed response... >>> >>> On Fri, Jul 21, 2017 at 9:16 PM, Jassi Brar >>> wrote: Hi Anup, On Fri, Jul 21, 2017 at 12:25 PM, A

Re: gigantic hugepages vs. movable zones

2017-07-27 Thread Vlastimil Babka
On 07/27/2017 10:22 AM, Michal Hocko wrote: > [CC for real] > > On Thu 27-07-17 10:12:36, Michal Hocko wrote: >> On Thu 27-07-17 13:30:31, Aneesh Kumar K.V wrote: >>> >>> >>> On 07/27/2017 12:58 PM, Michal Hocko wrote: On Thu 27-07-17 07:52:08, Aneesh Kumar K.V wrote: > Michal Hocko writ

Re: [RESEND PATCH 1/2] userfaultfd: Add feature to request for a signal delivery

2017-07-27 Thread Michal Hocko
Please do not forget to provide a man page update with clarified semantic. -- Michal Hocko SUSE Labs

Re: [PATCHv3 0/6] Motorola Droid 4 Audio Support

2017-07-27 Thread Tony Lindgren
* Sebastian Reichel [170725 08:11]: > Hi, > > This adds audio support to Motorola Droid 4. > > Tested: > - Playing via both DACs using Speaker, Earpiece, Headphone > - Recording using internal Mic > - Volume Controls > > Known not to work: > - 3.5mm detection support (requires closed source

Re: [PATCHv1 00/14] omapdrm: DSI command mode panel support

2017-07-27 Thread Tony Lindgren
* Sebastian Reichel [170724 10:34]: > Hi, > > This adds support for command mode DSI panels to > omapdrm. I tested the patches on Nokia N950 (omap3) > and Motorola Droid 4 (omap4). This is basically > PATCHv3 of my series adding N950 display support, > but I started from scratch without reverting

Re: [PATCHv2 0/2] backlight: Add TI LMU backlight driver

2017-07-27 Thread Tony Lindgren
* Sebastian Reichel [170717 06:40]: > Hi, > > This adds backlight support for TI LMU devices. I updated the > patches from Milo Kim according to the comments from Daniel > Thompson and tested the result on Droid 4. Works for me: Tested-by: Tony Lindgren

Re: [PATCH 1/2] ASoC: hdmi-codec: Allow drivers to restrict sample sizes.

2017-07-27 Thread Srinivas Kandagatla
On 27/07/17 11:34, Jyri Sarha wrote: On 07/17/17 17:02, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla Currently hdmi client drivers does have means to limit the sample sizes that it can only support. Having formats parameter option would solve this. This issue was noticed

[PATCH 1/5] mm: ksm: constify attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/ksm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/

[PATCH 0/5] constify mm attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (5): [PATCH 1/5] mm: ksm: constify attribute_group structures. [PATCH 2/5] mm: slub: constify att

[PATCH 2/5] mm: slub: constify attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm

[PATCH 3/5] mm: page_idle: constify attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/page_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Chen-Yu Tsai
On ARM, the kernel busy loops after cleaning up when a core is to be halted. This may have the undesired effect of increasing the core temperature, at a time when no power or thermal management is available, such as a kernel panic or shutdown to halt. x86 uses the more efficient HLT (halt) instruc

[PATCH 4/5] mm: huge_memory: constify attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 5/5] mm: hugetlb: constify attribute_group structures.

2017-07-27 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/hugetlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[PATCH v2] f2fs: provide f2fs_balance_fs to __write_node_page

2017-07-27 Thread Yunlong Song
Let node writeback also do f2fs_balance_fs to ensure there are always enough free segments. Signed-off-by: Yunlong Song --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/node.c | 14 -- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/fs/f2

[PATCH] eeprom: idt_89hpesx: Support both ACPI and OF probing

2017-07-27 Thread quochuybk2010
From: Huy Duong Allow the idt_89hpesx driver to get information from child nodes from both OF and ACPI by using more generic fwnode_property_read*() functions. Below is an example of instantiating idt_89hpesx driver via ACPI Table: Device(IDT0) { Name(_HID, "PRP0001") Name(_CID, "PRP0001") N

Re: [PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-27 Thread Joerg Roedel
Hey Heiko, On Wed, Jul 26, 2017 at 03:53:06PM +0200, Heiko Stübner wrote: > Having code and dts changes go through different trees is no problem, as they > don't have a compile-time dependencies on each other and come together nicely > in linux-next again. Okay, I removed ARM64: dts: rockchip:

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-27 Thread Baruch Siach
Hi Yong, I managed to get the Frame Done interrupt with the previous version of this driver on the A33 OLinuXino. No data yet (all zeros). I'm still working on it. One comment below. On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > Allwinner V3s SoC have two CSI module. CSI0 is used

Re: [PATCH v2] f2fs: provide f2fs_balance_fs to __write_node_page

2017-07-27 Thread Yunlong Song
v1->v2, fix some dead lock problems under some heavy load test On 2017/7/27 20:11, Yunlong Song wrote: Let node writeback also do f2fs_balance_fs to ensure there are always enough free segments. Signed-off-by: Yunlong Song --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 2 +- fs

[PATCH] eeprom: idt_89hpesx: Support both ACPI and OF probing

2017-07-27 Thread quochuybk2010
From: Huy Duong Allow the idt_89hpesx driver to get information from child nodes from both OF and ACPI by using more generic fwnode_property_read*() functions. Below is an example of instantiating idt_89hpesx driver via ACPI Table: Device(IDT0) { Name(_HID, "PRP0001") Name(_CID, "PRP0001") N

Re: [PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Russell King - ARM Linux
On Thu, Jul 27, 2017 at 08:08:03PM +0800, Chen-Yu Tsai wrote: > On ARM, the kernel busy loops after cleaning up when a core is to be > halted. This may have the undesired effect of increasing the core > temperature, at a time when no power or thermal management is > available, such as a kernel pani

Re: [GIT PULL] Immutable branch between MFD, ARM and I2C due for the v4.14 merge window

2017-07-27 Thread Wolfram Sang
On Tue, Jul 18, 2017 at 09:04:41AM +0100, Lee Jones wrote: > Enjoy! > > The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: > > Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-27 Thread Maxime Ripard
On Thu, Jul 27, 2017 at 03:16:44PM +0300, Baruch Siach wrote: > Hi Yong, > > I managed to get the Frame Done interrupt with the previous version of this > driver on the A33 OLinuXino. No data yet (all zeros). I'm still working on it. > > One comment below. > > On Thu, Jul 27, 2017 at 01:01:35PM

Re: [PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-27 Thread Heiko Stübner
Hi Joerg, Am Donnerstag, 27. Juli 2017, 14:15:18 CEST schrieb Joerg Roedel: > Hey Heiko, > > On Wed, Jul 26, 2017 at 03:53:06PM +0200, Heiko Stübner wrote: > > Having code and dts changes go through different trees is no problem, as > > they don't have a compile-time dependencies on each other an

[mmots] build error: mm: prevent racy access to tlb_flush_pending

2017-07-27 Thread Sergey Senozhatsky
Hello, 8c636138f497b36ae95f ("mm: prevent racy access to tlb_flush_pending") kills the build kernel/fork.c: In function ‘mm_init’: kernel/fork.c:810:18: error: ‘struct mm_struct’ has no member named ‘tlb_flush_pending’; did you mean ‘tlb_flush_batched’? atomic_set(&mm->tlb_flush_pending, 0);

Re: powerpc/pseries: use memdup_user_nul

2017-07-27 Thread Michael Ellerman
On Sat, 2017-04-29 at 01:45:15 UTC, Geliang Tang wrote: > Use memdup_user_nul() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/3783225130f01ea86fc0ee477a0e72 cheers

Re: [v13,1/5] powerpc/platform/powernv: Update IMC OPAL APIs

2017-07-27 Thread Michael Ellerman
On Tue, 2017-07-18 at 21:36:32 UTC, Madhavan Srinivasan wrote: > In-Memory Collection (IMC) counters are performance monitoring infrastrcuture. > These counters need special sequence of scoms to init/start/stop which is > handled > by OPAL. And OPAL provides three APIs to init and control these IM

xattr hash error in 4.13-rc with overlayfs over ext4

2017-07-27 Thread Miklos Szeredi
I get the following error on fsck: Pass 1: Checking inodes, blocks, and sizes Extended attribute in inode 3093 has a hash (2257320705) which is invalid Clear? yes Inode 3093, i_blocks is 16, should be 8. Fix? yes To reproduce: [mount ext4 image] mkdir xattrhashtest cd xattrhashtest/ mkdir upper

Re: [PATCH tip/core/rcu 4/5] sys_membarrier: Add expedited option

2017-07-27 Thread Mathieu Desnoyers
- On Jul 26, 2017, at 9:45 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: > On Wed, Jul 26, 2017 at 02:11:46PM -0700, Paul E. McKenney wrote: >> On Wed, Jul 26, 2017 at 08:37:23PM +, Mathieu Desnoyers wrote: >> > - On Jul 26, 2017, at 2:30 PM, Paul E. McKenney >> > paul...@li

Re: powerpc/powernv: use memdup_user

2017-07-27 Thread Michael Ellerman
On Sat, 2017-04-29 at 01:45:14 UTC, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5588b29a5cd34aec747202e95f328a cheers

Re: powerpc/pseries: Fix of_node_put() underflow during pseries remove

2017-07-27 Thread Michael Ellerman
On Fri, 2017-07-21 at 14:51:39 UTC, Laurent Vivier wrote: > As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put() > underflow during DLPAR remove"), the call to of_node_put() > must be removed from pSeries_reconfig_remove_node(). > > dlpar_detach_node() and pSeries_reconfig_remove_node()

[PATCH] KVM: nVMX: INVPCID support

2017-07-27 Thread Paolo Bonzini
Expose the "Enable INVPCID" secondary execution control to the guest and properly reflect the exit reason. In addition, before this patch the guest was always running with INVPCID enabled, causing pcid.flat's "Test on INVPCID when disabled" test to fail. Signed-off-by: Paolo Bonzini --- arch/x8

Re: [PATCH 05/11] net: stmmac: dwmac-rk: Add internal phy support

2017-07-27 Thread David.Wu
Hi Andrew, 在 2017/6/24 10:29, Andrew Lunn 写道: If this is the PHY clock, should it actually be specified in the PHY binding? Can you read the PHY ID registers with this clock off? If the phy clock is closed, we can not read the PHYID.

Re: [PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-27 Thread Joerg Roedel
On Thu, Jul 27, 2017 at 02:26:26PM +0200, Heiko Stübner wrote: > Am Donnerstag, 27. Juli 2017, 14:15:18 CEST schrieb Joerg Roedel: > > ARM64: dts: rockchip: rk3328 add iommu nodes > > ARM: dts: rockchip: rk322x add iommu nodes > > ARM64: dts: rockchip: rk3368 add iommu nodes > > ARM64: dts: rockchi

Re: [PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Chen-Yu Tsai
On Thu, Jul 27, 2017 at 8:17 PM, Russell King - ARM Linux wrote: > On Thu, Jul 27, 2017 at 08:08:03PM +0800, Chen-Yu Tsai wrote: >> On ARM, the kernel busy loops after cleaning up when a core is to be >> halted. This may have the undesired effect of increasing the core >> temperature, at a time wh

Re: [PATCH v2 4/4] gfs2: convert to errseq_t based writeback error reporting for fsync

2017-07-27 Thread Bob Peterson
- Original Message - | On Wed, 2017-07-26 at 12:21 -0700, Matthew Wilcox wrote: | > On Wed, Jul 26, 2017 at 01:55:38PM -0400, Jeff Layton wrote: | > > @@ -668,12 +668,14 @@ static int gfs2_fsync(struct file *file, loff_t | > > start, loff_t end, | > > if (ret) | > >

<    1   2   3   4   5   6   7   8   9   >