Re: [PATCH v3 1/4] mfd: stmpe: Move ADC related defines to header of mfd

2018-11-28 Thread Lee Jones
On Fri, 23 Nov 2018, Philippe Schenker wrote: > Move defines that are ADC related to the header of the overlying mfd, > so they can be used from multiple sub-devices. > > Signed-off-by: Philippe Schenker > --- > > Changes in v3: > - None > > Changes in v2: > - This is a new added commit.

Re: [PATCH] clk: tegra: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-28 Thread Thierry Reding
On Fri, Nov 23, 2018 at 10:01:04AM -0500, Yangtao Li wrote: > Use macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > drivers/clk/tegra/clk-dfll.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) Acked-by: Thierry Reding signature.asc Description: PGP

Re: [PATCH 02/14] regulator: axp20x: name voltage ramping define properly

2018-11-28 Thread Lee Jones
On Mon, 26 Nov 2018, Priit Laes wrote: > From: Olliver Schinagl > > The current axp20x names the ramping register 'scal' which probably > means scaling. Since the register really has nothing to do with > scaling, but really is the voltage ramp we rename it appropriately. > > Signed-off-by:

Re: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Alexandre Belloni
On 28/11/2018 09:21:56+, Anson Huang wrote: > > > This module is NOT depending on any board design, should it be enabled by > > default in soc dtsi? > > > Like wdog etc.. > > > > > > > I guess the point is that you may not want it enabled, even if it should > > always > > be working.

Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular

