Re: [PATCH 3.10 000/268] 3.10.107-stable review

2017-06-20 Thread Willy Tarreau
On Tue, Jun 20, 2017 at 02:10:08AM -0700, Guenter Roeck wrote: > Confirmed. All builds and qemu tests passed with v3.10.106-267-g4242a2a. Nice, thank you Guenter! Willy

Re: [PATCH] tools/testing/selftests/sysctl: Add pre-check to the value of writes_strict

2017-06-20 Thread Orson Zhai
Hi Kees, Thanks for reviewing. I will update in V1 soon. Br, Orson On 20 June 2017 at 03:01, Kees Cook wrote: > On Fri, Jun 16, 2017 at 2:28 AM, Orson Zhai wrote: >> Sysctl test will fail in some items if the value of /proc/sys/kernel >> /sysctrl_writes_strict is 0 as the default value in ker

Re: [PATCH 3/9] clk: fractional-divider: add CLK_FRAC_DIVIDER_ZERO_BASED flag support

2017-06-20 Thread Dong Aisheng
On Mon, Jun 19, 2017 at 06:55:47PM -0700, Stephen Boyd wrote: > On 05/15, Dong Aisheng wrote: > > diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h > > index a6efbb9..4466cae 100644 > > --- a/include/linux/clk-provider.h > > +++ b/include/linux/clk-provider.h > > @@ -557,6 +5

Re: [PATCH v3] drivers/char: kmem: disable on arm64

2017-06-20 Thread Mark Rutland
On Tue, Jun 20, 2017 at 08:59:00AM +0200, Ard Biesheuvel wrote: > As it turns out, arm64 deviates from other architectures in the way it > maps the VMALLOC region: on most (all?) other architectures, it resides > strictly above the kernel's direct mapping of DRAM, but on arm64, this > is the other

[PATCH] x86/hpet: Do not use smp_processor_id() in preemptible code

2017-06-20 Thread Borislav Petkov
From: Borislav Petkov When hpet=force is supplied on the kernel command line and the HPET supports the Legacy Replacement Interrupt Route option (HPET_ID_LEGSUP), the legacy interrupts init code uses the boot CPU's mask initially by calling smp_processor_id() assuming that it is running on the BS

[PATCH] spi: loopback-test: Fix kfree() NULL pointer error.

2017-06-20 Thread Arvind Yadav
Here, rx/tx allocation can fail. So avoid kvfree call with NULL pointer. Signed-off-by: Arvind Yadav --- drivers/spi/spi-loopback-test.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index f4875f

Re: [PATCH V1 3/3] pinctrl: qcom: spmi-gpio: Correct power_source range check

2017-06-20 Thread Linus Walleij
On Tue, Jun 13, 2017 at 8:16 AM, wrote: > From: Fenglin Wu > > Power source selection in DIG_VIN_CTL is indexed from 0, in the range > check it shouldn't be equal to the total number of power sources. > > Signed-off-by: Fenglin Wu > --- > drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 +- > 1 f

Re: [PATCH net-next v2 3/4] ipmr: add netlink notifications on igmpmsg cache reports

2017-06-20 Thread Nikolay Aleksandrov
On 19/06/17 23:44, Julien Gomes wrote: > Add Netlink notifications on cache reports in ipmr, in addition to the > existing igmpmsg sent to mroute_sk. > Send RTM_NEWCACHEREPORT notifications to RTNLGRP_IPV4_MROUTE_R. > > MSGTYPE, VIF_ID, SRC_ADDR and DST_ADDR Netlink attributes contain the > same d

Re: [PATCH 6/9] clk: imx: add composite clk support

2017-06-20 Thread Dong Aisheng
On Mon, Jun 19, 2017 at 07:00:13PM -0700, Stephen Boyd wrote: > On 05/15, Dong Aisheng wrote: > > diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h > > index 51b84e4..665777e 100644 > > --- a/drivers/clk/imx/clk.h > > +++ b/drivers/clk/imx/clk.h > > @@ -69,6 +69,12 @@ struct clk *imx_clk_b

Re: [PATCH 4/9] clk: imx: add pllv4 support

