Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Marc Gonzalez
On 15/11/2017 14:13, Russell King - ARM Linux wrote: > udelay() needs to offer a consistent interface so that drivers know > what to expect no matter what the implementation is. Making one > implementation conform to your ideas while leaving the other > implementations with other expectations is

4.14 regression from commit d57ea877af38 media: rc: per-protocol repeat period

2017-11-16 Thread Matthias Reichl
The following commit introduced a regression commit d57ea877af38057b0ef31758cf3b99765dc33695 Author: Sean Young Date: Wed Aug 9 13:19:16 2017 -0400 media: rc: per-protocol repeat period CEC needs a keypress timeout of 550ms, which is too high for the IR protocols.

Re: [PATCH v3 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-11-16 Thread Rob Herring
On Wed, Nov 15, 2017 at 01:42:02PM -0600, Dan Murphy wrote: > This adds the devicetree bindings for the LM3692x > I2C LED string driver. > > Acked-by: Pavel Machek > Signed-off-by: Dan Murphy > --- > > v3 - No changes > v2 - No changes -

Re: [RFC 07/19] KVM: s390: introduce AP matrix configuration interface

2017-11-16 Thread Tony Krowiak
On 11/14/2017 08:16 AM, Cornelia Huck wrote: On Fri, 13 Oct 2017 13:38:52 -0400 Tony Krowiak wrote: This patch introduces a new compilation unit that will contain all of the data structures and logic for configuring AP adapters, usage domains and control domains

Re: [PATCH v2 1/4] omapdrm: fix compatible string for td028ttec1

2017-11-16 Thread Andrew F. Davis
On 11/16/2017 07:43 AM, H. Nikolaus Schaller wrote: > >> Am 16.11.2017 um 13:32 schrieb Tomi Valkeinen : >> >> On 16/11/17 10:50, H. Nikolaus Schaller wrote: >>> The vendor name was "toppoly" but other panels and the vendor list >>> have defined it as "tpo". So let's fix it

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Srinivas Kandagatla
On 10/11/17 11:49, Vinod Koul wrote: A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale

Re: [PATCH v2 04/14] soundwire: Add MIPI DisCo property helpers

2017-11-16 Thread Srinivas Kandagatla
Few Minor comments!! On 10/11/17 11:49, Vinod Koul wrote: Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile | 2 +- drivers/soundwire/bus.c| 8 + drivers/soundwire/bus_type.c | 18 ++

Re: [PATCH v2 08/14] soundwire: Add Slave status handling helpers

2017-11-16 Thread Srinivas Kandagatla
Minor Comment! On 10/11/17 11:49, Vinod Koul wrote: From: Sanyog Kale SoundWire Slaves report status to bus. Add helpers to handle the status changes. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale

Re: [PATCH v2 09/18] arm64: explicitly pass --no-fix-cortex-a53-843419 to GNU gold

2017-11-16 Thread Sami Tolvanen
On Thu, Nov 16, 2017 at 11:47:23AM +, Will Deacon wrote: > But if ARM64_ERRATUM_843419 is enabled, we'll go ahead and generate > broken code? This bug has been fixed in all current versions of GNU gold, but of course, if someone is using a broken linker, it will generate broken code. We can't

Re: [RFC 05/19] s390/zcrypt: base implementation of AP matrix device driver

2017-11-16 Thread Cornelia Huck
On Thu, 16 Nov 2017 09:25:27 -0500 Tony Krowiak wrote: > On 11/16/2017 07:35 AM, Cornelia Huck wrote: > > On Thu, 16 Nov 2017 13:02:26 +0100 > > Pierre Morel wrote: > > > >> On 14/11/2017 17:37, Tony Krowiak wrote: > >>> On 11/14/2017

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Nicolas Pitre
On Thu, 16 Nov 2017, Marc Gonzalez wrote: > On 16/11/2017 17:08, Nicolas Pitre wrote: > > > On Thu, 16 Nov 2017, Marc Gonzalez wrote: > > > >> On 16/11/2017 16:36, Russell King - ARM Linux wrote: > >>> On Thu, Nov 16, 2017 at 04:26:51PM +0100, Marc Gonzalez wrote: > On 15/11/2017 14:13,

Re: [PATCH 1/2] musb: remove unused frame variable

2017-11-16 Thread Bin Liu
Hi, On Wed, Nov 15, 2017 at 07:20:34PM +, Corentin Labbe wrote: > This patch fix the following warning > drivers/usb/musb/musb_host.c:223:8: warning: variable 'frame' set but not > used [-Wunused-but-set-variable] > by remove the frame variable in musb_start_urb(). > > Signed-off-by:

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Nicolas Pitre
On Thu, 16 Nov 2017, Marc Gonzalez wrote: > On 16/11/2017 17:47, Nicolas Pitre wrote: > > > Look at cpufreq_callback() in arch/arm/kernel/smp.c. > > Are you pointing at the scaling of loops_per_jiffy done in that function? > > As I wrote earlier: > > If I'm reading arch/arm/kernel/smp.c

Re: [PATCH v2 18/18] arm64: select ARCH_SUPPORTS_LTO_CLANG

2017-11-16 Thread Peter Zijlstra
On Thu, Nov 16, 2017 at 08:50:41AM -0800, Nick Desaulniers wrote: > On Thu, Nov 16, 2017 at 8:30 AM, Peter Zijlstra wrote: > > > Ideally we'd get the toolchain people to commit to supporting the kernel > > memory model along side the C11 one. That would help a ton. > >

[GIT PULL] First batch of KVM changes for 4.15

2017-11-16 Thread Radim Krčmář
Linus, test merge showed a conflict in arch/arm64/kvm/inject_fault.c and arch/arm/kvm/emulate.c that should be handled as in next. (The desired result is the same as "pull -s recursive -X theirs".) Also, a simple future merge conflict was reported with the kspp tree,

[PATCH 5/7] checkpatch: Improve --fix-inplace for TABSTOP

2017-11-16 Thread Knut Omang
If the --fix-inplace option for TABSTOP encounters a sitation with several spaces (but less than 8) at the end of an indentation, it will assume that there are extra indentation and align back to the nearest tabstop instead of the next. This might go undetected in a "full" checkpatch

[PATCH 4/7] Documentation: Add documentation for the new P= Makefile option

2017-11-16 Thread Knut Omang
Signed-off-by: Knut Omang Reviewed-by: Håkon Bugge Reviewed-by: Åsmund Østvold Reviewed-by: John Haxby Signed-off-by: Knut Omang --- Documentation/dev-tools/index.rst

[PATCH 1/7] checkpatch: Implement new --ignore-cfg parameter

2017-11-16 Thread Knut Omang
This parameter is intended to be used in a subsequent commit to kbuild to allow a convenient way to run checkpatch from make. The parameter --ignore-cfg causes checkpatch.pl to look for the file given as parameter, either directly from where checkpatch is executed, or in the directory where the

Re: [RFC 00/19] KVM: s390/crypto/vfio: guest dedicated crypto adapters

2017-11-16 Thread Cornelia Huck
On Thu, 16 Nov 2017 17:06:58 +0100 Pierre Morel wrote: > On 16/11/2017 16:23, Tony Krowiak wrote: > > On 11/14/2017 08:57 AM, Cornelia Huck wrote: > >> On Tue, 31 Oct 2017 15:39:09 -0400 > >> Tony Krowiak wrote: > >> > >>> On

[PATCH 6/7] checkpatch: Make --ignore-cfg look recursively for the file

2017-11-16 Thread Knut Omang
The initial version of the logic for --ignore-cfg supported looking for the file in the current directory, and if not found, look in the directory of the source file. With this change, in the case of a file name with no directory specification, and for an in-kernel file, checkpatch will iterate

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

2017-11-16 Thread Knut Omang
Add interpretation of a new environment variable P={1,2} in spirit of the C= option, but executing checkpatch instead of sparse. Signed-off-by: Knut Omang Reviewed-by: Håkon Bugge Acked-by: Åsmund Østvold --- Makefile

Re: [PATCH 0/4] treewide: Fix line continuation formats

2017-11-16 Thread Joe Perches
On Thu, 2017-11-16 at 12:11 -0500, Mimi Zohar wrote: > On Thu, 2017-11-16 at 07:27 -0800, Joe Perches wrote: > > Avoid using line continations in formats as that causes unexpected > > output. > > Is having lines greater than 80 characters the preferred method? yes. > Could you add quotes

Re: [PATCH v2 18/18] arm64: select ARCH_SUPPORTS_LTO_CLANG

2017-11-16 Thread Nick Desaulniers
On Thu, Nov 16, 2017 at 8:59 AM, Peter Zijlstra wrote: > On Thu, Nov 16, 2017 at 08:50:41AM -0800, Nick Desaulniers wrote: >> On Thu, Nov 16, 2017 at 8:30 AM, Peter Zijlstra wrote: >> >> > Ideally we'd get the toolchain people to commit to supporting

Re: [PATCH v2 04/17] PCI: designware-ep: Pre-allocate memory for MSI in dw_pcie_ep_init

2017-11-16 Thread Niklas Cassel
On 10/31/2017 07:01 AM, Kishon Vijay Abraham I wrote: > Hi Niklas, > > On Monday 30 October 2017 06:12 PM, Niklas Cassel wrote: >> Certain SoCs need to map the MSI address in raise_irq. >> To map an address, you first need to call pci_epc_mem_alloc_addr, >> however, pci_epc_mem_alloc_addr calls

Re: [PATCH v2 3/4] Add support for AMD Core Perf Extension in guest

2017-11-16 Thread Borislav Petkov
On Thu, Nov 16, 2017 at 11:13:47AM -0600, Natarajan, Janakarajan wrote: > On 11/15/2017 1:07 PM, Borislav Petkov wrote: > > On Wed, Nov 15, 2017 at 01:04:03PM -0600, Natarajan, Janakarajan wrote: > > > So, when the amd_pmu_init is called, a query to guest_cpuid_family() > > > gives a > > > value

[PATCH 1/3] ALSA: korg1212: Adjust eight function calls together with a variable assignment

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 09:42:45 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring

Re: [PATCH] arm: dts: ls1021a: add "fsl, ls1021a-esdhc" compatible string to esdhc node

2017-11-16 Thread Fabio Estevam
Rasmus, On Mon, Nov 13, 2017 at 12:39 PM, Rasmus Villemoes wrote: > Commit a22950c888e3 (mmc: sdhci-of-esdhc: add quirk > SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for ls1021a) added logic to the driver to > enable the broken timeout val quirk for ls1021a, but did not add the >

[RFC PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-11-16 Thread Michal Hocko
[Ups, managed to screw the subject - fix it] On Thu 16-11-17 11:18:58, Michal Hocko wrote: > Hi, > this has started as a follow up discussion [1][2] resulting in the > runtime failure caused by hardening patch [3] which removes MAP_FIXED > from the elf loader because MAP_FIXED is inherently

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

2017-11-16 Thread Mika Westerberg
On Wed, Nov 15, 2017 at 06:19:56PM +0800, Chris Chiu wrote: > Hi Mika, > I've confirmed with Asus and they said it's the latest BIOS for > shipment and verified OK on Windows. So their BIOS team will not do > anything for this. I'll ask around if our Windows people know anything about this.

Re: [PATCH v2 07/14] regmap: Add SoundWire bus support

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 12:04:37PM +, Mark Brown wrote: > On Fri, Nov 10, 2017 at 05:19:09PM +0530, Vinod Koul wrote: > > > +EXPORT_SYMBOL(__regmap_init_sdw); > > We still have plain EXPORT_SYMBOL() on the regmap exports... Hi Mark, I assumed after Alan's clarification that it is okay to

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

2017-11-16 Thread Jiri Kosina
On Tue, 3 Oct 2017, Benjamin Tissoires wrote: > Hi, > > Niels found an issue with v1 of the series, while compiling the usbhid module > as a separate .ko. > > Sending a v2 with the proper From: field fixed now. > > I also use -M1 to show in 1/4 that usbhid/hid-quirks.c is basically moved to >

Re: [PATCH 1/3] lockdep: Apply crossrelease to PG_locked locks

2017-11-16 Thread Michal Hocko
On Thu 16-11-17 21:48:05, Byungchul Park wrote: > On 11/16/2017 9:02 PM, Michal Hocko wrote: > > for each struct page. So you are doubling the size. Who is going to > > enable this config option? You are moving this to page_ext in a later > > patch which is a good step but it doesn't go far enough

[PATCH] perf lock: Document missing options

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-lock.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-lock.txt

[GIT PULL] Driver core patches for 4.15-rc1

2017-11-16 Thread Greg KH
The following changes since commit 33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9: Linux 4.14-rc5 (2017-10-15 21:01:12 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.15-rc1 for you to fetch changes up to

Re: [linux-sunxi] Cedrus driver

2017-11-16 Thread Maxime Ripard
On Thu, Nov 16, 2017 at 02:17:08PM +0100, Giulio Benetti wrote: > Hi Hans, > > Il 16/11/2017 14:12, Hans Verkuil ha scritto: > > On 16/11/17 13:57, Giulio Benetti wrote: > > > Il 16/11/2017 13:53, Maxime Ripard ha scritto: > > > > On Thu, Nov 16, 2017 at 01:30:52PM +0100, Giulio Benetti wrote: >

Re: [PATCH] staging: comedi: ni_atmio: Handle return value of pnp_*

2017-11-16 Thread Ian Abbott
On 16/11/17 04:32, Arvind Yadav wrote: pnp_irq() and pnp_port_start() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [git pull] drm for v4.15

2017-11-16 Thread Rob Clark
On Wed, Nov 15, 2017 at 11:59 PM, Linus Torvalds wrote: > On Wed, Nov 15, 2017 at 6:34 PM, Dave Airlie wrote: >> >> There is some code touched on sound/soc, but I think the sound tree >> should have the same commits from the same base,so this may

Re: [PATCH] samples: replace outdated permission statement with SPDX identifiers

2017-11-16 Thread Philippe Ombredanne
On Wed, Nov 15, 2017 at 9:44 PM, Martin Kepplinger wrote: > This replaces license permission statements that include a wrong postal > address of the FSF with only SPDX license identifiers; in the samples > directory. > > Signed-off-by: Martin Kepplinger

[PATCH 2/6] perf trace: Document missing option, colons

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-trace.txt | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tools/perf/Documentation/perf-trace.txt

[PATCH 3/6] perf timechart: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-timechart.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-timechart.txt

[PATCH 1/6] perf inject: Document missing options

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-inject.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-inject.txt

[PATCH 5/6] perf evlist: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-evlist.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-evlist.txt

[PATCH 6/6] perf buildid-cache: Document missing option

2017-11-16 Thread Sihyeon Jang
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sihyeon Jang --- tools/perf/Documentation/perf-buildid-cache.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/Documentation/perf-buildid-cache.txt

Re: [PATCH 1/6] perf inject: Document missing options

2017-11-16 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 16, 2017 at 11:26:02PM +0900, Sihyeon Jang escreveu: > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Sihyeon Jang Applied 1-6 - Arnaldo

Re: [PATCH v2 07/14] regmap: Add SoundWire bus support

2017-11-16 Thread Mark Brown
On Thu, Nov 16, 2017 at 06:32:35PM +0530, Vinod Koul wrote: > On Thu, Nov 16, 2017 at 12:04:37PM +, Mark Brown wrote: > > On Fri, Nov 10, 2017 at 05:19:09PM +0530, Vinod Koul wrote: > > > +EXPORT_SYMBOL(__regmap_init_sdw); > > We still have plain EXPORT_SYMBOL() on the regmap exports... > I

Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff

2017-11-16 Thread Viresh Kumar
On 16-11-17, 15:02, Ionela Voinescu wrote: > When it was added in lsk 3.18 in what was then a thermal driver for Juno > it was believed to have an effect in thermal mitigation, but that was > not proven later as to justify posting it upstream, and that is why the > code never made it in mainline.

[PATCH 0/2] ALSA-miXart: Fine-tuning for seven function implementations

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 16:27:32 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Adjust 23 function calls together with a variable assignment Use common error handling code in

Re: [PATCH 2/4] drm: amd: Fix line continuation formats

2017-11-16 Thread Harry Wentland
On 2017-11-16 10:27 AM, Joe Perches wrote: > Line continuations with excess spacing causes unexpected output. > > Miscellanea: > > o Added missing '\n' to a few of the coalesced pr_ formats > > Signed-off-by: Joe Perches > --- >

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Marc Gonzalez
On 16/11/2017 16:36, Russell King - ARM Linux wrote: > On Thu, Nov 16, 2017 at 04:26:51PM +0100, Marc Gonzalez wrote: >> On 15/11/2017 14:13, Russell King - ARM Linux wrote: >> >>> udelay() needs to offer a consistent interface so that drivers know >>> what to expect no matter what the

Re: [PATCH v3 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver

2017-11-16 Thread Rob Herring
On Thu, Nov 16, 2017 at 9:45 AM, Dan Murphy wrote: > Rob > > Thanks for the review > > On 11/16/2017 09:41 AM, Rob Herring wrote: >> On Wed, Nov 15, 2017 at 01:42:02PM -0600, Dan Murphy wrote: >>> This adds the devicetree bindings for the LM3692x >>> I2C LED string driver. >>> >>>

Re: [PATCH v2 1/4] omapdrm: fix compatible string for td028ttec1

2017-11-16 Thread H. Nikolaus Schaller
Hi Andrew, > Am 16.11.2017 um 16:53 schrieb Andrew F. Davis : > > On 11/16/2017 07:43 AM, H. Nikolaus Schaller wrote: >> >>> Am 16.11.2017 um 13:32 schrieb Tomi Valkeinen : >>> >>> On 16/11/17 10:50, H. Nikolaus Schaller wrote: The vendor name was

Re: [alsa-devel] [PATCH v7 03/13] slimbus: Add SLIMbus bus type

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 01:40:05PM +, Srinivas Kandagatla wrote: > On 16/11/17 13:18, Vinod Koul wrote: > >On Wed, Nov 15, 2017 at 02:10:33PM +, srinivas.kandaga...@linaro.org > >wrote: > > > >>+menuconfig SLIMBUS > >>+ tristate "Slimbus support" > >>+ help > >>+ Slimbus is

Re: [PATCH v2 18/18] arm64: select ARCH_SUPPORTS_LTO_CLANG

2017-11-16 Thread Sami Tolvanen
On Thu, Nov 16, 2017 at 11:58:11AM +, Will Deacon wrote: > I'll be honest with you: I'm absolutely terrified about enabling this. That's understandable, I wouldn't want to enable this by default quite yet either. This patch doesn't enable LTO for arm64, just makes it possible to enable the

[PATCH v2] typec: tcpm: fusb302: Resolve out of order messaging events

2017-11-16 Thread Adam Thomson
The expectation in the FUSB302 driver is that a TX_SUCCESS event should occur after a message has been sent, but before a GCRCSENT event is raised to indicate successful receipt of a message from the partner. However in some circumstances it is possible to see the hardware raise a GCRCSENT event

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-11-16 Thread Bin Liu
Hi, On Wed, Nov 15, 2017 at 06:19:08PM +0300, Matwey V. Kornilov wrote: > The issue is also present in 4.9.60-ti-r75 > > 2017-11-04 17:05 GMT+03:00 Matwey V. Kornilov : > > Hi Bin, > > > > I've just checked that the issue is still present in 4.13.10. I am not aware of any

Re: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call

2017-11-16 Thread Peter Zijlstra
On Thu, Nov 16, 2017 at 04:27:07PM +, Mathieu Desnoyers wrote: > - On Nov 16, 2017, at 11:18 AM, Peter Zijlstra pet...@infradead.org wrote: > > > On Tue, Nov 14, 2017 at 03:03:51PM -0500, Mathieu Desnoyers wrote: > >> @@ -977,6 +978,13 @@ struct task_struct { > >>unsigned long

[PATCH v3 0/2] Fix improper handling of SCI INT for platforms supporting only IOAPIC mode

2017-11-16 Thread Vikas C Sajjan
The platforms which support only IOAPIC mode and whose SCI INT >= 16, pass SCI INT via FADT and not via MADT int src override structure. In such cases current logic fails to handle it and throws error "Invalid bus_irq %u for legacy override". This patch handles the above mentioned case. While at

Re: [PATCH v7 04/13] slimbus: core: Add slim controllers support

2017-11-16 Thread Vinod Koul
On Wed, Nov 15, 2017 at 02:10:34PM +, srinivas.kandaga...@linaro.org wrote: > +static void slim_dev_release(struct device *dev) > +{ > + struct slim_device *sbdev = to_slim_device(dev); > + > + put_device(sbdev->ctrl->dev); which device would that be? > +static int

[PATCH v3 1/2] acpi/x86: Fix improper handling of SCI INT for platforms supporting only IOAPIC mode

2017-11-16 Thread Vikas C Sajjan
The platforms which support only IOAPIC mode, pass the SCI information above the legacy space (0-15) via the FADT mechanism and not via MADT. In such cases the mp_override_legacy_irq() used by acpi_sci_ioapic_setup() to register SCI interrupts fails for interrupts >= 16, since it is meant to

Re: [PATCH 06/10] drm/tegra: Deliver job completion callback to client

2017-11-16 Thread Dmitry Osipenko
On 05.11.2017 14:01, Mikko Perttunen wrote: > To allow client drivers to free resources when jobs have completed, > deliver job completion callbacks to them. This requires adding > reference counting to context objects, as job completion can happen > after the userspace application has closed the

Re: [PATCH v2 10/18] arm64: add a workaround for GNU gold with ARM64_MODULE_PLTS

2017-11-16 Thread Sami Tolvanen
On Thu, Nov 16, 2017 at 11:50:12AM +, Will Deacon wrote: > Why don't we just not do LTO if the toolchain is busted? Because LTO can not only potentially improve performance, especially when combined with PGO (Profile Guided Optimization), but it also makes it possible to enable features like

Re: [PATCH v2 05/18] arm64: fix -m for GNU gold

2017-11-16 Thread Nick Desaulniers
This and the ld-name patch can probably be taken separately from the rest in the LTO series simply for enabling linking w/ gold.

Re: [PATCH V1 1/4] qcom: spmi-wled: Add support for qcom wled driver

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: > WLED driver provides the interface to the display driver to > adjust the brightness of the display backlight. > Hi Kiran, This driver has a lot in common with the already upstream pm8941-wled.c, because it's just a new revision of the same

Re: [PATCH v2 04/14] soundwire: Add MIPI DisCo property helpers

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 04:05:34PM +, Srinivas Kandagatla wrote: > Few Minor comments!! All are helpful :) > >+/** > >+ * enum sdw_clk_stop_mode: Clock Stop modes > >+ * > >+ * @SDW_CLK_STOP_MODE_0: Slave can continue operation seamlessly on clock > >+ * restart > >+ * @SDW_CLK_STOP_MODE_1:

Re: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t

2017-11-16 Thread Paul E. McKenney
On Thu, Nov 16, 2017 at 02:44:30PM +0100, Michal Hocko wrote: > On Mon 13-11-17 09:09:57, Reshetova, Elena wrote: > > > > > > > Note that there's work done on better documents and updates to this one. > > > One document that might be good to read (I have not in fact had time to > > > read it

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Russell King - ARM Linux
On Thu, Nov 16, 2017 at 04:26:51PM +0100, Marc Gonzalez wrote: > On 15/11/2017 14:13, Russell King - ARM Linux wrote: > > > udelay() needs to offer a consistent interface so that drivers know > > what to expect no matter what the implementation is. Making one > > implementation conform to your

Re: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call

2017-11-16 Thread Peter Zijlstra
On Tue, Nov 14, 2017 at 03:03:51PM -0500, Mathieu Desnoyers wrote: > @@ -977,6 +978,13 @@ struct task_struct { > unsigned long numa_pages_migrated; > #endif /* CONFIG_NUMA_BALANCING */ > > +#ifdef CONFIG_RSEQ > + struct rseq __user *rseq; > + u32 rseq_len; > +

Re: [PATCH v2 06/18] arm64: kvm: use -fno-jump-tables with clang

2017-11-16 Thread Sami Tolvanen
On Thu, Nov 16, 2017 at 11:46:17AM +, Will Deacon wrote: > Can you elaborate a bit more on exactly what you saw failing here, > please? Mark noticed that clang built kernels fail to boot when the kernel starts at EL2: http://lkml.iu.edu/hypermail/linux/kernel/1711.0/02817.html Turns out

Re: 4.14 regression from commit d57ea877af38 media: rc: per-protocol repeat period

2017-11-16 Thread Sean Young
On Thu, Nov 16, 2017 at 04:27:01PM +0100, Matthias Reichl wrote: > The following commit introduced a regression > > commit d57ea877af38057b0ef31758cf3b99765dc33695 > Author: Sean Young > Date: Wed Aug 9 13:19:16 2017 -0400 > > media: rc: per-protocol repeat period > >

[PATCH v3 2/2] acpi/x86: Reuse the mp_register_ioapic_irq() in the function mp_override_legacy_irq()

2017-11-16 Thread Vikas C Sajjan
Modify the function mp_override_legacy_irq() to reuse the newly introduced function mp_register_ioapic_irq(). Signed-off-by: Vikas C Sajjan Reviewed-by: Thomas Gleixner --- arch/x86/kernel/acpi/boot.c | 27 +-- 1 file

Re: [PATCH] [RFT] drm: adv7511/33: fix adv7511_cec_init() failure handling

2017-11-16 Thread Naresh Kamboju
On 15 November 2017 at 18:28, Hans Verkuil wrote: > On 15/11/17 13:37, Arnd Bergmann wrote: >> An otherwise correct cleanup patch from Dan Carpenter turned a broken >> failure handling from a feature patch by Hans Verkuil into a kernel >> Oops, so bisection points to commit

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Marc Gonzalez
On 16/11/2017 17:32, Russell King - ARM Linux wrote: > On Thu, Nov 16, 2017 at 05:26:32PM +0100, Marc Gonzalez wrote: >> On 16/11/2017 17:08, Nicolas Pitre wrote: >> >>> On Thu, 16 Nov 2017, Marc Gonzalez wrote: >>> On 16/11/2017 16:36, Russell King - ARM Linux wrote: > On Thu, Nov 16,

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Jassi Brar
On Thu, Nov 16, 2017 at 10:21 PM, Jassi Brar wrote: > On Thu, Nov 16, 2017 at 11:01 AM, Bjorn Andersson > wrote: >> A client that knows how to drive txdone would temporarily "upgrade" the >> method to TXDONE_BY_ACK. But with the introduction

Re: [PATCH v2 08/14] soundwire: Add Slave status handling helpers

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 04:05:29PM +, Srinivas Kandagatla wrote: > > Minor Comment! > > On 10/11/17 11:49, Vinod Koul wrote: > >From: Sanyog Kale > > > >SoundWire Slaves report status to bus. Add helpers to handle > >the status changes. > > > >Signed-off-by: Hardik

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Russell King - ARM Linux
On Thu, Nov 16, 2017 at 05:42:36PM +0100, Marc Gonzalez wrote: > On 16/11/2017 17:32, Russell King - ARM Linux wrote: > > On Thu, Nov 16, 2017 at 05:26:32PM +0100, Marc Gonzalez wrote: > >> On 16/11/2017 17:08, Nicolas Pitre wrote: > >> > >>> On Thu, 16 Nov 2017, Marc Gonzalez wrote: > >>> >

Re: [PATCH] tracing/probe: fix typo in pr_fmt in trace_uprobe.c

2017-11-16 Thread Joe Perches
On Wed, 2017-11-15 at 21:55 -0500, Steven Rostedt wrote: > On Wed, 15 Nov 2017 14:55:19 -0800 > Joe Perches wrote: > > > Maybe use the much more common below instead? > > > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > Is there someplace this is documented. My git grep

[PATCH 3.18 15/20] sctp: reset owner sk for data chunks on out queues when migrating a sock

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit d04adf1b355181e737b6b1e23d801b07f0b7c4c0 ] Now when migrating sock to another one in sctp_sock_migrate(), it only resets owner sk for the

[PATCH 3.18 11/20] tun: call dev_get_valid_name() before register_netdevice()

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 0ad646c81b2182f7fa67ec0c8c825e0ee165696d ] register_netdevice() could fail early when we have an invalid dev name, in which case

[PATCH 3.18 17/20] ipip: only increase err_count for some certain type icmp in ipip_err

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit f3594f0a7ea36661d7fd942facd7f31a64245f1a ] t->err_count is used to count the link failure on tunnel and an err will be reported to user

[PATCH 3.18 16/20] ipv6: flowlabel: do not leave opt->tot_len with garbage

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 864e2a1f8aac05effac6063ce316b480facb46ff ] When syzkaller team brought us a C repro for the crash [1] that had been reported many times in

[PATCH 3.18 06/20] Input: ims-psu - check if CDC union descriptor is sane

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit ea04efee7635c9120d015dcdeeeb6988130cb67a upstream. Before trying to use CDC union descriptor, try to validate whether that it is sane by

[PATCH 3.18 04/20] mac80211: dont compare TKIP TX MIC key in reinstall prevention

2017-11-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit cfbb0d90a7abb289edc91833d0905931f8805f12 upstream. For the reinstall prevention, the code I had added compares the whole key. It turns out though

Re: [PATCH] soc: qcom: smp2p: Access APCS as mailbox client

2017-11-16 Thread Bjorn Andersson
On Thu 16 Nov 04:17 PST 2017, Arun Kumar Neelakantam wrote: > > diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c [..] > > + smp2p->mbox_client.dev = >dev; > > + smp2p->mbox_chan = mbox_request_channel(>mbox_client, 0); > any reason why we are not using "knows_txdone = true" for

[PATCH 3/4] [media] dibx000_common: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- drivers/media/dvb-frontends/dibx000_common.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/dibx000_common.c

[PATCH 2/4] drm: amd: Fix line continuation formats

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Miscellanea: o Added missing '\n' to a few of the coalesced pr_ formats Signed-off-by: Joe Perches --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 11 -

Re: [RFC PATCH 1/2] arm64: write __range_ok() in C

2017-11-16 Thread Will Deacon
On Thu, Oct 26, 2017 at 10:09:41AM +0100, Mark Rutland wrote: > Currently arm64's __range_ok() is written in assembly for efficiency. > > This hides the logic from the compiler, preventing the compiler from > making some optimizations, such as re-ordering instructions or folding > multiple calls

[PATCH 0/4] treewide: Fix line continuation formats

2017-11-16 Thread Joe Perches
Avoid using line continations in formats as that causes unexpected output. Joe Perches (4): rk3399_dmc: Fix line continuation format drm: amd: Fix line continuation formats [media] dibx000_common: Fix line continuation format ima: Fix line continuation format

[PATCH 4/4] ima: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- security/integrity/ima/ima_template.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/security/integrity/ima/ima_template.c

[PATCH 1/4] rk3399_dmc: Fix line continuation format

2017-11-16 Thread Joe Perches
Line continuations with excess spacing causes unexpected output. Signed-off-by: Joe Perches --- drivers/devfreq/rk3399_dmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c index

[PATCH 1/2] ALSA: mixart: Adjust 23 function calls together with a variable assignment

2017-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 16 Nov 2017 15:26:12 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Segher Boessenkool
On Thu, Nov 16, 2017 at 04:07:42PM +0300, Yury Norov wrote: > > > Use UNDEFINE_MRS_S and UNDEFINE_MSR_S to define corresponding macros > > > in-place and workaround gcc and clang limitations on redefining macros > > > across different assembler blocks. > > > > What limitations? Can you elaborate

[PATCH v3 2/3] kvm: arm64: handle single-stepping trapped instructions

2017-11-16 Thread Alex Bennée
If we are using guest debug to single-step the guest we need to ensure we exit after emulating the instruction. This only affects instructions completely emulated by the kernel. For userspace emulated instructions we need to exit and return to complete the emulation. The

Re: [ANNOUNCE] v4.13.10-rt3 (possible recursive locking warning)

2017-11-16 Thread Sebastian Andrzej Siewior
On 2017-11-03 10:11:47 [-0700], Fernando Lopez-Lezcano wrote: > I'm seeing this (old Lenovo T510 running Fedora 26): > > … > [ 54.942023] WARNING: possible recursive locking detected > [ 54.942026] 4.13.10-200.rt3.1.fc26.ccrma.x86_64+rt #1 Not tainted > [ 54.942026]

Re: [RFC] Improving udelay/ndelay on platforms where that is possible

2017-11-16 Thread Nicolas Pitre
On Thu, 16 Nov 2017, Marc Gonzalez wrote: > On 16/11/2017 16:36, Russell King - ARM Linux wrote: > > On Thu, Nov 16, 2017 at 04:26:51PM +0100, Marc Gonzalez wrote: > >> On 15/11/2017 14:13, Russell King - ARM Linux wrote: > >> > >>> udelay() needs to offer a consistent interface so that drivers

Re: [alsa-devel] [PATCH v7 03/13] slimbus: Add SLIMbus bus type

2017-11-16 Thread Srinivas Kandagatla
On 16/11/17 16:14, Vinod Koul wrote: +static int slim_device_match(struct device *dev, struct device_driver *drv) +{ + struct slim_device *sbdev = to_slim_device(dev); + struct slim_driver *sbdrv = to_slim_driver(drv); + + return slim_match(sbdrv->id_table, sbdev) != NULL;

[PATCH] tracing/irqtrace: only call trace_hardirqs_on/off when state changes

2017-11-16 Thread Nicholas Piggin
In local_irq_save and local_irq_restore, only call irq tracing when the flag state acutally changes. It is not unexpected for the state to go disable->disable. This allows the irq tracing code to better track superfluous enables and disables, and in future could issue warnings. For the most part

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

2017-11-16 Thread Peter Robinson
Hi Marcel, Sorry for the late response. > Mainline boots fine if I use console=ttyS1 or drop the console arg > altogether, but as we don't currently support different boot args per > tree, and we don't have the manpower to track this patch in all the > trees we test, we will have

Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

2017-11-16 Thread Nick Desaulniers
I need this patch to assemble the kernel for arm64 with clang regardless of LTO.

[PATCH] ALSA: usb-audio: uac1: Invalidate ctl on interrupt

2017-11-16 Thread Julian Scheel
When an interrupt occurs, the value of at least one of the belonging controls should have changed. To make sure they get re-read from device on the next read, invalidate the cache. This was correctly implemented for uac2 already, but missing for uac1. Signed-off-by: Julian Scheel

Re: [PATCH v2 18/18] arm64: select ARCH_SUPPORTS_LTO_CLANG

2017-11-16 Thread Nick Desaulniers
On Thu, Nov 16, 2017 at 8:30 AM, Peter Zijlstra wrote: > Ideally we'd get the toolchain people to commit to supporting the kernel > memory model along side the C11 one. That would help a ton. Does anyone from the kernel side participate in the C standardization process?

  1   2   3   4   5   6   7   8   9   10   >