Re: Linux 3.10.108 (EOL)

2017-11-20 Thread Alan Cox
> It's true but it's also true that a lot of these algorithm can be tuned > at build time. We have various memory allocators, tiny RCU, the ability > to disable SMP, we can even tune certain filesystems to use more or less > buffers, etc. It's not that bad at all and I'm not sure that many other >

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

2017-11-20 Thread Russell King - ARM Linux
On Mon, Nov 20, 2017 at 03:31:05PM +, Alan Cox wrote: > On Sat, 18 Nov 2017 11:14:00 -0800 > Linus Torvalds wrote: > > > You may be confusing things because of a newer version. > > > > On Sat, Nov 18, 2017 at 11:03 AM, Charlemagne Lasse > > wrote: > > > > > > That should be "GNU Lesser Gene

Re: [PATCH 3.18 00/38] 3.18.83-stable review

2017-11-20 Thread Guenter Roeck
On Mon, Nov 20, 2017 at 03:48:18PM +0100, Greg Kroah-Hartman wrote: > On Mon, Nov 20, 2017 at 06:06:57AM -0800, Guenter Roeck wrote: > > On 11/19/2017 06:29 AM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 3.18.83 release. > > > There are 38 patches in this s

Re: [PATCH 2/3] mmc: tmio: use mmc_can_gpio_cd() instead of checking TMIO_MMC_USE_GPIO_CD

2017-11-20 Thread Masahiro Yamada
2017-11-20 4:47 GMT+09:00 Wolfram Sang : > On Wed, Nov 08, 2017 at 07:16:59PM +0900, Masahiro Yamada wrote: >> To use a GPIO line for card detection, TMIO_MMC_USE_GPIO_CD is used >> by a legacy board (arch/sh/boards/mach-ecovec24). >> >> For DT platforms, the "cd-gpios" property is a legitimate way

Re: [kernel-hardening] [PATCH v4] scripts: add leaking_addresses.pl

2017-11-20 Thread Petr Mladek
On Mon 2017-11-13 11:16:28, kaiwan.billimo...@gmail.com wrote: > On Mon, 2017-11-13 at 09:21 +1100, Tobin C. Harding wrote: > > On Fri, Nov 10, 2017 at 07:26:34PM +0530, kaiwan.billimo...@gmail.com > > > - it currently hard-codes a global 'PAGE_OFFSET_32BIT=0xc000' > > > , just > > > so I can