2018-11-28 Thread Lee Jones
On Fri, 23 Nov 2018, Paul Gortmaker wrote: > [Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On > 22/11/2018 (Thu 22:14) Paul Gortmaker wrote: > > > [Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On > > 23/11/2018 (Fri 10:21) kbuild test robot wrote:

[PATCH v3 2/2] kernel/sysctl: Add panic_print into sysctl

2018-11-28 Thread Feng Tang
So that we can also runtime chose to print out the needed system info for panic, other than setting the kernel cmdline. Suggested-by: Steven Rostedt Signed-off-by: Feng Tang Cc: Thomas Gleixner Cc: John Stultz Cc: Ingo Molnar Cc: Peter Zijlstra --- Documentation/sysctl/kernel.txt | 17

[PATCH v3 0/2] panic: Add options to dump system info on panic

2018-11-28 Thread Feng Tang
Kernel panic issues are always painful to debug, partially because it's not easy to get enough information of the context when panic happens. And we have ramoops and kdump for that, while this commit tries to provide a easier way to show the system info by adding a cmdline parameter, referring

[PATCH] ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer

2018-11-28 Thread Brian Masney
This patch correctly sets the gpios property for the ak8963 magnetometer's DRDY pin so that interrupts work properly. Signed-off-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v3 1/2] panic: Add options to print system info when panic happens

2018-11-28 Thread Feng Tang
Kernel panic issues are always painful to debug, partially because it's not easy to get enough information of the context when panic happens. And we have ramoops and kdump for that, while this commit tries to provide a easier way to show the system info by adding a cmdline parameter, referring

Re: [PATCH v7 2/2] sched/fair: update scale invariance of PELT

2018-11-28 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 10:54:13AM +0100, Vincent Guittot wrote: > Is there anything else that I should do for these patches ? IIRC, Morten mention they break util_est; Patrick was going to explain. But yes, I like them.

RE: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@bootlin.com] > Sent: 2018年11月28日 17:58 > To: Anson Huang > Cc: Lothar Wa��mann ; a.zu...@towertech.it; > robh...@kernel.org; mark.rutl...@arm.com; catalin.mari...@arm.com; >

Re: [PATCH] Small typo fix

2018-11-28 Thread David Hildenbrand
On 27.11.18 22:04, Emre Ates wrote: > --- > mm/vmstat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/vmstat.c b/mm/vmstat.c > index 9c624595e904..cc7d04928c2e 100644 > --- a/mm/vmstat.c > +++ b/mm/vmstat.c > @@ -1106,7 +1106,7 @@ int fragmentation_index(struct zone

Re: [PATCH 14/15] ARM: dts: sun8i: r40: Add RTC device node

2018-11-28 Thread Maxime Ripard
On Wed, Nov 28, 2018 at 05:30:12PM +0800, Chen-Yu Tsai wrote: > The R40 has an RTC hardware block, which has additional registers > that are not related to RTC or clock functions, and is otherwise > compatible with the H3's RTC. > > Add a device node for it, and fix up any references to the LOSC.

Re: [PATCH 15/15] arm64: dts: allwinner: a64: Fix up RTC device node and clock references

2018-11-28 Thread Maxime Ripard
On Wed, Nov 28, 2018 at 05:30:13PM +0800, Chen-Yu Tsai wrote: > The RTC module on the A64 was claimed to be the same as on the A31, when > in fact it is not. It is actually compatible to the H3's RTC. The A64's > RTC has some extra crypto-related registers which the H3's does not, but > the exact

Re: [PATCH v2 1/4] x86/hyper-v: move synic/stimer control structures definitions to hyperv-tlfs.h

2018-11-28 Thread Vitaly Kuznetsov
Nadav Amit writes: > > On a different note: how come all of the hyper-v structs are not marked > with the “packed" attribute? "packed" should not be needed with proper padding; I vaguely remember someone (from x86@?) arguing _against_ "packed". -- Vitaly

[PATCH 2/3] kvm: rename last argument to kvm_get_dirty_log_protect

2018-11-28 Thread Paolo Bonzini
When manual dirty log reprotect will be enabled, kvm_get_dirty_log_protect's pointer argument will always be false on exit, because no TLB flush is needed until the manual re-protection operation. Rename it from "is_dirty" to "flush", which more accurately tells the caller what they have to do

[PATCH 3/3] kvm: introduce manual dirty log reprotect

2018-11-28 Thread Paolo Bonzini
There are two problems with KVM_GET_DIRTY_LOG. First, and less important, it can take kvm->mmu_lock for an extended period of time. Second, its user can actually see many false positives in some cases. The latter is due to a benign race like this: 1. KVM_GET_DIRTY_LOG returns a set of dirty

[PATCH 1/3] kvm: make KVM_CAP_ENABLE_CAP_VM architecture agnostic

2018-11-28 Thread Paolo Bonzini
The first such capability to be handled in virt/kvm/ will be manual dirty page reprotection. Reviewed-by: Cornelia Huck Signed-off-by: Paolo Bonzini --- Documentation/virtual/kvm/api.txt | 13 + arch/powerpc/kvm/powerpc.c| 14 ++ arch/s390/kvm/kvm-s390.c

[PATCH v2 0/3] kvm: split retrieval and clearing of dirty log

2018-11-28 Thread Paolo Bonzini
There are two problems with KVM_GET_DIRTY_LOG. First, and less important, it can take kvm->mmu_lock for an extended period of time. Second, its user can actually see many false positives in some cases. The latter is due to a benign race like this: 1. KVM_GET_DIRTY_LOG returns a set of dirty

Re: [PATCH v3 3/4] iio: adc: add STMPE ADC devicetree bindings

2018-11-28 Thread Lee Jones
On Fri, 23 Nov 2018, Philippe Schenker wrote: > From: Stefan Agner > > This adds the devicetree bindings for the STMPE ADC. > > Signed-off-by: Stefan Agner > Signed-off-by: Max Krummenacher > Signed-off-by: Philippe Schenker > --- > > Changes in v3: > - Reformatted documentation for

Re: [PATCH 0/2] arm64: Only call into preempt_schedule() if need_resched()

2018-11-28 Thread Peter Zijlstra
On Wed, Nov 28, 2018 at 09:56:40AM +0100, Peter Zijlstra wrote: > On Tue, Nov 27, 2018 at 07:45:00PM +, Will Deacon wrote: > > Hi all, > > > > This pair of patches improves our preempt_enable() implementation slightly > > on arm64 by making the resulting call to preempt_schedule() conditional

Re: [PATCH 1/2] mfd: ti_am335x_tscadc: Provide unique name for child mfd cells

2018-11-28 Thread Lee Jones
On Mon, 19 Nov 2018, Vignesh R wrote: > Provide unique names for child mfd cells, this is required in order to > support registering of multiple instances of same ti_am335x_tscadc IP. I don't think it is. What is the error you are receiving? > Signed-off-by: Vignesh R > --- >

drivers/acpi/.tmp_acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16

2018-11-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ef78e5ec9214376c5cb989f5da70b02d0c117b66 commit: 10e9ae9fabaf96c8e5227c1cd4827d58b3aa406d gcc-plugins: Add STACKLEAK plugin for tracking the kernel stack date: 3 months ago config:

Re: [PATCH v1 2/3] clk: tegra: ignore unused vfir clock shared with uartb

2018-11-28 Thread Thierry Reding
On Thu, Nov 01, 2018 at 10:41:52AM +0200, Peter De Schrijver wrote: > On Thu, Nov 01, 2018 at 02:52:29AM +0100, Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > > As UARTB and VFIR share their clock enable bit it is rather unwise for > > the kernel to turn off the VFIR one should that be

[GIT PULL] atomic regeneration (was "[PATCHv2] locking/atomics: build atomic headers as required")

2018-11-28 Thread Mark Rutland
Hi Ingo, Peter suggested you'd prefer a pull request for the atomic scripting rework, so hopefully this is sufficient. :) The rework means that the atomics are now rebuilt as-required. The headers are built in parallel, along with other early build steps, so this isn't as noticeable on a

[RESEND PATCH] mfd: wm5110: Add missing ASRC rate register

2018-11-28 Thread Charles Keepax
Signed-off-by: Charles Keepax --- drivers/mfd/wm5110-tables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index 1ee68bd440fb..16c6e2accfaa 100644 --- a/drivers/mfd/wm5110-tables.c +++ b/drivers/mfd/wm5110-tables.c @@ -1618,6

Re: [PATCH v3 1/3] thermal: tegra: remove unnecessary warnings

2018-11-28 Thread Thierry Reding
On Wed, Nov 28, 2018 at 01:44:35PM +0800, Wei Ni wrote: > Convert warnings to info as not all platforms may > have all the thresholds and sensors enabled. > > Signed-off-by: Wei Ni > --- > drivers/thermal/tegra/soctherm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) If these

Re: [PATCH] mtd: nand: spi: Add initial support for Toshiba TC58CVG2S0H

2018-11-28 Thread Schrempf Frieder
Hi Clément, On 27.11.18 18:02, Clément Péron wrote: > Hi Frieder, > > On Tue, 27 Nov 2018 at 17:42, Schrempf Frieder > wrote: >> >> Hi Clément, >> >> On 27.11.18 16:18, Clément Péron wrote: >>> Hi Frieder, >>> >>> On Tue, 27 Nov 2018 at 16:08, Schrempf Frieder >>> wrote: +Clément

[no subject]

2018-11-28 Thread Jessica
Dzień dobry, miło cię poznać, proszę, napisz do mnie, mam coś, co chcę z tobą omówić dzięki

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-28 Thread Dr. Greg
On Tue, Nov 27, 2018 at 09:55:45AM -0800, Andy Lutomirski wrote: > > On Nov 27, 2018, at 8:41 AM, Jarkko Sakkinen > > wrote: > > > >> On Tue, Nov 27, 2018 at 02:55:33AM -0600, Dr. Greg wrote: > >> Since the thread has become a bit divergent I wanted to note that we > >> have offered a proposal

[PATCH v4 15/15] iio: inv_mpu6050: Use i2c_acpi_get_i2c_resource() helper

2018-11-28 Thread Andy Shevchenko
ACPI provides a generic helper to get I2C Serial Bus resources. Use it instead of open coded variant. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH v4 08/15] i2c: acpi: Use ACPI_FAILURE instead of !ACPI_SUCCESS

