Re: [GIT PULL] x86/platform changes for v4.11

2017-02-20 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Feb 20, 2017 at 5:17 AM, Ingo Molnar wrote: > > > > Mike Travis (2): > > [...] > > > > tra...@sgi.com (8): > > [...] > > Btw, can you be a bit more careful when applying patches to make sure > that the name and email address is actually good? Yes, w

Re: [PATCHv2 4/5] perf stat: Add -a as a default target

2017-02-20 Thread Jiri Olsa
On Mon, Feb 20, 2017 at 11:47:16PM +0100, Borislav Petkov wrote: > On Mon, Feb 20, 2017 at 06:22:54PM -0300, Arnaldo Carvalho de Melo wrote: > > Well, this one should be read (and written in the tool output as): > > > > > > Do you want to change that CNTR_NOT_SUPPORTED string unconditionally to

Re: [PATCH 11/18] perf stat: Add -a as default target

2017-02-20 Thread Jiri Olsa
On Mon, Feb 20, 2017 at 08:59:32PM +0100, Borislav Petkov wrote: > On Mon, Feb 20, 2017 at 04:55:40PM -0300, Arnaldo Carvalho de Melo wrote: > > I answered to that message, have you seen it? > > Nope, there's nothing in my mbox from you on that thread after jolsa's > reply. Strange... > I think

Re: [RFC PATCH 4/4] mmc: core: Implement mmc_partial_init during resume

2017-02-20 Thread Adrian Hunter
On 20/02/17 10:03, Ritesh Harjani wrote: > This patch adds mmc_partial_init functionality > combining with CMD5 awake feature to reduce resume > latency for emmc. > > This is not enabled for HS400 mode, since tuning > in HS400 is required to be done in HS200 timing. How does that matter?

[PATCH] scsi: ufs: Factor out ufshcd_read_desc_param

2017-02-20 Thread Potomski, MichalX
Since in UFS 2.1 specification some of the descriptor lengths differs from 2.0 specification and some devices, which are reporting spec version 2.0 have different descriptor lengths we can not rely on hardcoded values taken from 2.0 specification. This patch introduces reading these lengths per eac

RE: [RFC 2/5] iwlwifi: fix request_module() use

2017-02-20 Thread Grumbach, Emmanuel
> > On Sun, Feb 19, 2017 at 09:47:59AM +, Grumbach, Emmanuel wrote: > > > > > > The return value of request_module() being 0 does not mean that the > > > driver which was requested has loaded. To properly check that the > > > driver was loaded each driver can use internal mechanisms to vet the

RE: [PATCH 15/19] kernel: convert audit_tree.count from atomic_t to refcount_t

2017-02-20 Thread Reshetova, Elena
> On Mon, Feb 20, 2017 at 5:19 AM, Elena Reshetova > wrote: > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > > situatio

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi Pali, > Am 20.02.2017 um 20:42 schrieb Pali Rohár : > > Hi Nikolaus! > > On Monday 20 February 2017 17:50:04 H. Nikolaus Schaller wrote: >> Hi Dmitry, >> >>> Input driver may set resolution for given axis in units per mm (or >>> units per radian for rotational axis ABS_RX, ABS_RY, ABS_RZ), a

Re: [PATCH v2 0/4] Revert works for the mapping of cpuid <-> nodeid

2017-02-20 Thread Ye Xiaolong
On 02/21, Ye Xiaolong wrote: >On 02/20, Dou Liyang wrote: >>Currently, We make the mapping of "cpuid <-> nodeid" fixed at the booting >>time. >>It keeps consistent with the WorkQueue and avoids some bugs which may be >>caused >>by the dynamic assignment. >>As we know, It is implemented by the pat

[PATCH V2] cpufreq: schedutil: Redefine the rate_limit_us tunable

2017-02-20 Thread Viresh Kumar
The rate_limit_us tunable is intended to reduce the possible overhead from running the schedutil governor. However, that overhead can be divided into two separate parts: the governor computations and the invocation of the scaling driver to set the CPU frequency. The latter is where the real overh

linux-next: Tree for Feb 21

