Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch

2017-11-21 Thread Knut Omang
On Mon, 2017-11-20 at 17:00 -0700, Jim Davis wrote: > On Mon, Nov 20, 2017 at 2:22 PM, Luc Van Oostenryck > wrote: > > > Should it be possible to somehow keep the distinction between > > the flags coming from KBUILD_CFLAGS and the pure CHECKFLAGS? > > Well, the practical problem seems to be

Re: [PATCH 1/2 v2] dmaengine: rcar-dmac: ensure CHCR DE bit is actually 0 after clear

2017-11-21 Thread Laurent Pinchart
On Friday, 17 November 2017 10:41:05 EET Geert Uytterhoeven wrote: > On Fri, Nov 17, 2017 at 1:10 AM, Kuninori Morimoto wrote: > >>> +static void rcar_dmac_chcr_de_barrier(struct rcar_dmac_chan *chan) > >>> +{ > >>> + u32 chcr; > >>> + int i; > >> > >> unsigned int > >> > >>> + > >>>

[PATCHv3] drm: adv7511/33: Fix adv7511_cec_init() failure handling

2017-11-21 Thread Hans Verkuil
If the device tree for a board did not specify a cec clock, then adv7511_cec_init would return an error, which would cause adv7511_probe() to fail and thus there is no HDMI output. There is no need to have adv7511_probe() fail if the CEC initialization fails, so just change adv7511_cec_init() to

Re: [PATCHv2] drm: adv7511/33: Fix adv7511_cec_init() failure handling

2017-11-21 Thread Hans Verkuil
On 11/21/2017 07:48 AM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Monday, 20 November 2017 22:57:34 EET Hans Verkuil wrote: >> If the device tree for a board did not specify a cec clock, then >> adv7511_cec_init would return an error, which would cause

[f2fs-dev] [PATCH RESEND v2] f2fs: fix concurrent problem for updating free bitmap

2017-11-21 Thread LiFan
alloc_nid_failed and scan_nat_page can be called at the same time, and we haven't protected add_free_nid and update_free_nid_bitmap with the same nid_list_lock. That could lead to Thread AThread B - __build_free_nids - scan_nat_page

Re: [PATCHv3] drm: adv7511/33: Fix adv7511_cec_init() failure handling

2017-11-21 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tuesday, 21 November 2017 10:17:43 EET Hans Verkuil wrote: > If the device tree for a board did not specify a cec clock, then > adv7511_cec_init would return an error, which would cause adv7511_probe() > to fail and thus there is no HDMI output. > > There is

Re: [PATCH] c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt

2017-11-21 Thread Patrice CHOTARD
Hi Gustavo On 11/20/2017 03:00 PM, Gustavo A. R. Silva wrote: > _channel_ is being dereferenced before it is null checked, hence there is a > potential null pointer dereference. Fix this by moving the pointer dereference > after _channel_ has been null checked. > > This issue was detected with

[PATCH] ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink

2017-11-21 Thread Jeffy Chen
The rt5514 dsp captures pcm data through spi directly, so we should not use rockchip-i2s as it's cpu dai like other codecs. Use dummy_dai for rt5514 dsp dailink to make voice wakeup work again. Reported-by: Jimmy Cheng-Yi Chiang Fixes: (72cfb0f20c75 ASoC: rockchip: Use codec of_node and

Re: [PATCH] dt-bindings: trivial-devices: Remove fsl,mc13892

2017-11-21 Thread Jonathan Neuschäfer
On Mon, Nov 20, 2017 at 03:10:45PM -0600, Rob Herring wrote: > On Sat, Nov 18, 2017 at 03:22:32AM +0100, Jonathan Neuschäfer wrote: > > This device's bindings are not trivial: Additional properties are > > documented in in Documentation/devicetree/bindings/mfd/mc13xxx.txt. > > > > Signed-off-by:

Re: [PATCH 04/16] x86/fixmap: Generalize the GDT fixmap mechanism

2017-11-21 Thread Thomas Gleixner
On Mon, 20 Nov 2017, Andy Lutomirski wrote: > On Mon, Nov 20, 2017 at 2:01 PM, Thomas Gleixner wrote: > > On Mon, 20 Nov 2017, Andy Lutomirski wrote: > >> + * to avoid circular header dependencies. > > > > :( > > Hmm. I could probably fix this, but it involves (at least) moving a > struct

Re: [PATCH] docs: add submitting-pull-requests.rst

2017-11-21 Thread Jani Nikula
On Tue, 21 Nov 2017, "Tobin C. Harding" wrote: > On Wed, Nov 15, 2017 at 04:09:32PM +0200, Jani Nikula wrote: >> On Wed, 15 Nov 2017, "Tobin C. Harding" wrote: >> > Original email thread >> > >> > https://lkml.org/lkml/2017/11/14/184 >> >> Please use

Re: [PATCH] perf parse events: Fix invalid precise_ip handling

2017-11-21 Thread zhangmengting
On 2017/11/20 15:33, Jiri Olsa wrote: On Wed, Nov 15, 2017 at 09:00:03AM +0800, zhangmengting wrote: Hi Jiri, thanks for your detailed review, please see my comments inline. On 2017/11/10 18:39, Jiri Olsa wrote: On Fri, Nov 10, 2017 at 04:28:37PM +0800, Mengting Zhang wrote: SNIP diff

[tip:x86/urgent] x86/umip: Print a warning into the syslog if UMIP-protected instructions are used

2017-11-21 Thread tip-bot for Ricardo Neri
Commit-ID: fd11a6496e12848d4eeb21029c2c288bbc638048 Gitweb: https://git.kernel.org/tip/fd11a6496e12848d4eeb21029c2c288bbc638048 Author: Ricardo Neri AuthorDate: Mon, 20 Nov 2017 19:04:36 -0800 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 08:13:43 +0100 x86/umip: Print a warning

Re: [PATCH 3/4] x86, selftests, protection_keys: rename si_pkey

2017-11-21 Thread Ingo Molnar
* Dave Hansen wrote: > > si_pkey is now #defined to be the name of the new siginfo field that > protection keys uses. Rename it not to conflict. > > --- Ditto: added your Signed-off-by which I presume was intended. Thanks, Ingo

Re: [PATCH 2/4] x86, selftests, mpx: fix up weird arrays

2017-11-21 Thread Ingo Molnar
* Dave Hansen wrote: > > The MPX hardware data structurse are defined in a weird way: they define > their size in bytes and then union that with the type with which we want > to access them. > > Yes, this is weird, but it does work. But, new GCC's complain that we > are accessing the array

[PATCH v2] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-21 Thread Kai-Heng Feng
From: Kai Heng Feng On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when battery is full and AC is plugged. However rate_now is correct under this circumstance, hence we can use "rate_now == 0" as a predicate to report battery full status correctly. BugLink:

Re: [PATCH 0/4] MPX and Protection Keys Updates

2017-11-21 Thread Ingo Molnar
* Dave Hansen wrote: > Hi Ingo, > > Here are some small updates to Protection Keys documentation, and > some small fixes to the selftests that we discussed. Note that even with all the patches applied, a build warning remains: gcc -m32 -o

[PATCH 1/2] perf intel-pt: Improve build messages for files that differ from the kernel

2017-11-21 Thread Adrian Hunter
Print file names of files that differ. For example, instead of: Warning: Intel PT: x86 instruction decoder differs from kernel print: Warning: Intel PT: x86 instruction decoder header at 'tools/perf/util/intel-pt-decoder/inat.h' differs from latest version at 'arch/x86/include/asm/inat.h'

[PATCH 0/2] perf intel-pt: Bring instruction decoder files into line with the kernel

2017-11-21 Thread Adrian Hunter
Hi Here are 2 patches for Intel PT to improve build messages and bring instruction decoder files into line with the kernel. Adrian Hunter (2): perf intel-pt: Improve build messages for files that differ from the kernel perf intel-pt: Bring instruction decoder files into line with

[tip:sched/urgent] sched/deadline: Don't use dubious signed bitfields

2017-11-21 Thread tip-bot for Dan Carpenter
Commit-ID: aa5222e92f8000ed3c1c38dddf11c83222aadfb3 Gitweb: https://git.kernel.org/tip/aa5222e92f8000ed3c1c38dddf11c83222aadfb3 Author: Dan Carpenter AuthorDate: Fri, 13 Oct 2017 10:01:22 +0300 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 09:25:01 +0100 sched/deadline: Don't

[PATCH 2/2] perf intel-pt: Bring instruction decoder files into line with the kernel

2017-11-21 Thread Adrian Hunter
There are just a few new defines which do not affect perf tools. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/inat.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/tools/perf/util/intel-pt-decoder/inat.h b/tools/perf/util/intel-pt-decoder/inat.h index

Re: [patch V2 02/11] LICENSES: Add the GPL 2.0 license

2017-11-21 Thread Jonas Oberg
Hi Alan, > Which raises another question. If there are multiple GPL 2.0 texts which > are *supposedly* legally identical but this has never been tested in law > -that implies SPDX is wrong in tagging them identically in case they turn > out not to be... For the cases, and the differences we're

Re: 4.14: WARNING: CPU: 4 PID: 2895 at block/blk-mq.c:1144 with virtio-blk

2017-11-21 Thread Christian Borntraeger
On 11/20/2017 09:52 PM, Jens Axboe wrote: > On 11/20/2017 01:49 PM, Christian Borntraeger wrote: >> >> >> On 11/20/2017 08:42 PM, Jens Axboe wrote: >>> On 11/20/2017 12:29 PM, Christian Borntraeger wrote: On 11/20/2017 08:20 PM, Bart Van Assche wrote: > On Fri, 2017-11-17 at

Re: [PATCH PREEMPT RT] rt-mutex: fix deadlock in device mapper

2017-11-21 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Mike Galbraith wrote: > On Mon, 2017-11-20 at 16:33 -0500, Mikulas Patocka wrote: > > > > Is there some specific scenario where you need to call > > blk_schedule_flush_plug from rt_spin_lock_fastlock? > > Excellent question.  What's the difference between not getting IO >

Re: [PATCH] arm64: kaslr: Fix kaslr end boundary of virt addr

2017-11-21 Thread Chen Feng
On 2017/11/21 11:44, Chen Feng wrote: > With kaslr and kasan enable both, I got the follow issue. > > [ 16.130523s]kasan: reg->base = 1, phys_end =1c000,start = > 4000, end = ffc0 > [ 16.142517s]___alloc_bootmem_nopanic:257 > [

Re: [PATCH] lib: test module for find_*_bit() functions

2017-11-21 Thread Geert Uytterhoeven
Hi Yury, On Thu, Nov 9, 2017 at 3:07 PM, Yury Norov wrote: > find_bit functions are widely used in the kernel, including hot paths. > This module tests performance of that functions in 2 typical scenarios: > randomly filled bitmap with relatively equal distribution of set and > cleared bits, and

Re: [PATCH v15 5/5] PCI: Remove PCI pool macro functions

2017-11-21 Thread Romain Perier
Whoops, my bad. Sorry Thanks, Romain 2017-11-20 21:34 GMT+01:00 Bjorn Helgaas : > On Mon, Nov 20, 2017 at 08:32:47PM +0100, Romain Perier wrote: >> From: Romain Perier >> >> Now that all the drivers use dma pool API, we can remove the macro >> functions for PCI pool. >> >> Signed-off-by: Romain

Re: [PATCH] scsi/eh: fix hang adding ehandler wakeups after decrementing host_busy

2017-11-21 Thread Pavel Tikhomirov
JFYI these patch is in Virtuozzo7 kernel from September, and we have no issues found with it until now by out testing, and initial problem does not reproduce for 2.5 months.

Re: [PATCH 1/2] perf intel-pt: Improve build messages for files that differ from the kernel

2017-11-21 Thread Ingo Molnar
* Adrian Hunter wrote: > Print file names of files that differ. For example, instead of: > > Warning: Intel PT: x86 instruction decoder differs from kernel > > print: > > Warning: Intel PT: x86 instruction decoder header at > 'tools/perf/util/intel-pt-decoder/inat.h' differs from latest

[tip:x86/urgent] x86/pkeys: Update documentation about availability

2017-11-21 Thread tip-bot for Dave Hansen
Commit-ID: c51ff2c7fc45da8b18b28c4f15eca5a9975dfb59 Gitweb: https://git.kernel.org/tip/c51ff2c7fc45da8b18b28c4f15eca5a9975dfb59 Author: Dave Hansen AuthorDate: Fri, 10 Nov 2017 16:12:28 -0800 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 09:34:52 +0100 x86/pkeys: Update

[tip:x86/urgent] x86/pkeys/selftests: Rename 'si_pkey' to 'siginfo_pkey'

2017-11-21 Thread tip-bot for Dave Hansen
Commit-ID: 91c49c2deb96ffc3c461eaae70219d89224076b7 Gitweb: https://git.kernel.org/tip/91c49c2deb96ffc3c461eaae70219d89224076b7 Author: Dave Hansen AuthorDate: Fri, 10 Nov 2017 16:12:31 -0800 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 09:34:52 +0100 x86/pkeys/selftests:

[tip:x86/urgent] x86/mpx/selftests: Fix up weird arrays

2017-11-21 Thread tip-bot for Dave Hansen
Commit-ID: a6400120d042397675fcf694060779d21e9e762d Gitweb: https://git.kernel.org/tip/a6400120d042397675fcf694060779d21e9e762d Author: Dave Hansen AuthorDate: Fri, 10 Nov 2017 16:12:29 -0800 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 09:34:52 +0100 x86/mpx/selftests: Fix up

[tip:x86/urgent] x86/pkeys/selftests: Fix protection keys write() warning

2017-11-21 Thread tip-bot for Dave Hansen
Commit-ID: 7b659ee3e1fe0e8eb39730afb903c64e25490ec4 Gitweb: https://git.kernel.org/tip/7b659ee3e1fe0e8eb39730afb903c64e25490ec4 Author: Dave Hansen AuthorDate: Fri, 10 Nov 2017 16:12:32 -0800 Committer: Ingo Molnar CommitDate: Tue, 21 Nov 2017 09:34:52 +0100 x86/pkeys/selftests: Fix

Re: [PATCH] [media] c8sectpfe: Use resource_size function on memory resource

2017-11-21 Thread Patrice CHOTARD
Hi Vasyl On 11/20/2017 11:46 PM, Vasyl Gomonovych wrote: > To adapt fei->sram_size calculation via resource_size for memory size > calculation before, in fei->sram = devm_ioremap_resource(dev, res). > And make memory initialization range in > memset_io for fei->sram appropriate > >

Re: Autoselect patches for stable (Was: Re: [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV)

2017-11-21 Thread Daniel Vetter
On Tue, Nov 21, 2017 at 08:58:51AM +0100, Greg KH wrote: > On Mon, Nov 20, 2017 at 01:39:31PM +0100, Daniel Vetter wrote: > > Of course our CI is open, so if someone is supremely bored and wants to > > backport more stuff for drm/i915, they could do that. But atm it doesn't > > happen, and then

Re: [Intel-gfx] Autoselect patches for stable (Was: Re: [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV)

2017-11-21 Thread Daniel Vetter
On Tue, Nov 21, 2017 at 07:39:51AM +1000, Dave Airlie wrote: > On 20 November 2017 at 23:13, Daniel Vetter wrote: > > On Mon, Nov 20, 2017 at 01:39:31PM +0100, Daniel Vetter wrote: > >> On Mon, Nov 20, 2017 at 11:21:52AM +, Emil Velikov wrote: > >> > Hi all, > >> > > >> > Since I'm going

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 03:12, Stephen Boyd wrote: > On 11/20, Chunyan Zhang wrote: >> From: Cai Li >> >> In some cases the clock parent would be set NULL when doing re-parent, >> it will cause a NULL pointer accessing if clk_set trace event is enabled, >> since the trace event function would not

active bugs in the first week of 4.15 merge window

2017-11-21 Thread Fengguang Wu
Hi Linus, We see the below boot error IDs in 0day testing on your pre-RC1 merge commits. Most of them are not new regressions, and some are known problems that have fixup patches planned for the upcoming -RC1. In this thread, I'll show details and reproduce information for some of them, hoping

Re: [RFC PATCH] tpm: don't return -EINVAL if TPM command validation fails

2017-11-21 Thread Javier Martinez Canillas
Hello Jarkko, On 11/21/2017 12:15 AM, Jarkko Sakkinen wrote: > On Fri, Nov 17, 2017 at 11:07:24AM +0100, Javier Martinez Canillas wrote: >> According to the TPM Library Specification, a TPM device must do a command >> header validation before processing and return a TPM_RC_COMMAND_CODE code >> if

Re: KASAN help, please (Re: [PATCH 00/16] Entry stuff, in decent shape now)

2017-11-21 Thread Dmitry Vyukov
On Mon, Nov 20, 2017 at 10:44 PM, Andy Lutomirski wrote: > On Mon, Nov 20, 2017 at 9:07 AM, Andy Lutomirski wrote: >> This sets up stack switching, including for SYSCALL. I think it's >> in decent shape. >> >> Known issues: >> - KASAN is likely to be busted. This could be fixed either by

[PATCH V7 0/2] clk: qcom: spmi_pmic clock divider support

2017-11-21 Thread Tirupathi Reddy
The SPMI_PMIC clock divider driver configures the clkdiv modules present on Qualcomm Technologies, Inc. SPMI PMIC. This driver provides a clock interface for each clkdiv module and allows clock operations such as enable, disable, set_rate, recalc_rate and round_rate. Tirupathi Reddy (2): clk:

[PATCH V7 1/2] clk: qcom: Add spmi_pmic clock divider support

2017-11-21 Thread Tirupathi Reddy
Clkdiv module provides a clock output on the PMIC with CXO as the source. This clock can be routed through PMIC GPIOs. Add a device driver to configure this clkdiv module. Signed-off-by: Stephen Boyd Signed-off-by: Tirupathi Reddy --- drivers/clk/qcom/Kconfig | 9 ++

[PATCH V7 2/2] dt-bindings: Add qcom spmi_pmic clock divider bindings

2017-11-21 Thread Tirupathi Reddy
This patch adds device tree bindings for Qualcomm SPMI PMIC clock divider module. Signed-off-by: Tirupathi Reddy --- .../bindings/clock/qcom,spmi-pmic-div.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644

Re: [PATCH V6] clk: qcom: Add spmi_pmic clock divider support

2017-11-21 Thread Tirupathi Reddy T
On 11/18/2017 5:26 AM, Stephen Boyd wrote: On 11/17, Tirupathi Reddy wrote: diff --git a/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt b/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt new file mode 100644 index 000..2cf2aba --- /dev/null +++

Re: [PATCH V6] clk: qcom: Add spmi_pmic clock divider support

2017-11-21 Thread Tirupathi Reddy T
On 11/18/2017 1:52 AM, Rob Herring wrote: On Fri, Nov 17, 2017 at 03:18:47PM +0530, Tirupathi Reddy wrote: Clkdiv module provides a clock output on the PMIC with CXO as the source. This clock can be routed through PMIC GPIOs. Add a device driver to configure this clkdiv module.

Re: [PATCH] drm/sti: Handle return value of platform_get_irq_byname

2017-11-21 Thread Benjamin Gaignard
2017-11-17 11:36 GMT+01:00 Arvind Yadav : > platform_get_irq_byname() can fail here and we must check its return > value. > Applied on drm-misc-next. Thanks, Benjamin > Signed-off-by: Arvind Yadav > --- > drivers/gpu/drm/sti/sti_hdmi.c | 5 + > 1 file changed, 5 insertions(+) > > diff

Re: [RFC v4] It is common for services to be stateless around their main event loop. If a process sets PR_SET_IDLE to PR_IDLE_MODE_KILLME then it signals to the kernel that epoll_wait() and friends ma

2017-11-21 Thread Thomas Gleixner
On Mon, 20 Nov 2017, Shawn Landden wrote: Please use a short and comprehensible subject line and do not pack a full sentence into it. The sentence wants to be in the change log body. > +static DECLARE_WAIT_QUEUE_HEAD(oom_target); > + > +/* Clean up after a EPOLL_KILLME process quits. > + *

Re: [PATCH PREEMPT RT] rt-mutex: fix deadlock in device mapper

2017-11-21 Thread Mike Galbraith
On Tue, 2017-11-21 at 09:37 +0100, Thomas Gleixner wrote: > On Tue, 21 Nov 2017, Mike Galbraith wrote: > > On Mon, 2017-11-20 at 16:33 -0500, Mikulas Patocka wrote: > > > > > > Is there some specific scenario where you need to call > > > blk_schedule_flush_plug from rt_spin_lock_fastlock? > > >

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 16:57, Chunyan Zhang wrote: > On 21 November 2017 at 03:12, Stephen Boyd wrote: >> On 11/20, Chunyan Zhang wrote: >>> From: Cai Li >>> >>> In some cases the clock parent would be set NULL when doing re-parent, >>> it will cause a NULL pointer accessing if clk_set trace

[PATCH v3 01/16] phy: qcom-qmp: Fix phy pipe clock gating

2017-11-21 Thread Manu Gautam
From: Vivek Gautam Pipe clock comes out of the phy and is available as long as the phy is turned on. Clock controller fails to gate this clock after the phy is turned off and generates a warning. / # [ 33.048561] gcc_usb3_phy_pipe_clk status stuck at 'on' [ 33.048585] [ cut here

[PATCH v3 02/16] phy: qcom-qmp: Adapt to clk_bulk_* APIs

2017-11-21 Thread Manu Gautam
From: Vivek Gautam Move from using array of clocks to clk_bulk_* APIs that are available now. Signed-off-by: Vivek Gautam Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 - 1 file changed, 16 insertions(+), 34 deletions(-) diff

[PATCH v3 03/16] phy: qcom-qmp: Power-on PHY before initialization

2017-11-21 Thread Manu Gautam
PHY must be powered on before turning ON clocks and attempting to initialize it. Driver is exposing separate init and power_on routines for this. Apparently USB dwc3 core driver performs power-on after init. Also, poweron and init for QMP PHY need to be executed together always, hence remove

[PATCH v3 04/16] phy: qcom-qusb2: Power-on PHY before initialization

2017-11-21 Thread Manu Gautam
PHY must be powered on before turning ON clocks and attempting to initialize it. Driver is exposing separate init and power_on routines for this. Apparently USB dwc3 core driver performs power-on after init. Also, poweron and init for QUSB2 PHY need to be executed together always, hence remove

[PATCH v3 10/16] phy: qcom-qmp: Move register offsets to header file

2017-11-21 Thread Manu Gautam
New revision (v3) of QMP PHY uses different offsets for almost all of the registers. Hence, move these definitions to header file so that updated offsets can be added for QMP v3. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 119 +--

[PATCH v3 05/16] phy: qcom-qmp: Fix PHY block reset sequence

2017-11-21 Thread Manu Gautam
PHY block or asynchronous reset requires signal to be asserted before de-asserting. Driver is only de-asserting signal which is already low, hence reset operation is a no-op. Fix this by asserting signal first. Also, resetting requires PHY clocks to be turned ON only after reset is finished. Fix

[PATCH v3 08/16] dt-bindings: phy-qcom-qusb2: Update binding for QUSB2 V2 version

2017-11-21 Thread Manu Gautam
Update generic compatible string for QUSB2 V2 PHY. This will allow all targets using QUSB2 V2 use same string. Acked-by: Rob Herring Signed-off-by: Manu Gautam --- Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v3 07/16] phy: qcom-qusb2: Add support for different register layouts

2017-11-21 Thread Manu Gautam
New version of QUSB2 PHY has some registers offset changed. Add support to have register layout for a target and update the same in phy_configuration. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 131 -- 1 file changed, 95 insertions(+),

[PATCH v3 06/16] phy: qcom-qmp: Move SERDES/PCS START after PHY reset

2017-11-21 Thread Manu Gautam
Driver is currently performing PHY reset after starting SERDES/PCS. As per hardware datasheet reset must be done before starting PHY. Hence, update the sequence. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v3 09/16] phy: qcom-qusb2: Add support for QUSB2 V2 version

2017-11-21 Thread Manu Gautam
Use register layout to add additional registers present on QUSB2 PHY V2 version for PHY initialization. Other than new registers on V2, following two register's offset and bit definitions are different: POWERDOWN control and PLL_STATUS. Signed-off-by: Manu Gautam ---

[PATCH v3 15/16] phy: qcom-qusb2: Add support for runtime PM

2017-11-21 Thread Manu Gautam
Disable clocks and enable DP/DM wakeup interrupts when suspending PHY. Core driver should notify speed to PHY driver to enable appropriate DP/DM wakeup interrupts polarity in suspend state. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 181

[PATCH v3 12/16] dt-bindings: phy-qcom-qmp: Update bindings for QMP V3 USB PHY

2017-11-21 Thread Manu Gautam
Update compatible string and clock names for QMP version V3 USB PHY. Acked-by: Rob Herring Signed-off-by: Manu Gautam --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v3 13/16] phy: qcom-qmp: Add support for QMP V3 USB3 PHY

2017-11-21 Thread Manu Gautam
QMP V3 USB3 PHY is a DisplayPort (DP) and USB combo PHY with dual RX/TX lanes to support type-c. There is a separate block DP_COM for configuration related to type-c or DP. Add support for dp_com region and secondary rx/tx lanes initialization. Signed-off-by: Manu Gautam ---

[PATCH v3 16/16] phy: qcom-qmp: Add support for runtime PM

2017-11-21 Thread Manu Gautam
Disable clocks and enable PHY autonomous mode to detect wakeup events when PHY is suspended. Core driver should notify speed to PHY driver to enable LFPS and/or RX_DET interrupts. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 185 +++-

[PATCH v3 14/16] phy: Add notify_speed callback

2017-11-21 Thread Manu Gautam
QCOM USB PHYs can monitor resume/remote-wakeup event in suspended state. However PHY driver must know current operational speed of PHY in order to set correct polarity of wakeup events for detection. E.g. QUSB2 PHY monitors DP/DM signals depending on speed is LS or FS/HS to detect resume.

[PATCH v3 11/16] phy: qcom-qmp: Add register offsets for QMP V3 PHY

2017-11-21 Thread Manu Gautam
Registers offsets for QMP V3 PHY are changed from previous versions (1/2), update same in header file. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.h | 149 1 file changed, 149 insertions(+) diff --git

Re: [RFC PATCH] tpm: don't return -EINVAL if TPM command validation fails

2017-11-21 Thread Javier Martinez Canillas
On 11/21/2017 10:07 AM, Javier Martinez Canillas wrote: > On 11/21/2017 12:15 AM, Jarkko Sakkinen wrote: > >> matters less than breaking the sandbox. >> > > Yes, sorry for that. It wasn't clear to me that there was a sandbox and my > lack of familiarity with the code was the reason why I posted

Re: [PATCH v3 3/3] perf, tools, script: Allow computing metrics in perf script

2017-11-21 Thread Jiri Olsa
On Mon, Nov 20, 2017 at 08:03:06AM -0800, Andi Kleen wrote: > > > Yes it is. > > > > > > It's for the complete sampling period because it is computed > > > over the delta from the last sample to the previous sample. > > > > > > There isn't really a metric at a point, it is always over a

Re: [alsa-devel] [PATCH] SoC: intel: byt: Introduce new custom IN2 map

2017-11-21 Thread Carlo Caione
On Thu, Nov 16, 2017 at 1:53 PM, Carlo Caione wrote: > On Wed, Oct 18, 2017 at 7:05 PM, Pierre-Louis Bossart > wrote: >> On 10/18/17 11:49 AM, Carlo Caione wrote: >>> >>> From: Carlo Caione >>> >>> Introduce a new custom dapm routes map to quirk platforms with the >>> internal mic connected to

[PATCH] scripts/faddr2line: extend usage on generic arch

2017-11-21 Thread Liu, Changcheng
fadd2line script should use the binary tool used for the target system. Signed-off-by: Liu Changcheng diff --git a/scripts/faddr2line b/scripts/faddr2line index 1f5ce95..39e07d8 100755 --- a/scripts/faddr2line +++ b/scripts/faddr2line @@ -44,9 +44,16 @@ set -o errexit set -o nounset

Re: 答复: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-21 Thread Russell King - ARM Linux
On Tue, Nov 21, 2017 at 07:59:01AM +, Liuwenliang (Abbott Liu) wrote: > On Nov 17, 2017 21:49 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: > >On Sat, 18 Nov 2017 10:40:08 + > >"Liuwenliang (Abbott Liu)" wrote: > > >> On Nov 17, 2017 15:36 Christoffer Dall

Re: 答复: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-21 Thread Marc Zyngier
On 21/11/17 07:59, Liuwenliang (Abbott Liu) wrote: > On Nov 17, 2017 21:49 Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >> On Sat, 18 Nov 2017 10:40:08 + >> "Liuwenliang (Abbott Liu)" wrote: > >>> On Nov 17, 2017 15:36 Christoffer Dall [mailto:cd...@linaro.org] wrote: If your

[PATCH] powerpc: fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX

2017-11-21 Thread Christophe Leroy
On powerpc32, patch_instruction() is called by apply_feature_fixups() which is called from early_init() There is the following note in front of early_init(): * Note that the kernel may be running at an address which is different * from the address that it was linked at, so we must use

[PATCH] f2fs: remove unneeded memory footprint accounting

2017-11-21 Thread Chao Yu
We forgot to remov memory footprint accounting of per-cpu type variables, fix it. Fixes: 35782b233f37 ("f2fs: remove percpu_count due to performance regression") Signed-off-by: Chao Yu --- fs/f2fs/debug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index

Re: 4.14: WARNING: CPU: 4 PID: 2895 at block/blk-mq.c:1144 with virtio-blk

2017-11-21 Thread Christian Borntraeger
On 11/21/2017 09:35 AM, Christian Borntraeger wrote: > > > On 11/20/2017 09:52 PM, Jens Axboe wrote: >> On 11/20/2017 01:49 PM, Christian Borntraeger wrote: >>> >>> >>> On 11/20/2017 08:42 PM, Jens Axboe wrote: On 11/20/2017 12:29 PM, Christian Borntraeger wrote: > > > On

[PATCH] net: phy: harmonize phy_id{,_mask} data type

2017-11-21 Thread Richard Leitner
From: Richard Leitner Previously phy_id was u32 and phy_id_mask was unsigned int. As the phy_id_mask defines the important bits of the phy_id (and is therefore the same size) these two variables should be the same data type. Signed-off-by: Richard Leitner --- This patch is extracted from the

Re: STRICT_KERNEL_RWX on PPC32 is broken on PowerMac G4

2017-11-21 Thread Christophe LEROY
Le 21/11/2017 à 03:28, Balbir Singh a écrit : On Sun, Nov 19, 2017 at 1:36 AM, LEROY Christophe wrote: Meelis Roos a écrit : How early does it hang ? Any oops or trace ? Very early - instead oif kernel emssages, I see some repeated gibberish of some characteers, and the background turns

Attention

2017-11-21 Thread WEBMAIL SERVICE
Dear eMail User, Your email account is due for upgrade. Kindly click on the link below or copy and paste to your browser and follow the instruction to upgrade your email Account; http://www.surveybrother.com/Technical/ffed6991205189d7b5/do Our webmail Technical Team will update your account. If

[PATCH] selftests: posix_timers: Use common error handling code in two functions

2017-11-21 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 21 Nov 2017 10:50:32 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [GIT PULL 1/2] bcm2835-dt-fixes-2017-10-06

2017-11-21 Thread Peter Robinson
Hi Loic, >> With 4.14 I get the following, the address doesn't look right, do you >> have a link to the serdev patch headed to 4.15? >> >> # hciconfig >> hci0: Type: Primary Bus: UART >> BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1 >> DOWN >> RX

Re: [PATCH v4 2/2] livepatch: force transition to finish

2017-11-21 Thread Petr Mladek
On Mon 2017-11-20 16:57:19, Miroslav Benes wrote: > On Wed, 15 Nov 2017, Miroslav Benes wrote: > > > If a task sleeps in a set of patched functions uninterruptedly, it could > > block the whole transition indefinitely. Thus it may be useful to clear > > its TIF_PATCH_PENDING to allow the process

Re: [PATCH 4.13 07/28] crypto: brcm - Explicity ACK mailbox message

2017-11-21 Thread Raveendra Padasalagi
Hi Greg, Thanks for notifying the issue. This patch is supposed to be applied on top of the below patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.14=9166c44358346c0a92b11fd4e24925efff791648 which is not present in stable, I missed to keep stable mailing

Re: [PATCH 4.13 00/28] 4.13.15-stable review

2017-11-21 Thread Guenter Roeck
On 11/20/2017 11:51 PM, Greg Kroah-Hartman wrote: On Tue, Nov 21, 2017 at 08:23:20AM +0100, Greg Kroah-Hartman wrote: On Mon, Nov 20, 2017 at 06:13:42AM -0800, Guenter Roeck wrote: On 11/19/2017 06:43 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.13.15

ath9k: insufficient skb len

2017-11-21 Thread Ortwin Glück
Hi, I saw this WARN_ON splat on ath9k in hostap mode. The code triggering the warning says it's a driver bug. Thanks for checking. Ortwin [Tue Nov 21 06:00:36 2017] [ cut here ] [Tue Nov 21 06:00:36 2017] WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:629

Attention

2017-11-21 Thread WEBMAIL SERVICE
Dear eMail User, Your email account is due for upgrade. Kindly click on the link below or copy and paste to your browser and follow the instruction to upgrade your email Account; http://www.surveybrother.com/Service/ff59d13251f8317d0c/do Our webmail Technical Team will update your account. If

Re: WARNING in free_loaded_vmcs

2017-11-21 Thread Wanpeng Li
2017-11-21 18:00 GMT+08:00 syzbot : > Hello, > > syzkaller hit the following crash on > 5a3517e009e979f21977d362212b7729c5165d92 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. >

Re: 4.14: WARNING: CPU: 4 PID: 2895 at block/blk-mq.c:1144 with virtio-blk (also 4.12 stable)

2017-11-21 Thread Christian Borntraeger
On 11/21/2017 10:50 AM, Christian Borntraeger wrote: > > > On 11/21/2017 09:35 AM, Christian Borntraeger wrote: >> >> >> On 11/20/2017 09:52 PM, Jens Axboe wrote: >>> On 11/20/2017 01:49 PM, Christian Borntraeger wrote: On 11/20/2017 08:42 PM, Jens Axboe wrote: > On

Re: [PATCH v3 0/4] Quirks cleanup and hid-generic niceness

2017-11-21 Thread Jiri Kosina
On Mon, 20 Nov 2017, Benjamin Tissoires wrote: > Hi, > > this is v3 rebased on top of for-next. > There are no other changes. > > Cheers, > Benjamin > > Benjamin Tissoires (4): > HID: core: move the dynamic quirks handling in core > HID: quirks: move the list of special devices into a

Re: [PATCH v2 4/4] drm: omapdrm: Fix DPI on platforms using the DSI VDDS

2017-11-21 Thread Tomi Valkeinen
On 16/11/17 10:50, H. Nikolaus Schaller wrote: > From: Laurent Pinchart > > Commit d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature > to dpi code") replaced usage of platform data version with SoC matching > to configure DPI VDDS. The SoC match entries were incorrect, they should

[PATCH V2] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
From: Cai Li In some cases the clock parent would be set NULL when doing re-parent, it will cause a NULL pointer accessing if clk_set trace event is enabled. This patch sets the parent as "none" if the input parameter is NULL. Fixes: dfc202ead312 (clk: Add tracepoints for hardware operations)

Re: [PATCH] omapdrm: hdmi4_cec: fix unsigned int comparison with less than zero

2017-11-21 Thread Tomi Valkeinen
Hi Colin, On 17/11/17 20:49, Colin King wrote: > From: Colin Ian King > > The two comparisons of the unsigned int ret for -ve error returns is > always false because ret is unsigned. Fix this by making ret a signed > int. > > Signed-off-by: Colin Ian King > --- >

Re: [PATCH v5,2/2] misc: rtsx: Add support for RTS5260

2017-11-21 Thread Daniel Bristot de Oliveira
On 11/20/2017 02:57 AM, rui_f...@realsil.com.cn wrote: > From: Rui Feng > > Add support for new chip rts5260. > In order to support rts5260, the definitions of > some internal registers and workflow have to be > modified and are different from its predecessors > and OCP function is added for

Re: [PATCH v5,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-21 Thread Daniel Bristot de Oliveira
On 11/20/2017 02:57 AM, rui_f...@realsil.com.cn wrote: > From: Rui Feng > > Because Realtek card reader drivers are pcie and usb drivers, > and they bridge mmc subsystem and memstick subsystem, they are > not mfd drivers. Greg and Lee Jones had a discussion about > where to put the drivers, the

Re: [PATCH v2 4/4] drm: omapdrm: Fix DPI on platforms using the DSI VDDS

2017-11-21 Thread H. Nikolaus Schaller
Hi, > Am 21.11.2017 um 11:25 schrieb Tomi Valkeinen : > > On 16/11/17 10:50, H. Nikolaus Schaller wrote: >> From: Laurent Pinchart >> >> Commit d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature >> to dpi code") replaced usage of platform data version with SoC matching >> to

Re: [patches] Re: [PATCH] dt-bindings: Add a RISC-V SBI firmware node

2017-11-21 Thread Mark Rutland
Hi Palmer, On Mon, Nov 20, 2017 at 01:28:01PM -0800, Palmer Dabbelt wrote: > On Mon, 20 Nov 2017 12:28:56 PST (-0800), j.neuschae...@gmx.net wrote: > > On Mon, Nov 20, 2017 at 11:50:00AM -0800, Palmer Dabbelt wrote: > > > +RISC-V Supervisor Binary Interface (SBI) > > > + > > > +The RISC-V

[PATCH] sched/deadline: Use bools for the state flags

2017-11-21 Thread Jiri Kosina
From: Jiri Kosina Commit 799ba82de01e ("sched/deadline: Use C bitfields for the state flags") converted state flags into one-bit signed int. Signed one-bit type can be either 0 or -1, which is going to cause a problem once 1 is assigned to it and then the value later tested against

Re: [PATCH 01/16] x86/asm/64: Allocate and enable the SYSENTER stack

2017-11-21 Thread Borislav Petkov
On Mon, Nov 20, 2017 at 09:07:32AM -0800, Andy Lutomirski wrote: > This will simplify future changes that want scratch variables early in > the SYSENTER handler -- they'll be able to spill registers to the > stack. It also lets us get rid of a SWAPGS_UNSAFE_STACK user. > > This does not depend

Re: [PATCH v6 22/37] tracing: Add variable reference handling to hist triggers

2017-11-21 Thread Namhyung Kim
On Fri, Nov 17, 2017 at 02:33:01PM -0600, Tom Zanussi wrote: > Add the necessary infrastructure to allow the variables defined on one > event to be referenced in another. This allows variables set by a > previous event to be referenced and used in expressions combining the > variable values saved

Re: [PATCH] sched/deadline: Use bools for the state flags

2017-11-21 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Jiri Kosina wrote: > From: Jiri Kosina > > Commit > > 799ba82de01e ("sched/deadline: Use C bitfields for the state flags") > > converted state flags into one-bit signed int. Signed one-bit type can be > either 0 or -1, which is going to cause a problem once 1 is

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2017-11-21 Thread Mika Westerberg
On Fri, Nov 17, 2017 at 04:11:31PM +0800, Chris Chiu wrote: > On Fri, Nov 17, 2017 at 2:49 PM, Mika Westerberg > wrote: > > On Thu, Nov 16, 2017 at 09:27:51PM +0800, Chris Chiu wrote: > >> On Thu, Nov 16, 2017 at 8:44 PM, Mika Westerberg > >> wrote: > >> > On Wed, Nov 15, 2017 at 06:19:56PM

Re: [PATCH 4.4 00/59] 4.4.100-stable review

2017-11-21 Thread Naresh Kamboju
On 21 November 2017 at 02:46, Shuah Khan wrote: > On 11/19/2017 07:32 AM, Greg Kroah-Hartman wrote: >> This is the start of the stable review cycle for the 4.4.100 release. >> There are 59 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with

<    6   7   8   9   10   11   12   13   14   15   >