Re: 4.6-rc*: Kernel unaligned access at pci_bus_read_config_dword+0x64/0x80

2016-06-18 Thread David Miller
From: David Miller Date: Sat, 18 Jun 2016 21:04:21 -0700 (PDT) > From: Anatoly Pugachev > Date: Thu, 16 Jun 2016 13:02:07 +0300 > >> bisected to git commit 63e3027 > > That's a merge commit that adds 100 different commits, and this happened > way back in March. > > Please find the exact dword

Re: [RFC 00/18] Present useful limits to user

2016-06-18 Thread Topi Miettinen
On 06/18/16 14:45, Konstantin Khlebnikov wrote: > On Wed, Jun 15, 2016 at 5:47 PM, Austin S. Hemmelgarn > wrote: >> On 2016-06-14 15:03, Konstantin Khlebnikov wrote: >>> >>> I don't like the idea of this patchset. >>> >>> All limitations are context dependent and that context changes rapidly. >>>

[GIT PULL] ARM: SoC fixes for 4.7-rc

2016-06-18 Thread Olof Johansson
Hi Linus, The following changes since commit 5edb56491d4812c42175980759da53388e5d86f5: Linux 4.7-rc3 (2016-06-12 07:20:35 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to 8fd097670

Re: [PATCH 1/5] spi: do not fail if the CS line is not connected

2016-06-18 Thread Andi Shyti
Hi Mark, > > > > In this case do not fail and defer to the SPI device drivers the > > > > responsibility to check whether the num-cs is '0'. > > > > A SPI controller always has one chip seelct, it may not be controllable > > > but it's at least logically present. > > > This is true, but there ar

Re: [PATCH] clk: samsung: exynos5433: use clock_ignore_unused flag for SPI3 related clocks

2016-06-18 Thread Andi Shyti
Hi Tomasz, > > The SPI 3 bus uses two clocks, a bus clock and an input clock. > > Do not disable the clocks when unused in order to allow access to > > the SPI 3 device. > > If unused, why would access to SPI 3 device needed? because next I will submit a small driver which uses the SPI3. Actuall

Re: [PATCH v4.7-rc] ARM: dts: STi: stih407-family: Disable reserved-memory co-processor nodes

2016-06-18 Thread Olof Johansson
On Fri, Jun 17, 2016 at 01:44:18PM +0200, Maxime Coquelin wrote: > From: Lee Jones > > This patch fixes a non-booting issue in Mainline. > > When booting with a compressed kernel, we need to be careful how we > populate memory close to DDR start. AUTO_ZRELADDR is enabled by default > in multi-a

[rcu:rcu/next 16/16] ERROR: "__udivdi3" [kernel/torture.ko] undefined!

2016-06-18 Thread kbuild test robot
Hi, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9 commit: b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9 [16/16] torture: Convert torture_shutdown() to hrtimer config: m32

Re: [PATCH] net: rds: fix coding style issues

2016-06-18 Thread David Miller
From: Joshua Houghton Date: Sat, 18 Jun 2016 15:46:31 + > Fix coding style issues in the following files: > > ib_cm.c: add space > loop.c: convert spaces to tabs > sysctl.c: add space > tcp.h:convert spaces to tabs > tcp_connect.c:remove extra indentation in switch sta

Re: [PATCH 1/3] ARM: dts: imx7d: create i.MX 7Solo base device tree

2016-06-18 Thread Stefan Agner
On 2016-06-11 18:35, Shawn Guo wrote: > On Tue, Jun 07, 2016 at 07:37:07PM -0700, Stefan Agner wrote: >> The i.MX 7 series currently consists of two SoCs: i.MX 7Solo and >> 7Dual. The i.MX 7Solo implements a subset of features available on >> i.MX 7Dual, hence create imx7s.dtsi as the base device t

ERROR: "bad_dma_ops" [sound/core/snd-pcm.ko] undefined!

2016-06-18 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c141afd1a28793c08c88325aa64b773be6f79ccf commit: 420520766a796d3607639ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA date: 5 months ago co

[PATCH/RFC 3/3] arm64: dts: r8a7795: Support shared irq for thermal sensors

2016-06-18 Thread Khiem Nguyen
This patch adds the shared interrupts for thermal sensors TSC1/TSC2/TSC3. Signed-off-by: Gaku Inami Signed-off-by: Khiem Nguyen --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/a

[PATCH/RFC 2/3] thermal: rcar_gen3_thermal: Modify the way to detect the interrupts

2016-06-18 Thread Khiem Nguyen
The current implementation is that the interrupt I/F and thermal sensor are assigned with one-to-one. So it can't be set the more interrupt trigger to one thermal sensor. Also, the interrupt is detected by a little bit change in temperature. In order to solve the above problems, the interrupt of t

[PATCH/RFC 1/3] thermal: rcar_gen3_thermal: Modify the shared irq with initialization

2016-06-18 Thread Khiem Nguyen
In R-CAR Gen3 series, it has some thermal sensors. The interrupt I/F that can be used in thermal sensors is three. So it should be used the interrupt I/F as shared. This patch changes the shared settings for the thermal interrupts. Signed-off-by: Gaku Inami Signed-off-by: Khiem Nguyen --- driv

[PATCH/RFC 0/3] thermal: rcar_gen3_thermal: Apply shared interrupts for thermal sensors

2016-06-18 Thread Khiem Nguyen
This patchset intents to improve thermal driver operation in interrupt mode, which has been introduced in [1]. The original idea is using 1 interrupt for each thermal sensor, to detect both up and down temperature. It caused issue when the temperature is changing rapidly. The new idea is about u

Re: 4.6-rc*: Kernel unaligned access at pci_bus_read_config_dword+0x64/0x80

2016-06-18 Thread David Miller
From: Anatoly Pugachev Date: Thu, 16 Jun 2016 13:02:07 +0300 > bisected to git commit 63e3027 That's a merge commit that adds 100 different commits, and this happened way back in March. Please find the exact dword access in: drivers/pci/pcie/portdrv_{core,pci,bus}.c that triggers this

Re: PATCH 1/1] AX.25: Close socket connection on session completion