2017-02-20 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v4.12 to your linux-next included branches until after v4.11-rc1 has been released. Changes since 20170220: Non-merge commits (relative to Linus' tree): 9747 10343 files changed, 444283 insertions(+), 203458 dele

[PATCH] cpufreq: qoriq: clean up unused code

2017-02-20 Thread yuantian.tang
From: Tang Yuantian This snip code is not needed anymore since its user get_hard_smp_processor_id() has been removed. Signed-off-by: Tang Yuantian --- drivers/cpufreq/qoriq-cpufreq.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-

Re: [PATCH v4 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-02-20 Thread Anurup M
Adding Marc. On Monday 20 February 2017 04:39 PM, Mark Rutland wrote: On Sun, Feb 19, 2017 at 01:51:03PM -0500, Anurup M wrote: The L3 cache PMU use N-N SPI interrupt which has no support in kernel mainline. Could you elaborate on what you mean by this? I don't understand what is meant here.

[PATCH V2 3/3] serial: sprd: adjust TIMEOUT to a big value

2017-02-20 Thread Chunyan Zhang
From: Wei Qiao SPRD_TIMEOUT was 256, which is too small to wait until the status switched to workable in a while loop, so that the earlycon could not work correctly. Signed-off-by: Wei Qiao Signed-off-by: Chunyan Zhang --- drivers/tty/serial/sprd_serial.c | 2 +- 1 file changed, 1 insertion(+

[PATCH V2 2/3] Documentation: sprd: Add bindings for SP9860G

2017-02-20 Thread Chunyan Zhang
Added support for Spreadtrum SP9860G board and SC9860 SoC. This patch also revised bindings of SC9836 to make the format more clear. Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/arm/sprd.txt | 13 - Documentation/devicetree/bindings/serial/sprd-uart.txt

[PATCH V2 1/3] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-02-20 Thread Chunyan Zhang
From: Orson Zhai SC9860G is a 8 cores of A53 SoC with 4G LTE support SoC from Spreadtrum. According to regular hierarchy of sprd dts, whale2.dtsi contains SoC peripherals IP nodes, sc9860.dtsi contains stuff related to ARM core stuff and sp9860g dts is for the board level. Signed-off-by: Orson

[PATCH V2 0/3] Add Spreadtrum SP9860G support

2017-02-20 Thread Chunyan Zhang
SC9860 is a Spreadtrum SoC with eight Cortex A53, which are divided into 4 Big cores and 4 little cores. This patch-set only provides a basic configuration for SC9860 in device tree to make it run to console. We will continue to submit other drivers later on, which are using on Spreadtrum's SoCs.

Re: [PATCH v3 13/18] power: supply: add battery driver for AXP20X and AXP22X PMICs

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. > > This patch adds the battery power supply driver to get various data from > the PMIC, such as the battery status (charging, discharging, full, > dead), current max l

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi Dmitry, > Am 20.02.2017 um 23:24 schrieb Dmitry Torokhov : > > On Mon, Feb 20, 2017 at 2:21 PM, Petr Cvek wrote: >> Hi, >> >> Dne 20.2.2017 v 22:50 Dmitry Torokhov napsal(a): >>> On Mon, Feb 20, 2017 at 1:27 PM, H. Nikolaus Schaller >>> wrote: > Am 20.02.2017 um 22:08 schrieb Pal

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi Pali, > Am 20.02.2017 um 23:04 schrieb Pali Rohár : > > On Monday 20 February 2017 22:27:39 H. Nikolaus Schaller wrote: >>> Am 20.02.2017 um 22:08 schrieb Pali Rohár : >>> >>> On Monday 20 February 2017 20:42:15 Pali Rohár wrote: While I'm watching this discussion... in my opinion kernel

Re: [PATCH 1/2] Fix format overflows

2017-02-20 Thread Jonathan Dieter
Thanks for looking at this. One quick question before I put out version two with your corrections: On Tue, 2017-02-21 at 07:12 +0100, Krzysztof Opasiak wrote: > Hi, >  > W dniu 2017-02-20 o 21:51, Jonathan Dieter pisze: > > The usbip userspace tools call sprintf()/snprintf() and don't check > > f

[PATCH v2 0/2] add driver for cypress cy8cmbr3102

2017-02-20 Thread Patrick Vogelaar
* compiles without errors * no errors when using checkpatch * tested with a connected touch button on HW NOTE: This implementation does not implement the full range of functions the Cypress CY8CMBR3102 CapSense Express controller provides. It only implements its use for connected touch

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi Pali, > Am 20.02.2017 um 22:54 schrieb Pali Rohár : > > On Monday 20 February 2017 22:24:31 H. Nikolaus Schaller wrote: >> Hi Pali, >> >>> Am 20.02.2017 um 22:07 schrieb Pali Rohár : >>> >>> On Monday 20 February 2017 21:35:18 H. Nikolaus Schaller wrote: Hi Pali, > Am 20.02.20

[PATCH v2 1/2] add driver for cypress cy8cmbr3102

2017-02-20 Thread Patrick Vogelaar
Version 2: * removed .owner * based on branch next Signed-off-by: Patrick Vogelaar --- drivers/input/misc/Kconfig | 12 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/cy8cmbr3102.c | 221 +++ 3 files changed, 234 insertions(+) create

[PATCH v2 2/2] add device tree documentation for cy8cmbr3102

2017-02-20 Thread Patrick Vogelaar
Version 2: * based on branch next Signed-off-by: Patrick Vogelaar --- .../bindings/input/cypress,cy8cmbr3102.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cypress,cy8cmbr3102.txt diff --git a/Documentation/

Re: [PATCH v3 14/18] mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. > > This patch adds the AXP20X/AXP22X battery driver to the MFD cells of the > AXP209, AXP221 and AXP223 MFD. > > Signed-off-by: Quentin Schulz > Acked-for-MFD-by: Lee

[PATCH v2] iio: adc: xilinx: Fix error handling

2017-02-20 Thread Christophe JAILLET
Reorder error handling labels in order to match the way resources have been allocated. Signed-off-by: Christophe JAILLET --- v2: update goto label if 'xadc->ops->setup()' fails --- drivers/iio/adc/xilinx-xadc-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi, > Am 20.02.2017 um 22:50 schrieb Dmitry Torokhov : > > On Mon, Feb 20, 2017 at 1:27 PM, H. Nikolaus Schaller > wrote: >> >>> Am 20.02.2017 um 22:08 schrieb Pali Rohár : >>> >>> On Monday 20 February 2017 20:42:15 Pali Rohár wrote: Hi Nikolaus! On Monday 20 February 2017 17

Re: [kernel-hardening] [RFC 2/7] init: add set_ro_mostly_after_init_rw/ro function

2017-02-20 Thread Ho-Eun Ryu
> On 20 Feb 2017, at 7:22 PM, Mark Rutland wrote: > > On Sun, Feb 19, 2017 at 07:04:05PM +0900, Hoeun Ryu wrote: >> Add set_ro_mostly_after_init_rw/ro pair to modify memory attributes for >> memory marked as `ro_mostly_after_init`. >> >> I am doubtful that this is the right place where these fu

Re: [PATCH V2 0/5] thermal: minor cleanup/fixes

2017-02-20 Thread Zhang Rui
On Mon, 2017-02-20 at 15:59 +0530, Viresh Kumar wrote: > On 07-02-17, 09:39, Viresh Kumar wrote: > > > > Hi, > > > > This series contains minor fixes/cleanups for thermal cooling > > drivers. > > Acked-by: Zhang Rui for the whole patch series. As this patch set depends on commit 8a31d9d94297 (

Re: [kernel-hardening] [RFC 1/7] arch: add __ro_mostly_after_init section marker

2017-02-20 Thread Ho-Eun Ryu
> On 19 Feb 2017, at 8:24 PM, Ard Biesheuvel wrote: > > On 19 February 2017 at 10:04, Hoeun Ryu wrote: >> After `__ro_after_init` marker is included in kernel, many kernel data >> objects can be read-only-after-init. But there are many other places that >> would be good to read-only-after-init

Re: [PATCH v3 11/18] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. > > This patch adds the DT binding documentation for the battery power > supply which gets various data from the PMIC, such as the battery status > (charging, dischargi

Re: [kernel-hardening] [PATCH 0/7] introduce __ro_mostly_after_init section marker

2017-02-20 Thread Ho-Eun Ryu
> On 19 Feb 2017, at 8:14 PM, Ard Biesheuvel wrote: > > Hi Hoeun, > > On 19 February 2017 at 10:03, Hoeun Ryu wrote: >> After `__ro_after_init` marker is included in kernel, many kernel data >> objects can be read-only-after-init. But there are many other places that >> would be good to read-o

[PATCHv2] rtc: cpcap: new rtc driver

2017-02-20 Thread Sebastian Reichel
This driver supports the Motorola CPCAP PMIC found on some of Motorola's mobile phones, such as the Droid 4. Tested-by: Tony Lindgren Signed-off-by: Sebastian Reichel --- Changes to PATCHv1: - added device_init_wakeup() at the end of probe - added Tested-by from Tony --- .../devicetree/bindin

Re: [PATCH] tpm: declare tpm2_get_pcr_allocation() as static

2017-02-20 Thread Jarkko Sakkinen
On Tue, Feb 21, 2017 at 11:20:58AM +0530, Nayna wrote: > > > On 02/17/2017 03:54 PM, Jarkko Sakkinen wrote: > > On Wed, Feb 15, 2017 at 08:02:28PM +0200, Jarkko Sakkinen wrote: > > > There's no need to export tpm2_get_pcr_alloation() because it is only > > > a helper function for tpm2_auto_startu

Re: [Linaro-mm-sig] [RFCv3][PATCH 3/5] arm64: Implement ARCH_HAS_FORCE_CACHE

2017-02-20 Thread Chen Feng
Hi Laura, When we enable kernel v4.4 or newer version on our platform, we meet the issue of flushing cache without reference device. It seems that this patch set is a solution. I'm curious the progress of the discussion. Do you have any plan to fix it in v4.4 and newer kernel verison? On 2016/9/1

Re: [PATCH 1/2] Fix format overflows

2017-02-20 Thread Krzysztof Opasiak
Hi, W dniu 2017-02-20 o 21:51, Jonathan Dieter pisze: The usbip userspace tools call sprintf()/snprintf() and don't check for the return value which can lead the paths to overflow, truncating the final file in the path. More urgently, GCC 7 now warns that these aren't checked with -Wformat-ove

Re: [kernel-hardening] [PATCH 0/7] introduce __ro_mostly_after_init section marker

2017-02-20 Thread Ho-Eun Ryu
> On 20 Feb 2017, at 7:02 PM, Mark Rutland wrote: > > On Sun, Feb 19, 2017 at 07:03:38PM +0900, Hoeun Ryu wrote: >> After `__ro_after_init` marker is included in kernel, many kernel data >> objects can be read-only-after-init. But there are many other places that >> would be good to read-only-af

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-20 Thread Michael Pratt
Sigh... apologies for the HTML. Trying again... On Mon, Feb 20, 2017 at 9:21 PM, Michael Pratt wrote: > On Fri, Feb 17, 2017 at 3:02 PM, Andy Lutomirski wrote: >> On Fri, Feb 17, 2017 at 1:01 PM, Linus Torvalds >> wrote: >>> On Fri, Feb 17, 2017 at 12:12 PM, Andy Lutomirski >>> wrote: >>

Re: [PATCH v3 15/18] ARM: dtsi: axp209: add battery power supply subnode

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The X-Powers AXP209 PMIC exposes battery supply various data such as > the battery status (charging, discharging, full, dead), current max > limit, current current, battery capacity (in percentage), voltage max > and min limits, current volt

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

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The X-Powers AXP22X PMIC exposes battery supply various data such as > the battery status (charging, discharging, full, dead), current max > limit, current current, battery capacity (in percentage), voltage max > limit, current voltage, and

Re: [PATCH] tpm: declare tpm2_get_pcr_allocation() as static

2017-02-20 Thread Nayna
On 02/17/2017 03:54 PM, Jarkko Sakkinen wrote: On Wed, Feb 15, 2017 at 08:02:28PM +0200, Jarkko Sakkinen wrote: There's no need to export tpm2_get_pcr_alloation() because it is only a helper function for tpm2_auto_startup(). For the same reason it does not make much sense to maintain documenta

Re: [RFC 5/7] cpu: mark ro_mostly_after_init for cpuhp_ap/bp_states

2017-02-20 Thread Ho-Eun Ryu
> On 20 Feb 2017, at 5:20 PM, Sebastian Andrzej Siewior > wrote: > > On 2017-02-19 19:04:08 [+0900], Hoeun Ryu wrote: >> It would be good that `__ro_mostly_after_init` is marked to cpuhp state >> objects. > why? > I’m requesting for comments of a new feature called __ro_mostly_after_init se

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

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we > enable the battery power supply subnode in its Device Tree. > > Signed-off-by: Quentin Schulz > Acked-by: Maxime Ripard Battery charger enabled without any descript

Re: [PATCH 2/4] ARM: dts: da850: add vpif video display pins

2017-02-20 Thread Sekhar Nori
On Monday 20 February 2017 09:12 PM, Bartosz Golaszewski wrote: > 2017-02-20 11:29 GMT+01:00 Sekhar Nori : >> On Thursday 16 February 2017 11:45 PM, Bartosz Golaszewski wrote: >>> Add a new pinctrl sub-node for vpif display pins. Move VP_CLKIN3 and >>> VP_CLKIN2 to the display node where they actua

Re: next-20170220 failed to build on PowerPC

2017-02-20 Thread Abdul Haleem
On 2017-02-20 16:25, abdul wrote: Hi, next-20170220 fails to build on Power 8 (PowerVM LPAR) with these errors. with same config, next-20170215 builds fine. the config file used is attached, by default CONFIG_VIRT_CPU_ACCOUNTING_NATIVE was not set. (X) Simple tick based cputime accounting

[PATCH] auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches

2017-02-20 Thread Dmitry Torokhov
The OF device table must be terminated, otherwise we'll be walking past it and into areas unknown. This causes KASAN errors reported by 0day kernel testing robot. Reported-by: Fengguang Wu Tested-by: Fengguang Wu Fixes: 0cad855fbd08 ("auxdisplay: img-ascii-lcd: driver for simple ASCII...") Cc:

Re: DRM_CONTROL node breakage (Re: [PATCH] [RFC] drm: Nerf DRM_CONTROL nodes)

2017-02-20 Thread David Airlie
> > No. > > IMO Not fixing this immediately through stable is out of the question. > The deal is that we don't break userspace. > Having said that, I'm not against a long term vmwgfx-only solution. But > let's fix this now. > > Admittedly we missed testing this but you got to understand that no

DRM_CONTROL node breakage (Re: [PATCH] [RFC] drm: Nerf DRM_CONTROL nodes)

2017-02-20 Thread Thomas Hellstrom
No. IMO Not fixing this immediately through stable is out of the question. The deal is that we don't break userspace. Having said that, I'm not against a long term vmwgfx-only solution. But let's fix this now. Admittedly we missed testing this but you got to understand that not all developer team

Re: [LKP] [hrtimer] 336a9cde10 WARNING: CPU: 1 PID: 1 at kernel/time/hrtimer.c:1090 hrtimer_init

2017-02-20 Thread Ye Xiaolong
On 02/21, Ye Xiaolong wrote: >Hi, fengguang >On 02/20, Thomas Gleixner wrote: >>On Tue, 21 Feb 2017, Fengguang Wu wrote: >> >>> Hi Marc, >>> >>> FYI here is another bisect result. The attached reproduce-* script can >>> be used to reproduce the bug. >> >>Again. This is a problem in the calling cod

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

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 PM, Quentin Schulz wrote: > The NextThing Co. CHIP has an AXP209 PMIC with battery connector. > > This enables the battery power supply subnode. > > Signed-off-by: Quentin Schulz > Acked-by: Maxime Ripard Acked-by: Chen-Yu Tsai

linux kernel 4.9.6 startup on skylake "Blocked a compatibility format interrupt request"

2017-02-20 Thread Luke Kenneth Casson Leighton
hi just a heads-up on trying out debian's 4.9 kernel on an awesomely powerful recent laptop, it's unable to run /sbin/init. full report is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=88 screenshot is here: http://hands.com/~lkcl/IMG_20170220_1127225_rewind.jpg this error appears

[PATCH] regulator: remove unnecessary code

2017-02-20 Thread Gustavo A. R. Silva
The name of an array used by itself will always return the array's address. So it makes no sense to evaluate it, since the test will always evaluate as true. Addresses-Coverity-ID: 751412 Signed-off-by: Gustavo A. R. Silva --- drivers/regulator/da9055-regulator.c | 2 +- 1 file changed, 1 insert

Fast Loans

2017-02-20 Thread Service Loans
Do you need a loan to pay up bill or to start a business? Email Us

Re: [GIT PULL] cputime: Convert core use of cputime_t to nsecs

2017-02-20 Thread hejianet
Hi Frederic Do we need to support CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=n on ppc64le? If yes, I got a compiling error after applying your patch set: arch/powerpc/kernel/time.c:712:2: error: implicit declaration of function ‘cputime_to_nsecs’ [-Werror=implicit-function-declaration] return loc

[PATCH v3 4/4] arm: dts: imx6q-icore: Add LVDS support

2017-02-20 Thread Jagan Teki
From: Jagan Teki Add LVDS display support for OpenFrame Capacitive touch 7 inc display which is supported by Engicam i.CoreM6 QDL Starter Kit. Cc: Domenico Acri Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v3: - Use native-mode as timing0 sin

[PATCH v3 3/4] arm: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 12.3 initial support

2017-02-20 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual OpenFrame modules are "system on modules plus openframe display carriers" which are good solution for develop user friendly graphic user interface. General features: CPU NXP i.MX6Q rev1.2 at 792 MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND

[PATCH v3 1/4] arm: dts: imx6qdl-icore: Add backlight support for lvds

2017-02-20 Thread Jagan Teki
From: Jagan Teki This patch add support for lvds backlight on i.CoreM6 QDL variant boards. Cc: Domenico Acri Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Shawn Guo Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none arch/arm/boot/dts/imx6qdl-icore.dtsi | 20 ++

[PATCH v3 2/4] arm: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 10.1 initial support

2017-02-20 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual OpenFrame modules are "system on modules plus openframe display carriers" which are good solution for develop user friendly graphic user interface. General features: CPU NXP i.MX6Q rev1.2 at 792 MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND

Re: [PATCH 4/4] ARM: dts: da850-evm: add the UI expander node

2017-02-20 Thread Sekhar Nori
On Monday 20 February 2017 09:08 PM, Bartosz Golaszewski wrote: > 2017-02-20 10:36 GMT+01:00 Sekhar Nori : >> On Thursday 16 February 2017 11:45 PM, Bartosz Golaszewski wrote: >>> If we're using the UI board and want vpif capture, we need to select >>> the video capture functionality by driving the

Re: [RFC][PATCH] cpufreq: User/admin documentation update and consolidation

2017-02-20 Thread Viresh Kumar
On 20-02-17, 14:58, Rafael J. Wysocki wrote: > Yes, it is called for new and inactive policies. > > For new policies it has to populate policy->cpus (because otherwise the core > doesn't know what CPUs should be there), which quite arguably doesn't have > to (or even doesn't need to) be done for i

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

2017-02-20 Thread Chen-Yu Tsai
On Wed, Feb 15, 2017 at 4:53 PM, Quentin Schulz wrote: > Hi, > > On 15/02/2017 01:46, Liam Breck wrote: >> >> On Tue, 14 Feb 2017 10:40:55 +0100 Quentin Schulz wrote: >>> This adds the constant-charge-current property to the list of optional >>> properties of the battery. >>> >>> The constant char

Re: [PATCH v3 05/18] mfd: axp20x: add ADC cells for AXP20X and AXP22X PMICs

2017-02-20 Thread Chen-Yu Tsai
On Wed, Feb 15, 2017 at 5:37 PM, Lee Jones wrote: > On Tue, 14 Feb 2017, Quentin Schulz wrote: > >> This adds the AXP20X/AXP22x ADCs driver to the mfd cells of the AXP209, >> AXP221 and AXP223 MFD. >> >> Signed-off-by: Quentin Schulz >> Acked-by: Maxime Ripard >> --- >> >> v3: >> - removed of_c

Re: [PATCH net-next v3 0/4] net: mvneta: improve rx/tx performance

2017-02-20 Thread Jisheng Zhang
Hi Gregory, On Mon, 20 Feb 2017 15:21:35 +0100 Gregory CLEMENT wrote: > Hi Jisheng, > > On lun., févr. 20 2017, Jisheng Zhang wrote: > > > In hot code path such as mvneta_rx_swbm(), we access fields of rx_desc > > and tx_desc. These DMA descs are allocated by dma_alloc_coherent, they > > are

Re: [GIT PULL] HID for 4.11

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 8:13 PM, Linus Torvalds wrote: > > Hmm. It's commit 279967a65b32 ("HID: rmi: Handle all Synaptics > touchpads using hid-rmi"). > > And the reason seems to be stupid: I don't have RMI enabled at all, > because that didn't use to work or make a difference. > > Maybe that "let

Re: [PATCH v3 04/18] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-02-20 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:40 PM, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the > battery voltage, battery charge and discharge currents, AC-in and VBUS > voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. > > This adds suppor

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-20 Thread J. R. Okajima
James Bottomley: > With a different owner view, but that's irrelevant to the underlying > inode. Ok, the different ownership is limited within shitfs (or userns, container). Good. I might forget that shiftfs wants to behave like bind-mount. And I noticed that shiftfs setattr() converts uid/gid be

Re: Problem on SCTP

2017-02-20 Thread Sun Paul
Hi, sorry to get back late, the platform is running on KVM. and this problem is resolved by moving to VMware environment, however, a new problem is coming out, we noticed that the HB REQ is being ABORT from client. 03:32:35.233572 IP 10.165.250.22.3868 > 192.168.2.13.40001: sctp (1) [HB REQ] (f

[PATCH 2/2] powerpc/book3s: mce: Use add_taint_no_warn() in machine_check_early().

2017-02-20 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar machine_check_early() gets called in real mode. The very first time when add_taint() is called, it prints a warning which ends up calling opal call (that uses OPAL_CALL wrapper) for writing it to console. If we get a very first machine check while we are in opal we are doo

[PATCH 1/2] Introduce add_taint variant that does not print warning.

2017-02-20 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar Some interrupt handler's may not be happy to call printk and would lead to unexpected behavior or kernel panic. e.g. machine_check_early() from MCE handler on OPAL based system. Introduce add_taint variant that does not call printk. Signed-off-by: Mahesh Salgaonkar ---

[PATCH] staging/ks7010: formatting updates.

2017-02-20 Thread Matthew Giassa
Please pardon the earlier e-mail which was missing the changelog text. Wrapping complex macros with parentheses to remove checkpatch errors. Some additional style changes to appease checkpatch. --- drivers/staging/ks7010/ks_wlan_ioctl.h | 80 +- 1 file changed, 41

Re: [PATCH v3 5/6] ARM: mvebu: Add driver for mv98dx3236-soc-id

2017-02-20 Thread Chris Packham
On 18/02/17 05:17, Arnd Bergmann wrote: > On Fri, Feb 17, 2017 at 5:22 AM, Chris Packham > wrote: >> Hi Arnd, >> On 17/02/17 02:28, Arnd Bergmann wrote: >>> On Thursday, February 16, 2017 9:50:39 PM CET Chris Packham wrote: The DFX server on the 98dx3236 and compatible SoCs has an ID register

Re: [GIT PULL] HID for 4.11

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 7:03 PM, Linus Torvalds wrote: > > I'll have a more specific commit (or range) soon. Hmm. It's commit 279967a65b32 ("HID: rmi: Handle all Synaptics touchpads using hid-rmi"). And the reason seems to be stupid: I don't have RMI enabled at all, because that didn't use to wo

Re: [PATCH 3/3] mm, vmscan: Prevent kswapd sleeping prematurely due to mismatched classzone_idx

2017-02-20 Thread Hillf Danton
On February 21, 2017 12:34 AM Vlastimil Babka wrote: > On 02/16/2017 09:21 AM, Hillf Danton wrote: > > Right, but the order-3 request can also come up while kswapd is active and > > gives up order-5. > > "Giving up on order-5" means it will set sc.order to 0, go to sleep (assuming > order-0 waterm

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-20 Thread James Bottomley
On Tue, 2017-02-21 at 11:57 +0900, J. R. Okajima wrote: > James Bottomley: > > I realised as I was trimming down the vestigial inode properties in > > the patch that actually shiftfs does use the i_ino from the > > underlying for userspace. The reason why is that it comes from the > > getattr c

[PATCH 2/2] media: pci: saa7164: remove dead code

2017-02-20 Thread Gustavo A. R. Silva
Remove dead code. The following line of code is never reached: return SAA_OK; Addresses-Coverity-ID: 114283 Signed-off-by: Gustavo A. R. Silva --- drivers/media/pci/saa7164/saa7164-cmd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-cmd.c b/drivers/media

Re: [PATCH] PM / OPP: fix off-by-one bug in dev_pm_opp_get_max_volt_latency loop

2017-02-20 Thread Viresh Kumar
On 20-02-17, 19:57, Andrzej Hajda wrote: > Reading array at given index before checking if index is valid results in > illegal memory access. > > The bug was detected using KASAN framework. > > Signed-off-by: Andrzej Hajda > --- > drivers/base/power/opp/core.c | 3 ++- > 1 file changed, 2 inser

[PATCH 1/2] media: pci: saa7164: remove unnecessary code

2017-02-20 Thread Gustavo A. R. Silva
Remove unnecessary variable 'loop'. Signed-off-by: Gustavo A. R. Silva --- drivers/media/pci/saa7164/saa7164-cmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-cmd.c b/drivers/media/pci/saa7164/saa7164-cmd.c index 45951b3..169c90a 10064

Re: [PATCH v1] mfd: intel_soc_pmic_core: Remove unnecessary function

2017-02-20 Thread kbuild test robot
Hi Andy, [auto build test WARNING on ljones-mfd/for-mfd-next] [also build test WARNING on v4.10 next-20170220] [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/Andy-Shevchenko/mfd

[PATCH] ext4: delayed inode insertion into transaction at write()

2017-02-20 Thread Seongbae Son
On Wed 15-02-17 14:18:39, Seongbae Son wrote: >> If a write request writes a data which is larger than 4 KB, the inode of >> the file is updated by the write system call, and also by kworker thread. >> This duplicated inode update causes malfunction of the EXT4 journaling >> behavior in ordered mod

Re: [PATCH net-next V2] virito-net: set queues after reset during xdp_set

2017-02-20 Thread David Miller
From: Jason Wang Date: Mon, 20 Feb 2017 11:50:20 +0800 > We set queues before reset which will cause a crash[1]. This is > because is_xdp_raw_buffer_queue() depends on the old xdp queue pairs > number to do the correct detection. So fix this by > > - passing xdp queue pairs and current queue pai

Re: [PATCH] dpaa_eth: implement ioctl() for PHY-related ops

2017-02-20 Thread David Miller
From: Michael Walle Date: Mon, 20 Feb 2017 16:54:18 +0100 > This commit adds the ndo_do_ioctl() callback which allows the userspace to > access PHY registers, for example. This will make mii-diag and similar > tools work. > > Signed-off-by: Michael Walle Applied, thanks.

Re: [PATCH 2/2] mfd: axp20x: Add support for dts property "xpowers,master-mode"

2017-02-20 Thread Chen-Yu Tsai
On Sun, Feb 19, 2017 at 4:11 AM, Rask Ingemann Lambertsen wrote: > commit b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") > was intended to fix the case where a board uses an AXP806 in slave mode, > but the boot loader leaves it in master mode for lack of AXP806 support. > But

Re: [GIT PULL] HID for 4.11

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 7:03 PM, Linus Torvalds wrote: > > It's bisecting right into the HID pull request, so you can consider > that confirmed. There's something badly broken in this pull. Side note, the touchpad messages from a working kernel are as psmouse serio1: synaptics: Touchpad model

Re: [PATCH] net: qualcomm: qca: use new api ethtool_{get|set}_link_ksettings

2017-02-20 Thread David Miller
From: Philippe Reynes Date: Mon, 20 Feb 2017 22:59:13 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > As I don't have the hardware, I'd be very pleased if > someone may test this patch. > > Signed-off-by: Philippe Reynes

Re: [net-next][PATCH v2] RDS: Make user visible data types consistent with rest of the kernel

2017-02-20 Thread David Miller
From: Santosh Shilimkar Date: Mon, 20 Feb 2017 14:16:53 -0800 > Use "__uX/__sX" kernel types rather than current uint*/int* for > entire file. > > Reviewed-by: Sowmini Varadhan > Signed-off-by: Santosh Shilimkar > --- > v1->v2: > As suggested by David Miller, cleaned up entire header to use ke

Re: [PATCH 1/2] dts: mfd: axp20x: Add xpowers,master-mode property for AXP806 PMICs

2017-02-20 Thread Chen-Yu Tsai
On Sun, Feb 19, 2017 at 3:51 AM, Rask Ingemann Lambertsen wrote: > commit b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") > was intended to fix the case where a board uses an AXP806 in slave mode, > but the boot loader leaves it in master mode for lack of AXP806 support. > But

RE: Unknown ALPS touchpad

2017-02-20 Thread Masaki Ota
Hi, Pali, I know these devices, and they are supported in new kernel. I'm not sure when they are supported from. In alps.c has below code. static int alps_identify(struct psmouse *psmouse, struct alps_data *priv) {... ... if (e7[0] == 0x73 && e7[1] == 0x03 && e7[2] == 0x50 &&

Re: [PATCH v1 1/1] scsi: ufs-qcom: remove redundant condition check

2017-02-20 Thread Martin K. Petersen
> "Subhash" == Subhash Jadavani writes: Subhash, Subhash> Dan Carpenter reported this: --- The Subhash> patch 9c46b8676271: "scsi: ufs-qcom: dump additional testbus Subhash> registers" from Feb 3, 2017, leads to the following static Subhash> checker warning: You had used "---" to enclose D

Re: [PATCH] smartpqi: fix time handling

2017-02-20 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> When we have turned off RTC support, the smartpqi driver fails to Arnd> build: ERROR: "rtc_time64_to_tm" Arnd> [drivers/scsi/smartpqi/smartpqi.ko] undefined! Applied to 4.11/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [GIT PULL] HID for 4.11

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 6:48 PM, Linus Torvalds wrote: > On Mon, Feb 20, 2017 at 7:20 AM, Jiri Kosina wrote: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus >> >> to receive HID subsystem updates for 4.11: > > The touchpad on my XPS13 no longer works. It might not be

Re: Need your help on rcu_bh_state stall on CPU 0 (t=0 jiffies)

2017-02-20 Thread Paul E. McKenney
On Tue, Feb 21, 2017 at 06:36:34AM +0530, Sumit Gemini wrote: > Hi Pual, > > Thanks for your time. > > we are using HA pair with TIPC and opensf functionality. Now problem is on > active machine TIPC link lost message was observed on 06:45:00 but standby > machine detected this link lost at 06:45

Re: [PATCH V3 0/4] Define coherent device memory node

2017-02-20 Thread Balbir Singh
On Fri, 2017-02-17 at 09:33 +, Mel Gorman wrote: > On Fri, Feb 17, 2017 at 09:14:44AM +1100, Balbir Singh wrote: > >  > >  > > On 16/02/17 05:20, Mel Gorman wrote: > > > On Wed, Feb 15, 2017 at 05:37:22PM +0530, Anshuman Khandual wrote: > > > > This four patches define CDM node with Hug

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-20 Thread J. R. Okajima
James Bottomley: > I realised as I was trimming down the vestigial inode properties in the > patch that actually shiftfs does use the i_ino from the underlying for > userspace. The reason why is that it comes from the getattr call in > stat and that's fully what the underlying filesystem returns (

Fast Loans

2017-02-20 Thread Service Loans
Apply for a loan at 3% reply to this Email for more Info Do you need a loan to pay up bill or to start a business? Email Us

Re: [GIT PULL] HID for 4.11

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 7:20 AM, Jiri Kosina wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus > > to receive HID subsystem updates for 4.11: The touchpad on my XPS13 no longer works. It might not be this pull request, and I'll bisect the exact cause, but this pul

Re: [PATCH] checkpatch: remove false unbalanced braces warning

2017-02-20 Thread Joe Perches
On Mon, 2017-02-20 at 13:16 +0100, Sven Eckelmann wrote: > Lines containing "} else {" should not be detected as unbalanced braces. > But the second check can be reduced to ".+else\s*{" and it therefore > never checked if the beginning of a line contains any other character > (like the relevant "}"

[PATCH 1/2] drm/rockchip: vop: verify display mode with vop max_output

2017-02-20 Thread Mark Yao
Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 6 ++ drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 7 +++ drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 13 + 3 files changed, 26 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.

[PATCH 2/2] drm/rockchip: vop: verify pixelclock for hdmi and displayport

2017-02-20 Thread Mark Yao
Hdmi or DisplayPort request a accurate clock, reject the display mode if clock is not good. Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/d

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2017-02-20 Thread Huang, Ying
Hi, Vincent, Vincent Guittot writes: > On 4 January 2017 at 04:08, Huang, Ying wrote: >> Vincent Guittot writes: >> Vincent, like we discussed in September last year, the proper fix would probably be a cfs-rq->nr_attached which IMHO is not doable w/o being an atomic because

  1   2   3   4   5   6   7   8   >