Re: [alsa-devel] [PATCH 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-12 Thread Koro Chen
On Fri, 2015-06-12 at 09:37 +0200, Paul Bolle wrote: > On Fri, 2015-06-12 at 09:55 +0800, Koro Chen wrote: > > On Thu, 2015-06-11 at 09:03 +0200, Paul Bolle wrote: > > > (What does negating a bool twice do?) > > > > > Because bool actually can be unsigned char, although actually in this > > driver

Re: [alsa-devel][PATCH] ASoC: fsl: add imx-wm8960 machine driver

2015-06-12 Thread Zidan Wang
On Thu, Jun 11, 2015 at 08:51:07AM -0700, Nicolin Chen wrote: > On Thu, Jun 11, 2015 at 07:10:00PM +0800, Zidan Wang wrote: > > > > > This imx-wm8960 device-tree-only machine driver works with sai driver > > > > and have below feature. > > > > * support codec master and slave mode > > > > * suppor

Re: [PATCH V2 3/7] clocksource: arm_global_timer: Migrate to new 'set-state' interface

2015-06-12 Thread Viresh Kumar
On 12-06-15, 10:22, Maxime Coquelin wrote: > You can add: > > Acked-by: Maxime Coquelin Thanks Maxime. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [PATCH v3 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-12 Thread Borislav Petkov
On Fri, Jun 12, 2015 at 03:50:33PM +0800, Huang Rui wrote: > Yeah, but I remembered at last time, someone tell me we shouldn't > force to set timer always enabled. So I add this interface to expose > more clearly. :) Yeah, but this interface would make users go and look at it and try to remember w

Re: [PATCH v3 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-12 Thread Huang Rui
On Fri, Jun 12, 2015 at 10:30:33AM +0200, Borislav Petkov wrote: > On Fri, Jun 12, 2015 at 03:50:33PM +0800, Huang Rui wrote: > > Yeah, but I remembered at last time, someone tell me we shouldn't > > force to set timer always enabled. So I add this interface to expose > > more clearly. :) > > Yeah

Re: [PATCH] x86: General protection fault after STR (32 bit systems only)

2015-06-12 Thread Ingo Molnar
* H. Peter Anvin wrote: > %es is used implicitly by string instructions. Ok, so we are probably better off reloading ES as well early, right when we return from the firmware, just in case something does a copy before we hit the ES restore in restore_processor_state(), which is a generic C funct

Re: [PATCH 2/6] clocksource: arm_global_timer: Migrate to new 'set-state' interface

2015-06-12 Thread Srinivas Kandagatla
On 08/06/15 14:40, Viresh Kumar wrote: Migrate arm_global_timer driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONES

[PATCH v3] ALSA: aoa: convert bus code to use dev_groups

2015-06-12 Thread Quentin Lambert
The dev_attrs field of struct bus_type is going away, sue dev_groups instead. This converts the soundbus code to use the correct field. These modifications were made using Coccinelle. Signed-off-by: Quentin Lambert --- Changes since v2: - Revert to the version of the patch where the files wer

Re: [PATCH v3 1/4] drivers/rtc/pcf8563: Replace deprecated rtc_time_to_tm() and rtc_tm_to_time()

2015-06-12 Thread Alexandre Belloni
Hi Xunlei, Just to let you know that your series are usually classified as spam when coming from 126.com. This series in particular didn't make it to the mailing list. I'll take it anyway but you may want to check that your other patches are being received by the maintainers. On 12/06/2015 at 1

[PATCH 0/5] Add support for A53 CPU clock

2015-06-12 Thread Georgi Djakov
This patchset adds support for the A53 CPU clock to allow CPU frequency scaling. It is used on platforms like Qualcomm's msm8916. Georgi Djakov (4): clk: qcom: Add support for SR2 PLLs clk: qcom: Add support for regmap mux-div clocks clk: qcom: Add A53 clock driver arm64: dts: qcom: msm891

Re: [PATCH v2 3/4] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-12 Thread Borislav Petkov
On Tue, Jun 09, 2015 at 09:46:52AM -0700, Andy Lutomirski wrote: > I don't like this hack. The compiler is entirely within is rights to > poke addr's cacheline (i.e. the stack) between the two instructions. > I'd suggest either making the thing a full cacheline long or using a > single asm stateme

[PATCH 2/5] clk: Add safe switch hook

2015-06-12 Thread Georgi Djakov
From: Stephen Boyd Sometimes clocks can't accept their parent source turning off while the source is reprogrammed to a different rate. Most notably CPU clocks require a way to switch away from the current PLL they're running on, reprogram that PLL to a new rate, and then switch back to the PLL wi

Re: [PATCH v3 2/3] sparc: time: Replace update_persistent_clock() with CONFIG_RTC_SYSTOHC

2015-06-12 Thread Alexandre Belloni
Dave, I would like to take that patch as part of the series once you have acked it. On 12/06/2015 at 11:10:17 +0800, Xunlei Pang wrote : > From: Xunlei Pang > > On Sparc systems, update_persistent_clock() uses RTC drivers to do > the job, it makes more sense to hand it over to CONFIG_RTC_SYSTOH

[PATCH 3/5] clk: qcom: Add support for regmap mux-div clocks

2015-06-12 Thread Georgi Djakov
Add support for hardware that support switching both parent clocks and the divider at the same time. This avoids generating intermediate frequencies from either the old parent clock and new divider or new parent clock and old divider combinations. Signed-off-by: Georgi Djakov --- drivers/clk/qco

[PATCH 4/5] clk: qcom: Add A53 clock driver

2015-06-12 Thread Georgi Djakov
Add a driver for the A53 subsystem PLL, so that we can provide higher frequency clocks for use by the system. Signed-off-by: Georgi Djakov --- Documentation/devicetree/bindings/clock/qcom,a53cc | 22 +++ drivers/clk/qcom/Kconfig |8 + drivers/clk/qcom/Makefile

Re: [PATCH 6/6] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-06-12 Thread Paul Bolle
Greg has already asked you to resend. So here follow a few remarks to take into account for that resend. On Thu, 2015-06-11 at 16:22 +, ja...@microsoft.com wrote: > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > +config HYPERV_VPCI > +tristate "Hyper-V PCI Frontend" > +

[PATCH V2 0/2] add basic support to Marvell 88pm880/88pm886 PMIC chip

2015-06-12 Thread Yi Zhang
- 88pm880 and 88pm886 are PMIC chips which integrates regulator, gpadc, charger, fuelgauge, etc; they share most of the functions and register mapping - this version removes the redundant EXPORT_SYMBOL_GPL, compared with the first version Yi Zhang (2): mfd: add Marvell 88pm8

[PATCH V2 2/2] mfd: 88pm88x: initialize 88pm886/88pm880 base support

2015-06-12 Thread Yi Zhang
88pm886 and 88pm880 are combo PMIC chip, which integrates regulator, onkey, rtc, gpadc, charger, fuelgauge function; this patch add the basic support for them, adding related resource, such as interrupt, preparing for the client-device driver Signed-off-by: Yi Zhang --- drivers/mfd/88pm880-tabl

[PATCH V2 1/2] mfd: add Marvell 88pm88x description

2015-06-12 Thread Yi Zhang
88pm880 and 88pm886 are two combo PMIC chips, most of the function and the register mapping are the same Signed-off-by: Yi Zhang --- Documentation/devicetree/bindings/mfd/88pm88x.txt | 33 +++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH 5/5] arm64: dts: qcom: msm8916: Add A53 DT node

2015-06-12 Thread Georgi Djakov
Add nodes for the A53 clocks and apcs, so that the driver can probe and register the clocks. Signed-off-by: Georgi Djakov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qco

Re: [PATCH v2 2/2] locking/qrwlock: Don't contend with readers when setting _QW_WAITING

2015-06-12 Thread Ingo Molnar
* Waiman Long wrote: > > Mind posting the microbenchmark? > > I have attached the tool that I used for testing. Thanks, that's interesting! Btw., we could also do something like this in user-space, in tools/perf/bench/, we have no 'perf bench locking' subcommand yet. We already build and m

[PATCH 1/5] clk: qcom: Add support for SR2 PLLs

2015-06-12 Thread Georgi Djakov
Add support for SR2 type pll operations. SR2 is optimized for Time Interval Error (TIE) or absolute jitter. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-pll.c | 75 drivers/clk/qcom/clk-pll.h |1 + 2 files changed, 76 insertions(+) dif

[4.0.5] sdhci+swiotlb => Corrupted low memory

2015-06-12 Thread Jiri Slaby
Hi, today I plugged in an SD card into the laptop's built-in reader on x86-64 and got "Corrupted low memory" as a result: Corrupted low memory at 88001000 (1000 phys) = 22b7d67df2f6d1cf Corrupted low memory at 88001008 (1008 phys) = 63848a5216b7dd95 Corrupted low memory at 8800

[tip:perf/core] perf tools: Avoid possible race condition in copyfile()

2015-06-12 Thread tip-bot for Milos Vyletel
Commit-ID: d7c72606d97e6f462a99b79e55b39808147d4c8b Gitweb: http://git.kernel.org/tip/d7c72606d97e6f462a99b79e55b39808147d4c8b Author: Milos Vyletel AuthorDate: Mon, 8 Jun 2015 16:50:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jun 2015 11:51:24 -0300 perf tools: Av

[tip:perf/core] perf record: Amend option summaries

2015-06-12 Thread tip-bot for Peter Zijlstra
Commit-ID: 5610032135c05e7bf9cba231826577a01719d010 Gitweb: http://git.kernel.org/tip/5610032135c05e7bf9cba231826577a01719d010 Author: Peter Zijlstra AuthorDate: Wed, 10 Jun 2015 16:48:50 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jun 2015 12:00:27 -0300 perf record:

[tip:x86/kdump] x86/swiotlb: Try coherent allocations with __GFP_NOWARN

2015-06-12 Thread tip-bot for Joerg Roedel
Commit-ID: 186dfc9d69b96a38ec6ec654127dba4432184494 Gitweb: http://git.kernel.org/tip/186dfc9d69b96a38ec6ec654127dba4432184494 Author: Joerg Roedel AuthorDate: Wed, 10 Jun 2015 17:49:41 +0200 Committer: Ingo Molnar CommitDate: Thu, 11 Jun 2015 08:28:38 +0200 x86/swiotlb: Try coherent a

[tip:perf/core] perf evsel: Display 0x for hex values when printing the attribute

2015-06-12 Thread tip-bot for Adrian Hunter
Commit-ID: 7310aed77ef2928bcfb8ee5ad71e2b091166b85e Gitweb: http://git.kernel.org/tip/7310aed77ef2928bcfb8ee5ad71e2b091166b85e Author: Adrian Hunter AuthorDate: Thu, 11 Jun 2015 15:51:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 10:56:01 -0300 perf evsel: D

[tip:perf/core] perf tools: Fix build failure on 32-bit arch

2015-06-12 Thread tip-bot for He Kuang
Commit-ID: 6ba29c2fa5adcc33b201faec99057b6a72bd5029 Gitweb: http://git.kernel.org/tip/6ba29c2fa5adcc33b201faec99057b6a72bd5029 Author: He Kuang AuthorDate: Thu, 11 Jun 2015 12:44:24 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 11:14:21 -0300 perf tools: Fix bu

[tip:perf/core] perf stat: Error out unsupported group leader immediately

2015-06-12 Thread tip-bot for Kan Liang
Commit-ID: cb5ef60067c11cc8887122f6f168c21941c5d624 Gitweb: http://git.kernel.org/tip/cb5ef60067c11cc8887122f6f168c21941c5d624 Author: Kan Liang AuthorDate: Thu, 11 Jun 2015 02:32:40 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 11:07:40 -0300 perf stat: Error

Re: [RFC PATCH 00/12] mm: mirrored memory support for page buddy allocations

2015-06-12 Thread Naoya Horiguchi
On Thu, Jun 04, 2015 at 08:54:22PM +0800, Xishi Qiu wrote: > Intel Xeon processor E7 v3 product family-based platforms introduces support > for partial memory mirroring called as 'Address Range Mirroring'. This feature > allows BIOS to specify a subset of total available memory to be mirrored (and

[tip:x86/kdump] swiotlb: Warn on allocation failure in swiotlb_alloc_coherent()

2015-06-12 Thread tip-bot for Joerg Roedel
Commit-ID: 94cc81f9a8f995923e35e2db936741dd62d18350 Gitweb: http://git.kernel.org/tip/94cc81f9a8f995923e35e2db936741dd62d18350 Author: Joerg Roedel AuthorDate: Wed, 10 Jun 2015 17:49:40 +0200 Committer: Ingo Molnar CommitDate: Thu, 11 Jun 2015 08:28:38 +0200 swiotlb: Warn on allocation

[tip:perf/core] trace: Beautify perf_event_open syscall

2015-06-12 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a1c2552dba788c2c5e71c5bf5bcf3971caf3dfa1 Gitweb: http://git.kernel.org/tip/a1c2552dba788c2c5e71c5bf5bcf3971caf3dfa1 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 11 Jun 2015 22:47:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 22:47:54 -0300 tr

[tip:perf/core] perf tools: Update MANIFEST per files removed from kernel

2015-06-12 Thread tip-bot for David Ahern
Commit-ID: c8ad7063626406181a7ebab10cb31b4f741b13d4 Gitweb: http://git.kernel.org/tip/c8ad7063626406181a7ebab10cb31b4f741b13d4 Author: David Ahern AuthorDate: Fri, 5 Jun 2015 13:42:53 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 22:54:23 -0300 perf tools: Upda

[tip:x86/kdump] x86/crash: Allocate enough low memory when crashkernel=high

2015-06-12 Thread tip-bot for Joerg Roedel
Commit-ID: 94fb9334182284e8e7e4bcb9125c25dc33af19d4 Gitweb: http://git.kernel.org/tip/94fb9334182284e8e7e4bcb9125c25dc33af19d4 Author: Joerg Roedel AuthorDate: Wed, 10 Jun 2015 17:49:42 +0200 Committer: Ingo Molnar CommitDate: Thu, 11 Jun 2015 08:28:39 +0200 x86/crash: Allocate enough

Re: [PATCH 2/6] clocksource: arm_global_timer: Migrate to new 'set-state' interface

2015-06-12 Thread Viresh Kumar
On 12-06-15, 09:39, Srinivas Kandagatla wrote: > Acked-by: Srinivas Kandagatla Thanks Srinivas, but you gave this for the V1 version. Can you please do that again for V2 ? -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

[tip:x86/fpu] x86/fpu: Fix double-increment in setup_xstate_features()

2015-06-12 Thread tip-bot for Dave Hansen
Commit-ID: a8424003679e90b9952e20adcd1ff1560d9dd3e9 Gitweb: http://git.kernel.org/tip/a8424003679e90b9952e20adcd1ff1560d9dd3e9 Author: Dave Hansen AuthorDate: Thu, 11 Jun 2015 12:34:00 -0700 Committer: Ingo Molnar CommitDate: Fri, 12 Jun 2015 10:48:12 +0200 x86/fpu: Fix double-incremen

Re: [PATCH 19/25] mm, vmscan: Account in vmstat for pages skipped during reclaim

2015-06-12 Thread Hillf Danton
> --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1326,6 +1326,7 @@ static unsigned long isolate_lru_pages(unsigned long > nr_to_scan, > > for (scan = 0; scan < nr_to_scan && !list_empty(src); scan++) { > struct page *page; > + struct zone *zone; > int nr

[PATCH 1/1] cputime: Make the reported utime+stime correspond to the actual runtime.

2015-06-12 Thread Fredrik Markstrom
The scaling mechanism might sometimes cause top to report >100% (sometimes > 1000%) cpu usage for a single thread. This patch makes sure that stime+utime corresponds to the actual runtime of the thread. Signed-off-by: Fredrik Markstrom --- kernel/sched/cputime.c | 46 +++-

Re: [PATCH v2] powerpc/rcpm: add RCPM driver

2015-06-12 Thread Paul Bolle
Just a nit. On Thu, 2015-06-11 at 14:32 +0800, yuantian.t...@freescale.com wrote: > --- /dev/null > +++ b/arch/powerpc/sysdev/fsl_rcpm.c > +int fsl_rcpm_init(void) This is used only through early_initcall(). I took the cargo cult approach of looking at the other uses of early_initcall() in arch/

[PATCH 0/1] cputime: Make the reported utime+stime correspond to the actual runtime.

2015-06-12 Thread Fredrik Markstrom
We've hunted a bug that manifests itself in top showing abnormal (>100%) loads on single threads, sometimes top can show a couple of thousand percent. We've found the cause of this behavior in cputime_adjust() where the kernel tries to split the actual runtime into user and system time based on t

[PATCH 1/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Exynos mipi phy driver needs syscon node to be probed successfully. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos3250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index e3bfb11..f8c02dd 100644 --- a/a

[PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
Because of recent update, proper clock-frequency becomes mandatory for validating the mode of panel. This clock-frequency must be set appropriately for getting required frame rate. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos3250-rinato.dts | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/1] PCI: X-Gene: Disable Configuration Request Retry Status for X-Gene v1 PCIe

2015-06-12 Thread Marcin Juszkiewicz
W dniu 11.06.2015 o 22:08, Duc Dang pisze:> X-Gene v1 PCIe controller has a bug in Configuration Request Retry > Status (CRS) logic: >When CPU tries to read Vendor ID and Device ID of not-existed >remote device, the controller returns 0x0001 instead of >0x; this will add si

Re: [PATCH v4 3/3] video: fbdev: vesafb: use arch_phys_wc_add()

2015-06-12 Thread Tomi Valkeinen
On 04/06/15 19:44, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This driver uses the same area for MTRR as for the ioremap_wc(), if > anything it just uses a smaller size in case MTRR reservation fails. > ioremap_wc() API is already used to take advantage of architecture > write-com

Re: [PATCH v2 06/10] pinctrl: berlin: use proper compatibles

2015-06-12 Thread Antoine Tenart
On Wed, Jun 10, 2015 at 09:13:55AM +0200, Linus Walleij wrote: > On Fri, Mar 6, 2015 at 4:05 PM, Antoine Tenart > wrote: > > > The Berlin pin-controller driver was sharing the chip and system > > controller nodes with the clock and the reset drivers. They all shared > > the same compatible. With

[PATCH] serial: 8250_uniphier: add bindings document for UniPhier UART

2015-06-12 Thread Masahiro Yamada
This is binding information for the UniPhier on-chip UART driver (drivers/tty/serial/8250/8250_uniphier.c). Signed-off-by: Masahiro Yamada --- Greg, If not too late, can you merge this patch into your tty repository for the upcoming merge window, please? .../devicetree/bindings/serial/uniphi

Re: [PATCH 2/2] perf/x86/intel: Fix PMI handling for Intel PT

2015-06-12 Thread Alexander Shishkin
Peter Zijlstra writes: > On Thu, Jun 11, 2015 at 03:13:57PM +0300, Alexander Shishkin wrote: >> @@ -1426,7 +1426,23 @@ perf_event_nmi_handler(unsigned int cmd, struct >> pt_regs *regs) >> u64 finish_clock; >> int ret; >> >> -if (!atomic_read(&active_events)) >> +/* >> + *

Re: [PATCH V2 3/7] clocksource: arm_global_timer: Migrate to new 'set-state' interface

2015-06-12 Thread srini
On 12/06/15 09:00, Viresh Kumar wrote: Migrate arm_global_timer driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESH

[PATCH] superhyway: convert code to use dev_groups

2015-06-12 Thread Quentin Lambert
The dev_attrs field of struct bus_type is going away, use dev_groups instead. This converts the soundbus code to use the correct field. These modifications were made using Coccinelle. Signed-off-by: Quentin Lambert --- drivers/sh/superhyway/superhyway-sysfs.c | 26 --

Re: [PATCH V2 3/7] clocksource: arm_global_timer: Migrate to new 'set-state' interface

2015-06-12 Thread Viresh Kumar
On 12-06-15, 10:10, srini wrote: > Should have been careful with the my last Ack :-) That's fine. > Acked-by: Srinivas Kandagatlahttp://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH 00/12] mm: mirrored memory support for page buddy allocations

2015-06-12 Thread Xishi Qiu
On 2015/6/12 16:42, Naoya Horiguchi wrote: > On Thu, Jun 04, 2015 at 08:54:22PM +0800, Xishi Qiu wrote: >> Intel Xeon processor E7 v3 product family-based platforms introduces support >> for partial memory mirroring called as 'Address Range Mirroring'. This >> feature >> allows BIOS to specify a

Re: [PATCH 1/2] PWM: atmel: fix incorrect CDTY value after enabling

2015-06-12 Thread Thierry Reding
On Mon, May 25, 2015 at 03:19:55PM +0200, Alexandre Belloni wrote: > CUPD is not flushed before enabling the channel so it will update CDTY/CPRD > just > after one period. So we always set CUPD, even when the channel is not enabled. > > Signed-off-by: Alexandre Belloni > --- > drivers/pwm/pwm-a

Re: [PATCH v3 1/4] drivers/rtc/pcf8563: Replace deprecated rtc_time_to_tm() and rtc_tm_to_time()

2015-06-12 Thread pang . xunlei
Hi Alexandre, Alexandre Belloni wrote 2015-06-12 PM 04:40:27: > > Re: [PATCH v3 1/4] drivers/rtc/pcf8563: Replace deprecated > rtc_time_to_tm() and rtc_tm_to_time() > > Hi Xunlei, > > Just to let you know that your series are usually classified as spam > when coming from 126.com. This series

Re: [PATCH v3 4/5] input: synaptics - make image sensors and cr48 sensors report widths

2015-06-12 Thread Dmitry Torokhov
HI Gabriele, On Sun, Mar 22, 2015 at 03:43:55PM +0100, Gabriele Mazzotta wrote: > The driver was not reporting widths for image sensors and cr48 sensors > despite it was calculating them. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=77161 > Signed-off-by: Gabriele Mazzotta > --- > driv

Re: [PATCH v2] Input: Add generic driver for Zeitec touchscreens

2015-06-12 Thread Dmitry Torokhov
Hi Bogdan, On Tue, Jun 02, 2015 at 10:43:01AM +0300, Bogdan George Stefan wrote: > Dimitry, > > I know 0xB2 should provide that information according to the > datasheet, however here is what Zeitec guys had to say when I asked > them why it does not work: > > "0xB2 is deprecated. > It only suppo

Re: [PATCH v5] Fix the resolution issue in ChromeOS

2015-06-12 Thread Dmitry Torokhov
Hi Hn, On Wed, Jun 10, 2015 at 10:41:26PM +0800, Hn Chen wrote: > Hi, Dmitry, > > Thanks for your suggestion ! > > > Thank you for making changes, I have some more comments. By the way, have > > you tried running scripts/checkpatch.pl over your patch? > > It often picks up some common issues.

Re: [PATCH v3 5/5] input: MT - add ABS_TOOL_WIDTH to the legacy pointer emulation

2015-06-12 Thread Dmitry Torokhov
Hi Gabriele, On Sun, Mar 22, 2015 at 03:43:56PM +0100, Gabriele Mazzotta wrote: > Userspace might still rely on ABS_TOOL_WIDTH to determine the width of > contacts, so add it to the legacy pointer emulation. I do not think we can do that, at least not in such straightforward manner, because while

Re: [PATCHv2 2/2] PWM: atmel: fix incorrect CDTY value after disabling

2015-06-12 Thread Thierry Reding
On Mon, May 25, 2015 at 06:11:49PM +0200, Alexandre Belloni wrote: > pwm-leds calls .config() and .disable() in a row. This exhibits that it may > happen that the channel gets disabled before CDTY has been updated with CUPD. > The issue gets quite worse with long periods. > So, ensure that at least

Re: [PATCH 1/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > Exynos mipi phy driver needs syscon node to be probed successfully. > > Signed-off-by: Hyungwon Hwang > --- > arch/arm/boot/dts/exynos3250.dtsi | 1 + > 1 file changed, 1 insertion(+) Thanks for the patch but actually Beata Michalska (+CC) sent it al

Re: [PATCH] staging: sm750fb: fix c99 comments

2015-06-12 Thread Konrad Zapalowicz
On 06/12, Juston Li wrote: > fixed all checkpatch.pl ERROR: do not use C99 // comments > > Any C99 comments used to comment out code are simply removed. > Also some of the errors occur inside '#if 0' blocks which I > might as well fix since checkpatch.pl caught them but the blocks > themselves sho

Re: [PATCH 2/2] genalloc: rename of_get_named_gen_pool() to of_gen_pool_get()

2015-06-12 Thread Vinod Koul
On Thu, Jun 11, 2015 at 04:28:32PM +0300, Vladimir Zapolskiy wrote: > To be consistent with other kernel interface namings, rename > of_get_named_gen_pool() to of_gen_pool_get(). In the original > function name "_named" suffix references to a device tree property, > which contains a phandle to a de

Re: [PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > Because of recent update, proper clock-frequency becomes mandatory > for validating the mode of panel. This clock-frequency must be set > appropriately for getting required frame rate. > > Signed-off-by: Hyungwon Hwang Acked-by: Krzysztof Kozlowski

Re: [PATCH v2 06/10] pinctrl: berlin: use proper compatibles

2015-06-12 Thread Sebastian Hesselbarth
On 06/12/2015 11:05 AM, Antoine Tenart wrote: On Wed, Jun 10, 2015 at 09:13:55AM +0200, Linus Walleij wrote: On Fri, Mar 6, 2015 at 4:05 PM, Antoine Tenart wrote: The Berlin pin-controller driver was sharing the chip and system controller nodes with the clock and the reset drivers. They all s

Re: [PATCH v2] ARM: zynq: Fix earlyprintk in big endian mode

2015-06-12 Thread Michal Simek
On 06/12/2015 08:53 AM, Arun Chandran wrote: > earlyprintk messages are not appearing on the terminal > emulator during a big endian kernel boot. In BE mode > sending full words to UART will result in unprintable > characters as they are byte swapped versions of printable > ones. So send only bytes

Re: [PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
On Fri, 12 Jun 2015 18:23:18 +0900 Krzysztof Kozlowski wrote: > 2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > > Because of recent update, proper clock-frequency becomes mandatory > > for validating the mode of panel. This clock-frequency must be set > > appropriately for getting required frame ra

[PATCH v3 0/2] arm64: dts: Mediatek: MT8173 updtes

2015-06-12 Thread Eddie Huang
This series add MT8173 watchdog and I2C device nodes. Both device nodes are based on 4.1-rc1, but I2C need two extra CCF patches from Sascha [1][2]. [1] clk: Add common clock support for Mediatek MT8135 and MT8173 http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/338763.html [2

[PATCH v3 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-12 Thread Eddie Huang
Add MT8173 I2C device nodes, include I2C controllers and pins. MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. The 6th I2C controller register base doesn't next to 5th I2C, and there is a hardware between 5th and 6th I2C controller. So SoC designer name 6th controller as "i2c6", no

[PATCH v3 1/2] arm64: dts: mt8173: Add watchdog device node

2015-06-12 Thread Eddie Huang
Add MT8173 watchdog device node. Signed-off-by: Eddie Huang --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 30ac8dd..b52ec43 100644 --- a/arch/arm64/b

Re: [PATCH 01/15] ARM: kill off set_irq_flags usage

2015-06-12 Thread Krzysztof Kozlowski
On 10.06.2015 03:26, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID -> !IRQ_NOREQUEST > IRQF_PROB

[tip:timers/core] clocksource: Use current logging style

2015-06-12 Thread tip-bot for Joe Perches
Commit-ID: 45bbfe64ea564a69e56ab6754006eee506224f46 Gitweb: http://git.kernel.org/tip/45bbfe64ea564a69e56ab6754006eee506224f46 Author: Joe Perches AuthorDate: Mon, 25 May 2015 11:49:55 -0700 Committer: Thomas Gleixner CommitDate: Wed, 10 Jun 2015 11:31:14 +0200 clocksource: Use current

[tip:timers/core] time: Refactor usecs_to_jiffies

2015-06-12 Thread tip-bot for Nicholas Mc Guire
Commit-ID: ae60d6a0e3a9197d37f8c8c4584a8ecd18518cd6 Gitweb: http://git.kernel.org/tip/ae60d6a0e3a9197d37f8c8c4584a8ecd18518cd6 Author: Nicholas Mc Guire AuthorDate: Thu, 28 May 2015 19:09:55 +0200 Committer: Thomas Gleixner CommitDate: Wed, 10 Jun 2015 11:31:13 +0200 time: Refactor use

[tip:timers/core] time: Allow gcc to fold usecs_to_jiffies( constant)

2015-06-12 Thread tip-bot for Nicholas Mc Guire
Commit-ID: c569a23d65ac2900d9998d3fe04044fe95be6b2f Gitweb: http://git.kernel.org/tip/c569a23d65ac2900d9998d3fe04044fe95be6b2f Author: Nicholas Mc Guire AuthorDate: Thu, 28 May 2015 19:09:56 +0200 Committer: Thomas Gleixner CommitDate: Wed, 10 Jun 2015 11:31:14 +0200 time: Allow gcc to

[tip:timers/core] time: Move clock_was_set_seq update before updating shadow-timekeeper

2015-06-12 Thread tip-bot for John Stultz
Commit-ID: d151832650ed98961a5650e73e85c349ad7839cb Gitweb: http://git.kernel.org/tip/d151832650ed98961a5650e73e85c349ad7839cb Author: John Stultz AuthorDate: Thu, 11 Jun 2015 15:54:53 -0700 Committer: Thomas Gleixner CommitDate: Fri, 12 Jun 2015 10:56:20 +0200 time: Move clock_was_set

[tip:timers/core] ntp: Introduce and use SECS_PER_DAY macro instead of 86400

2015-06-12 Thread tip-bot for John Stultz
Commit-ID: 90bf361ceae28dee50a584c3dd4c1a96178d982c Gitweb: http://git.kernel.org/tip/90bf361ceae28dee50a584c3dd4c1a96178d982c Author: John Stultz AuthorDate: Thu, 11 Jun 2015 15:54:54 -0700 Committer: Thomas Gleixner CommitDate: Fri, 12 Jun 2015 11:15:49 +0200 ntp: Introduce and use S

[tip:timers/core] ntp: Do leapsecond adjustment in adjtimex read path

2015-06-12 Thread tip-bot for John Stultz
Commit-ID: 96efdcf2d080687e041b0353c604b708546689fd Gitweb: http://git.kernel.org/tip/96efdcf2d080687e041b0353c604b708546689fd Author: John Stultz AuthorDate: Thu, 11 Jun 2015 15:54:56 -0700 Committer: Thomas Gleixner CommitDate: Fri, 12 Jun 2015 11:15:49 +0200 ntp: Do leapsecond adjus

[tip:timers/core] time: Prevent early expiry of hrtimers[ CLOCK_REALTIME] at the leap second edge

2015-06-12 Thread tip-bot for John Stultz
Commit-ID: 833f32d763028c1bb371c64f457788b933773b3e Gitweb: http://git.kernel.org/tip/833f32d763028c1bb371c64f457788b933773b3e Author: John Stultz AuthorDate: Thu, 11 Jun 2015 15:54:55 -0700 Committer: Thomas Gleixner CommitDate: Fri, 12 Jun 2015 11:15:49 +0200 time: Prevent early expi

[tip:timers/core] selftests: timers: Add leap-second timer edge testing to leap-a-day.c

2015-06-12 Thread tip-bot for John Stultz
Commit-ID: 0c4a5fc95b1df42651a9b4c1f72d348b3d196ea0 Gitweb: http://git.kernel.org/tip/0c4a5fc95b1df42651a9b4c1f72d348b3d196ea0 Author: John Stultz AuthorDate: Thu, 11 Jun 2015 15:54:57 -0700 Committer: Thomas Gleixner CommitDate: Fri, 12 Jun 2015 11:15:50 +0200 selftests: timers: Add l

Re: [PATCH] video: sm501fb: fixing static checker warning

2015-06-12 Thread Tomi Valkeinen
On 11/06/15 16:13, Heiko Schocher wrote: > Dan Carpenter reported the static checker warning: > > drivers/video/fbdev/sm501fb.c:1958 sm501fb_probe() > warn: strcpy() 'cp' of unknown size might be too large for 'fb_mode' > > Fix it, as the SM501 datasheet says the SM501 can "200 MHz > DAC suppor

Re: [PATCH 1/4] x86: Add basic support for the Congatec CGEB BIOS interface

2015-06-12 Thread Paul Bolle
A few nits. On Thu, 2015-06-11 at 22:48 +0200, Christian Gmeiner wrote: > --- /dev/null > +++ b/drivers/mfd/congatec-cgeb.c > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software

Re: [PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:27 GMT+09:00 Hyungwon Hwang : > On Fri, 12 Jun 2015 18:23:18 +0900 > Krzysztof Kozlowski wrote: > >> 2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : >> > Because of recent update, proper clock-frequency becomes mandatory >> > for validating the mode of panel. This clock-frequency must be

Re: [PATCH] drivers/video/fbdev/sis/sis_main.c: avoid repeated strlen() calls

2015-06-12 Thread Tomi Valkeinen
On 09/06/15 16:04, Rasmus Villemoes wrote: > gcc is not smart enough to realize that strlen(strbuf1) cannot be > changed by the loop body, so it is forced to recompute it, at least in > the branch containing the assignment. Avoid this by using an > equivalent stopping condition. Does it matter?

Re: [PATCH] fbdev: omap2: remove potential format string leak

2015-06-12 Thread Tomi Valkeinen
On 09/06/15 01:30, Kees Cook wrote: > Since kobject_init_and_add takes a format string, make sure that the > passed in name cannot be accidentally parsed. > > Signed-off-by: Kees Cook > --- > drivers/video/fbdev/omap2/dss/display-sysfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-06-12 Thread Sreekanth Reddy
In this patch, increased the number of MSIX vector support for SAS3 C0 HBAs to up-to 96. Following are changes that are done in this patch 1. Support this feature only for SAS3 C0 cards and also only when reply post free queue count is greater than 8. 2. Instead of using single ReplyPostHostInde

[PATCH 00/20] mpt3sas: driver update

2015-06-12 Thread Sreekanth Reddy
This patch set contains all the features and defect fixes from Phase4 to Phase8. Please review this patch set and consider these patches for next kernel release. Sreekanth Reddy (20): [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support [SCSI] mpt3sas:

[PATCH 10/20] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2015-06-12 Thread Sreekanth Reddy
Added the following Dell branding to the mpt3sas driver. "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Dell Branding String 0x10000x0097 0x1028 0x1F46DELL 12Gbps HBA Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt

[PATCH 05/20] [SCSI] mpt3sas: MPI 2.5 Rev I (2.5.4) specifications.

2015-06-12 Thread Sreekanth Reddy
Update MPI 2.5 Release: MPI 2.5 Rev I (2.5.4) specification and 2.00.33 header files Below is the change set from the MPI specification for I Rev 1) Added Base Enclosure Level bit to the Flags field of Manufacturing Page 7. 2) Updated description of the MaxTargetPortConnectTime field of SAS IO U

[PATCH 07/20] [SCSI] mpt3sas: Bump mpt3sas Driver version to v5.100.00.00

2015-06-12 Thread Sreekanth Reddy
Bump mpt3sas Driver version to v5.100.00.00 Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 293ad23..9396a76 100644 ---

[PATCH 03/20] [SCSI] mpt3sas: Don't block the drive when drive addition under the control of SML

2015-06-12 Thread Sreekanth Reddy
During hot-plugging of a disk(having a flaky link), the disk addition stops and any further disk addition or removal doesn't happen on that controller. This is because, when driver receives DELAY_NOT_RESPONDING event for a disk while it is undergoing addition at the SCSI Transport layer, the drive

[PATCH 09/20] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2015-06-12 Thread Sreekanth Reddy
Following is the change set, 1. Added more defines for the BiosOptions field of MPI2_CONFIG_PAGE_BIOS_1. 2. Added MPI2_TOOLBOX_CLEAN_BIT26_PRODUCT_SPECIFIC definition. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 14 +

[PATCH 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-12 Thread Sreekanth Reddy
Added support for below customer specific brandings "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco Branding String 0x1000 0x97 0x1137 0x154 Cisco 9300-8i 12Gbps SAS HBA 0x1000 0x97 0x1137 0

[PATCH 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-12 Thread Sreekanth Reddy
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be completed with DID_RESET host status. The definition of this log info value is "Virtual IO has failed and has to be retried". Firmware will provide this log info value

[PATCH 19/20] [SCSI] mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os

2015-06-12 Thread Sreekanth Reddy
Issue: When the disks are getting discovered and assigned device handles by the kernel, a device block followed by an unblock (due to broadcast primitives) issued by the driver is interspersed by the kernel changing the state of the device. Therefore the unblock by the driver results in a no operat

[PATCH 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API

2015-06-12 Thread Sreekanth Reddy
Added dma_mapping_error() API after mapping an address with dma_map_single() API. Otherwise when CONFIG_DMA_API_DEBUG is enabled in the kernel, then it complains about mpt3sas driver not calling dma_mapping_error after mapping an address with dma_map_single Signed-off-by: Sreekanth Reddy --- dr

[PATCH 20/20] [SCSI] mpt3sas : Bump mpt3sas driver version to 9.100.00.00

2015-06-12 Thread Sreekanth Reddy
Bump mpt3sas driver version to 9.100.00.00 Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index b97039b..0ffe763 100644 --- a

Re: [PATCH v8 2/5] drivers: pwm: bcm-kona: Dont set polarity in probe

2015-06-12 Thread Thierry Reding
On Tue, May 26, 2015 at 01:08:17PM -0700, Jonathan Richardson wrote: > From: Arun Ramamurthy > > Omit setting the polarity to normal during probe and instead use the > new pwmchip_add_inversed function to register a PWM chip with default > polarity of inversed for all channels as this is the actu

[PATCH 13/20] [SCSI] mpt3sas: MPI 2.5 Rev K (2.5.6) specifications

2015-06-12 Thread Sreekanth Reddy
Below are the new changes to MPI 2.5 Rev K(2.5.6) specification and 2.00.35 header files 1) Added a minimum size requirement for target mode command buffers. 2) Added MinMSIxIndex and MaxMSIxIndex fields to CommandBufferPostBase Request. 3) For BIOS Page 1, added SSUTimeout field, and added Produc

Re: Audio crackles with 4.1-rc1

2015-06-12 Thread Mihai Donțu
On Fri, 12 Jun 2015 09:00:06 +0200 Takashi Iwai wrote: > At Fri, 12 Jun 2015 01:23:18 +0300, Mihai Donțu wrote: > > No, 4.0.5 and all previous kernels (>= 3.12) are OK. I have attached a > > small tarball with the two files produced by alsa-info.sh. > > Both are taken in different states (one is h

[PATCH 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-06-12 Thread Sreekanth Reddy
Created a thread using alloc_ordered_workqueue() API in order to process the works from firmware Work-queue sequentially instead of create_singlethread_workqueue() API. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletio

[PATCH 15/20] [SCSI] mpt3sas: Return host busy error status to SML when DMA mapping of scatter gather list fails for a SCSI command

2015-06-12 Thread Sreekanth Reddy
scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA mapping of sg lists fails and zero if the sg list in the SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping failure case properly. So, Updated the code to return host busy error status to SCSI MID Layer(SML), when D

Re: [PATCH v8 1/5] drivers: pwm: core: Add pwmchip_add_inversed

2015-06-12 Thread Thierry Reding
On Tue, May 26, 2015 at 01:08:16PM -0700, Jonathan Richardson wrote: > From: Tim Kryger > > Add a new function to register a PWM chip with channels that have their > initial polarity as inversed. This benefits drivers of controllers that > by default operate with inversed polarity by removing th

<    1   2   3   4   5   6   7   8   >