Re: [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-20 Thread Hans Verkuil
Hi Tim, Some more review comments: On 11/09/2017 07:45 PM, Tim Harvey wrote: > Add support for the TDA1997x HDMI receivers. > > Cc: Hans Verkuil > Signed-off-by: Tim Harvey > --- > v3: > - use V4L2_DV_BT_FRAME_WIDTH/HEIGHT macros > - fixed missing break > - use only hdmi_infoframe_log for i

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

2017-11-20 Thread Andi Kleen
On Mon, Nov 20, 2017 at 10:04:19AM +0100, Jiri Olsa wrote: > On Fri, Nov 17, 2017 at 01:43:00PM -0800, Andi Kleen wrote: > > SNIP > > > --- > > tools/perf/Documentation/perf-script.txt | 10 +++- > > tools/perf/builtin-script.c | 97 > > +++- > > tools/p

[PATCH] perf stat: Fix duplicate error messages in perf_stat_synthesize_config()

2017-11-20 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 20 Nov 2017 15:55:25 +0100 Duplicate error messages were used so far in this function implementation. Make them unique instead. This issue was detected by using the Coccinelle software. Fixes: 7b60a7e3a687481553d2b6ec7e6390a6e82f1849 ("perf stat record: Synthesiz

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

2017-11-20 Thread Alan Cox
On Sat, 18 Nov 2017 11:14:00 -0800 Linus Torvalds wrote: > You may be confusing things because of a newer version. > > On Sat, Nov 18, 2017 at 11:03 AM, Charlemagne Lasse > wrote: > > > > That should be "GNU Lesser General Public" and not "GNU Library General > > Public" > > That's just FSF

Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Ard Biesheuvel
On 20 November 2017 at 15:20, Mark Rutland wrote: > On Wed, Nov 15, 2017 at 01:34:26PM -0800, Sami Tolvanen wrote: >> CONFIG_LTO_CLANG requires the use of clang's integrated assembler, which >> doesn't understand the inline assembly in aes-ce-cipher.c. Disable LTO for >> the file to work around th

Re: [RFC PATCH 2/7] ASoC: Intel: Kconfig: Simplify-clarify ACPI/PCI dependencies

2017-11-20 Thread Alan Cox
On Fri, 17 Nov 2017 18:01:57 -0600 Pierre-Louis Bossart wrote: > PCI/ACPI selections should not happen in Kconfig for machine drivers, > move to SOC selections. > > Add distinction between PCI and ACPI HiFi2 platforms. The PCI-based > platforms may be removed at some point since Medfield is not

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread peter enderborg
On 11/20/2017 04:00 PM, Romain Perier wrote: > Hi, > > 2017-11-20 15:10 GMT+01:00 peter enderborg : >> I think it should return a error code at least. > In which case ? The idea was to don't change the behaviour of these > functions (from the "API" point of view) and to avoid regressions in > the

Re: [PATCH v2 00/18] Add support for clang LTO

2017-11-20 Thread Mark Rutland
Hi, On Wed, Nov 15, 2017 at 01:34:10PM -0800, Sami Tolvanen wrote: > This series adds build system support for compiling the kernel with clang > Link Time Optimization (LTO), using GNU gold with the LLVMgold plug-in > for linking. As a high-level comment, this path series is rather confusing fo

Re: [PATCH v2 16/18] arm64: crypto: disable LTO for aes-ce-cipher.c

2017-11-20 Thread Mark Rutland
On Wed, Nov 15, 2017 at 01:34:26PM -0800, Sami Tolvanen wrote: > CONFIG_LTO_CLANG requires the use of clang's integrated assembler, which > doesn't understand the inline assembly in aes-ce-cipher.c. Disable LTO for > the file to work around the issue. Could you elaborate on what the integrated ase

[PATCH] pinctrl: intel: Initialize GPIO properly when used through irqchip

2017-11-20 Thread Mika Westerberg
When a GPIO is requested using gpiod_get_* APIs the intel pinctrl driver switches the pin to GPIO mode and makes sure interrupts are routed to the GPIO hardware instead of IOAPIC. However, if the GPIO is used directly through irqchip, as is the case with many I2C-HID devices where I2C core automati

[PATCH v2] perf report/top: Add a tip about source line matching.

2017-11-20 Thread Hyeim Yang
Cc: Jiri Olsa Cc: Namhyung Kim Cc: Taeung Song --- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index db0ca30..cab8fae 100644 --- a/tools/perf/Documentation/tips.txt +++ b/tools/perf/

Re: [PATCH 2/6] mmc: tmio: set tmio_mmc_host to driver data

2017-11-20 Thread Masahiro Yamada
Hi Wolfram, 2017-11-20 22:22 GMT+09:00 Wolfram Sang : > >> Last week I was working on the TMIO driver >> and I have more bug-fix and clean-up patches in hand now. >> (about 20 patches) >> >> The patch order is getting a mess, >> so I am planning to put all patches in one series. >> >> If not in hu

Re: [PATCH 4.9 00/72] 4.9.64-stable review

2017-11-20 Thread Greg Kroah-Hartman
On Mon, Nov 20, 2017 at 06:10:55AM -0800, Guenter Roeck wrote: > On 11/19/2017 06:38 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.64 release. > > There are 72 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH] crypto: hifn_795x - Fix a memory leak in the error handling path of 'hifn_probe()'

2017-11-20 Thread PrasannaKumar Muralidharan
Hi Christophe, On 18 November 2017 at 19:15, Christophe JAILLET wrote: > 'dev' is leaking in the error handling path of 'hifn_probe()'. > > Add a 'kfree(dev)' to match the code in 'hifn_remove()' > > Signed-off-by: Christophe JAILLET > --- > drivers/crypto/hifn_795x.c | 1 + > 1 file changed, 1

Dell Vostro 3360 multimedia keys

2017-11-20 Thread Oleksandr Natalenko
Hi. I've got Dell Vostro 3360 with extra multimedia keys as shown here [1], but have no luck to get them working. I've modified dell_wmi_smbios_list structure in drivers/platform/x86/dell- wmi.c adding new entry: === 84 { 85 .callback = dmi_matched, 86 .ident = "Dell Vost

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

2017-11-20 Thread Hans Verkuil
On 11/20/2017 04:05 PM, Hans Verkuil wrote: > On 11/17/2017 09:43 AM, 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 no n

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

2017-11-20 Thread Hans Verkuil
On 11/17/2017 09:43 AM, 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 no need to have adv7511_probe() fail if the CEC initia

Re: [PATCH] Support TrackStick of Thinkpad L570

2017-11-20 Thread Aaron Ma
Tested-by: Aaron Ma On 11/20/2017 03:55 PM, Masaki Ota wrote: > From: Masaki Ota > - The issue is that Thinkpad L570 TrackStick does not work. Because the main > interface of Thinkpad L570 device is SMBus, so ALPS overlooked PS2 interface > Firmware setting of TrackStick. The detail is that Tr

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread Romain Perier
Hi, 2017-11-20 15:10 GMT+01:00 peter enderborg : > I think it should return a error code at least. In which case ? The idea was to don't change the behaviour of these functions (from the "API" point of view) and to avoid regressions in the kernel components that depend on these NTP feature. (so b

[PATCH v2 5/5] ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker

2017-11-20 Thread Yixun Lan
From: Jian Hu In the S400 board, The I2C master-1 is connecting to the audio speaker daughter board. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a

[PATCH v2 0/5] i2c: meson-axg: add I2C controller driver

2017-11-20 Thread Yixun Lan
This patch set try to add I2C controller driver for the Amlogic's Meson-AXG SoC. Changes since v1 [1] - update dt-bindings doc (Neil Armstrong) - make meson_i2c_data const (Martin Blumenstingl) - DTS: adjust naming, change from the 'i2c_m0' to 'i2c0' style [1] http://lkml.kernel.org/r/20171117

[PATCH v2 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-20 Thread Yixun Lan
From: Jian Hu Update the doc to explicitly add Meson-AXG to support list Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-m

[PATCH v2 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
From: Jian Hu There are four I2C masters in EE domain, and one I2C Master in AO domain, the DT info here should describe them all. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 59 ++ 1 file changed, 59 insertions(

[PATCH v2 2/5] i2c: meson: add configurable divider factors

2017-11-20 Thread Yixun Lan
From: Jian Hu This patch try to add support for I2C controller in Meson-AXG SoC, Due to the IP changes between I2C controller, we need to introduce a compatible data to make the divider factor configurable. Reviewed-by: Neil Armstrong Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- drive

[PATCH v2 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller

2017-11-20 Thread Yixun Lan
From: Jian Hu Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/am

Re: Fwd: stable-rc/linux-4.4.y build: 182 builds: 60 failed, 122 passed, 60 errors, 60 warnings (v4.4.99-60-g803704b287d8)

2017-11-20 Thread Greg Kroah-Hartman
On Mon, Nov 20, 2017 at 10:41:24AM +0100, Marcin Nowakowski wrote: > Hi Arnd, Greg, > > On 19.11.2017 21:55, Arnd Bergmann wrote: > > [Adding the others to cc] > > > > -- Forwarded message -- > > From: Arnd Bergmann > > Date: Sun, Nov 19, 2017 at 9:53 PM > > Subject: Re: stable-r

Re: [PATCH 3.18 00/38] 3.18.83-stable review

2017-11-20 Thread Greg Kroah-Hartman
On Mon, Nov 20, 2017 at 06:06:57AM -0800, Guenter Roeck wrote: > On 11/19/2017 06:29 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.83 release. > > There are 38 patches in this series, all will be posted as a response > > to this one. If anyone has any

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

2017-11-20 Thread Mark Rutland
On Thu, Nov 16, 2017 at 08:35:49AM -0800, Sami Tolvanen wrote: > 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, i

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

2017-11-20 Thread Ard Biesheuvel
On 20 November 2017 at 14:43, Mark Rutland wrote: > On Mon, Nov 20, 2017 at 02:41:47PM +, Mark Rutland wrote: >> On Wed, Nov 15, 2017 at 01:34:16PM -0800, Sami Tolvanen wrote: >> > Use -fno-jump-tables to make sure clang doesn't generate branches >> > to EL1 virtual addresses. >> >> Are there

Re: [PATCH 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-11-20 Thread Lukasz Majewski
Hi Arnd, > On Mon, Nov 20, 2017 at 12:23 AM, Lukasz Majewski > wrote: > > Hi Alexander, > > > >> Hello Lukasz! > >> > >> On 17/11/17 00:22, Lukasz Majewski wrote: > >> > This patch series adds support for Liebherr's BK3 board, being > >> > a derivative of TS72XX design. > >> > > >> > This pat

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

2017-11-20 Thread Mark Rutland
On Mon, Nov 20, 2017 at 02:41:47PM +, Mark Rutland wrote: > On Wed, Nov 15, 2017 at 01:34:16PM -0800, Sami Tolvanen wrote: > > Use -fno-jump-tables to make sure clang doesn't generate branches > > to EL1 virtual addresses. > > Are there any other reasons that clang might generate absolute > re

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

2017-11-20 Thread Mark Rutland
On Wed, Nov 15, 2017 at 01:34:16PM -0800, Sami Tolvanen wrote: > Use -fno-jump-tables to make sure clang doesn't generate branches > to EL1 virtual addresses. Are there any other reasons that clang might generate absolute references/relocations? It would be nice if there was the option to disable

Re: [PATCH 03/10] x86: jailhouse: Enable APIC and SMP support

2017-11-20 Thread Konrad Rzeszutek Wilk
On Fri, Nov 17, 2017 at 11:42:02PM +0100, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Jan Kiszka wrote: > > Just noticed, that all prefixes should be 'x86/jailhouse:' please > > > +static unsigned int x2apic_get_apic_id(unsigned long id) > > +{ > > +return id; > > +} > > + > > static v

Re: [PATCH 11/31] nds32: Atomic operations

2017-11-20 Thread Will Deacon
Hi Greentime, On Wed, Nov 08, 2017 at 01:54:59PM +0800, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu > --- > arch/nds32/include/asm/futex.h| 116 > arch/nds32/include/asm/spinlock.h | 178 > +

[PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-20 Thread Gustavo A. R. Silva
_xt_ is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after _xt_ has been null checked. This issue was detected with the help of Coccinelle. Fixes: 4483320e241c ("dmaengine: Use Pointer xt after NULL

Re: [PATCH 4.14 00/31] 4.14.1-stable review

2017-11-20 Thread Guenter Roeck
On 11/19/2017 06:59 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.1 release. There are 31 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

RE: [PATCH 3/7] net: core: eliminate dev_alloc_name{,_ns} code duplication

2017-11-20 Thread David Laight
From: Rasmus Villemoes > Sent: 12 November 2017 23:15 > dev_alloc_name contained a BUG_ON(), which I moved to dev_alloc_name_ns; > the only other caller of that already has the same BUG_ON. > > Signed-off-by: Rasmus Villemoes > --- > net/core/dev.c | 12 ++-- > 1 file changed, 2 insertio

Re: [PATCH v2] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-11-20 Thread Liviu Dudau
On Fri, Oct 13, 2017 at 04:48:45PM +0100, Robin Murphy wrote: > Hi Joerg, Hi, > > On 20/09/17 15:13, Liviu Dudau wrote: > > If the IPMMU driver is compiled in the kernel it will replace the > > platform bus IOMMU ops on running the ipmmu_init() function, regardless > > if there is any IPMMU hard

Re: [PATCH] arch, mm: introduce arch_tlb_gather_mmu_lazy (was: Re: [RESEND PATCH] mm, oom_reaper: gather each vma to prevent) leaking TLB entry

2017-11-20 Thread Will Deacon
On Thu, Nov 16, 2017 at 10:20:42AM +0100, Michal Hocko wrote: > On Wed 15-11-17 17:33:32, Will Deacon wrote: > > Hi Michal, > > > > On Fri, Nov 10, 2017 at 01:26:35PM +0100, Michal Hocko wrote: > > > From 7f0fcd2cab379ddac5611b2a520cdca8a77a235b Mon Sep 17 00:00:00 2001 > > > From: Michal Hocko >

[PATCH v2 0/4] ARM64: dts: meson-gx: fix VPU init for non-vendor u-boot

2017-11-20 Thread Neil Armstrong
On the Amlogic Gx SoCs (GXBB, GXL & GXM), the VPU power domain is initialized by the vendor U-Boot code, but running mainline U-boot has been possible on these SoCs. But lacking such init made the system lock at kernel boot. A PM Power Domain driver has been pushed at [1] to solve the main issue.

[PATCH v2 4/4] ARM64: dts: odroid-c2: Add HDMI and CEC Nodes

2017-11-20 Thread Neil Armstrong
Now the VPU Power Domain has been fixed while boothing from Mainline U-Boot, VPU and HDMI nodes can finally be added to the Odroid-C2 DTS. Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 30 ++ 1 file changed, 30 insertions(+) diff --gi

[PATCH v2 3/4] ARM64: dts: meson-gx: grow reset controller memory zone

2017-11-20 Thread Neil Armstrong
Now the Amlogic Meson GX SoCs datasheet documents all the Reset registers, grow the memory in the node to allow usage of the level registers. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64

Re: [PATCH v3 05/16] iommu/vt-d: support flushing more TLB types

2017-11-20 Thread Lukoshkov, Maksim
On 11/17/2017 18:55, Jacob Pan wrote: +void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid, + u16 qdep, u64 addr, unsigned mask) +{ + struct qi_desc desc; + + pr_debug_ratelimited("%s: sid %d, pfsid %d, qdep %d, addr %llx, mask %d\n", +

[PATCH v2 1/4] ARM64: dts: meson-gx: add VPU power domain

2017-11-20 Thread Neil Armstrong
This patch adds support for the VPU Power Domain nodes, and attaches the VPU power domain to the VPU node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 11 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 43 + arch/arm64/boot/

[PATCH v2 2/4] ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards

2017-11-20 Thread Neil Armstrong
On reference boards and derivatives, the HDMI Logic is powered by an external 5V regulator. This regulator was set by the Vendor U-Boot, add the regulator and set it always-on for now. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 12 ++

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

2017-11-20 Thread Rafael J. Wysocki
On Monday, November 20, 2017 9:24:32 AM CET Kai Heng Feng wrote: > > > On 12 Oct 2017, at 1:16 PM, Kai-Heng Feng > > wrote: > > > > On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng > > wrote: > >> On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > >> battery is full and AC

[GIT PULL] printk for 4.15

2017-11-20 Thread Petr Mladek
Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus - Print warning about dropped messages on consoles on a separate line. It makes it better readable. - One typo fix and small code clean up. ---

[v5 RESEND 12/17] gpio: madera: Support Cirrus Logic Madera class codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald This adds support for the GPIOs on Cirrus Logic Madera class codecs. Any pins not used for special functions (see the pinctrl driver) can be used as general single-bit input or output lines. The number of available GPIOs varies between codecs. Signed-off-by: Nariman Pous

[v5 RESEND 03/17] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald This adds the generic core support for Cirrus Logic "Madera" class codecs. These are complex audio codec SoCs with a variety of digital and analogue I/O, onboard audio processing and DSPs, and other features. These codecs are all based off a common set of hardware IP so

[v5 RESEND 08/17] regulator: arizona-ldo1: Add support for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald This adds a new driver identity "madera-ldo1" and probe function so that this driver can be used to control the LDO1 regulator on some Cirrus Logic Madera codecs. Signed-off-by: Richard Fitzgerald --- drivers/regulator/Kconfig| 8 ++-- drivers/regulator/arizon

[v5 RESEND 10/17] pinctrl: madera: Add DT bindings for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald This is the binding description of the pinctrl driver for Cirru Logic Madera codecs. The binding uses the generic pinctrl binding so the main purpose here is to describe the device-specific names for groups and functions. Signed-off-by: Richard Fitzgerald --- .../bind

[v5 RESEND 13/17] ASoC: madera: Add DT bindings for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald The Cirrus Logic Madera codecs are a family of related codecs with extensive digital and analogue I/O, digital mixing and routing, signal processing and programmable DSPs. Signed-off-by: Richard Fitzgerald --- Documentation/devicetree/bindings/sound/madera.txt | 67 +++

Re: [PATCH] drivers/perf: arm_pmu: save/restore cpu cycle counter in cpu_pm_pmu_notify

2017-11-20 Thread Jia He
Thanks, got it Cheers, Jia On 11/20/2017 10:04 PM, Mark Rutland Wrote: On Mon, Nov 20, 2017 at 09:50:15PM +0800, Jia He wrote: On 11/20/2017 8:32 PM, Mark Rutland Wrote: On Thu, Nov 16, 2017 at 06:27:28AM +, Jia He wrote: Sometimes userspace need a high resolution cycle counter by read

[v5 RESEND 09/17] irqchip: Add driver for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald The Cirrus Logic Madera codecs (Cirrus Logic CS47L35/85/90/91 and WM1840) are highly complex devices containing up to 7 programmable DSPs and many other internal sources of interrupts plus a number of GPIOs that can be used as interrupt inputs. The large number (>150) of

[v5 RESEND 15/17] ASoC: cs47l35: Add codec driver for Cirrus Logic CS47L35

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Adds the codec driver for the CS47L35 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Piotr Stankiewicz Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- sound/soc/codecs/Kconfig |6 + sou

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

2017-11-20 Thread Greg Kroah-Hartman
On Mon, Nov 20, 2017 at 06:09:44AM -0800, Guenter Roeck wrote: > On 11/19/2017 06: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

[v5 RESEND 11/17] pinctrl: madera: Add driver for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald These codecs have a variable number of I/O lines each of which is individually selectable to a wide range of possible functions. The functionality is slightly different from the traditional muxed GPIO since most of the functions can be mapped to any pin (and even the sam

[v5 RESEND 04/17] mfd: madera: Register map tables for Cirrus Logic CS47L35

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Regmap configuration tables for Cirrus Logic CS47L35 codecs. Signed-off-by: Piotr Stankiewicz Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |3 + drivers/mfd/cs47l35-tables.

[v5 RESEND 06/17] mfd: madera: Register map tables for Cirrus Logic CS47L90/91

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Regmap configuration tables for Cirrus Logic CS47L90 and CS47L91 codecs. Signed-off-by: Nikesh Oswal Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |3 + drivers/mfd/cs47l90-

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

2017-11-20 Thread Guenter Roeck
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 release. There are 28 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

[v5 RESEND 00/17] Add support for Cirrus Logic CS47L35/L85/L90/L91 codecs

2017-11-20 Thread Richard Fitzgerald
Patches still waiting for review/ack: #8 regulator #9 irqchip #14-17 ASoC Summary of changes since V4: - Fixed review comments on MFD code - Fixed dependency error in core codec driver - minor bugfix to core codec driver Richard Fitzgerald (17): mfd: madera: Add register definitions for Cirrus

[v5 RESEND 16/17] ASoC: cs47l85: Add codec driver for Cirrus Logic CS47L85

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Adds the codec driver for the CS47L85 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Nariman Poushin Signed-off-by: Charles Keepax Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/Kconfig |6 + sound

Re: Commit fcd8843c40 breaks old compilers

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 07:52 AM, Arnd Bergmann wrote: > On Sat, Nov 18, 2017 at 7:07 PM, Boris Ostrovsky > wrote: >> >> On 11/18/2017 12:39 PM, Trond Myklebust wrote: >>> On Sat, 2017-11-18 at 12:19 -0500, Boris Ostrovsky wrote: A similar bug was fixed by e0714ec4f9efe7b86828b0dcc077fd8f5d8e5e91

[PATCH] scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg

2017-11-20 Thread Gustavo A. R. Silva
_vreg_ is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after _vreg_ has been null checked. This issue was detected with the help of Coccinelle. Fixes: aa4976130934 ("ufs: Add regulator enable support

[v5 RESEND 02/17] mfd: madera: Add DT bindings for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Specification of the bindings for the parent MFD driver component of the Cirrus Logic Madera codec drivers. Note that although the interrupt controller and GPIO are child drivers their required bindings are trivial, mandatory, and exist within the parent MFD node so are

[v5 RESEND 14/17] ASoC: madera: Add common support for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald The Cirrus Logic Madera codecs are a family of related codecs with extensive digital and analogue I/O, digital mixing and routing, signal processing and programmable DSPs. This patch adds common support code shared by all Madera codecs. Signed-off-by: Charles Keepax Si

[v5 RESEND 17/17] ASoC: cs47l90: Add codec driver for Cirrus Logic CS47L90

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald Adds the codec driver for the CS47L90 SmartCodec. This is a multi-functional codec based on the Cirrus Logic Madera platform. Signed-off-by: Nikesh Oswal Signed-off-by: Charles Keepax Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/Kconfig |6 + sound/so

Re: [PATCH 4.9 00/72] 4.9.64-stable review

2017-11-20 Thread Guenter Roeck
On 11/19/2017 06:38 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.64 release. There are 72 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

[v5 RESEND 07/17] regulator: arizona-micsupp: Add support for Cirrus Logic Madera codecs

2017-11-20 Thread Richard Fitzgerald
From: Richard Fitzgerald This adds a new driver identity "madera-micsupp" and probe function so that this driver can be used to control the micsupp regulator on Cirrus Logic Madera codecs. Signed-off-by: Richard Fitzgerald --- .../bindings/regulator/arizona-regulator.txt | 3 +- drivers

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread peter enderborg
I think it should return a error code at least. On 11/02/2017 07:29 PM, Romain Perier wrote: > On embedded systems with limited space, synchronizing system clock via > NTP might be not needed. > > This commit introduces a new Kconfig entry. When disabled, it compiles > out the adjtimex and clock_a

Re: [PATCH V2 2/3] perf/x86/intel/bm.c: Add Intel Branch Monitoring support

2017-11-20 Thread Jiri Olsa
On Fri, Nov 17, 2017 at 05:54:05PM -0800, Megha Dey wrote: SNIP > +/* Branch Monitoring default and mask values */ > +#define BM_MAX_WINDOW_SIZE 0x3ff > +#define BM_MAX_THRESHOLD 0x7f > +#define BM_MAX_EVENTS6 > +#define BM_WINDOW_SIZE_SHIFT 8

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

2017-11-20 Thread Guenter Roeck
On 11/19/2017 06: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 these being applied, please let me know. Responses should be m

Re: [PATCH V2 3/3] x86, bm: Add documentation on Intel Branch Monitoring

2017-11-20 Thread Jiri Olsa
On Fri, Nov 17, 2017 at 05:54:06PM -0800, Megha Dey wrote: SNIP > +IV. User-configurable inputs > + > + > +Several sysfs entries are provided in /sys/devices/intel_bm/ to configure > +controls for the supported hardware heuristics. > + > +1. LBR freeze: /sys/devices/in

Re: [PATCH 3.18 00/38] 3.18.83-stable review

2017-11-20 Thread Guenter Roeck
On 11/19/2017 06:29 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.83 release. There are 38 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH] drivers/perf: arm_pmu: save/restore cpu cycle counter in cpu_pm_pmu_notify

2017-11-20 Thread Mark Rutland
On Mon, Nov 20, 2017 at 09:50:15PM +0800, Jia He wrote: > On 11/20/2017 8:32 PM, Mark Rutland Wrote: > > On Thu, Nov 16, 2017 at 06:27:28AM +, Jia He wrote: > > > Sometimes userspace need a high resolution cycle counter by reading > > > pmccntr_el0. > > > > > > In commit da4e4f18afe0 ("drivers

Re: Synaptics RMI4 touchpad regression in 4.11-rc1

2017-11-20 Thread Mantas Mikulėnas
On 2017-03-31 11:57, Benjamin Tissoires wrote: > On Mar 29 2017 or thereabouts, Andrew Duggan wrote: >> >> >> On 03/29/2017 01:50 AM, Benjamin Tissoires wrote: >>> On Mar 28 2017 or thereabouts, Andrew Duggan wrote: On 03/19/2017 10:00 PM, Peter Hutterer wrote: > On Fri, Mar 17, 2017 at 12

Re: [22/26] MIPS: generic: Introduce generic DT-based board support

2017-11-20 Thread Guenter Roeck
On 11/20/2017 02:25 AM, James Hogan wrote: On Sat, Nov 18, 2017 at 07:43:25PM -0800, Guenter Roeck wrote: On Fri, Aug 26, 2016 at 04:37:21PM +0100, Paul Burton wrote: Introduce a "generic" platform, which aims to be board-agnostic by making use of device trees passed by the boot protocol define

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

2017-11-20 Thread Gustavo A. R. Silva
_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 the help of Coccinelle. Fixes: c5f5d0f99794 ("[media] c8sectpfe: STiH407/1

Re: [PATCH] apparmor: initialized returned struct aa_perms

2017-11-20 Thread Arnd Bergmann
On Mon, Sep 25, 2017 at 4:29 PM, John Johansen wrote: > On 09/15/2017 03:55 PM, Arnd Bergmann wrote: >> gcc-4.4 points out suspicious code in compute_mnt_perms, where >> the aa_perms structure is only partially initialized before getting >> returned: >> >> security/apparmor/mount.c: In function 'c

[PATCH] afs: remove redundant assignment of dvnode to itself

2017-11-20 Thread Colin King
From: Colin Ian King The assignment of dvnode to itself is redundant and can be removed. Cleans up warning detected by cppcheck: fs/afs/dir.c:975: (warning) Redundant assignment of 'dvnode' to itself. Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation"

Re: [PATCH v2 06/15] ima: add parser of digest lists metadata

2017-11-20 Thread Mimi Zohar
On Mon, 2017-11-20 at 10:40 +0100, Roberto Sassu wrote: > On 11/19/2017 12:23 AM, Mimi Zohar wrote: > > Hi Serge, > > > > On Fri, 2017-11-17 at 22:20 -0600, Serge E. Hallyn wrote: > >> On Tue, Nov 07, 2017 at 11:37:01AM +0100, Roberto Sassu wrote: > >>> from a predefined position (/etc/ima/digest_

[GIT PULL] fbdev changes for v4.15

2017-11-20 Thread Bartlomiej Zolnierkiewicz
Hi Linus, Please pull fbdev changes for v4.15. There is nothing really major here (though removal of the dead igafb driver stands out in diffstat), please see the signed tag description for details. Test merge revealed a small merge conflict in include/video/iga.h caused by SPDX tags addition (

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread Romain Perier
Hi, No feedback regarding this patch ? Thanks, Romain 2017-11-02 19:29 GMT+01:00 Romain Perier : > On embedded systems with limited space, synchronizing system clock via > NTP might be not needed. > > This commit introduces a new Kconfig entry. When disabled, it compiles > out the adjtimex and c

Re: [PATCH] drivers/perf: arm_pmu: save/restore cpu cycle counter in cpu_pm_pmu_notify

2017-11-20 Thread Jia He
Hi Mark Thanks for your review. On 11/20/2017 8:32 PM, Mark Rutland Wrote: Hi, On Thu, Nov 16, 2017 at 06:27:28AM +, Jia He wrote: Sometimes userspace need a high resolution cycle counter by reading pmccntr_el0. In commit da4e4f18afe0 ("drivers/perf: arm_pmu: implement CPU_PM notifier")

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

2017-11-20 Thread Mike Galbraith
On Mon, 2017-11-20 at 13:43 +0100, Mike Galbraith wrote: > The problem was converted spinlocks (and added RT locks). But I suppose lockdep should gripe about that these days...

RE: [PATCH v2 3/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20

2017-11-20 Thread Andy Duan
From: Richard Leitner Sent: Monday, November 20, 2017 8:55 PM >On 11/20/2017 11:35 AM, Andy Duan wrote: >> From: Richard Leitner Sent: Monday, >> November 20, 2017 5:57 PM >>> To: Andy Duan ; f.faine...@gmail.com; >>> and...@lunn.ch >>> Cc: Richard Leitner ; net...@vger.kernel.org; linux- >>> ke

Re: [PATCH v4 5/6] PM / core: Direct handling of DPM_FLAG_LEAVE_SUSPENDED

2017-11-20 Thread Ulf Hansson
On 18 November 2017 at 15:41, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the PM core handle DPM_FLAG_LEAVE_SUSPENDED directly for > devices whose "noirq", "late" and "early" driver callbacks are > invoked directly by it. This indicates that your target for this particular change

Re: [PATCH v3] tracing: Allocate mask_str buffer dynamically

2017-11-20 Thread Du, Changbin
Hi Steven, Have you picked up this patch or need more polish? Thanks. On Wed, Nov 01, 2017 at 11:28:08AM +0800, changbin...@intel.com wrote: > From: Changbin Du > > The default NR_CPUS can be very large, but actual possible nr_cpu_ids > usually is very small. For my x86 distribution, the NR_CPUS

Re: [PATCH v2 3/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20

2017-11-20 Thread Geert Uytterhoeven
Hi Richard, On Mon, Nov 20, 2017 at 2:21 PM, Richard Leitner wrote: > On 11/20/2017 02:13 PM, Geert Uytterhoeven wrote: >> On Mon, Nov 20, 2017 at 1:55 PM, Richard Leitner >> wrote: >>> On 11/20/2017 11:35 AM, Andy Duan wrote: 3. add reset gpio descriptor for common phy device driver. >>> >

Re: [PATCH v3 2/2] sched/deadline: Initialize cp->elements[].cpu to an invalid value

2017-11-20 Thread Daniel Bristot de Oliveira
On 11/14/2017 12:46 AM, Byungchul Park wrote: > Currently, migrating tasks to cpu0 unconditionally happens when the > heap is empty, since cp->elements[].cpu was initialized to 0(=cpu0). > We have to distinguish between the empty case and cpu0 to avoid the > unnecessary migrations. Therefore, it ha

RE: [LKP] [linus/master] New kbuild/runtime Test Reports on TRC

2017-11-20 Thread Zhang, Yixin
Please ignore this mail. BR Yixin ZHANG -Original Message- From: Zhang, Yixin Sent: Monday, November 20, 2017 21:09 To: linux-kernel@vger.kernel.org Cc: Zhang, Yixin Subject: [LKP] [linus/master] New kbuild/runtime Test Reports on TRC Hi, Please kindly check the new kbuild/runtime tes

Re: [alsa-devel] [PATCH 1/5 v4] ASoC: ep93xx-ac97: Fix platform_get_irq's error checking

2017-11-20 Thread Alexandre Belloni
On 19/11/2017 at 09:45:00 +0530, Arvind Yadav wrote: > The platform_get_irq() function returns negative if an error occurs. > zero or positive number on success. platform_get_irq() error checking > for zero is not correct. > > Signed-off-by: Arvind Yadav > --- > changes in v2 : >i

[PATCH v5 03/18] PCI: designware-ep: Read-only registers need DBI_RO_WR_EN to be writable

2017-11-20 Thread Niklas Cassel
Certain registers that pcie-designware-ep tries to write to are read-only registers. However, these registers can become read/write if we first enable the DBI_RO_WR_EN bit. Set/unset the DBI_RO_WR_EN bit before/after writing these registers. Signed-off-by: Niklas Cassel --- drivers/pci/dwc/pcie-

[PATCH v5 02/18] PCI: designware-ep: dw_pcie_ep_set_msi() should only set MMC bits

2017-11-20 Thread Niklas Cassel
Previously, dw_pcie_ep_set_msi() wrote all bits in the Message Control register, thus overwriting the PCI_MSI_FLAGS_64BIT bit. By clearing the PCI_MSI_FLAGS_64BIT bit, we break MSI on systems where the RC has set a 64 bit MSI address. Fix dw_pcie_ep_set_msi() so that it only sets MMC bits. Signed-

[PATCH v5 01/18] PCI: dwc: Use the DMA-API to get the MSI address

2017-11-20 Thread Niklas Cassel
Use the DMA-API to get the MSI address. This address will be written to our PCI config space and to the register which determines which AXI address the DWC IP will spoof for incoming MSI irqs. Since it is a PCIe endpoint device, rather than the CPU, that is supposed to write to the MSI address, th

<    2   3   4   5   6   7   8   9   >