2016-06-18 Thread David Miller
From: Basil Gunn Date: Thu, 16 Jun 2016 09:42:30 -0700 > A socket connection made in ax.25 is not closed when session is > completed. The heartbeat timer is stopped prematurely and this is > where the socket gets closed. Allow heatbeat timer to run to close > socket. Symptom occurs in kernels >=

[PATCH 3/4] staging/lustre: Remove unnecessary space after a cast

2016-06-18 Thread Oleg Drokin
This patch fixes all checkpatch occurences of "CHECK: No space is necessary after a cast" in Lustre code. Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- drivers/staging/lustre/include/linux/lnet/lib-dlc.h | 2 +- drivers/staging/lustre/include/linux/lnet/types.h | 4 ++-

[PATCH 4/4] staging/lustre: Update FID documentation link.

2016-06-18 Thread Oleg Drokin
When OpenSFS took over lustre.org, there was some reshuffling. FIDs on ZFS document is now at http://wiki.old.lustre.org/index.php/Architecture_-_Interoperability_fids_zfs instead of the old location, so update comments accordingly. Signed-off-by: Oleg Drokin Reported-by: Xose Vazquez Perez ---

[PATCH 1/4] staging/lustre: Fix blank line before EXPORT_SYMBOL()

2016-06-18 Thread Oleg Drokin
From: Emoly Liu This patch fixes one checkpatch warning in lustre: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 1 - 1 file changed, 1 deletion(-) dif

[PATCH 2/4] staging/lustre: Keep logical continuations on the previous line

2016-06-18 Thread Oleg Drokin
From: Emoly Liu This patch fixes all checkpatch occurences of "CHECK: Logical continuations should be on the previous line" in Lustre code. Signed-off-by: Emoly Liu Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 9 - drivers/staging/lustre/lustre/

[PATCH 0/4] Some Lustre style cleanups

2016-06-18 Thread Oleg Drokin
These are just some more cleanups in Lustre styel and comments Emoly Liu (2): staging/lustre: Fix blank line before EXPORT_SYMBOL() staging/lustre: Keep logical continuations on the previous line Oleg Drokin (2): staging/lustre: Remove unnecessary space after a cast staging/lustre: Update

[PATCH 4/4] arm64: defconfig: Enable R-Car Gen3 thermal support

2016-06-18 Thread Khiem Nguyen
Signed-off-by: Khiem Nguyen --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4f3e1f6..b5551d9 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -200,8 +200,10 @@

[PATCH 3/4] arm64: dts: r8a7795: Add R-Car Gen3 thermal support

2016-06-18 Thread Khiem Nguyen
Signed-off-by: Hien Dang Signed-off-by: Thao Nguyen Signed-off-by: Khiem Nguyen --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 86 1 file changed, 86 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dts

[PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support

2016-06-18 Thread Khiem Nguyen
Signed-off-by: Hien Dang Signed-off-by: Thao Nguyen Signed-off-by: Khiem Nguyen --- drivers/thermal/Kconfig | 9 + drivers/thermal/Makefile| 1 + drivers/thermal/rcar_gen3_thermal.c | 524 3 files changed, 534 insertions(+) crea

[PATCH 1/4] thermal: rcar_gen3_thermal: Document the R-Car Gen3 thermal bindings

2016-06-18 Thread Khiem Nguyen
Signed-off-by: Hien Dang Signed-off-by: Khiem Nguyen --- .../bindings/thermal/rcar-gen3-thermal.txt | 79 ++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt diff --git a/Documentation/devicetree/b

undefined reference to `bad_dma_ops'

2016-06-18 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c141afd1a28793c08c88325aa64b773be6f79ccf commit: 420520766a796d3607639ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA date:

[PATCH 0/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support

2016-06-18 Thread Khiem Nguyen
This patchset adds new thermal sensor driver to support 3 sensors found in R-Car Gen3 series. It has been decided to create new driver, instead of using the existing thermal driver due to many differences in HW setting flows, the method to calculate temperatures value and some newly supported feat

[rcu:rcu/next 16/16] torture.c:undefined reference to `__udivdi3'

2016-06-18 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9 commit: b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9 [16/16] torture: Convert torture_shutdown() to hrtimer config: i386-randconfig-b0-06190930 (attached as .config)

Re: kernel, mm: NULL deref in copy_process while OOMing

2016-06-18 Thread Tetsuo Handa
On 2016/06/16 18:39, Michal Hocko wrote: > On Wed 15-06-16 12:50:43, Sasha Levin wrote: >> Hi all, >> >> I'm seeing the following NULL ptr deref in copy_process right after a bunch >> of OOM killing activity on -next kernels: >> >> Out of memory (oom_kill_allocating_task): Kill process 3477 (trinit

Fwd: [RFC PATCH 1/3] mm, page_alloc: free HIGHATOMIC page directly to the allocator

2016-06-18 Thread Wenwei Tao
Hi, The original message is somehow determined to be junk mail and rejected by the system. Forward this message. -- Forwarded message -- From: Wenwei Tao Date: 2016-06-19 10:40 GMT+08:00 Subject: Re: [RFC PATCH 1/3] mm, page_alloc: free HIGHATOMIC page directly to the allocator To

Re: [RFC][PATCH] ftracetest: Fix hist unsupported result in hist selftests

2016-06-18 Thread Masami Hiramatsu
On Fri, 17 Jun 2016 17:28:47 -0400 Steven Rostedt wrote: > On Tue, 24 May 2016 12:02:35 +0900 > Namhyung Kim wrote: > > > On Mon, May 23, 2016 at 10:32:43PM -0400, Steven Rostedt wrote: > > > On Tue, 24 May 2016 11:16:31 +0900 > > > Namhyung Kim wrote: > > > > > > > > > > Why not checking

[PATCH] drm/fsl-dcu: use drm_mode_config_cleanup on initialization errors

2016-06-18 Thread Stefan Agner
Commit 7566e247672d ("drm/fsl-dcu: handle initialization errors properly") introduced error handling during initialization, but with a wrong cleanup order. Replace the error handling with the generic cleanup function drm_mode_config_cleanup. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-d

Re: [PATCH v3 3/5] i.MX: system.c: Replace magic numbers

2016-06-18 Thread kbuild test robot
Hi, [auto build test ERROR on shawnguo/for-next] [also build test ERROR on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andrey-Smirnov/i-MX-L2-cache-code-cleanups-and-p

Re: [PATCH 3/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread Greg Kroah-Hartman
On Sat, Jun 18, 2016 at 10:26:08PM +0100, Craig Inches wrote: > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' You can't send 3 different patches all with the same subject line :(

Re: [PATCH 1/3] staging: luster: cl_object.h Checkpatch Cleanup

2016-06-18 Thread Greg Kroah-Hartman
On Sat, Jun 18, 2016 at 10:25:42PM +0100, Craig Inches wrote: > Line length greater than 80 char. What does that mean? What does your subject mean? Please be more descriptive, again, look at other patches that have been merged for examples... greg k-h

Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread Greg Kroah-Hartman
On Sat, Jun 18, 2016 at 10:25:55PM +0100, Craig Inches wrote: > Macros with complex values should be enclosed in parenthesis > > Signed-off-by: Craig Inches > --- > drivers/staging/lustre/lustre/include/cl_object.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) ALWAYS test build yo

[RFC PATCH 3/3] mm, page_alloc: prevent merge freepages between highatomic and others

2016-06-18 Thread Wenwei Tao
From: Wenwei Tao We might not want other migrate types pin highatomic pageblock away since it's reserved for high order use. And also we might not want reserve high atomic pages out of limit, we can add check in __free_one_page but this might be costly, so just stop the merging. Signed-off-by: W

[RFC PATCH 2/3] mm, page_alloc: get page migreate type again when related to highatomic

2016-06-18 Thread Wenwei Tao
From: Wenwei Tao The migratetype might get staled, pages might have become highatomic when we try to free them to the allocator, we might not want to put highatomic pages into other buddy lists, since they are reserved only for atomic high order use. And also highatomic pages could have been unre

Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread kbuild test robot
Hi, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Craig-Inches/staging-luster-cl_object-

Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread kbuild test robot
Hi, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Craig-Inches/staging-luster-cl_object-

Re: [PATCH v2 4/5] mfd: rn5t618: register power off callback optionally

2016-06-18 Thread Stefan Agner
On 2016-06-16 07:59, Lee Jones wrote: > On Tue, 07 Jun 2016, Stefan Agner wrote: > >> Only register power off if the PMIC is defined as system power >> controller (see Documentation/devicetree/bindings/power/ >> power-controller.txt). >> >> Reviewed-by: Marcel Ziswiler >> Signed-off-by: Stefan Ag

[PATCH v4 1/5] i.MX: system.c: Convert goto to if statement

2016-06-18 Thread Andrey Smirnov
Using goto here doesn't bring any advantages and only makes the code flow less clear. No functional changes. Acked-by: Arnd Bergmann Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/system.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --

[PATCH v4 3/5] i.MX: system.c: Replace magic numbers

2016-06-18 Thread Andrey Smirnov
Replace magic numbers used to form L310 Prefetch Control Register value. Acked-by: Arnd Bergmann Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/system.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c index b15

[PATCH v4 4/5] i.MX: system.c: Tweak prefetch settings for performance

2016-06-18 Thread Andrey Smirnov
Update Prefetch Control Register settings to match that of Freescale's Linux tree. As the commit e3addf1b773964eac7f797e8538c69481be4279c states (author Nitin Garg): "... set Prefetch offset to 15, since it improves memcpy performance by 35%. Don't enable Incr double Linefill enable since it adver

[PATCH v4 2/5] i.MX: system.c: Remove redundant errata 752271 code

2016-06-18 Thread Andrey Smirnov
Applying a fix for ARM errata 752271 would already be taken care by a call to a 'fixup' hook as a part of l2x0_of_init() -> __l2c_init() call chain. Moreso the code in 'fixup' function would do that based on the PL310's revsion information, whereas removed code does so based on SoC version which do

[PATCH v4 5/5] i.MX: Do not explicitly call l2x0_of_init()

2016-06-18 Thread Andrey Smirnov
There's no need to explicitly call l2x0_of_init() since it will be called as a part of init_IRQ() (see arch/arm/kernel/irq.c for details). This way we can simplify imx_init_l2cache() and ditch the call to it on i.MX35 (which does not claim compatibility with "arm,pl310-cache") alltogether. Acked-b

[PATCH v3 1/3] arm: tegra: initial support for apalis tk1

2016-06-18 Thread Marcel Ziswiler
This patch adds the device tree to support Toradex Apalis TK1 a computer on module which can be used on different carrier boards. The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor chip and an I210 gigabit Eth

[PATCH v4 0/5] i.MX L2-cache code cleanups and performance tweaks

2016-06-18 Thread Andrey Smirnov
Hi everyone, Here's the fourth (aka v3 with patch 3/5 not broken) version of i.MX L2-cache related patches. Here's what's new from v2: - Generic ARM patches were split into a separte series - Typo and whitespace fixes (as per Uwe's suggestions) - Re-ordered l2c_aux_val, and

[PATCH v3 2/3] arm: tegra: add colibri t30 device tree binding documentation

2016-06-18 Thread Marcel Ziswiler
Add the device tree binding documentation for Colibri T30 which was missing so far. Signed-off-by: Marcel Ziswiler Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/arm/tegra.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v3 3/3] arm: tegra: add apalis tk1 device tree binding documentation

2016-06-18 Thread Marcel Ziswiler
Add the device tree binding documentation for Apalis TK1. Note that this is using dashes aka '-' in compatible strings as previously suggested by Rob. Signed-off-by: Marcel Ziswiler Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/arm/tegra.

[PATCH v2] arm: tegra124: remove commas from unit addresses

2016-06-18 Thread Marcel Ziswiler
Remove commas from unit addresses as suggested by Rob Herring upon me posting initial Apalis TK1 support: http://article.gmane.org/gmane.linux.ports.tegra/26608 Signed-off-by: Marcel Ziswiler --- Changes in v2: - leave gpu node untouched as fix-ups done by older U-Boot version otherwise may

Re: PATCH 1/1] AX.25: Close socket connection on session completion