2018-11-28 Thread Andy Shevchenko
Convert to use ACPI_FAILURE instead of !ACPI_SUCCESS. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede Acked-by: Mika Westerberg --- drivers/i2c/i2c-core-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core-acpi.c

[PATCH v4 02/15] platform/x86: intel_cht_int33fe: Remove duplicate NULL check

2018-11-28 Thread Andy Shevchenko
Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede --- drivers/platform/x86/intel_cht_int33fe.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 1/2] mfd: ti_am335x_tscadc: Provide unique name for child mfd cells

2018-11-28 Thread Vignesh R
On 28/11/18 4:33 PM, Lee Jones wrote: > On Wed, 28 Nov 2018, Vignesh R wrote: > >> Hi, >> >> On 28/11/18 2:37 PM, Lee Jones wrote: >>> On Mon, 19 Nov 2018, Vignesh R wrote: >>> Provide unique names for child mfd cells, this is required in order to support registering of multiple

Re: [PATCH V5 1/2] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-28 Thread Juri Lelli
Hi Daniel, On 27/11/18 14:24, Daniel Lezcano wrote: > The mutex protects a per_cpu variable access. The potential race can > happen only when the cpufreq governor module is loaded and at the same > time the cpu capacity is changed in the sysfs. > > There is no real interest of using a mutex to

Re: [PATCH v2 1/3] reset: imx7: Add plubming to support multiple IP variants

2018-11-28 Thread kbuild test robot
-ci/linux/commits/Andrey-Smirnov/Reset-controller-support-for-i-MX8MQ/20181128-143936 base: git://git.pengutronix.de/git/pza/linux reset/next config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel

Re: [PATCH] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2018-11-28 Thread Vokáč Michal
On 28.11.2018 03:39, Shawn Guo wrote: > On Thu, Nov 01, 2018 at 03:43:26PM +, Vokáč Michal wrote: > ... >> + { >> +pinctrl-names = "default"; >> +pinctrl-0 = <_usdhc3>; >> +bus-width = <4>; >> +cd-gpios = < 8 GPIO_ACTIVE_LOW>; >> +wp-gpios = < 22 GPIO_ACTIVE_HIGH>; >> +

Re: [PATCH] ARM: dts: imx6sll-evk: add debug LED support

2018-11-28 Thread Shawn Guo
On Wed, Nov 21, 2018 at 07:03:44AM +, Anson Huang wrote: > On i.MX6SLL EVK board, there is a debug LED controlled > by MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 pin, add support > for it. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH v3 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-28 Thread Shawn Guo
On Sun, Nov 25, 2018 at 08:20:25PM -0200, Otavio Salvador wrote: > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > selected by ARM EABI (AEBI) support. This is done in preparation to making > further changes to this defconfig cleaner. > > Reviewed-by: Fabio Estevam >

RE: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Anson Huang
Hi, Lothar Best Regards! Anson Huang > -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: 2018年11月28日 17:04 > To: Anson Huang > Cc: a.zu...@towertech.it; alexandre.bell...@bootlin.com; > robh...@kernel.org; mark.rutl...@arm.com; catalin.mari...@arm.com;

Re: [PATCH v1 1/3] clk: tegra: get rid of duplicate defines

2018-11-28 Thread Thierry Reding
On Thu, Nov 01, 2018 at 02:52:28AM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Get rid of 3 duplicate defines. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/clk/tegra/clk-tegra-periph.c | 3 --- > 1 file changed, 3 deletions(-) Acked-by: Thierry Reding

Re: [PATCH 11/14] mfd: axp20x: Clean up included headers

2018-11-28 Thread Lee Jones
On Mon, 26 Nov 2018, Priit Laes wrote: > From: Olliver Schinagl > > Add the bitops.h header as we need it, alphabetize header order. > > Signed-off-by: Olliver Schinagl > Signed-off-by: Priit Laes > --- > drivers/mfd/axp20x.c | 11 ++- > 1 file changed, 6 insertions(+), 5

Re: [PATCH 12/14] mfd: axp20x: use explicit bit defines

2018-11-28 Thread Lee Jones
On Mon, 26 Nov 2018, Priit Laes wrote: > From: Olliver Schinagl > > The AXP20X_OFF define is an actual specific bit, define it as such. > > Signed-off-by: Olliver Schinagl > Signed-off-by: Priit Laes > --- > drivers/mfd/axp20x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) For

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-11-28 Thread Lee Jones
On Tue, 27 Nov 2018, Cheng-Yi Chiang wrote: > Add EC host commands to control codec on EC. > > Signed-off-by: Cheng-Yi Chiang > --- > include/linux/mfd/cros_ec_commands.h | 94 > 1 file changed, 94 insertions(+) Applied, thanks. -- Lee Jones [李琼斯] Linaro

Re: [PATCH 09/14] regulator: dts: add full voltage range to LDO4 on the Lime2

2018-11-28 Thread Maxime Ripard
On Tue, Nov 27, 2018 at 10:38:52AM +0100, Maxime Ripard wrote: > On Mon, Nov 26, 2018 at 05:27:50PM +0200, Priit Laes wrote: > > From: Olliver Schinagl > > > > With commit b43776d65a33b46092 ("ARM: dts: sunxi: Use axp209.dtsi for > > Olinuxino Lime2") we force them an arbitrary 2.8 volts.

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-28 Thread Andrey Jr. Melnikov
In gmane.comp.file-systems.ext4 Theodore Y. Ts'o wrote: > On Wed, Nov 28, 2018 at 03:16:33AM +0300, Andrey Jr. Melnikov wrote: > > Corrupted inodes - always directory, not touched at least year or > > more for writing. Something wrong when updating atime? > We're not sure. The frustrating thing

Re: [PATCH v3 3/3] thermal: tegra: parse sensor id before sensor register

2018-11-28 Thread Thierry Reding
On Wed, Nov 28, 2018 at 01:44:37PM +0800, Wei Ni wrote: > Since different platforms may not support all 4 > sensors, so the sensor registration may be failed. > Add codes to parse dt to find sensor id which > need to be registered. So that the registration > can be successful on all platform. > >

Re: [RESEND PATCH] mfd: wm5110: Add missing ASRC rate register

