Re: [PATCH] mm/hugetl.c: keep the page mapping info when free_huge_page() hit the VM_BUG_ON_PAGE

2018-11-13 Thread Mike Kravetz
On 11/13/18 7:12 AM, Yongkai Wu wrote: > Dear Maintainer, > Actually i met a VM_BUG_ON_PAGE issue in centos7.4 some days ago.When the > issue first happen, > i just can know that it happen in free_huge_page() when doing soft offline > huge page. > But because page->mapping is set to null,i can

Re: [PATCH] mm/hugetl.c: keep the page mapping info when free_huge_page() hit the VM_BUG_ON_PAGE

2018-11-13 Thread Mike Kravetz
On 11/13/18 7:12 AM, Yongkai Wu wrote: > Dear Maintainer, > Actually i met a VM_BUG_ON_PAGE issue in centos7.4 some days ago.When the > issue first happen, > i just can know that it happen in free_huge_page() when doing soft offline > huge page. > But because page->mapping is set to null,i can

Re: [PATCH 17/17] ASoc: bcm2835-i2s: Switch to SPDX identifier

2018-11-13 Thread Mark Brown
On Sat, Nov 10, 2018 at 06:02:31PM +0100, Stefan Wahren wrote: > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * ALSA SoC I2S Audio Layer for Broadcom BCM2835 SoC > * Please convert the entire comment to a C++ one so this looks more intentional. signature.asc Description:

Re: [PATCH 17/17] ASoc: bcm2835-i2s: Switch to SPDX identifier

2018-11-13 Thread Mark Brown
On Sat, Nov 10, 2018 at 06:02:31PM +0100, Stefan Wahren wrote: > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * ALSA SoC I2S Audio Layer for Broadcom BCM2835 SoC > * Please convert the entire comment to a C++ one so this looks more intentional. signature.asc Description:

Re: [PATCH 4/4] regulator/of_get_regulator: add child path to find the regulator supplier

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 01:53:07PM +0800, zoro wrote: > when the VIR_LDO1 regulator supplier is it's brother, > we can't find the supplier. I don't have the rest of this series or a cover letter, what's going on with dependencies here? signature.asc Description: PGP signature

Re: [PATCH 4/4] regulator/of_get_regulator: add child path to find the regulator supplier

2018-11-13 Thread Mark Brown
On Mon, Nov 12, 2018 at 01:53:07PM +0800, zoro wrote: > when the VIR_LDO1 regulator supplier is it's brother, > we can't find the supplier. I don't have the rest of this series or a cover letter, what's going on with dependencies here? signature.asc Description: PGP signature

Re: [resend PATCH 1/3] pwm: mediatek: drop flag 'has_clks'

2018-11-13 Thread Stephen Boyd
Quoting Uwe Kleine-König (2018-11-13 01:52:10) > > I wonder if it would make sense to introduce functions like: > > struct clk *clk_get_optional(struct device *dev, const char *id) > > that return NULL instead of ERR_PTR(-ENODEV). > > Then the above would simplify to: > >

Re: [PATCH v2] exec: make de_thread() freezable

2018-11-13 Thread Michal Hocko
On Tue 13-11-18 17:18:58, Oleg Nesterov wrote: > On 11/13, Michal Hocko wrote: > > > > On Mon 12-11-18 12:54:45, Chanho Min wrote: > > > Suspend fails due to the exec family of functions blocking the freezer. > > > The casue is that de_thread() sleeps in TASK_UNINTERRUPTIBLE waiting for > > > all

Re: [resend PATCH 1/3] pwm: mediatek: drop flag 'has_clks'

2018-11-13 Thread Stephen Boyd
Quoting Uwe Kleine-König (2018-11-13 01:52:10) > > I wonder if it would make sense to introduce functions like: > > struct clk *clk_get_optional(struct device *dev, const char *id) > > that return NULL instead of ERR_PTR(-ENODEV). > > Then the above would simplify to: > >

Re: [PATCH v2] exec: make de_thread() freezable

2018-11-13 Thread Michal Hocko
On Tue 13-11-18 17:18:58, Oleg Nesterov wrote: > On 11/13, Michal Hocko wrote: > > > > On Mon 12-11-18 12:54:45, Chanho Min wrote: > > > Suspend fails due to the exec family of functions blocking the freezer. > > > The casue is that de_thread() sleeps in TASK_UNINTERRUPTIBLE waiting for > > > all