2016-06-18 Thread David Ranch
Hello David, I don't have a specific commit # for you at the moment but there have been a few serious regressions since 4.1.x. When new code gets commited, are there any systems to run regession tests on? I'd be willing to build up a pair of VMs that can be run with scripts to verify say basi

[PATCH v4 2/3] ARM: tegra: apalis/colibri t30: integrate audio

2016-06-18 Thread Marcel Ziswiler
Integrate Freescale SGTL5000 analogue audio codec support. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren Signed-off-by: Marcel Ziswiler --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/tegra30-apalis.dtsi | 49 ++

[PATCH v4 0/3] ASoC/ARM: tegra: apalis t30/tk1/colibri t30: sgtl5000 audio

2016-06-18 Thread Marcel Ziswiler
This series adds/integrates Freescale SGTL5000 analogue audio codec support. Changes in v4: - simple-audio-card does still not allow for more advanced use cases like Tegra SoCs - further platform drivers have been accepted since my last attempt (e.g. rt5677 one) - relevance for one further bo

Re: [PATCH v3 0/5] i.MX L2-cache code cleanups and performance tweaks

2016-06-18 Thread Andrey Smirnov
Please ignore this version of the patch set, I just realized that I screwed up patch 3/5. I'll be sending fixed v4 shortly. Sorry for the noise, Andrey Smirnov On Sat, Jun 18, 2016 at 5:31 PM, Andrey Smirnov wrote: > Hi everyone, > > Here's the second version of i.MX L2-cache related patches. He