2017-06-20 Thread Dong Aisheng
On Mon, Jun 19, 2017 at 06:59:17PM -0700, Stephen Boyd wrote: > On 05/15, Dong Aisheng wrote: > > obj-$(CONFIG_SOC_IMX1) += clk-imx1.o > > diff --git a/drivers/clk/imx/clk-pllv4.c b/drivers/clk/imx/clk-pllv4.c > > new file mode 100644 > > index 000..502da64 > > --- /dev/null > > +++ b/driver

Re: [PATCH v2 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller

2017-06-20 Thread Linus Walleij
On Tue, Jun 13, 2017 at 5:15 AM, Baolin Wang wrote: > I forgot one most important reason why we can not use the "sleep" state. As I > explained > above, the sleep related configuration will bind with the pin's sleep mode. > If we set the > pin's sleep mode as AP_SLEEP, then we can select "sleep

Re: [Intel-gfx] [PATCH] drm/core: Fail atomic IOCTL with no CRTC state but with signaling.

2017-06-20 Thread Daniel Vetter
On Mon, Jun 19, 2017 at 04:11:35PM -0400, Andrey Grodzovsky wrote: > > > On 06/19/2017 03:24 PM, Sean Paul wrote: > > On Mon, Jun 19, 2017 at 11:35:28AM -0400, Harry Wentland wrote: > > > On 2017-06-09 05:30 PM, Andrey Grodzovsky wrote: > > > > Problem: > > > > While running IGT kms_atomic_transi

Re: [PATCH 1/2] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11

2017-06-20 Thread Linus Walleij
On Wed, Jun 14, 2017 at 6:49 AM, Masahiro Yamada wrote: > The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). > Filling non-existing ports with '-1' turned out a bad idea. > > Fixes: 70f2f9c4cf25 ("pinctrl: uniphier: add UniPhier PH1-LD11 pinctrl > driver") > Signed-off-by: Ma

Re: [PATCH 2/2] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20

2017-06-20 Thread Linus Walleij
On Wed, Jun 14, 2017 at 6:49 AM, Masahiro Yamada wrote: > The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). > Filling non-existing ports with '-1' turned out a bad idea. > > Fixes: 336306ee1f2d ("pinctrl: uniphier: add UniPhier PH1-LD20 pinctrl > driver") > Signed-off-by: Ma

Re: [PATCH] pinctrl/amd: Use regular interrupt instead of chained

2017-06-20 Thread Borislav Petkov
On Tue, Jun 20, 2017 at 11:22:05AM +0200, Thomas Gleixner wrote: > If the interrupt _IS_ screaming because the hardware is buggered, then the > nobody cared thing will detect it and switch it off. That's all what we can > do, aside of not loading the driver at all. > > But that's way better than s

Re: [PATCH v3 26/28] ext4: cleanup transaction restarts during inode deletion

2017-06-20 Thread Tahsin Erdogan
On Wed, Jun 14, 2017 at 5:11 PM, Andreas Dilger wrote: > Another option that might be less complex is to just add the xattr inodes > to the orphan list in the main transaction (which should be a fixed number > of credits), and then truncate/unlink the xattr inodes after the main > transaction has

[PATCH 04/51] rtc: 88pm80x: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [PATCH] drm: hdlcd: Update PM code to save/restore console.

2017-06-20 Thread Daniel Vetter
On Mon, Jun 19, 2017 at 05:45:21PM +0200, Noralf Trønnes wrote: > > Den 19.06.2017 15.17, skrev Liviu Dudau: > > On Fri, Jun 16, 2017 at 06:58:36PM +0200, Noralf Trønnes wrote: > > > Den 16.06.2017 15.53, skrev Liviu Dudau: > > > > Update the PM code to suspend/resume the fbdev_cma console. > > >

[PATCH 27/51] rtc: imxdi: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

[PATCH 2/2] tpm: migrate pubek_show to struct tpm_buf

2017-06-20 Thread Jarkko Sakkinen
Migrated pubek_show to struct tpm_buf and cleaned up its implementation. Previously the output parameter structure was declared but left completely unused. Now it is used to refer different fields of the output. We can move it to tpm-sysfs.c as it does not have any use outside of that file. Signed