Re: [PATCH v3] cpufreq: ti-cpufreq: Only register platform_device when supported

2018-11-13 Thread Johan Hovold
On Tue, Nov 13, 2018 at 11:39:12AM -0600, Dave Gerlach wrote: > Currently the ti-cpufreq driver blindly registers a 'ti-cpufreq' to force > the driver to probe on any platforms where the driver is built in. > However, this should only happen on platforms that actually can make use > of the driver.

Re: [PATCH v3] cpufreq: ti-cpufreq: Only register platform_device when supported

2018-11-13 Thread Johan Hovold
On Tue, Nov 13, 2018 at 11:39:12AM -0600, Dave Gerlach wrote: > Currently the ti-cpufreq driver blindly registers a 'ti-cpufreq' to force > the driver to probe on any platforms where the driver is built in. > However, this should only happen on platforms that actually can make use > of the driver.

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-13 Thread Nadav Amit
From: Ingo Molnar Sent: November 13, 2018 at 11:30:00 AM GMT > To: Nadav Amit > Cc: Ingo Molnar , Masahiro Yamada > , Michal Marek , > Thomas Gleixner , Borislav Petkov , H. > Peter Anvin , x...@kernel.org, linux-kbu...@vger.kernel.org, > linux-kernel@vger.kernel.org > Subject: Re: [PATCH

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-13 Thread Nadav Amit
From: Ingo Molnar Sent: November 13, 2018 at 11:30:00 AM GMT > To: Nadav Amit > Cc: Ingo Molnar , Masahiro Yamada > , Michal Marek , > Thomas Gleixner , Borislav Petkov , H. > Peter Anvin , x...@kernel.org, linux-kbu...@vger.kernel.org, > linux-kernel@vger.kernel.org > Subject: Re: [PATCH

[PATCH] soc/tegra: remove duplicated function declaration

2018-11-13 Thread Bo Yan
The function tegra_read_chipid is declared twice in fuse.h. Remove the redundant declaration. Signed-off-by: Bo Yan --- include/soc/tegra/fuse.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index 9b6ea0c..8fb2f8a 100644 ---

[PATCH] soc/tegra: remove duplicated function declaration

2018-11-13 Thread Bo Yan
The function tegra_read_chipid is declared twice in fuse.h. Remove the redundant declaration. Signed-off-by: Bo Yan --- include/soc/tegra/fuse.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index 9b6ea0c..8fb2f8a 100644 ---

Re: [PATCH] ftrace: remove KASAN poison in ftrace_ops_test()

2018-11-13 Thread Mark Rutland
On Mon, Nov 12, 2018 at 08:09:22AM +, Zhang Zhizhou(张治洲) wrote: > > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Monday, November 12, 2018 1:32 AM > > To: Zhang Zhizhou(张治洲) > > Cc: rost...@goodmis.org; mi...@redhat.com; linux- > >

Re: [PATCH] ftrace: remove KASAN poison in ftrace_ops_test()

2018-11-13 Thread Mark Rutland
On Mon, Nov 12, 2018 at 08:09:22AM +, Zhang Zhizhou(张治洲) wrote: > > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Monday, November 12, 2018 1:32 AM > > To: Zhang Zhizhou(张治洲) > > Cc: rost...@goodmis.org; mi...@redhat.com; linux- > >

Re: [PATCH 3/3] regulator: mcp16502: add regulator driver for MCP16502

2018-11-13 Thread Mark Brown
On Tue, Nov 13, 2018 at 11:29:41AM +, andrei.stefane...@microchip.com wrote: > index 000..29c72d3 > --- /dev/null > +++ b/drivers/regulator/mcp16502.c > @@ -0,0 +1,524 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * MCP16502 PMIC driver Please make the entire comment a C++ comment

Re: [PATCH 3/3] regulator: mcp16502: add regulator driver for MCP16502

2018-11-13 Thread Mark Brown
On Tue, Nov 13, 2018 at 11:29:41AM +, andrei.stefane...@microchip.com wrote: > index 000..29c72d3 > --- /dev/null > +++ b/drivers/regulator/mcp16502.c > @@ -0,0 +1,524 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * MCP16502 PMIC driver Please make the entire comment a C++ comment

[PATCH v3] cpufreq: ti-cpufreq: Only register platform_device when supported

2018-11-13 Thread Dave Gerlach
Currently the ti-cpufreq driver blindly registers a 'ti-cpufreq' to force the driver to probe on any platforms where the driver is built in. However, this should only happen on platforms that actually can make use of the driver. There is already functionality in place to match the SoC compatible

[PATCH] net: lantiq: Fix returned value in case of error in 'xrx200_probe()'

2018-11-13 Thread Christophe JAILLET
Return 'err' in the error handling path instead of 0. Return explicitly 0 in the normal path, instead of 'err', which is known to be 0 at this point. Fixes: fe1a56420cf2 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver") Signed-off-by: Christophe JAILLET ---

[PATCH v3] cpufreq: ti-cpufreq: Only register platform_device when supported

2018-11-13 Thread Dave Gerlach
Currently the ti-cpufreq driver blindly registers a 'ti-cpufreq' to force the driver to probe on any platforms where the driver is built in. However, this should only happen on platforms that actually can make use of the driver. There is already functionality in place to match the SoC compatible

[PATCH] net: lantiq: Fix returned value in case of error in 'xrx200_probe()'

2018-11-13 Thread Christophe JAILLET
Return 'err' in the error handling path instead of 0. Return explicitly 0 in the normal path, instead of 'err', which is known to be 0 at this point. Fixes: fe1a56420cf2 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver") Signed-off-by: Christophe JAILLET ---

Re: [PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Joe Perches
On Tue, 2018-11-13 at 19:17 +0200, Andy Shevchenko wrote: > There are users which print time and date represented by content of > struct rtc_time in human readable format. > > Instead of open coding that each time introduce %ptR[dt][rv] specifier. > > Note, users have to select

Re: [PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Joe Perches
On Tue, 2018-11-13 at 19:17 +0200, Andy Shevchenko wrote: > There are users which print time and date represented by content of > struct rtc_time in human readable format. > > Instead of open coding that each time introduce %ptR[dt][rv] specifier. > > Note, users have to select

Re: [PATCH v2 2/9] arm64: defconfig: Drop ARM_BIG_LITTLE_CPUFREQ

2018-11-13 Thread Sudeep Holla
On Sat, Nov 10, 2018 at 09:57:27AM +0100, Arnd Bergmann wrote: > On Thu, Nov 8, 2018 at 10:36 AM Sudeep Holla wrote: > > > > On Wed, Nov 07, 2018 at 11:39:42PM +0100, Marc Gonzalez wrote: > > > Commit a7314405d83c ("drop ARM_BIG_LITTLE_CPUFREQ support for ARM64") > > > dropped

Re: [PATCH v2 2/9] arm64: defconfig: Drop ARM_BIG_LITTLE_CPUFREQ

2018-11-13 Thread Sudeep Holla
On Sat, Nov 10, 2018 at 09:57:27AM +0100, Arnd Bergmann wrote: > On Thu, Nov 8, 2018 at 10:36 AM Sudeep Holla wrote: > > > > On Wed, Nov 07, 2018 at 11:39:42PM +0100, Marc Gonzalez wrote: > > > Commit a7314405d83c ("drop ARM_BIG_LITTLE_CPUFREQ support for ARM64") > > > dropped

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 06:20:20PM +0100, Geert Uytterhoeven wrote: > On Tue, Nov 13, 2018 at 5:57 PM Qian Cai wrote: > > Running the trinity fuzzer with a non-root user on an aarch64 server with > > the > > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > > > [

Re: [PATCH] dt-bindings: hwmon: tmp108: add optional interrupts and #thermal-sensor-cells

2018-11-13 Thread Guenter Roeck
On Mon, Nov 12, 2018 at 05:37:46PM -0600, Rob Herring wrote: > On Wed, 7 Nov 2018 16:47:08 +0100, Heiko Stuebner wrote: > > From: Heiko Stuebner > > > > The tmp108 does have an alert output that can be used as interrupt source > > and can of course also be used as part of a thermal sensor setup

Re: [PATCH v5 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-13 Thread Takashi Iwai
On Sun, 11 Nov 2018 20:02:45 +0100, Ayman Bagabas wrote: > > Some of Huawei laptops come with a LED in the micmute key. This patch > enables and disable this LED accordingly. disable what? > This enables micmute LED for: > 1. Matebook X (19e5:3200), (19e5:3201) > 2. Matebook X Pro (19e5:3204) >

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 06:20:20PM +0100, Geert Uytterhoeven wrote: > On Tue, Nov 13, 2018 at 5:57 PM Qian Cai wrote: > > Running the trinity fuzzer with a non-root user on an aarch64 server with > > the > > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > > > [

Re: [PATCH] dt-bindings: hwmon: tmp108: add optional interrupts and #thermal-sensor-cells

2018-11-13 Thread Guenter Roeck
On Mon, Nov 12, 2018 at 05:37:46PM -0600, Rob Herring wrote: > On Wed, 7 Nov 2018 16:47:08 +0100, Heiko Stuebner wrote: > > From: Heiko Stuebner > > > > The tmp108 does have an alert output that can be used as interrupt source > > and can of course also be used as part of a thermal sensor setup

Re: [PATCH v5 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-13 Thread Takashi Iwai
On Sun, 11 Nov 2018 20:02:45 +0100, Ayman Bagabas wrote: > > Some of Huawei laptops come with a LED in the micmute key. This patch > enables and disable this LED accordingly. disable what? > This enables micmute LED for: > 1. Matebook X (19e5:3200), (19e5:3201) > 2. Matebook X Pro (19e5:3204) >

Re: [PATCH 1/3] regulator: dt-bindings: add MCP16502 regulator bindings

2018-11-13 Thread Mark Brown
On Tue, Nov 13, 2018 at 11:29:24AM +, andrei.stefane...@microchip.com wrote: > +- lpm-gpio: GPIO for LPM pin. Note that this GPIO *must* remain high during > + suspend-to-ram, keeping the PMIC into HIBERNATE mode. All GPIO properties should be -gpios even if they can only ever have

Re: [PATCH 1/3] regulator: dt-bindings: add MCP16502 regulator bindings

2018-11-13 Thread Mark Brown
On Tue, Nov 13, 2018 at 11:29:24AM +, andrei.stefane...@microchip.com wrote: > +- lpm-gpio: GPIO for LPM pin. Note that this GPIO *must* remain high during > + suspend-to-ram, keeping the PMIC into HIBERNATE mode. All GPIO properties should be -gpios even if they can only ever have

Re: [PATCH v5 2/3] ALSA: hda: fix front speakers on Huawei MBXP.

2018-11-13 Thread Takashi Iwai
On Sun, 11 Nov 2018 20:02:44 +0100, Ayman Bagabas wrote: > > This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' > https://bugzilla.kernel.org/show_bug.cgi?id=200501 > It enables the front speakers on Huawei Matebook X Pro laptops. > These laptops come with Dolby Atmos sound system

Re: [PATCH v5 2/3] ALSA: hda: fix front speakers on Huawei MBXP.

2018-11-13 Thread Takashi Iwai
On Sun, 11 Nov 2018 20:02:44 +0100, Ayman Bagabas wrote: > > This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' > https://bugzilla.kernel.org/show_bug.cgi?id=200501 > It enables the front speakers on Huawei Matebook X Pro laptops. > These laptops come with Dolby Atmos sound system

Re: [PATCH] arm64: dts: marvell: armada_8k: reserve memory for ATF

2018-11-13 Thread Russell King - ARM Linux
On Tue, Nov 13, 2018 at 02:48:07PM +0100, Emmanuel Vadot wrote: > Like 4436a371 for 37xx, reserve the PSCI area memory region so kernels > can call the code there. > Region address is taken from the ATF code [1] and is 2MiB aligned. > > [1] plat/marvell/a8k/common/include/platform_def.h > >

Re: [PATCH] arm64: dts: marvell: armada_8k: reserve memory for ATF

2018-11-13 Thread Russell King - ARM Linux
On Tue, Nov 13, 2018 at 02:48:07PM +0100, Emmanuel Vadot wrote: > Like 4436a371 for 37xx, reserve the PSCI area memory region so kernels > can call the code there. > Region address is taken from the ATF code [1] and is 2MiB aligned. > > [1] plat/marvell/a8k/common/include/platform_def.h > >

[PATCH] mtd: spi-nor: Fix Cadence QSPI page fault kernel panic

2018-11-13 Thread thor . thayer
From: Thor Thayer The current Cadence QSPI driver caused a kernel panic sporadically when writing to QSPI. The problem was caused by writing more bytes than needed because the QSPI operated on 4 bytes at a time. [ 11.202044] Unable to handle kernel paging request at virtual address bffd3000

[PATCH] mtd: spi-nor: Fix Cadence QSPI page fault kernel panic

2018-11-13 Thread thor . thayer
From: Thor Thayer The current Cadence QSPI driver caused a kernel panic sporadically when writing to QSPI. The problem was caused by writing more bytes than needed because the QSPI operated on 4 bytes at a time. [ 11.202044] Unable to handle kernel paging request at virtual address bffd3000

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 11:55:32AM -0500, Qian Cai wrote: +Cc Rasmus > Running the trinity fuzzer with a non-root user on an aarch64 server with the > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > [  807.847370] precision 65525 too large It seems like someone

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Andy Shevchenko
On Tue, Nov 13, 2018 at 11:55:32AM -0500, Qian Cai wrote: +Cc Rasmus > Running the trinity fuzzer with a non-root user on an aarch64 server with the > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > [  807.847370] precision 65525 too large It seems like someone

Re: [PATCH] arm64: disable KASAN for save_trace()

2018-11-13 Thread Mark Rutland
On Mon, Nov 12, 2018 at 07:38:07AM +, Zhang Zhizhou(张治洲) wrote: > > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Monday, November 12, 2018 1:24 AM > > To: Zhang Zhizhou(张治洲) > > Cc: catalin.mari...@arm.com; will.dea...@arm.com; > >

Re: [PATCH] arm64: disable KASAN for save_trace()

2018-11-13 Thread Mark Rutland
On Mon, Nov 12, 2018 at 07:38:07AM +, Zhang Zhizhou(张治洲) wrote: > > > > -Original Message- > > From: Mark Rutland [mailto:mark.rutl...@arm.com] > > Sent: Monday, November 12, 2018 1:24 AM > > To: Zhang Zhizhou(张治洲) > > Cc: catalin.mari...@arm.com; will.dea...@arm.com; > >

Re: [PATCH 06/15] Platform: OLPC: Add XO-1.75 EC driver

2018-11-13 Thread Lubomir Rintel
Hi, first of all -- thanks for such a careful review. It is very helpful. Wherever I don't respond to you, I'm just following what you wrote. It would perhaps be tiresome to respond to "Yes, will fix in next version" to every single point. I'll be following up with a new version in a few days;

Re: [PATCH 06/15] Platform: OLPC: Add XO-1.75 EC driver

2018-11-13 Thread Lubomir Rintel
Hi, first of all -- thanks for such a careful review. It is very helpful. Wherever I don't respond to you, I'm just following what you wrote. It would perhaps be tiresome to respond to "Yes, will fix in next version" to every single point. I'll be following up with a new version in a few days;

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-13 Thread Stephen Boyd
Quoting Taniya Das (2018-11-10 18:12:28) > Hello Vinod, > > On 11/9/2018 3:20 PM, Vinod Koul wrote: > > Device tree node name are not supposed to have "_" in them so fix the > > node name use of xo_board to xo-board > > > > Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-13 Thread Stephen Boyd
Quoting Taniya Das (2018-11-10 18:12:28) > Hello Vinod, > > On 11/9/2018 3:20 PM, Vinod Koul wrote: > > Device tree node name are not supposed to have "_" in them so fix the > > node name use of xo_board to xo-board > > > > Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 5:57 PM Qian Cai wrote: > Running the trinity fuzzer with a non-root user on an aarch64 server with the > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > [ 807.847370] precision 65525 too large > [ 807.847449] WARNING: CPU: 26 PID: 64391 at

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 5:57 PM Qian Cai wrote: > Running the trinity fuzzer with a non-root user on an aarch64 server with the > latest mainline (rc2) generated this. Is it just a false alarm to ignore? > > [ 807.847370] precision 65525 too large > [ 807.847449] WARNING: CPU: 26 PID: 64391 at

[PATCH v3 12/20] rtc: rk808: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rk808.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-rk808.c

[PATCH v3 12/20] rtc: rk808: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rk808.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-rk808.c

[PATCH v3 03/20] rtc: at91rm9200: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-at91rm9200.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-at91rm9200.c

[PATCH v3 03/20] rtc: at91rm9200: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-at91rm9200.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-at91rm9200.c

[PATCH v3 00/20] lib, rtc: Print rtc_time via %ptR[dt][rv]

2018-11-13 Thread Andy Shevchenko
At some point I have noticed too many users of struct rtc_time that printing its content field by field. In this series I introduce %ptR[dt][rv] specifier to make life a bit easier. There are still users of detailed output of the struct rtc_time, but we can introduce an additional extension for

[PATCH v3 10/20] rtc: pm8xxx: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pm8xxx.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-pm8xxx.c

[PATCH v3 04/20] rtc: at91sam9: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-at91sam9.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c

[PATCH v3 00/20] lib, rtc: Print rtc_time via %ptR[dt][rv]

2018-11-13 Thread Andy Shevchenko
At some point I have noticed too many users of struct rtc_time that printing its content field by field. In this series I introduce %ptR[dt][rv] specifier to make life a bit easier. There are still users of detailed output of the struct rtc_time, but we can introduce an additional extension for

[PATCH v3 10/20] rtc: pm8xxx: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pm8xxx.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-pm8xxx.c

[PATCH v3 04/20] rtc: at91sam9: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-at91sam9.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c

[PATCH v3 06/20] rtc: m48t59: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-m48t59.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index

[PATCH v3 11/20] rtc: puv3: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Guan Xuetao Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-puv3.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-puv3.c

[PATCH v3 07/20] rtc: mcp795: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-mcp795.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c

[PATCH v3 15/20] rtc: s3c: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-s3c.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c

[PATCH v3 08/20] rtc: pcf50633: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pcf50633.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-pcf50633.c b/drivers/rtc/rtc-pcf50633.c

[PATCH v3 09/20] rtc: pic32: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pic32.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-pic32.c

[PATCH v3 06/20] rtc: m48t59: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-m48t59.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index

[PATCH v3 11/20] rtc: puv3: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Guan Xuetao Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-puv3.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-puv3.c

[PATCH v3 07/20] rtc: mcp795: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-mcp795.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c

[PATCH v3 15/20] rtc: s3c: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-s3c.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c

[PATCH v3 08/20] rtc: pcf50633: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pcf50633.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-pcf50633.c b/drivers/rtc/rtc-pcf50633.c

[PATCH v3 09/20] rtc: pic32: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-pic32.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-pic32.c

[PATCH v3 05/20] rtc: m41t80: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-m41t80.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index

[PATCH v3 19/20] mk68/mac: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Geert Uytterhoeven Signed-off-by: Andy Shevchenko --- arch/m68k/mac/misc.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/m68k/mac/misc.c

[PATCH v3 18/20] Input: hp_sdc_rtc - Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Dmitry Torokhov Signed-off-by: Andy Shevchenko --- drivers/input/misc/hp_sdc_rtc.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH v3 13/20] rtc: rx6110: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rx6110.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c

[PATCH v3 05/20] rtc: m41t80: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-m41t80.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index

[PATCH v3 19/20] mk68/mac: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Geert Uytterhoeven Signed-off-by: Andy Shevchenko --- arch/m68k/mac/misc.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/m68k/mac/misc.c

[PATCH v3 18/20] Input: hp_sdc_rtc - Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Dmitry Torokhov Signed-off-by: Andy Shevchenko --- drivers/input/misc/hp_sdc_rtc.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH v3 13/20] rtc: rx6110: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rx6110.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c

[PATCH v3 16/20] rtc: s5m: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Bartlomiej Zolnierkiewicz Reviewed-by: Krzysztof Kozlowski Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-s5m.c | 27 ++- 1 file changed, 6 insertions(+), 21

[PATCH v3 20/20] PM: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: linux...@vger.kernel.org Acked-by: Rafael J. Wysocki Signed-off-by: Andy Shevchenko --- drivers/base/power/trace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v3 16/20] rtc: s5m: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Bartlomiej Zolnierkiewicz Reviewed-by: Krzysztof Kozlowski Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-s5m.c | 27 ++- 1 file changed, 6 insertions(+), 21

[PATCH v3 20/20] PM: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: linux...@vger.kernel.org Acked-by: Rafael J. Wysocki Signed-off-by: Andy Shevchenko --- drivers/base/power/trace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Andy Shevchenko
There are users which print time and date represented by content of struct rtc_time in human readable format. Instead of open coding that each time introduce %ptR[dt][rv] specifier. Note, users have to select PRINTK_PEXT_TIMEDATE option in a Kconfig. Cc: Arnd Bergmann Cc: Bartlomiej

[PATCH v3 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-11-13 Thread Andy Shevchenko
There are users which print time and date represented by content of struct rtc_time in human readable format. Instead of open coding that each time introduce %ptR[dt][rv] specifier. Note, users have to select PRINTK_PEXT_TIMEDATE option in a Kconfig. Cc: Arnd Bergmann Cc: Bartlomiej

[PATCH v3 02/20] rtc: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Arnd Bergmann Acked-by: Greg Kroah-Hartman Signed-off-by: Andy Shevchenko --- drivers/char/rtc.c | 7 +++ drivers/rtc/hctosys.c | 8 ++-- drivers/rtc/interface.c | 8

[PATCH v3 02/20] rtc: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Arnd Bergmann Acked-by: Greg Kroah-Hartman Signed-off-by: Andy Shevchenko --- drivers/char/rtc.c | 7 +++ drivers/rtc/hctosys.c | 8 ++-- drivers/rtc/interface.c | 8

[PATCH v3 17/20] rtc: tegra: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Thierry Reding Cc: Jonathan Hunter Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-tegra.c | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff

[PATCH v3 14/20] rtc: rx8025: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rx8025.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/drivers/rtc/rtc-rx8025.c

[PATCH v3 17/20] rtc: tegra: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Cc: Thierry Reding Cc: Jonathan Hunter Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-tegra.c | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff

[PATCH v3 14/20] rtc: rx8025: Switch to use %ptR

2018-11-13 Thread Andy Shevchenko
Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko --- drivers/rtc/rtc-rx8025.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/drivers/rtc/rtc-rx8025.c

[PATCH] staging: pi433: remove GPL boiler plate text

2018-11-13 Thread Michael Straube
The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. All source and header files have SPDX identifiers. Remove the GPL boiler plate text to reduce file size. Signed-off-by: Michael Straube --- drivers/staging/pi433/pi433_if.c | 10

[PATCH] staging: pi433: remove GPL boiler plate text

2018-11-13 Thread Michael Straube
The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. All source and header files have SPDX identifiers. Remove the GPL boiler plate text to reduce file size. Signed-off-by: Michael Straube --- drivers/staging/pi433/pi433_if.c | 10

Re: [PATCH v3 1/4] dt-bindings: hwlock: Document STM32 hwspinlock bindings

2018-11-13 Thread Bjorn Andersson
On Mon 12 Nov 18:13 PST 2018, Rob Herring wrote: > On Mon, Nov 12, 2018 at 04:23:39PM +0100, Benjamin Gaignard wrote: > > Add bindings for STM32 hardware spinlock device > > > > Signed-off-by: Benjamin Gaignard > > Linaro or ST? Please make the author email match. > Thanks for the review Rob

Re: [PATCH v3 1/4] dt-bindings: hwlock: Document STM32 hwspinlock bindings

2018-11-13 Thread Bjorn Andersson
On Mon 12 Nov 18:13 PST 2018, Rob Herring wrote: > On Mon, Nov 12, 2018 at 04:23:39PM +0100, Benjamin Gaignard wrote: > > Add bindings for STM32 hardware spinlock device > > > > Signed-off-by: Benjamin Gaignard > > Linaro or ST? Please make the author email match. > Thanks for the review Rob

[PATCH] staging: vc04_services: bcm2835-audio: bcm2835-ctl.c fixed warnings

2018-11-13 Thread Arnold Chand
Fixed lines over 80 characters by adding braces where control flow statements are more than one line, aligned parenthesis of function arguments. Signed-off-by: Arnold Chand --- .../vc04_services/bcm2835-audio/bcm2835-ctl.c | 27 +++ 1 file changed, 16 insertions(+), 11

RE: [PATCH v5 0/5] ia64: system call table generation support

2018-11-13 Thread Luck, Tony
> The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system call table generation support implementation > across all the

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