[PATCH v4 3/3] ARM: tegra: enable sgtl5000 audio

2016-06-18 Thread Marcel Ziswiler
The NVIDIA Tegra 3 aka T30 based Apalis T30 and Colibri T30 as well as the new Tegra K1 aka TK1 based Apalis TK1 modules contain a Freescale SGTL5000 analogue audio codec. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren Signed-off-by: Marcel Ziswiler --- Changes in v4: None Changes

Re: [PATCH v2 2/5] mfd: add Ricoh RN5T567 PMIC support

2016-06-18 Thread Stefan Agner
On 2016-06-16 07:55, Lee Jones wrote: > On Tue, 07 Jun 2016, Stefan Agner wrote: > >> The Ricoh RN5T567 is from the same family as the Ricoh RN5T618 is, >> the differences are: >> >> + DCDC4 >> + Slightly different output voltage/currents >> + 32kHz Output >> - ADC/Charger capabilities >> >> Revie

[PATCH v4 1/3] ASoC: tegra: add tegra sgtl5000 machine driver

2016-06-18 Thread Marcel Ziswiler
This binding and driver describe/support playback to headphones, and capture from line-in and microphone. This driver is useful for the Toradex Apalis T30, Apalis TK1 and Colibri T30 modules. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren Signed-off-by: Marcel Ziswiler --- Change

[PATCH] ixgbe: Fix minor typo while freeing irq

2016-06-18 Thread Babu Moger
The array subscript increments after the execution of the statement. So there is no issue here. However it helps to read the code better. Signed-off-by: Babu Moger --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/

[PATCH 2/2] ARM: cache-l2x0.c: Do not clear bit 23 in prefetch control register

2016-06-18 Thread Andrey Smirnov
As per L2C-310 TRM[1]: "... You can control this feature using bits 30,27 and 23 of the Prefetch Control Register. Bit 23 and 27 are only used if you set bit 30 HIGH..." which means there is no need to clear bit 23 if bit 30 is being cleared. [1] http://infocenter.arm.com/help/index.jsp?topic=/

[PATCH v3 5/5] i.MX: Do not explicitly call l2x0_of_init()

2016-06-18 Thread Andrey Smirnov
There's no need to explicitly call l2x0_of_init() since it will be called as a part of init_IRQ() (see arch/arm/kernel/irq.c for details). This way we can simplify imx_init_l2cache() and ditch the call to it on i.MX35 (which does not claim compatibility with "arm,pl310-cache") alltogether. Acked-b

[PATCH v3 3/5] i.MX: system.c: Replace magic numbers

2016-06-18 Thread Andrey Smirnov
Replace magic numbers used to form L310 Prefetch Control Register value. Acked-by: Arnd Bergmann Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/system.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c index b15

[PATCH 1/2] ARM: cache-l2x0.c: Replace magic numbers

2016-06-18 Thread Andrey Smirnov
Replace magic numbers used for L310 Prefetch Control Register Acked-by: Arnd Bergmann Signed-off-by: Andrey Smirnov --- arch/arm/mm/cache-l2x0.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c index 9f9d542..30e2012 1

[PATCH v3 2/5] i.MX: system.c: Remove redundant errata 752271 code

2016-06-18 Thread Andrey Smirnov
Applying a fix for ARM errata 752271 would already be taken care by a call to a 'fixup' hook as a part of l2x0_of_init() -> __l2c_init() call chain. Moreso the code in 'fixup' function would do that based on the PL310's revsion information, whereas removed code does so based on SoC version which do