2018-11-28 Thread Lee Jones
On Wed, 28 Nov 2018, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > drivers/mfd/wm5110-tables.c | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook |

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-28 Thread Leonard Crestez
On 11/27/18 11:15 PM, Andrey Smirnov wrote: > On Tue, Nov 27, 2018 at 2:46 AM Leonard Crestez > wrote: >> On 11/27/18 12:06 PM, Lucas Stach wrote: >>> Am Montag, den 26.11.2018, 10:24 -0800 schrieb Andrey Smirnov: On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez wrote: > On Sat,

Re: [alsa-devel] [PATCH 3/4] ASoC: qcom: sdm845: Add codec related configuration for sdm845

2018-11-28 Thread Cheng-yi Chiang
On Tue, Nov 27, 2018 at 5:32 PM Srinivas Kandagatla wrote: > > Thanks for the patch Jimmy, > Hi Srini, Thanks for the review! I have updated the patch series in v2. > On 24/11/18 11:09, Cheng-Yi Chiang wrote: > > Set TDM time slots and DAI format for speaker codec. > > Set DAI format and clock

[PATCH v4 09/15] i2c: acpi: Introduce i2c_acpi_get_i2c_resource() helper

2018-11-28 Thread Andy Shevchenko
Besides current two users one more is coming. Definitely makes sense to introduce a helper. No functional change intended. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede --- drivers/i2c/i2c-core-acpi.c | 41 ++--- include/linux/acpi.h| 11

[PATCH v4 12/15] platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support

2018-11-28 Thread Andy Shevchenko
If ACPI table provides an Interrupt() resource we may consider to use it instead of GpioInt() one. Here we leave an error condition, when getting IRQ resource, to the driver to decide how to proceed, because some drivers may consider IRQ resource optional. Signed-off-by: Andy Shevchenko

[PATCH v4 00/15] i2c-multi-instantiate: Adapt for INT3515 and alike

2018-11-28 Thread Andy Shevchenko
Currently i2c-multi-instantiate driver does not support the case of INT3515 USB PD device, where: - Interrupt() is used instead of GpioInt() - All slaves may be the same from IP point of view - There can be variadic amount of slaves This series is addressing all above. Note, series has been

[PATCH v4 05/15] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-28 Thread Andy Shevchenko
The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the future and we would like to re-probe the clients again. But at the same time we would like to bail out if the error seems unrecoverable, such as invalid

[PATCH v4 14/15] ACPI / scan: Create platform device for INT3515 ACPI nodes

2018-11-28 Thread Andy Shevchenko
The ACPI device with INT3515 _HID is representing a complex USB PD hardware infrastructure which includes several I2C slave ICs. We add an ID to the I2C multi instantiate list to enumerate all I2C slaves correctly. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede ---

[PATCH v4 10/15] platform/x86: i2c-multi-instantiate: Count I2cSerialBus() resources

2018-11-28 Thread Andy Shevchenko
Instead of relying on hard coded and thus expected number of I2C clients, count the real amount provided by firmware. This allows to support non-fixed amount of the slaves. Signed-off-by: Andy Shevchenko Reviewed-by: Hans de Goede --- drivers/platform/x86/i2c-multi-instantiate.c | 41

[PATCH v4 07/15] platform/x86: i2c-multi-instantiate: Get rid of obsolete conditional

2018-11-28 Thread Andy Shevchenko
Now, when i2c_acpi_new_device() never returns NULL, there is no point to check for it. Besides that, i2c_acpi_new_device() returns -EPROBE_DEFER directly and caller doesn't need to guess is better. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 10 +++---

Re: [PATCH] ubi: put MTD device after it is not used

2018-11-28 Thread Boris Brezillon
On Wed, 28 Nov 2018 10:57:33 +0800 Pan Bian wrote: > The MTD device reference is dropped via put_mtd_device, however its > field ->index is read and passed to ubi_msg. To fix this, the patch > moves the reference dropping after calling ubi_msg. > > Signed-off-by: Pan Bian Reviewed-by: Boris

Re: [PATCH v4 4/4] driver core: Add fwnode member to struct device_connection

2018-11-28 Thread Heikki Krogerus
On Tue, Nov 27, 2018 at 05:07:56PM +0200, Andy Shevchenko wrote: > On Tue, Nov 27, 2018 at 04:32:37PM +0200, Heikki Krogerus wrote: > > On Tue, Nov 27, 2018 at 05:28:55PM +0300, Heikki Krogerus wrote: > > > This will prepare the device connection API for connections > > > described in firmware. >

[PATCH v2 2/5] ASoC: qcom: sdm845: Create and setup jack in init callback

2018-11-28 Thread Cheng-Yi Chiang
Add a callback for init ops on dai_link to create and setup jack. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 57 +++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/sdm845.c

[PATCH v2 4/5] ASoC: sdm845: Add configuration for headset codec