[PATCH 51/51] power: suspend test: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: "Rafael J. Wysocki" CC: Pavel Machek CC: Len Brown CC: Alessandro Zum

[PATCH 44/51] rtc: sysfs: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [RFC PATCH v2 3/3] drm: atmel-hlcdc: add clut support for legacy fbdev

2017-06-20 Thread Daniel Vetter
On Sat, Jun 17, 2017 at 07:48:04PM +0200, Peter Rosin wrote: > The clut is not synchronized with the drm gamma_lut state. > > Signed-off-by: Peter Rosin This needs to be done in the fbdev helper, not like this. Yes it's an old issue, but forcing every driver to duplicate code like this isn't coo

[PATCH 46/51] rtc: test: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Since only set_mmss64 be will used remove mod

[PATCH 50/51] rtc: xgene stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

Re: [RFC PATCH v2 1/3] drm: atmel-hlcdc: add support for 8-bit color lookup table mode

2017-06-20 Thread Daniel Vetter
On Sat, Jun 17, 2017 at 07:48:02PM +0200, Peter Rosin wrote: > All layers of all supported chips support this, the only variable is the > base address of the lookup table in the register map. > > Signed-off-by: Peter Rosin As Boris said, pls use the new color manager stuff for atomic drivers, an

[PATCH 47/51] rtc: tps6586: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 49/51] rtc: wm831x: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

[PATCH 48/51] rtc: vr41xx: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 45/51] rtc: tegra stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Thierry Reding CC: Jonathan Hunter CC: Alessandro Zummo CC: Alexandre

[PATCH 41/51] rtc: stk17ta8: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 38/51] rtc: sh: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 0/2] Clean up TPM 1.2 EK sysfs code

2017-06-20 Thread Jarkko Sakkinen
This patch set cleans up clutter and cruft from EK sysfs code and fixes a kernel memory leak. Jarkko Sakkinen (2): tpm: fix a kernel memory leak in tpm-sysfs.c tpm: migrate pubek_show to struct tpm_buf drivers/char/tpm/tpm-sysfs.c | 86 drivers/ch

[PATCH 43/51] rtc: sun6i: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Maxime Ripard CC: Chen-Yu Tsai CC: Alessandro Zummo CC: Alexandre Bel

[PATCH 40/51] rtc: snvs: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 42/51] rtc: stmp3xxx: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

[PATCH 29/51] rtc: lpc32xx: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Vladim

[PATCH 1/2] tpm: fix a kernel memory leak in tpm-sysfs.c

2017-06-20 Thread Jarkko Sakkinen
While cleaning up sysfs callback that prints EK we discovered a kernel memory leak. This commit fixes the issue by zeroing the buffer used for TPM command/response. The leak happen when we use either tpm_vtpm_proxy, tpm_ibmvtpm or xen-tpmfront. Cc: sta...@vger.kernel.org Fixes: 0883743825e3 ("TPM

[PATCH 39/51] rtc: sirfsoc: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: Barry Song CC: rtc-li...@g

Re: [PATCH 9/9] clk: imx: add imx7ulp clk driver

2017-06-20 Thread Dong Aisheng
On Mon, Jun 19, 2017 at 07:01:19PM -0700, Stephen Boyd wrote: > On 05/15, Dong Aisheng wrote: > > + > > + clks[IMX7ULP_CLK_VIU] = imx_clk_gate("viu", "nic1_clk", > > base + 0xA0, 30); > > + clks[IMX7ULP_CLK_PCTLC] = imx_clk_gate("pctlc", "nic1_bus_clk", > > base + 0xB8

[PATCH 35/51] rtc: pm8xxx: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 37/51] rtc: sa1100: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support

2017-06-20 Thread Linus Walleij
Hi Luca, thanks for joining! On Wed, Jun 14, 2017 at 6:12 PM, Luca Porzio (lporzio) wrote: > This behavior is not Micron specific but instead it is enforced by the Jedec > Specification. All eMMC must have HW reset disabled by default. That's very good to know. > This specification (as Ulf co

Re: [PATCH v2 2/2] spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble

2017-06-20 Thread Vignesh R
Hi, On Friday 16 June 2017 09:24 PM, Cyrille Pitchen wrote: > Hi all, > > + Richard and Boris as MTD maintainers > > Le 25/04/2017 à 14:18, Vignesh R a écrit : >> >> >> On Friday 21 April 2017 10:36 PM, Mark Brown wrote: >>> On Tue, Apr 11, 2017 at 05:22:25PM +0530, Vignesh R wrote: Flash f

[PATCH 34/51] rtc: pl031: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Linus Walleij CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li..

[PATCH 32/51] rtc: pcap: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 36/51] rtc: rs5c348: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 33/51] rtc: pl030: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 31/51] rtc: omap: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