[PATCH v3 0/5] i.MX L2-cache code cleanups and performance tweaks

2016-06-18 Thread Andrey Smirnov
Hi everyone, Here's the second version of i.MX L2-cache related patches. Here's what's new from v2: - Generic ARM patches were split inot a separte series - Typo and whitespace fixes (as per Uwe's suggestions) - Re-ordered l2c_aux_val, and l2c_aux_mask are initializers are

[PATCH v3 1/5] i.MX: system.c: Convert goto to if statement

2016-06-18 Thread Andrey Smirnov
Using goto here doesn't bring any advantages and only makes the code flow less clear. No functional changes. Acked-by: Arnd Bergmann Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/system.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --

[PATCH v3 4/5] i.MX: system.c: Tweak prefetch settings for performance

2016-06-18 Thread Andrey Smirnov
Update Prefetch Control Register settings to match that of Freescale's Linux tree. As the commit e3addf1b773964eac7f797e8538c69481be4279c states (author Nitin Garg): "... set Prefetch offset to 15, since it improves memcpy performance by 35%. Don't enable Incr double Linefill enable since it adver

Re: [PATCH 5/6] hwmon: (dell-smm) Detect fan with index=2

2016-06-18 Thread Tolga Cakir
Tested on Dell Precision M3800. It now correctly detects 2 fans for my machine, one cpu fan and one gpu fan. The reported fan type and fan speeds look correct. I'm getting unique fan speeds for each fan. I've also noticed the freeze, which happends on my machine upon I8K_SMM_GET_FAN_TYPE call, is n

Re: [PATCH 4/6] hwmon: (dell-smm) Cache fan_type() calls and change fan detection

2016-06-18 Thread Tolga Cakir
Tested on a Dell Precision M3800. After applying this patch, the machine doesn't freeze for a couple of seconds on module load and on each sensors (lm_sensors) call anymore. It now just freezes once, when running sensors for the first time, and that's it. It was not possible to read correct RPM val

[PATCH] brcmfmac: add missing break when deleting P2P_DEVICE

2016-06-18 Thread Rafał Miłecki
We obviously don't want to fall through in that switch. With this change 1) We wait for event (triggered by p2p_disc) as expected 2) We remove interface manually on timeout 3) We return 0 on success instead of -ENOTSUPP Signed-off-by: Rafał Miłecki --- drivers/net/wireless/broadcom/brcm80211/brc

Canonical has own Ubuntu driver for ALPS 73 03 28 devices

2016-06-18 Thread Pali Rohár
I did not know about it since I found: http://oem.archive.canonical.com/pool/public/o/oem-alps-touchpad-1521052-dkms/oem-alps-touchpad-1521052-dkms_1oem7_all.deb If you are interested extracted patch is in attachment. I do not understand it... Why Canonical is hidden and don't communicate with r