2018-11-28 Thread Cheng-Yi Chiang
Set DAI format and sysclk for headset codec. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 21 + 1 file changed, 21 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index d0df7ec6042e2..1db8ef6682233 100644 ---

[PATCH v2 3/5] ASoC: sdm845: Add TDM configuration for speaker

2018-11-28 Thread Cheng-Yi Chiang
Set TDM time slots and DAI format for speaker codec. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 69 - 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index

Re: [PATCH V2 2/4] rtc: add i.MX system controller RTC support

2018-11-28 Thread Lothar Waßmann
Hi, On Wed, 28 Nov 2018 05:21:11 + Anson Huang wrote: > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > inside, the system controller is in charge of controlling power, > clock and secure rtc etc.. > > This patch adds i.MX system controller RTC driver support, > Linux

[PATCH v2 1/5] ASoC: qcom: sdm845: Add board specific dapm widgets

2018-11-28 Thread Cheng-Yi Chiang
Add board specific dapm widgets so these widgets can be used in the route. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index

Hello My Beloved One

2018-11-28 Thread Aisha Gaddafi
Assalamu alaikum, I came across your e-mail contact prior a private search while in need of a trusted person. My name is Mrs. Aisha Gaddafi, a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi)I have a

[PATCH v2 5/5] ASoC: qcom: Kconfig: select config for codec

2018-11-28 Thread Cheng-Yi Chiang
Select SND_SOC_RT5663 and SND_SOC_MAX98927 for SND_SOC_SDM845. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 2a4c912d1e484..3528c4279cbae 100644

Re: [PATCH 2/2] iio: adc: ti_am335x_tscadc: Improve accuracy of measurement

2018-11-28 Thread Lee Jones
On Mon, 19 Nov 2018, Vignesh R wrote: > When performing single ended measurements with TSCADC, its recommended > to set negative input (SEL_INM_SWC_3_0) of ADC step to ADC's VREFN in the > corresponding STEP_CONFIGx register. > Also, the positive(SEL_RFP_SWC_2_0) and negative(SEL_RFM_SWC_1_0) >

Re: [PATCH] i2c: i2c-tegra: replace spin_lock_irqsave with spin_lock in ISR

2018-11-28 Thread Thierry Reding
On Tue, Sep 11, 2018 at 07:54:46AM -0700, jun qian wrote: > As you are already in ISR, it is unnecessary to call spin_lock_irqsave. > > Signed-off-by: jun qian > --- > drivers/i2c/busses/i2c-tegra.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Acked-by: Thierry Reding

net/sched/act_police.c:232 tcf_police_init() warn: possible memory leak of 'new'

2018-11-28 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ef78e5ec9214376c5cb989f5da70b02d0c117b66 commit: f2cbd485282014132851bf37cb2ca624a456275d net/sched: act_police: fix race condition on state variables smatch warnings: net/sched/act_police.c:232

Re: [PATCH 05/14] dt-bindings: mfd: axp20x: add support for regulator-ramp-delay for AXP209

2018-11-28 Thread Lee Jones
On Mon, 26 Nov 2018, Priit Laes wrote: > From: Olliver Schinagl > > The AXP209 supports ramping up voltages on several regulators such as > DCDC2 and LDO3, therefore we can use the standard 'regulator-ramp-delay' > property for those 2 regulators. > > Note that the voltage ramp only works when

[PATCH V3 2/4] rtc: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and secure rtc etc.. This patch adds i.MX system controller RTC driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC

