Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-25 Thread Anup Patel
On Tue, Jul 25, 2017 at 12:36 AM, Alex Williamson wrote: > On Mon, 24 Jul 2017 18:23:20 +0100 > Robin Murphy wrote: > >> On 24/07/17 18:16, Alex Williamson wrote: >> > On Thu, 20 Jul 2017 12:17:12 +0100 >> > Robin Murphy

Re: [PATCH v4 2/2] x86/kconfig: make it easier to switch to the new ORC unwinder

2017-07-25 Thread Ingo Molnar
* Josh Poimboeuf wrote: > A couple of Kconfig changes which make it much easier to switch to the > new CONFIG_ORC_UNWINDER: > > 1) Remove x86 dependencies on CONFIG_FRAME_POINTER for lockdep, >latencytop, and fault injection. x86 has a 'guess' unwinder which >just

Re: [PATCH v5 0/2] add UniPhier thermal support

2017-07-25 Thread Kunihiko Hayashi
Hello, On Fri, 21 Jul 2017 22:34:49 +0900 wrote: > Hello, > > 2017-07-21 22:24 GMT+09:00 Masahiro Yamada : > > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi > > : > >> This series adds support for CPU

Re: [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-25 Thread Shawn Guo
On Tue, Jul 18, 2017 at 07:40:22AM +0200, Oleksij Rempel wrote: > gpio-line-names may help to make work with GPIOs from user space easier. > Following examples are provided with libgpiod > https://github.com/brgl/libgpiod : > |# Toggle a GPIO by name, then wait for the user to press ENTER. > |$

Re: [PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-25 Thread Lee Jones
On Fri, 21 Jul 2017, Mani, Rajmohan wrote: > > On Wed, 19 Jul 2017, Rajmohan Mani wrote: > > > > > The TPS68470 device is an advanced power management unit that powers > > a > > > Compact Camera Module (CCM), generates clocks for image sensors, > > > drives a dual LED for Flash and incorporates

Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-07-25 Thread Christian Kellner
Hi Mika, I've seen this once on Alpine Ridge LP (which you have here) where the DROM contents of the older NVM image listed too many ports. Can you try if the below patch helps? You were right. Patch works fine, and I indeed see the expected warnings in the logs: [ 102.739663]

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-25 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Mao Wenan > Sent: Tuesday, July 25, 2017 4:36 PM > To: net...@vger.kernel.org; da...@davemloft.net; weiyongjun (A); > Chenweilong > Subject: [PATCH net-next] TLP: Don't

Re: [PATCH v5 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-25 Thread Kunihiko Hayashi
On Fri, 21 Jul 2017 22:21:05 +0900 wrote: > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi : > > > +static int uniphier_tm_initialize_sensor(struct uniphier_tm_dev *tdev) > > +{ > > + struct regmap *map = tdev->regmap; > > +

Re: [PATCH v5 1/5] mm: add vm_insert_mixed_mkwrite()

2017-07-25 Thread Jan Kara
On Tue 25-07-17 10:01:58, Christoph Hellwig wrote: > On Tue, Jul 25, 2017 at 01:14:00AM +0300, Kirill A. Shutemov wrote: > > I guess it's up to filesystem if it wants to reuse the same spot to write > > data or not. I think your assumptions works for ext4 and xfs. I wouldn't > > be that sure for

Re: USB disk speed regression WD Elements - with bisect result 22547c4cc4fe20698a6a85a55b8788859134b8e4

2017-07-25 Thread Zdenek Kabelac
Dne 24.7.2017 v 16:41 Alan Stern napsal(a): On Mon, 24 Jul 2017, Zdenek Kabelac wrote: Hi I've problem with my USB storage devices: WD Elements 1TB. (Bus 004 Device 002: ID 1058:10a8 Western Digital Technologies, Inc. Elements Portable (WDBUZG)) After kernel >4.9 when disk is attached via

[PATCH] clk: Don't write error code into divider register

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Add a check for error returned by divider value calculation to avoid writing error code into hw register. Signed-off-by: Alex Frid Reviewed-by: Peter De Schrijver Reviewed-by: Jon Mayo ---

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-25 Thread Leonard Crestez
On Mon, 2017-07-24 at 10:07 -0700, Thomas Garnier wrote: > On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier > wrote: > > > > The work pending loop can call set_fs after addr_limit_user_check > > removed the _TIF_FSCHECK flag. To prevent the infinite loop, move > > the

Re: [RFC Part1 PATCH v3 02/17] x86/CPU/AMD: Add the Secure Encrypted Virtualization CPU feature

2017-07-25 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 02:07:42PM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Update the CPU features to include identifying and reporting on the > Secure Encrypted Virtualization (SEV) feature. SME is identified by > CPUID 0x801f, but requires BIOS

Re: [PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-25 Thread Andy Shevchenko
On Tue, Jul 25, 2017 at 12:10 PM, Lee Jones wrote: > On Fri, 21 Jul 2017, Mani, Rajmohan wrote: >> > On Wed, 19 Jul 2017, Rajmohan Mani wrote: >> > > + /* Force software reset */ >> > > + ret = regmap_write(regmap, TPS68470_REG_RESET, >> > TPS68470_REG_RESET_MASK); >> > > +

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-25 Thread John Garry
On 22/07/2017 04:54, Hanjun Guo wrote: From: Hanjun Guo When running 4.13-rc1 on top of D05, I got the boot log: [0.00] SRAT: PXM 0 -> ITS 0 -> Node 0 [0.00] SRAT: PXM 0 -> ITS 1 -> Node 0 [0.00] SRAT: PXM 0 -> ITS 2 -> Node 0 [0.00]

[PATCH v4 1/5] w1: ds1wm: fix register offset (bus shift) calculation

2017-07-25 Thread Johannes Poehlmann
Replace incorrect register offsett calculation by direct configuration of bus_shift in mfd-cell. Indirect definition of address-shift by resource size was unobvious and was wrong (should have used a binary log). Signed-off-by: Johannes Poehlmann Acked-by: Evgeniy

[PATCH v3] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Wanpeng Li
Run kvm-unit-tests/eventinj.flat in L1 w/ ept=0 on both L0 and L1: Before NMI IRET test Sending NMI to self NMI isr running stack 0x461000 Sending nested NMI to self After nested NMI to self Nested NMI isr running rip=40038e After iret After NMI to self FAIL: NMI Reference SDM 31.7.1.2: If the

[PATCH v4 2/6] perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-07-25 Thread Shaokun Zhang
This patch adds support HiSilicon SoC uncore PMU driver framework and interfaces. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/Kconfig | 7

[PATCH v4 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver

2017-07-25 Thread Shaokun Zhang
This patchset adds support for HiSilicon SoC uncore PMUs driver. It includes L3C, Hydra Home Agent (HHA) and DDRC. Changes in v4: * remove redundant code and comments * reverse the functions order in exit function * remove some GPL information * revise including header file * fix Jonathan's other

[PATCH v4 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-07-25 Thread Shaokun Zhang
This patch adds documentation for the uncore PMUs on HiSilicon SoC. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- Documentation/perf/hisi-pmu.txt | 52

Re: [v3] wlcore: add missing nvs file name info for wilink8

2017-07-25 Thread Tony Lindgren
* Reizer, Eyal [170725 04:33]: > > From: Tony Lindgren [mailto:t...@atomide.com] > > Hmm so why would we ever even use this bogus nvs file? In addition to > > warning, > > I think we should just ignore the bogus nvs file completely. > > > While it looks bogus, it is still at least

Re: [PATCH] mm, memcg: reset low limit during memcg offlining

2017-07-25 Thread Michal Hocko
On Tue 25-07-17 12:40:47, Roman Gushchin wrote: > A removed memory cgroup with a defined low limit and some belonging > pagecache has very low chances to be freed. > > If a cgroup has been removed, there is likely no memory pressure inside > the cgroup, and the pagecache is protected from the

Re: [PATCH] [RESEND] gpu: ipu-v3: add DRM dependency

2017-07-25 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 1:52 PM, Philipp Zabel wrote: > On Tue, 2017-07-25 at 13:35 +0200, Arnd Bergmann wrote: >> On Tue, Jul 25, 2017 at 10:03 AM, Philipp Zabel >> wrote: >> > On Tue, 2017-07-25 at 09:33 +0200, Arnd Bergmann wrote: >> >> On Mon,

Re: [PATCH] [v2] kasan: avoid -Wmaybe-uninitialized warning

2017-07-25 Thread Andrey Ryabinin
On 07/25/2017 10:17 AM, Arnd Bergmann wrote: > On Mon, Jul 24, 2017 at 1:35 PM, Alexander Potapenko > wrote: >> On Fri, Jul 21, 2017 at 11:02 PM, Arnd Bergmann wrote: > >>> diff --git a/mm/kasan/report.c b/mm/kasan/report.c >>> index 04bb1d3eb9ec..28fb222ab149

Re: [PATCH] arm64: Convert to using %pOF instead of full_name

2017-07-25 Thread Will Deacon
[adding Luc] Hi Rob, On Tue, Jul 18, 2017 at 04:42:42PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring

Re: [PATCH 1/2] staging: net: wireless: add ESP8089 WiFi driver

2017-07-25 Thread Kalle Valo
(adding linux-wireless) Quentin Schulz writes: > Hi Marcel, > > On 21/07/2017 18:52, Marcel Holtmann wrote: >> Hi Quentin, >> > The Espressif ESP8089 WiFi chips can be often found in cheap tablets. > There is one in A23 Polaroid tablets for example.

Re: [PATCH 12/13] net: dsa: lan9303: Added "stp_enable" sysfs attribute

2017-07-25 Thread Egil Hjelmeland
On 24. juli 2017 18:55, Florian Fainelli wrote: On 07/20/2017 06:42 AM, Egil Hjelmeland wrote: Must be set to 1 by user space when STP is used on the lan9303. If bridging without local STP, leave at 0, so external STP BPDUs are forwarded. Hopefully the kernel can be improved so the driver can

Re: [PATCH 11/13] net: dsa: lan9303: Added "alr_dump" sysfs port attribute

2017-07-25 Thread Egil Hjelmeland
On 24. juli 2017 18:54, Florian Fainelli wrote: On 07/20/2017 01:49 AM, Egil Hjelmeland wrote: Added read only file /sys/class/net//lan9303/alr_dump, that output 168 first ALR entires. Currently "bridge fdb show" does not include the CPU port, while "alr_dump" list all three ports per entry.

Re: [PATCH v7 06/16] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-07-25 Thread Peter Zijlstra
On Tue, Jul 25, 2017 at 03:29:45PM +0900, Byungchul Park wrote: > _No_, as I already said. > > > (/me copy paste from older email) > > > > That gives: > > > > xhist[ 0] = A1 > > xhist[ 1] = B1 > > ... > > xhist[63] = B63 > > > > then we wrap and have: > > > >

Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-07-25 Thread Mika Westerberg
On Tue, Jul 25, 2017 at 11:11:05AM +0200, Christian Kellner wrote: > Hi Mika, > > > > I've seen this once on Alpine Ridge LP (which you have here) where the > > DROM contents of the older NVM image listed too many ports. Can you try > > if the below patch helps? > You were right. Patch works

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-25 Thread Wei Wang
On 07/24/2017 05:00 PM, Michal Hocko wrote: On Wed 19-07-17 20:01:18, Wei Wang wrote: On 07/19/2017 04:13 PM, Michal Hocko wrote: [... All you should need is the check for the page reference count, no? I assume you do some sort of pfn walk and so you should be able to get an access to the

Re: [PATCH v5 08/19] coresight tmc: Add helpers for accessing 64bit registers

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 18:11, Mathieu Poirier wrote: On 20 July 2017 at 04:17, Suzuki K Poulose wrote: Coresight TMC splits 64bit registers into a pair of 32bit registers (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. Cc: Mathieu Poirier

[PATCH v4] mtd: spi-nor: add support for GD25Q256

2017-07-25 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice. Signed-off-by: Andy Yan --- Changes in v4: - add SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB Changes in v3: - rebase on top of spi-nor tree - add SPI_NOR_4B_OPCODES flag Changes in v2: - drop one line

Re: [PATCH v4 08/12] ASoC: wm9713: add ac97 new bus support

2017-07-25 Thread Charles Keepax
On Mon, Jul 24, 2017 at 10:49:24PM +0200, Robert Jarzmik wrote: > Add support for the new ac97 bus model, where devices are automatically > discovered on AC-Links. > > Signed-off-by: Robert Jarzmik > --- Acked-by: Charles Keepax

[PATCH v2] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Wanpeng Li
Run kvm-unit-tests/eventinj.flat in L1 w/ ept=0 on both L0 and L1: Before NMI IRET test Sending NMI to self NMI isr running stack 0x461000 Sending nested NMI to self After nested NMI to self Nested NMI isr running rip=40038e After iret After NMI to self FAIL: NMI Reference SDM 31.7.1.2: If the

Re: [PATCH v2] mm: Drop useless local parameters of __register_one_node()

2017-07-25 Thread Dou Liyang
Hi Michael, At 07/25/2017 05:09 PM, Michael Ellerman wrote: Dou Liyang writes: ... initializes local parameters "p_node" & "parent" for register_node(). But, register_node() does not use them. Remove the related code of "parent" node, cleanup

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-25 Thread Michal Hocko
On Tue 25-07-17 17:32:00, Wei Wang wrote: > On 07/24/2017 05:00 PM, Michal Hocko wrote: > >On Wed 19-07-17 20:01:18, Wei Wang wrote: > >>On 07/19/2017 04:13 PM, Michal Hocko wrote: > >[... > >>>All you should need is the check for the page reference count, no? I > >>>assume you do some sort of

Re: [PATCH 00/11] ARMv8.3 pointer authentication userspace support

2017-07-25 Thread Yao Qi
On 19/07/17 17:01, Mark Rutland wrote: If authentication fails, bits are set in the pointer such that it is guaranteed to cause a fault if used. How does user space know the fault is caused by authentication fail? When GDB is debugging a program, and it failed in pointer authentication, I

RE: [v3] wlcore: add missing nvs file name info for wilink8

2017-07-25 Thread Reizer, Eyal
> -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Tuesday, July 25, 2017 1:22 PM > To: Reizer, Eyal > Cc: Kalle Valo; linux-wirel...@vger.kernel.org; linux-kernel@vger.kernel.org; > sebastian.reic...@collabora.co.uk > Subject: Re: [v3] wlcore: add missing nvs

[PATCH v2 2/2] 44x/fsp2: enable eMMC arasan for fsp2 platform

2017-07-25 Thread Ivan Mikhaylov
Add mmc0 changes for enabling arasan emmc and change defconfig appropriately. Signed-off-by: Ivan Mikhaylov --- arch/powerpc/boot/dts/fsp2.dts | 33 +- arch/powerpc/configs/44x/fsp2_defconfig |2 + 2 files changed, 21 insertions(+), 14

[PATCH v4 5/6] perf: hisi: Add support for HiSilicon SoC DDRC PMU driver

2017-07-25 Thread Shaokun Zhang
This patch adds support for DDRC PMU driver in HiSilicon SoC chip, Each DDRC has own control, counter and interrupt registers and is an separate PMU. For each DDRC PMU, it has 8-fixed-purpose counters which have been mapped to 8-events by hardware, it assumes that counter index is equal to event

[PATCH v4 4/6] perf: hisi: Add support for HiSilicon SoC HHA PMU driver

2017-07-25 Thread Shaokun Zhang
L3 cache coherence is maintained by Hydra Home Agent (HHA) in HiSilicon SoC. This patch adds support for HHA PMU driver, Each HHA has own control, counter and interrupt registers and is an separate PMU. For each HHA PMU, it has 16-programable counters and supports 0x50 events, event code is 8-bits

[PATCH v4 6/6] arm64: MAINTAINERS: hisi: Add HiSilicon SoC PMU support

2017-07-25 Thread Shaokun Zhang
Add support HiSilicon SoC uncore PMU driver. Signed-off-by: Shaokun Zhang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 205d397..649b144 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6197,6 +6197,13 @@ S:

Re: [PATCH] USB: serial: ftdi_sio: only bind FT232H if UART mode is enabled

2017-07-25 Thread Johan Hovold
On Wed, Jul 19, 2017 at 01:23:27PM +0200, Anatolij Gustschin wrote: > On Wed, 19 Jul 2017 11:03:11 +0200 > Johan Hovold jo...@kernel.org wrote: > > >On Thu, Jul 13, 2017 at 06:25:25PM +0200, Anatolij Gustschin wrote: > >> On FT232H the interface mode can be configured in the EEPROM, > >> and the

Re: [PATCH 2/7] memory: atmel-ebi: Simplify SMC config code

2017-07-25 Thread Alexander Dahl
Hello Boris, Am Montag, 24. Juli 2017, 21:21:09 schrieb Boris Brezillon: > There is a good reason for this "- 1": the doc says the exact number > of tDF cycles is TDF_CYCLES + 1. When you are expressing timings in > ns it does matter, because you don't want to wait more than > necessary. Say the

Re: [PATCH 2/3] lib/int_sqrt: Optimize initial value compute

2017-07-25 Thread Will Deacon
Hi Peter, On Mon, Jul 24, 2017 at 05:16:32PM +0200, Peter Zijlstra wrote: > The initial value (@m) compute is: > > m = 1UL << (BITS_PER_LONG - 2); > while (m > x) > m >>= 2; > > Which is a linear search for the highest even bit smaller or equal to @x > We can implement

[PATCH 2/3] memory: atmel-ebi: Allow t_DF timings of zero ns

2017-07-25 Thread Alexander Dahl
As reported in [1] and in [2] it's not possible to set the device tree property 'atmel,smc-tdf-ns' to zero, although the SoC allows a setting of 0ns for the t_DF time. Allow this setting by doing the same thing as in the atmel nand controller driver by setting ncycles to ATMEL_SMC_MODE_TDF_MIN if

[PATCH 0/3] memory: atmel-ebi: Fix setting EBI timings through dts

2017-07-25 Thread Alexander Dahl
Hello, this small patch series based on v4.13-rc2 fixes three things I found when trying to run the latest rc on an at91samg20 based platform with a SRAM like memory connected to the EBI interface, for which the timings should be set through dts. For all register settings of interest I checked

[PATCH 3/3] memory: atmel-ebi: Fix smc cycle xlate converter

2017-07-25 Thread Alexander Dahl
The converter function for translating ns timings in register values was initialized with a wrong function pointer. This resulted in wrong register values also for the setup and pulse registers when configuring the EBI interface trough dts. Includes a small fix in a comment of the smc driver,

Re: [PATCH v2 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-07-25 Thread Jonathan Cameron
On Mon, 24 Jul 2017 16:44:51 +0100 Suzuki K Poulose wrote: > Hi Jonathan, > > > On 24/07/17 15:50, Jonathan Cameron wrote: > > On Mon, 24 Jul 2017 11:29:21 +0100 > > Suzuki K Poulose wrote: > > > >> Add support for the Cluster PMU part of the

Re: [PATCH] efifb: allow user to disable write combined mapping.

2017-07-25 Thread Bartlomiej Zolnierkiewicz
On Tuesday, July 25, 2017 02:00:00 PM Dave Airlie wrote: > On 19 July 2017 at 00:34, Peter Jones wrote: > > On Tue, Jul 18, 2017 at 04:09:09PM +1000, Dave Airlie wrote: > >> This patch allows the user to disable write combined mapping > >> of the efifb framebuffer console using

Re: [PATCH 3/3] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

2017-07-25 Thread Matthias Brugger
On 07/21/2017 05:57 AM, sean.w...@mediatek.com wrote: From: Chen Zhong Add SCPSYS power domain driver for MT7622 SoC having four power domains which are respectively ETHSYS for Ethernet including embedded switch, WBSYS for WIFI and Bluetooth, HIF0SYS for PCI-E and

Re: [PATCH] ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq

2017-07-25 Thread Tony Lindgren
* Tony Lindgren [170725 00:11]: > * Grygorii Strashko [170724 15:17]: > > My personal thought here is that removing of pm_runtime_set_active() will > > not fix > > root cause of the problem, but rather hide it :( and, probably, real fix > > will be

Re: [PATCH] ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq

2017-07-25 Thread Tony Lindgren
* Johan Hovold [170724 02:53]: > Since commit a8636c89648a ("PM / Runtime: Don't allow to suspend a > device with an active child"), which went into 4.10, it is no longer > permitted to set RPM_SUSPENDED state for a device with active children > (unless power.ignore_children is

Re: [PATCHv2 08/10] x86/mm: Replace compile-time checks for 5-level with runtime-time

2017-07-25 Thread Kirill A. Shutemov
On Tue, Jul 18, 2017 at 04:24:06PM +0200, Juergen Gross wrote: > Xen PV guests will never run with 5-level-paging enabled. So I guess you > can drop the complete if (IS_ENABLED(CONFIG_X86_5LEVEL)) {} block. There is more code to drop from mmu_pv.c. But while there, I thought if with boot-time

[PATCH 0/5] thermal: rockchip: add tsadc support in thermal driver and IPA thermal control for rk3328 in dts

2017-07-25 Thread Rocky Hao
This series patches add the tsadc support in thermal driver and in devicetree for rk3328. Also add thermal control with Intelligent Power Allocation (IPA) policy by default. Please refer to https://developer.arm.com/open-source/intelligent-power-allocation for more information about IPA.

[PATCH 3/5] arm64: dts: rockchip: add tsadc node for rk3328 SoC

2017-07-25 Thread Rocky Hao
add tsadc needed main information for rk3328 SoC. 5Hz is the max clock rate supported by tsadc module. Change-Id: I2429c24edccd4c797e2f4577151be76372adfbe5 Signed-off-by: Rocky Hao --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 20 1 file

[PATCH 4/5] arm64: dts: rockchip: add thermal nodes for rk3328 SoC

2017-07-25 Thread Rocky Hao
add thermal zone and dynamic CPU power coefficients for rk3328 Change-Id: I227468506c0b978a0fd4dd9596631e026743910e Signed-off-by: Rocky Hao --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 43 1 file changed, 43 insertions(+) diff --git

[PATCH 2/5] thermal: rockchip: Support the RK3328 SOC in thermal driver

2017-07-25 Thread Rocky Hao
RK3328 SOC has one Temperature Sensor for CPU. Change-Id: I176c76bae1801d815a513986cfefcb55272c69a8 Signed-off-by: Rocky Hao --- drivers/thermal/rockchip_thermal.c | 65 ++ 1 file changed, 65 insertions(+) diff --git

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 17:42, Sudeep Holla wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible"

[PATCH v2] MIPS: PCI: Fix smp_processor_id() in preemptible

2017-07-25 Thread Matt Redfearn
Commit 1c3c5eab1715 ("sched/core: Enable might_sleep() and smp_processor_id() checks early") enables checks for might_sleep() and smp_processor_id() being used in preemptible code earlier in the boot than before. This results in a new BUG from pcibios_set_cache_line_size(). BUG: using

Re: [PATCH v5 00/19] coresight: Support for ARM Coresight SoC-600

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 18:15, Mathieu Poirier wrote: On 20 July 2017 at 04:17, Suzuki K Poulose wrote: This series adds support for ARM Coresight SoC-600 IP, which implements Coresight V3 architecture. It also does some clean up of the replicator driver namings used in the driver

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-25 Thread Charles Keepax
On Tue, Jul 25, 2017 at 04:00:01PM +0800, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current inputs

Re: [RFC][PATCH] thunderbolt: icm: Ignore mailbox errors in icm_suspend()

2017-07-25 Thread Mika Westerberg
On Tue, Jul 25, 2017 at 01:31:00AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > On one of my test machines nhi_mailbox_cmd() called from icm_suspend() > times out and returnes an error which then is propagated to the > caller and causes the entire

Re: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Andy Shevchenko
On Tue, 2017-07-25 at 10:25 +, Winkler, Tomas wrote: > > > > On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > > > From: Andy Shevchenko > > > > > > There are new types and helpers that are supposed to be used in > > > new > > > code. > > > > > >

[PATCH 05/14] clk: tegra: Init cfg structure in _get_pll_mnp

2017-07-25 Thread Peter De Schrijver
Not all fields are read from the hw depending on the PLL type. Make sure the other fields are 0 by clearing the structure beforehand to prevent users such as the rate re-calculation code from using bogus values. Based on work by Alex Frid Signed-off-by: Peter De Schrijver

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-25 Thread Russell King - ARM Linux
On Tue, Jul 25, 2017 at 01:28:01PM +0300, Leonard Crestez wrote: > On Mon, 2017-07-24 at 10:07 -0700, Thomas Garnier wrote: > > On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier > > wrote: > > > > > > The work pending loop can call set_fs after addr_limit_user_check > > >

[PATCH] f2fs: support journelled quota

2017-07-25 Thread Chao Yu
This patch supports to enable f2fs to accept quota information through mount option: - {usr,grp,prj}jquota= - jqfmt= Then, in ->mount flow, we can recover quota file during log replaying, by this, journelled quota can be supported. Signed-off-by: Chao Yu ---

[PATCH 09/14] clk: tegra: don't warn for pll_d2 defaults unnecessarily

2017-07-25 Thread Peter De Schrijver
If the PLL is on, only warn if the defaults are not yet set. Otherwise be silent. Signed-off-by: Peter De Schrijver Reviewed-by: Timo Alho --- drivers/clk/tegra/clk-tegra210.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 07/14] clk: tegra: Add TEGRA_PERIPH_ON_APB flag to I2C

2017-07-25 Thread Peter De Schrijver
From: Alex Frid I2C controllers are also on the APB bus and therefor need this flag to handle resets correctly. Signed-off-by: Alex Frid Reviewed-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra-periph.c | 3 ++- 1 file

[PATCH 03/14] clk: tegra: disable SSC for PLL_D2

2017-07-25 Thread Peter De Schrijver
PLLD2 is used for HDMI which does not allowe Spread Spectrum clocking. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra210.c

[PATCH 06/14] clk: tegra: Fix T210 effective NDIV calculation

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Don't take the fractional part into account to calculate the effective NDIV if fractional ndiv is not enabled. Signed-off-by: Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 9

[PATCH 02/14] clk: tegra: Enable PLL_SS for Tegra210

2017-07-25 Thread Peter De Schrijver
Make sure the pll_ss ops are compiled even when only building for Tegra210. Signed-off-by: Peter De Schrijver Reviewed-by: Shreshtha Sahu Tested-by: Shreshtha Sahu Reviewed-by: Jon Mayo ---

[PATCH 08/14] clk: tegra: change post IDDQ release delay to 5us

2017-07-25 Thread Peter De Schrijver
Increase delay after PLL IDDQ release to 5us per PLL specifications. based on work by Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Paolo Bonzini
On 25/07/2017 12:40, Wanpeng Li wrote: > Commit 4c4a6f790ee862 (KVM: nVMX: track NMI blocking state separately for > each VMCS) > tracks NMI blocking state separately for vmcs01 and vmcs02. However it is not > enough: > > - The L2 (kvm-unit-tests/eventinj.flat) generates NMI that will fault on

RE: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Winkler, Tomas
> > On Tue, 2017-07-25 at 10:25 +, Winkler, Tomas wrote: > > > > > > On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > > > > From: Andy Shevchenko > > > > > > > > There are new types and helpers that are supposed to be used in > > > > new code. > >

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-07-25 Thread Thierry Reding
On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc:

Re: [PATCH 1/3] mfd: Add support for FTDI FT232H devices

2017-07-25 Thread Johan Hovold
On Wed, Jul 19, 2017 at 01:58:30PM +0200, Anatolij Gustschin wrote: > On Mon, 10 Jul 2017 14:52:10 +0200 > Johan Hovold jo...@kernel.org wrote: > > >On Thu, Jul 06, 2017 at 10:49:16PM +0200, Anatolij Gustschin wrote: > >> Add USB part with common functions for USB-GPIO/I2C/SPI master > >>

Re: [PATCH] drm/amdgpu: fix spelling mistake: "suuport"-> "support"

2017-07-25 Thread Christian König
Am 25.07.2017 um 00:45 schrieb Colin King: From: Colin Ian King Trivial fix to spelling mistake in WARN_ONCE message Signed-off-by: Colin Ian King Reviewed-by: Christian König ---

[PATCH RFC] tty: don't force !TTYB_NORMAL flip buffers if not required

2017-07-25 Thread Jeremy Kerr
In change acc0f67f30, we introduced flip buffers that skipped allocation of the flags buffer for characters received with TTY_NORMAL flags. However, the slow path of tty_insert_flip_char() calls tty_insert_flip_string_flags() (providing a flag buffer pointer), which forces the buffer code to

Re: [PATCH 02/37] binder: use group leader instead of open thread

2017-07-25 Thread Martijn Coenen
Hi John, On Mon, Jul 24, 2017 at 11:07 PM, John Stultz wrote: > > 12-31 16:00:36.632 2518 2584 E hw-ProcessState: Using /dev/hwbinder > failed: unable to mmap transaction memory. This doesn't look right. Is there anything in the kernel log? > 12-31 16:00:36.632 2518

Re: [PATCH 2/4] ACPI: Make acpi_dev_get_resources() method agnostic

2017-07-25 Thread Lorenzo Pieralisi
On Sat, Jul 22, 2017 at 12:05:39AM +0200, Rafael J. Wysocki wrote: > On Thursday, July 20, 2017 03:45:14 PM Lorenzo Pieralisi wrote: > > The function acpi_dev_get_resources() is completely generic and > > can be used to parse resource objects that are not necessarily > > coming from the _CRS

vbox_hgsmi.c:undefined reference to `gen_pool_dma_alloc'

2017-07-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 commit: dd55d44f408419278c00887bfcb2261d0caae350 staging: vboxvideo: Add vboxvideo to drivers/staging date: 8 days ago config: x86_64-randconfig-s4-07251602

Re: [PATCH v2 2/2] dt-bindings: mfd: Add bindings for ZII RAVE devices

2017-07-25 Thread Lee Jones
On Thu, 20 Jul 2017, Andrey Smirnov wrote: > On Thu, Jul 20, 2017 at 2:04 AM, Lee Jones wrote: > > Where is patch 1? > > > > lkml.kernel.org/r/20170718175604.11735-2-andrew.smir...@gmail.com > > I dropped you from CC list to spare you the e-mail traffic, but I can > add

[PATCH] arm64: dts: rockchip: Add rk3328 io-domain node

2017-07-25 Thread David Wu
Signed-off-by: David Wu --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 7e69f1f..cf34529 100644 ---

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-25 Thread Marc Zyngier
On 22/07/17 04:54, Hanjun Guo wrote: > From: Hanjun Guo > > When running 4.13-rc1 on top of D05, I got the boot log: > > [0.00] SRAT: PXM 0 -> ITS 0 -> Node 0 > [0.00] SRAT: PXM 0 -> ITS 1 -> Node 0 > [0.00] SRAT: PXM 0 -> ITS 2 -> Node 0 > [

Re: [lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-25 Thread Hans Liljestrand
On Mon, Jul 24, 2017 at 08:21:16PM -0700, Kees Cook wrote: On Mon, Jul 24, 2017 at 6:03 AM, Hans Liljestrand wrote: On Sun, Jul 23, 2017 at 08:52:53PM -0700, Kees Cook wrote: Is 14afee4b6092f ("net: convert sock.sk_wmem_alloc from atomic_t to refcount_t") correct?

Re: [PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug

2017-07-25 Thread Michael Ellerman
Nicholas Piggin writes: ... > I wonder if we should think about a more structured kernel API for > modifying these kind of system registers so we always have the > up-to-date values stored in memory. Many of them do need to be > restored after sleep, but they don't need to be

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-25 Thread Lorenzo Pieralisi
On Sat, Jul 22, 2017 at 11:54:12AM +0800, Hanjun Guo wrote: > From: Hanjun Guo > > When running 4.13-rc1 on top of D05, I got the boot log: Nit: You should stick to what the problem is and why you need to solve it, "Fixes:" tag gives the commit history you need, the rest

Re: ARM64 board Hikey960 boot failure due to f2545b2d4ce1 (jump_label: Reorder hotplug lock and jump_label_lock)

2017-07-25 Thread Robin Murphy
On 24/07/17 15:34, Leo Yan wrote: > Hi all, > > We found the mainline arm64 kernel boot failure on Hikey960 board, > this is caused by patch f2545b2d4ce1 (jump_label: Reorder hotplug lock > and jump_label_lock), this patch adds locking cpus_read_lock() in > function static_key_slow_inc() and

Re: [PATCH v2] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Wanpeng Li
2017-07-25 18:55 GMT+08:00 Paolo Bonzini : > On 25/07/2017 12:40, Wanpeng Li wrote: >> Commit 4c4a6f790ee862 (KVM: nVMX: track NMI blocking state separately for >> each VMCS) >> tracks NMI blocking state separately for vmcs01 and vmcs02. However it is >> not enough: >> >> -

Re: [PATCH v1] pwm : pwm-vt8500 - Undo preparation of a clock source.

2017-07-25 Thread Thierry Reding
On Fri, May 05, 2017 at 01:30:14PM +0530, Arvind Yadav wrote: > Undo preparation of a clock source, if vt8500_pwm_probe is not > successful. > > Signed-off-by: Arvind Yadav > --- > drivers/pwm/pwm-vt8500.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks.

Re: [PATCH] [RESEND] gpu: ipu-v3: add DRM dependency

2017-07-25 Thread Philipp Zabel
On Tue, 2017-07-25 at 13:35 +0200, Arnd Bergmann wrote: > On Tue, Jul 25, 2017 at 10:03 AM, Philipp Zabel > wrote: > > On Tue, 2017-07-25 at 09:33 +0200, Arnd Bergmann wrote: > >> On Mon, Jul 24, 2017 at 10:05 AM, Philipp Zabel > >> wrote: > >> >

Re: [PATCH 1/3] mfd: Add support for FTDI FT232H devices

2017-07-25 Thread Johan Hovold
On Wed, Jul 19, 2017 at 02:59:00PM +0200, Anatolij Gustschin wrote: > On Wed, 19 Jul 2017 10:59:34 +0200 > Johan Hovold jo...@kernel.org wrote: > >> And as David Laight already pointed out, your ftdi-fifo-fpp-mgr driver > >> seems too application specific for a generic chip like this. > > > >Of

Re: [PATCH] ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq

2017-07-25 Thread Johan Hovold
On Mon, Jul 24, 2017 at 05:16:02PM -0500, Grygorii Strashko wrote: > On 07/24/2017 04:52 AM, Johan Hovold wrote: > > Since commit a8636c89648a ("PM / Runtime: Don't allow to suspend a > > device with an active child"), which went into 4.10, it is no longer > > permitted to set RPM_SUSPENDED state

Re: [zram] ltp inspired explosion - master v4.13-rc1-3-g87b2c3fc6317

2017-07-25 Thread Mike Galbraith
On Tue, 2017-07-25 at 15:26 +0900, Minchan Kim wrote: > Hi, > > On Mon, Jul 24, 2017 at 08:17:01PM +0200, Mike Galbraith wrote: > > Now bisected and verified via revert, the culprit is: > > > > cf8e0fedf078 mm/zsmalloc: simplify zs_max_alloc_size handling > > > > Reproducer:

Re: v4.13-rc2: usb mouse stopped working?

2017-07-25 Thread Mikael Pettersson
Jiri Kosina writes: > On Mon, 24 Jul 2017, Pavel Machek wrote: > > > On thinkpad x220, USB mouse stopped working in v4.13-rc2. v4.12 was > > ok, iirc. > > > > Now, USB mouse is so common hw that I may have something wrong in my > > config...? But I did not change anything there. > >

v4.12: register_dcache lockdep problem on boot

2017-07-25 Thread Pavel Machek
Hi! I get this one during boot... Pavel [0.00] Linux version 4.12.0+ (pavel@duo) (gcc version 4.9.2 (Debian 4.9.2-10) ) #411 SMP Tue Jul 25 09:04:04 CEST 2017 [0.00] Disabled fast string operations [0.00]

Re: [PATCH 3/3] ARM: dts: omap4-droid4: add soundcard

2017-07-25 Thread Sebastian Reichel
Hi, On Mon, Jul 24, 2017 at 09:19:54PM +0200, Pavel Machek wrote: > On Mon 2017-07-10 13:26:02, Mark Brown wrote: > > On Fri, Jul 07, 2017 at 06:42:29PM +0200, Sebastian Reichel wrote: > > > > > + soundcard { > > > + compatible = "simple-audio-card"; > > > +

Re: [PATCH v2 5/5] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

2017-07-25 Thread Caesar Wang
Hi Heiko, Thanks your comments. 在 2017年07月23日 05:48, Heiko Stuebner 写道: Hi Caesar, Am Montag, 17. Juli 2017, 16:14:31 CEST schrieb Caesar Wang: As RK3399 had used the Power allocator thermal governor by default, enabled this to manage thermals by dynamically allocating and limiting power to

  1   2   3   4   5   6   7   8   9   10   >