Re: [PATCH v6 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-06-18 Thread Emil Velikov
On 18 June 2016 at 07:59, Vinay Simha wrote: > On Sat, Jun 18, 2016 at 5:58 AM, Emil Velikov > wrote: >> Hi Vinay, >> >> On 17 June 2016 at 19:23, Vinay Simha BN wrote: >> >>> v6: >>> * emil review comments incorporated >>>PANEL_NUM_REGULATORS dropped, return ret added at necessary >>>

Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread kbuild test robot
Hi, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Craig-Inches/staging-luster-cl_object-

Re: N900, wl1251: wifi is now slow, even with powersave off

2016-06-18 Thread Pavel Machek
On Sun 2016-06-19 00:55:54, Pavel Machek wrote: > Hi! > > > Ping to N900: > > > > 64 bytes from maemo (10.0.0.8): icmp_seq=187 ttl=64 time=124 ms > > rtt min/avg/max/mdev = 4.382/101.866/453.145/42.395 ms > > root@duo:/data/pavel# > > > > Now on n900: > > > > pavel@n900:/my/tui/ofone$ sudo iw d

Re: [PATCH 4/4] ASoC: tpa6130a2: Add DAPM support

2016-06-18 Thread Sebastian Reichel
Hi, On Sat, Jun 18, 2016 at 12:26:31AM -0300, Helen Koike wrote: > Add DAPM support and updated rx51 accordingly. > As a consequence: > - the exported function tpa6130a2_stereo_enable is not needed anymore > - the mutex is dealt in the DAPM > - the power state is tracked by the DAPM This breaks h

Re: N900, wl1251: wifi is now slow, even with powersave off

2016-06-18 Thread Pavel Machek
Hi! > Ping to N900: > > 64 bytes from maemo (10.0.0.8): icmp_seq=187 ttl=64 time=124 ms > rtt min/avg/max/mdev = 4.382/101.866/453.145/42.395 ms > root@duo:/data/pavel# > > Now on n900: > > pavel@n900:/my/tui/ofone$ sudo iw dev wlan0 set power_save off > pavel@n900:/my/tui/ofone$ > > That shou

Re: [PATCH 3/6] hwmon: (dell-smm) Disallow fan_type() calls on broken machines

2016-06-18 Thread Pali Rohár
On Saturday 18 June 2016 22:08:17 Guenter Roeck wrote: > On 06/17/2016 03:54 PM, Pali Rohár wrote: > > Some Dell machines have especially broken SMM or BIOS which cause > > that once fan_type() is called then CPU fan speed going randomly > > up and down. And for fixing this behaviour reboot is requ

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-18 Thread Henrik Austad
On Sat, Jun 18, 2016 at 02:22:13PM +0900, Takashi Sakamoto wrote: > Hi, Hi Takashi, You raise a lot of valid points and questions, I'll try to answer them. edit: this turned out to be a somewhat lengthy answer. I have tried to shorten it down somewhere. it is getting late and I'm getting increa

Re: [PATCH 0/6] dell-smm-hwmon fixes

2016-06-18 Thread Pali Rohár
Thanks for testing! It took too long, but bugs in vendor SMM code are hard to detect and probably impossible to fix. So I would call this patch just as "workaround" and not proper bug fix... On Saturday 18 June 2016 23:58:19 Leon Yu wrote: > Just installed on "Inspiron 580", appears to have fixe

Re: [PATCH RFC 1/2] brcmfmac: remove interface before notifying listener

2016-06-18 Thread Rafał Miłecki
On 18 June 2016 at 23:58, Rafał Miłecki wrote: > On 18 June 2016 at 21:26, Arend van Spriel > wrote: >> On 18-06-16 20:18, Rafał Miłecki wrote: >>> So far when receiving event about in-firmware-interface removal we were >>> notifying our listener and afterwards we were removing Linux interface.

Re: [PATCH 0/6] dell-smm-hwmon fixes

2016-06-18 Thread Pali Rohár
On Saturday 18 June 2016 18:54:58 Guenter Roeck wrote: > On 06/18/2016 08:26 AM, Pali Rohár wrote: > > On Saturday 18 June 2016 17:13:59 Guenter Roeck wrote: > >> On 06/17/2016 03:54 PM, Pali Rohár wrote: > >>> I'm sending all my dell-smm-hwmon patches in one series, because > >>> due to changes in

Re: [PATCH 3/4] ASoC: tpa6130a2: Use snd soc volsw functions

2016-06-18 Thread Sebastian Reichel
Hi, On Sat, Jun 18, 2016 at 12:26:30AM -0300, Helen Koike wrote: > Use snd_soc_{info,get,put}_volsw instead of custom volume functions > > Signed-off-by: Lars-Peter Clausen > [koike: port for upstream] > Signed-off-by: Helen Koike [On N900] Tested-By: Sebastian Reichel -- Sebastian signatu

Re: [PATCH 2/4] ASoC: tap6130a2: Use regmap

2016-06-18 Thread Sebastian Reichel
Hi, On Sat, Jun 18, 2016 at 12:26:29AM -0300, Helen Koike wrote: > Use regmap instead of open-coding IO access and caching > > Signed-off-by: Lars-Peter Clausen > [koike: port for upstream] > Signed-off-by: Helen Koike [On N900] Tested-By: Sebastian Reichel -- Sebastian signature.asc Descr

Re: [PATCH 1/4] ASoC: tpa6130a2: Register component

2016-06-18 Thread Sebastian Reichel
Hi Helen, On Sat, Jun 18, 2016 at 12:26:28AM -0300, Helen Koike wrote: > Add tpa6130a2 controls by the component API and update rx51 accordingly > > Signed-off-by: Lars-Peter Clausen > [koike: port for upstream] > Signed-off-by: Helen Koike > --- > sound/soc/codecs/tpa6130a2.c | 26 +++

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-06-18 Thread Paolo Bonzini
On 13/06/2016 11:58, Bob Liu wrote: > A guest might be migrated to other hosts with different num_queues, the > blk-core should aware of that else the reference of &vblk->vqs[qid] may be > wrong. > > Signed-off-by: Bob Liu > --- > drivers/block/virtio_blk.c | 3 +++ > 1 file changed, 3 insert

Re: [PATCH v2 00/15] mtd: nand: allow vendor specific detection/initialization

2016-06-18 Thread Richard Weinberger
Am 08.06.2016 um 15:00 schrieb Boris Brezillon: > Hello, > > This patch series is a step forward in supporting vendor-specific > functionalities. > This series is mainly moving vendor-specific initialization or > detection code out of the core, but also introduces an infrastructure > allowing su

Re: [PATCHv2 2/2] mt7601u: use linux/bitfield.h

2016-06-18 Thread kbuild test robot
Hi, [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on v4.7-rc3 next-20160617] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jakub-Kicinski/register-field-manipul

Re: [RFC 00/19] Runtime PM fixes for omap-ssi

2016-06-18 Thread Pavel Machek
Hi! > > > (*) "ifconfig phonet0 up" will result in blocking ssi module > > > until modem setup has finished (data communication via > > > phonet0 device), since it enables ssi wakelines. > > > > > > [0] > > > https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/log/?h=runtime-pm-

Re: [PATCH RFC 1/2] brcmfmac: remove interface before notifying listener

2016-06-18 Thread Rafał Miłecki
On 18 June 2016 at 21:26, Arend van Spriel wrote: > On 18-06-16 20:18, Rafał Miłecki wrote: >> So far when receiving event about in-firmware-interface removal we were >> notifying our listener and afterwards we were removing Linux interface. >> > > [snip] > >> >> diff --git a/drivers/net/wireless/

Re: [PATCH v2 08/11] Documentation: phy: Let the rockchip eMMC PHY get an exported card clock

2016-06-18 Thread Heiko Stübner
Am Montag, 13. Juni 2016, 16:04:32 schrieb Douglas Anderson: > As of an earlier change in this series ("Documentation: mmc: > sdhci-of-arasan: Add ability to export card clock") the SDHCI driver > used on Rockchip SoCs can now expose its clock. Let's now specify that > the PHY can use it. > > Let

Re: [PATCH 0/4] ASoC: tpa6130a2: Add support for multiple instances

2016-06-18 Thread Sebastian Reichel
Hi, On Sat, Jun 18, 2016 at 12:40:38PM +0200, Sebastian Reichel wrote: > On Sat, Jun 18, 2016 at 12:26:27AM -0300, Helen Koike wrote: > > The current tpa6130a2 driver supports only a single instance. > > This patch series add support for multiple instances by removing > > the global variable that

[PATCH 3/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread Craig Inches
WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/cl_object.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustr

[PATCH 2/3] staging: luster: Checkpatch Cleanup

2016-06-18 Thread Craig Inches
Macros with complex values should be enclosed in parenthesis Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/cl_object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustre/lustr

[PATCH 0/3] staging: luster: cl_object.h Checkpatch Cleanup

2016-06-18 Thread Craig Inches
Fix three different issues from checkpatch: Line over 80 Chars Unsigned int prefered over unsigned Macros with complex values should be enclosed in parenthesis Craig Inches (3): checkpatch style issue: Line over 80 char Checkpatch style issue: Checkpatch error cleanup drivers/staging/lustr

[PATCH 1/3] staging: luster: cl_object.h Checkpatch Cleanup

2016-06-18 Thread Craig Inches
Line length greater than 80 char. Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/cl_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustre/lustre/include/cl_object.h index 99

Re: [PATCH v3 net-next v3 13/14] net: dsa: mv88e6xxx: add addressing mode to info

2016-06-18 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> +struct mv88e6xxx_smi_ops { >> +int (*read)(struct mii_bus *bus, int sw_addr, >> +int addr, int reg, u16 *val); >> +int (*write)(struct mii_bus *bus, int sw_addr, >> + int addr, int reg, u16 val); >> +}; > > Hi Vivien > >

[PATCH 1/2] net: ethernet: nb8800: use phydev from struct net_device

2016-06-18 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet

[PATCH 2/2] net: ethernet: nb8800: use phy_ethtool_{get|set}_link_ksettings

2016-06-18 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/aurora/nb8800.c | 24 ++-- 1 files changed, 2 insertions(+), 22 deletions(-) d

[PATCH 1/1] staging: iio: initialize data pointer before using it

2016-06-18 Thread Nicolas Iooss
ad7606_spi_read_block() reads SPI big-endian data into a buffer which is then converted to CPU byte-order with a second variable. This variable, data, has been left unitialized after commit 87787e5ef727 ("Staging: iio: Fix sparse endian warning"). Signed-off-by: Nicolas Iooss Fixes: 87787e5ef727

[PATCH 1/1] drm/amdgpu: initialize amdgpu_cgs_acpi_eval_object result value

2016-06-18 Thread Nicolas Iooss
amdgpu_cgs_acpi_eval_object() returned the value of variable "result" without initializing it first. This bug has been found by compiling the kernel with clang. The compiler complained: drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c:972:14: error: variable 'result' is used uninitialized wheneve

  1   2   3   >