Re: [PATCH v4 1/3] kbuild: Add __cc-option macro

2017-06-20 Thread Masahiro Yamada
Hi Matthias, 2017-06-20 3:37 GMT+09:00 Matthias Kaehlcke : > cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines > whether an option is supported or not. This is fine for options used to > build the kernel itself, however some components like the x86 boot code > use a different set

[PATCH 24/51] rtc: ds2404: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

[PATCH 25/51] rtc: ep93xx: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

[PATCH 22/51] rtc: ds1553: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 30/51] rtc: mv: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 26/51] rtc: gemini: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Hans Ulli Kroll CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li

Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Jeffrey Walton
On Tue, Jun 20, 2017 at 5:36 AM, Theodore Ts'o wrote: > On Tue, Jun 20, 2017 at 10:53:35AM +0200, Jason A. Donenfeld wrote: >> > Suppressing all messages for all configurations cast a wider net than >> > necessary. Configurations that could potentially be detected and fixed >> > likely will go unn

[PATCH 28/51] rtc: jz4740: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Jason A. Donenfeld
On Tue, Jun 20, 2017 at 11:36 AM, Theodore Ts'o wrote: >> But I think there's another camp that would mutiny in the face of this >> kind of hubris. > > Blocking the boot for hours and hours until we have enough entropy to > initialize the CRNG is ***not*** an acceptable way of making the > warning

Re: [PATCH 2/3] ARM: dts: sunxi: add MMC support for A83T

2017-06-20 Thread Maxime Ripard
Hi, On Sun, Jun 18, 2017 at 09:00:17PM +0800, Ziping Chen wrote: > From: Ziping Chen > > The Allwinner A83T's MMC can work with > compatible "allwinner,sun7i-a20-mmc". > > Add support for it. This has been proven not to be the case already. Please use an A83T compatible only. Maxime -- Max

Re: [PATCH v5 27/28] ext4: xattr inode deduplication

2017-06-20 Thread Tahsin Erdogan
Thanks Andreas for the feedback. Please see my responses below: > It would be preferable to allow a mount option like "no_mbcache" to disable > the use of shared xattrs. In the Lustre case at least, there will never be > shared large xattrs, and we've had a bunch of performance issues with mbcach

Re: [PATCH 2/2] mmc: sdhci-of-at91: set clocks and presets after resume from deepest PM

2017-06-20 Thread Ludovic Desroches
On Tue, Jun 20, 2017 at 10:07:06AM +0200, Quentin Schulz wrote: > Hi Adrian, > > On 20/06/2017 09:39, Adrian Hunter wrote: > > On 16/06/17 10:29, Quentin Schulz wrote: > >> This adds deepest (Backup+Self-Refresh) PM support to the ATMEL SAMA5D2 > >> SoC's SDHCI controller. > >> > >> When resuming

[PATCH 19/51] rtc: ds1305: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 18/51] rtc: dm355evm: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 20/51] rtc: ds1374: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 21/51] rtc: ds1511: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 17/51] rtc: digicolor: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Baruch Siach CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...

[PATCH 23/51] rtc: ds1672: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. For the same reasons use set_mmss64 callback instead of set_mmss Signed-off-by: Benjamin Gaignard CC: Alessa

Re: [PATCH net-next v2 4/4] ip6mr: add netlink notifications on mrt6msg cache reports

2017-06-20 Thread Nikolay Aleksandrov
On 19/06/17 23:44, Julien Gomes wrote: > Add Netlink notifications on cache reports in ip6mr, in addition to the > existing mrt6msg sent to mroute6_sk. > Send RTM_NEWCACHEREPORT notifications to RTNLGRP_IPV6_MROUTE_R. > > MSGTYPE, MIF_ID, SRC_ADDR and DST_ADDR Netlink attributes contain the > same