[PATCH V3 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Anson Huang
Add i.MX8QXP system controller RTC support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index da99b6f..5e8b554 100644

[PATCH V3 1/4] dt-bindings: rtc: add binding doc for i.MX system controller RTC driver

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation, this patch adds binding

Re: [PATCH 0/2] Don’t leave executable TLB entries to freed pages

2018-11-28 Thread Will Deacon
On Tue, Nov 27, 2018 at 05:21:08PM -0800, Nadav Amit wrote: > > On Nov 27, 2018, at 5:06 PM, Nadav Amit wrote: > > > >> On Nov 27, 2018, at 4:07 PM, Rick Edgecombe > >> wrote: > >> > >> Sometimes when memory is freed via the module subsystem, an executable > >> permissioned TLB entry can

[PATCH V3 0/4] Add i.MX system controller RTC driver

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation. Since the RTC set time

[PATCH V3 3/4] defconfig: arm64: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
This patch enables CONFIG_RTC_DRV_IMX_SC as module by default. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d3aa3f7..abd80c5 100644 ---

[PATCH 04/10] regulator: max8952: Let core handle GPIO descriptor

2018-11-28 Thread Linus Walleij
Use the gpiod_get() rather than the devm_* version so that the regulator core can handle the lifecycle of these descriptors. Fixes: d7a261c2d1f2 ("regulator: max8952: Pass descriptor instead of GPIO number") Signed-off-by: Linus Walleij --- drivers/regulator/max8952.c | 8 +--- 1 file

[PATCH 06/10] gpio: Export gpiod_get_from_of_node()

2018-11-28 Thread Linus Walleij
This function already exist inside gpiolib, we were just reluctant to make it available to the kernel at large as the devm_* seemed to be enough for anyone. However we found out that regulators need to do their own lifecycle/refcounting on GPIO descriptors and explicitly call gpiod_put() when

Re: [PATCH 7/9] dt-bindings: tegra186-gpio: Add wakeup parent support

2018-11-28 Thread Thierry Reding
On Mon, Oct 15, 2018 at 09:46:12AM -0500, Rob Herring wrote: > On Fri, Sep 21, 2018 at 12:25:44PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > Tegra186 and later have some top-level controls for wake events in the > > power management controller (PMC). In order to enable the

[PATCH 08/10] regulator: max77686: Let core handle GPIO descriptor

2018-11-28 Thread Linus Walleij
Use the gpiod_get_from_of_node() rather than the devm_* version so that the regulator core can handle the lifecycle of these descriptors. Fixes: 96392c3d8ca4 ("regulator: max77686: Pass descriptor instead of GPIO number") Signed-off-by: Linus Walleij --- drivers/regulator/max77686-regulator.c

[PATCH 02/10] regulator: lm363x: Let core handle GPIO descriptor

2018-11-28 Thread Linus Walleij
Use the gpiod_get() rather than the devm_* version so that the regulator core can handle the lifecycle of these descriptors. Fixes: b2d751b7f69b ("regulator: lm363x: Pass descriptor instead of GPIO number") Signed-off-by: Linus Walleij --- drivers/regulator/lm363x-regulator.c | 8 ++-- 1

[PATCH 10/10] regulator: tps65090: Let core handle GPIO descriptors

2018-11-28 Thread Linus Walleij
Use the gpiod_get_from_of_node() rather than the devm_* version so that the regulator core can handle the lifecycle of these descriptors. This patch requires "gpio: Export gpiod_get_from_of_node()" to be applied first. Fixes: 3012e81446d0 ("regulator: tps65090: Pass descriptor instead of GPIO

[PATCH] perf: arm_spe: handle devm_kasprintf() failure

2018-11-28 Thread Nicholas Mc Guire
rsion-next is next-20181128) drivers/perf/arm_spe_pmu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c index 54ec278..f1ea00c 100644 --- a/drivers/perf/arm_spe_pmu.c +++ b/drivers/perf/arm_spe_pmu.c @@ -927,6 +927,11 @@

Re: [PATCH] locks: fix performance regressions.

2018-11-28 Thread Jeff Layton
On Wed, 2018-11-28 at 11:53 +1100, NeilBrown wrote: > The kernel test robot reported two performance regressions > caused by recent patches. > Both appear to related to the global spinlock blocked_lock_lock > being taken more often. > > This patch avoids taking that lock in the cases tested. > >

[PATCH v3] mtd: spi-nor: cast to u64 to avoid uint overflows

2018-11-28 Thread Huijin Park
From: "huijin.park" The "params->size" is defined as "u64". And "info->sector_size" and "info->n_sectors" are defined as unsigned int and u16. Thus, u64 data might have strange data(loss data) if the result overflows an unsigned int. This patch casts "info->sector_size" to an u64.

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-28 Thread Marek Habersack
On 28/11/2018 05:15, Theodore Y. Ts'o wrote: > On Wed, Nov 28, 2018 at 03:16:33AM +0300, Andrey Jr. Melnikov wrote: >> Corrupted inodes - always directory, not touched at least year or >> more for writing. Something wrong when updating atime? I've just seen the errors come back despite having MQ

Re: [PATCH] ARM: dts: imx6sll-evk: use WDOG_B pin reset

2018-11-28 Thread Shawn Guo
On Thu, Nov 22, 2018 at 02:55:45AM +, Anson Huang wrote: > i.MX6SLL EVK board has WDOG_B pin connected to the PMIC; > > Add the WDOG_B pinctrl entry and 'fsl,ext-reset-output' > property to wdog node to let watchdog trigger a system > POR reset via the PMIC. > > Signed-off-by: Anson Huang

Re: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-28 Thread Takashi Iwai
On Wed, 28 Nov 2018 00:47:03 +0100, Chanho Min wrote: > > > On Mon, 26 Nov 2018 06:36:37 +0100, > > Chanho Min wrote: > > > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic PCM > > > stream") fixes deadlock for non-atomic PCM stream. But, This patch > > causes antother

oops when ext4 fs is full

2018-11-28 Thread Willy Wolff
Hi, I got a Oops when the hard drive was COMPLETELY full using a ext4 fs. After it, any command on the directory where the last write should have occurred freezes, while any other directory behave just fine. If this email is not relevant for you, please point me what to do. Best Regards, Willy

Re: [PATCH v3 2/4] iio: adc: add STMPE ADC driver using IIO framework

2018-11-28 Thread Lee Jones
On Fri, 23 Nov 2018, Philippe Schenker wrote: > From: Stefan Agner > > This adds an ADC driver for the STMPE device using the industrial > input/output interface. The driver supports raw reading of values. > The driver depends on the MFD STMPE driver. If the touchscreen > block is enabled too,

Re: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Lothar Waßmann
Hi, On Tue, 27 Nov 2018 09:41:46 + Anson Huang wrote: > Add i.MX8QXP system controller RTC support. > > Signed-off-by: Anson Huang > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi >

Re: [PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate

2018-11-28 Thread Thierry Reding
On Tue, Sep 25, 2018 at 05:49:40PM -0400, Robert Yang wrote: > The current behavior is that clk_round_rate would return the same clock > rate passed to it for valid PLL configurations. This change will return > the exact rate the PLL will provide in accordance with clk API. > > Signed-off-by:

Re: [PATCH] locks: fix performance regressions.

2018-11-28 Thread kernel test robot
Hi, On Wed, Nov 28, 2018 at 11:53:48AM +1100, NeilBrown wrote: > > The kernel test robot reported two performance regressions > caused by recent patches. > Both appear to related to the global spinlock blocked_lock_lock > being taken more often. > > This patch avoids taking that lock in the

Re: [PATCH v7 2/2] sched/fair: update scale invariance of PELT

2018-11-28 Thread Vincent Guittot
Hi, On Tue, 20 Nov 2018 at 11:55, Vincent Guittot wrote: > > The current implementation of load tracking invariance scales the > contribution with current frequency and uarch performance (only for > utilization) of the CPU. One main result of this formula is that the > figures are capped by

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-28 Thread Rainer Fiebig
Am 27.11.18 um 22:22 schrieb Guenter Roeck: > On Tue, Nov 27, 2018 at 07:55:01PM +0100, Rainer Fiebig wrote: >> Am Dienstag, 27. November 2018, 15:48:19 schrieb Marek Habersack: >>> On 27/11/2018 15:32, Guenter Roeck wrote: >>> Hi, >>> >>> You might try to see if you have

Re: [PATCH v6 2/8] mfd: stpmic1: add stpmic1 driver

2018-11-28 Thread Lee Jones
On Tue, 27 Nov 2018, Pascal PAILLET-LME wrote: > STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 > regulators, 3 power switches, a watchdog and an input for a power on key. > > Signed-off-by: Pascal Paillet > --- > changes in v6: > * replace i2c_device_id by of_device_id >

Re: [PATCH v4 00/15] i2c-multi-instantiate: Adapt for INT3515 and alike

2018-11-28 Thread Andy Shevchenko
On Wed, Nov 28, 2018 at 01:30:09PM +0200, Andy Shevchenko wrote: > Currently i2c-multi-instantiate driver does not support the case > of INT3515 USB PD device, where: > > - Interrupt() is used instead of GpioInt() > - All slaves may be the same from IP point of view > - There can be variadic

I WANT TO INVEST IN YOUR COUNTRY

2018-11-28 Thread Aisha Gaddafi
My names are Dr. Aisha Gaddafi, the daughter of late Libyan president, am contacting you because I need a Partner or an investor that will help me in investing the sum of $27.5 Million USD in his or her country, the funds is deposited here in Burkina Faso where I am staying for the moment with my

[PATCHv2] locking/atomics: build atomic headers as required

2018-11-28 Thread Mark Rutland
Andrew and Ingo report that the check-atomics.sh script is simply too slow to run for every kernel build, and it's impractical to make it faster without rewriting it in something other than shell. Rather than committing the generated headers, let's regenerate these as-required, if we change the

Compliment of the day,

2018-11-28 Thread Mr.Philippines
Compliment of the day, I am Mr.Philippines.Kabore I Have a Business Proposal of $5.3 million For You. I am aware of the unsafe nature of the internet, and was compelled to use this medium due to the nature of this project. I have access to very vital information that can be used to transfer this

  1   2   3   4   5   6   7   8   9   >