Re: [PATCH 28/28] quota: add extra inode count to dquot transfer functions

2017-06-20 Thread Tahsin Erdogan
On Mon, Jun 19, 2017 at 5:36 AM, Jan Kara wrote: > Heh, this "pushing of responsibility" looks like a silly game. If an error > can happen in a function, it is better to report it as far as easily > possible (unless we can cleanly handle it which we cannot here). I'm guilty > of making dquot_free_

Re: [PATCH 1/2] drm/exynos/decon: Add include guard to the Exynos7 header

2017-06-20 Thread Emil Velikov
On 19 June 2017 at 17:31, Krzysztof Kozlowski wrote: > Although header is included only once but still having an include guard > is a good practice. To avoid confusion, add SoC prefix to existing > Exynos5433 header include guard. > > Signed-off-by: Krzysztof Kozlowski > --- > include/video/exy

[PATCH 12/51] rtc: coh901331: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Linus Walleij CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li..

[PATCH 15/51] rtc: da9063: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Support Opensource CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc

[PATCH 13/51] rtc: cpcap: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [RFC PATCH v2 1/3] drm: atmel-hlcdc: add support for 8-bit color lookup table mode

2017-06-20 Thread Peter Rosin
On 2017-06-20 11:40, Daniel Vetter wrote: > On Sat, Jun 17, 2017 at 07:48:02PM +0200, Peter Rosin wrote: >> All layers of all supported chips support this, the only variable is the >> base address of the lookup table in the register map. >> >> Signed-off-by: Peter Rosin > > As Boris said, pls use

[PATCH 16/51] rtc: davinci: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 09/51] rtc: at32ap700x: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 14/51] rtc: da9063: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Support Opensource CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc

[PATCH 10/51] rtc: at91sam9: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 11/51] rtc: bfin: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

[PATCH 08/51] rtc: armada38x: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Jason Cooper CC: Gregory Clement CC: Sebastian Hesselbarth CC: Alessa

Re: [RFC v2 00/12] powerpc: Memory Protection Keys

2017-06-20 Thread Benjamin Herrenschmidt
On Tue, 2017-06-20 at 15:10 +1000, Balbir Singh wrote: > On Fri, 2017-06-16 at 20:52 -0700, Ram Pai wrote: > > Memory protection keys enable applications to protect its > > address space from inadvertent access or corruption from > > itself. > > I presume by itself you mean protection between thre

[PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Linus Walleij CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li..

[PATCH 06/51] rtc: ab-b5ze-s3: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [PATCHv2 3/3] mm: Use updated pmdp_invalidate() inteface to track dirty/accessed bits

2017-06-20 Thread Minchan Kim
On Tue, Jun 20, 2017 at 11:52:08AM +0900, Minchan Kim wrote: > Hello Kirill, > > On Mon, Jun 19, 2017 at 05:03:23PM +0300, Kirill A. Shutemov wrote: > > On Fri, Jun 16, 2017 at 11:53:33PM +0900, Minchan Kim wrote: > > > Hi Andrea, > > > > > > On Fri, Jun 16, 2017 at 04:27:20PM +0200, Andrea Arcan

[PATCH 05/51] rtc: 88pm860x: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Alessandro Zummo CC: Alexandre Belloni CC: rtc-li...@googlegroups.com

Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Theodore Ts'o
On Tue, Jun 20, 2017 at 10:53:35AM +0200, Jason A. Donenfeld wrote: > > Suppressing all messages for all configurations cast a wider net than > > necessary. Configurations that could potentially be detected and fixed > > likely will go unnoticed. If the problem is not brought to light, then > > it

Re: [PATCH 3.10 162/268] bcma: use (get|put)_device when probing/removing device driver

2017-06-20 Thread Rafał Miłecki
On 2017-06-20 09:58, Willy Tarreau wrote: On Tue, Jun 20, 2017 at 09:31:00AM +0200, Rafal Milecki wrote: Do you know if my name will appear correctly in git [0]? [0] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/log/?h=linux-3.10.y I would have almost promised it wa

[PATCH v2 2/2] ASoC: stm32: Add SPDIFRX support

2017-06-20 Thread olivier moysan
Add SPDIFRX support to STM32. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 10 + sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_spdifrx.c | 998 ++ 3 files changed, 1012 insertions(+) create mode 100644 sound/soc/stm/stm3

[PATCH 01/51] x86: rtc: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Thomas Gleixner CC: Ingo Molnar CC: x...@kernel.org CC: John Stultz C

Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG

2017-06-20 Thread Maxime Ripard
Hi, On Tue, Jun 20, 2017 at 10:58:19AM +0200, Corentin Labbe wrote: > The Security System have a PRNG, this patch add support for it via > crypto_rng. This might be a dumb question, but is the CRYPTO_RNG code really supposed to be used with PRNG? > Signed-off-by: Corentin Labbe > --- > drivers

Re: [PATCH v3 19/21] dt-bindings: mmc: dw_mmc-k3: add document of hi3660 mmc

2017-06-20 Thread Wei Xu
Hi Uffe, On 2017/6/20 9:36, Ulf Hansson wrote: > Hi Wei, > > On 19 June 2017 at 15:00, Wei Xu wrote: >> Hi Ulf, >> >> On 2017/6/19 13:43, Ulf Hansson wrote: >>> On 14 June 2017 at 10:23, Guodong Xu wrote: Add bindings for hi3660 mmc support Signed-off-by: Li Wei Signed-off-

[PATCH v2 1/2] ASoC: stm32: Add DT bindings for SPDIFRX interface

2017-06-20 Thread olivier moysan
Add documentation of device tree bindings for the STM32 SPDIFRX interface. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-spdifrx.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-spdif

[PATCH 03/51] net: broadcom: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Michael Chan CC: net...@vger.kernel.org CC: linux-kernel@vger.kernel.or

[PATCH 00/51] rtc: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. The goal of this series of patches is ti stop using those two functions and use instead to safer 64bits ones. It also remove change .set_mmss to set_mmss64 callba

[PATCH v2 0/2] ASoC: stm32: add SPDIFRX driver

2017-06-20 Thread olivier moysan
This patch-set handles the SPDIFRX on STM32 platforms. The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with IEC-60958 and IEC-61937 standards. SPDIFRX uses two DMA channels: - one DMA channel for S/PDIF data stream. - one DMA channel for control flow (channel status and us

[PATCH 02/51] x86: intel-mid: vrtc: stop using rtc deprecated functions

2017-06-20 Thread Benjamin Gaignard
rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Signed-off-by: Benjamin Gaignard CC: Thomas Gleixner CC: Ingo Molnar CC: x...@kernel.org CC: linux-kernel@v

Re: [PATCH 1/2] drm/exynos/decon: Add include guard to the Exynos7 header

2017-06-20 Thread Krzysztof Kozlowski
On Tue, Jun 20, 2017 at 11:53 AM, Emil Velikov wrote: > On 19 June 2017 at 17:31, Krzysztof Kozlowski wrote: >> Although header is included only once but still having an include guard >> is a good practice. To avoid confusion, add SoC prefix to existing >> Exynos5433 header include guard. >> >>

Re: [PATCH 00/51] rtc: stop using rtc deprecated functions

2017-06-20 Thread Alexandre Belloni
On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > rely on 32bits variables and that will make rtc break in y2038/2016. Please don't, because this hide the fact that the hardware will not handle dates in y2038 anyway and

[PATCH] PM / OPP: Add dev_pm_opp_{set|put}_clkname()

2017-06-20 Thread Viresh Kumar
In order to support OPP switching, OPP layer needs to get pointer to the clock for the device. Simple cases work fine without using the routines added by this patch (i.e. by passing connection-id as NULL), but for a device with multiple clocks available, the OPP core needs to know the exact name o

[patch] staging: speakup: fix synth caching when synth init fails

2017-06-20 Thread Okash Khawaja
synths[] array caches currently loaded synths. synth_add checks synths[] before adding a new one. It however ignores the result of do_synth_init. So when do_synth_init fails, the failed synth is still cached. Since, as a result module loading fails too, synth_remove - which is responsible for remov

<    1   2   3   4   5   6   7   8   9   10   >