Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.

2017-04-27 Thread Tomohiro Yoshidomi
Mr. Torokhov Hi. I'm AZO = Tomohiro Yoshidomi. I use handle name in my work. I'll use my real name in Linux development. I'm sorry to confuse you. I fixed my source to PATCH V4, and sent you. Please check and let me know if you notice further. 2017-04-27 17:17 GMT+09:00 Dmitry Torokhov

Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.

2017-04-27 Thread Tomohiro Yoshidomi
Mr. Torokhov Hi. I'm AZO = Tomohiro Yoshidomi. I use handle name in my work. I'll use my real name in Linux development. I'm sorry to confuse you. I fixed my source to PATCH V4, and sent you. Please check and let me know if you notice further. 2017-04-27 17:17 GMT+09:00 Dmitry Torokhov : > Hi,

[PATCH v4] Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver

2017-04-27 Thread Tomohiro Yoshidomi
PSX pads can be connected directly to the SPI bus. Signed-off-by: Tomohiro Yoshidomi --- drivers/input/joystick/Kconfig | 17 ++ drivers/input/joystick/Makefile | 1 + drivers/input/joystick/psxpad-spi.c | 564 3 files

[PATCH v4] Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver

2017-04-27 Thread Tomohiro Yoshidomi
PSX pads can be connected directly to the SPI bus. Signed-off-by: Tomohiro Yoshidomi --- drivers/input/joystick/Kconfig | 17 ++ drivers/input/joystick/Makefile | 1 + drivers/input/joystick/psxpad-spi.c | 564 3 files changed, 582 insertions(+)

Re: [PATCH] ACPI / GED: use late init to allow other drivers init

2017-04-27 Thread Sinan Kaya
On 4/25/2017 12:24 PM, Sinan Kaya wrote: > On 4/25/2017 3:01 AM, Lukas Wunner wrote: >> On Sat, Apr 22, 2017 at 12:48 AM, Sinan Kaya wrote: >>> On 4/21/2017 6:43 PM, Rafael J. Wysocki wrote: +late_initcall(ged_init); Does this fix the problem? What about

Re: [PATCH] ACPI / GED: use late init to allow other drivers init

2017-04-27 Thread Sinan Kaya
On 4/25/2017 12:24 PM, Sinan Kaya wrote: > On 4/25/2017 3:01 AM, Lukas Wunner wrote: >> On Sat, Apr 22, 2017 at 12:48 AM, Sinan Kaya wrote: >>> On 4/21/2017 6:43 PM, Rafael J. Wysocki wrote: +late_initcall(ged_init); Does this fix the problem? What about if the module in

[PATCH v1 1/2] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-27 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c

[PATCH v1 1/2] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-27 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c

[PATCH v1 2/2] clk: rockchip: export rk3228 clocks ID

2017-04-27 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 92 +- include/dt-bindings/clock/rk3228-cru.h | 47

[PATCH v1 2/2] clk: rockchip: export rk3228 clocks ID

2017-04-27 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 92 +- include/dt-bindings/clock/rk3228-cru.h | 47 + 2 files

[PATCH v1 0/2] clk: rockchip: Perfect clock description for RK3228

2017-04-27 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Elaine Zhang (2): clk: rockchip: fix up the RK3228 clk cpu setting table clk: rockchip: export rk3228 clocks ID drivers/clk/rockchip/clk-rk3228.c | 142 +++--

[PATCH v1 0/2] clk: rockchip: Perfect clock description for RK3228

2017-04-27 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Elaine Zhang (2): clk: rockchip: fix up the RK3228 clk cpu setting table clk: rockchip: export rk3228 clocks ID drivers/clk/rockchip/clk-rk3228.c | 142 +++--

Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Guenter Roeck
On 04/27/2017 06:02 PM, Eric Anholt wrote: The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt Reviewed-by: Guenter Roeck ---

Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Guenter Roeck
On 04/27/2017 06:02 PM, Eric Anholt wrote: The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt Reviewed-by: Guenter Roeck --- drivers/watchdog/bcm_kona_wdt.c | 3 ++- 1

Re: [trace-cmd Patch RFC] trace-cmd: top: A new interface to detect peak memory

2017-04-27 Thread Steven Rostedt
On Thu, 27 Apr 2017 23:03:24 +0530 Pratyush Anand wrote: > On Thursday 27 April 2017 10:19 PM, Steven Rostedt wrote: > > On Thu, 27 Apr 2017 19:32:43 +0530 > > Pratyush Anand wrote: > > > >> I will implement your review comments and will send next

Re: [trace-cmd Patch RFC] trace-cmd: top: A new interface to detect peak memory

2017-04-27 Thread Steven Rostedt
On Thu, 27 Apr 2017 23:03:24 +0530 Pratyush Anand wrote: > On Thursday 27 April 2017 10:19 PM, Steven Rostedt wrote: > > On Thu, 27 Apr 2017 19:32:43 +0530 > > Pratyush Anand wrote: > > > >> I will implement your review comments and will send next revision. > >> However, I had couple of

Re: [PATCH net-next 16/18] net: dsa: mv88e6xxx: simplify VTU entry getter

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:34AM -0400, Vivien Didelot wrote: > Make the code which fetches or initializes a new VTU entry more concise. > This allows us the get rid of the old underscore prefix naming. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew

Re: [PATCH net-next 16/18] net: dsa: mv88e6xxx: simplify VTU entry getter

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:34AM -0400, Vivien Didelot wrote: > Make the code which fetches or initializes a new VTU entry more concise. > This allows us the get rid of the old underscore prefix naming. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net-next 15/18] net: dsa: mv88e6xxx: make VTU helpers static

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:33AM -0400, Vivien Didelot wrote: > Now that we have chip operations for VTU accesses, mark all helpers from > global1_vtu.c as static. Only the various implementations of the > GetNext, LoadPurge and Flush operations need to be exposed. > > Signed-off-by: Vivien

Re: [PATCH net-next 15/18] net: dsa: mv88e6xxx: make VTU helpers static

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:33AM -0400, Vivien Didelot wrote: > Now that we have chip operations for VTU accesses, mark all helpers from > global1_vtu.c as static. Only the various implementations of the > GetNext, LoadPurge and Flush operations need to be exposed. > > Signed-off-by: Vivien

Re: [PATCH net-next 14/18] net: dsa: mv88e6xxx: add VTU Load/Purge operation

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:32AM -0400, Vivien Didelot wrote: > Add a new vtu_loadpurge operation to the chip info structure to differ > the various implementations of the VTU accesses. > > Now that the STU handling is abstracted behind VTU operations, kill the > obsolete MV88E6XXX_FLAG_STU

Re: [PATCH net-next 14/18] net: dsa: mv88e6xxx: add VTU Load/Purge operation

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:32AM -0400, Vivien Didelot wrote: > Add a new vtu_loadpurge operation to the chip info structure to differ > the various implementations of the VTU accesses. > > Now that the STU handling is abstracted behind VTU operations, kill the > obsolete MV88E6XXX_FLAG_STU

Re: perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread David Ahern
On 4/27/17 7:41 PM, Steven Rostedt wrote: > On Thu, 27 Apr 2017 19:31:12 -0500 > David Carrillo-Cisneros wrote: > >> When processing tracepoint events, perf report outputs warnings about >> field not founds. The warnings are usually hidden by perf report UI >> and appear when

Re: perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread David Ahern
On 4/27/17 7:41 PM, Steven Rostedt wrote: > On Thu, 27 Apr 2017 19:31:12 -0500 > David Carrillo-Cisneros wrote: > >> When processing tracepoint events, perf report outputs warnings about >> field not founds. The warnings are usually hidden by perf report UI >> and appear when using the --stdio

Re: [PATCH net-next 13/18] net: dsa: mv88e6xxx: add VTU GetNext operation

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:31AM -0400, Vivien Didelot wrote: > Add a new vtu_getnext operation to the chip info structure to differ the > various implementations of the VTU accesses. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn

Re: [PATCH net-next 13/18] net: dsa: mv88e6xxx: add VTU GetNext operation

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:31AM -0400, Vivien Didelot wrote: > Add a new vtu_getnext operation to the chip info structure to differ the > various implementations of the VTU accesses. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net-next 12/18] net: dsa: mv88e6xxx: load STU entry with VTU entry

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:30AM -0400, Vivien Didelot wrote: > Now that the code writes both VTU and STU data when loading a VTU entry, > load the corresponding STU entry at the same time. > > This allows us to get rid of the STU management in the > _mv88e6xxx_vtu_new helper and thus remove

Re: [PATCH net-next 12/18] net: dsa: mv88e6xxx: load STU entry with VTU entry

2017-04-27 Thread Andrew Lunn
On Wed, Apr 26, 2017 at 11:53:30AM -0400, Vivien Didelot wrote: > Now that the code writes both VTU and STU data when loading a VTU entry, > load the corresponding STU entry at the same time. > > This allows us to get rid of the STU management in the > _mv88e6xxx_vtu_new helper and thus remove

[PATCH] drivers:net:ethernet:emulex:benet: Use time_before_eq for time comparison

2017-04-27 Thread Karim Eshapa
Use time_before_eq for time comparison more safe and dealing with timer wrapping to be future-proof. Signed-off-by: Karim Eshapa --- drivers/net/ethernet/emulex/benet/be_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] drivers:net:ethernet:emulex:benet: Use time_before_eq for time comparison

2017-04-27 Thread Karim Eshapa
Use time_before_eq for time comparison more safe and dealing with timer wrapping to be future-proof. Signed-off-by: Karim Eshapa --- drivers/net/ethernet/emulex/benet/be_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/emulex/benet/be_main.c

Re: [PATCH v6 3/5] test: add new driver_data load tester

2017-04-27 Thread Luis R. Rodriguez
On Tue, Apr 11, 2017 at 05:32:52PM +0900, AKASHI Takahiro wrote: > On Wed, Mar 29, 2017 at 08:25:12PM -0700, Luis R. Rodriguez wrote: > > This adds a load tester driver test_driver_data a for the new extensible > > driver_data loader API, part of firmware_class. This test driver enables > > you to

Re: [PATCH v6 3/5] test: add new driver_data load tester

2017-04-27 Thread Luis R. Rodriguez
On Tue, Apr 11, 2017 at 05:32:52PM +0900, AKASHI Takahiro wrote: > On Wed, Mar 29, 2017 at 08:25:12PM -0700, Luis R. Rodriguez wrote: > > This adds a load tester driver test_driver_data a for the new extensible > > driver_data loader API, part of firmware_class. This test driver enables > > you to

Re: perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread Steven Rostedt
On Thu, 27 Apr 2017 19:31:12 -0500 David Carrillo-Cisneros wrote: > When processing tracepoint events, perf report outputs warnings about > field not founds. The warnings are usually hidden by perf report UI > and appear when using the --stdio option. e.g. > > $ perf

Re: perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread Steven Rostedt
On Thu, 27 Apr 2017 19:31:12 -0500 David Carrillo-Cisneros wrote: > When processing tracepoint events, perf report outputs warnings about > field not founds. The warnings are usually hidden by perf report UI > and appear when using the --stdio option. e.g. > > $ perf record -e

Re: [PATCH 2/2] f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard

2017-04-27 Thread Chao Yu
Hi Jaegeuk, On 2017/4/28 2:16, Jaegeuk Kim wrote: > Hi Chao, > > Could you add this state in print_cp_state() of f2fs-tools as well? Oh, right, and we can set the flag after trimming in mkfs, also we need to adjust this state into trace info. Let me fix this. :) Thanks, > > Thanks, > > On

Re: [PATCH 2/2] f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard

2017-04-27 Thread Chao Yu
Hi Jaegeuk, On 2017/4/28 2:16, Jaegeuk Kim wrote: > Hi Chao, > > Could you add this state in print_cp_state() of f2fs-tools as well? Oh, right, and we can set the flag after trimming in mkfs, also we need to adjust this state into trace info. Let me fix this. :) Thanks, > > Thanks, > > On

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-27 Thread Sergey Senozhatsky
On (04/27/17 12:14), Steven Rostedt wrote: [..] > I tried this patch. It's better because I get the end of the trace, but > I do lose the beginning of it: > > ** 196358 printk messages dropped ** [ 102.321182] perf-59810 > 12983650us : d_path <-seq_path many thanks! so we now drop

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-27 Thread Sergey Senozhatsky
On (04/27/17 12:14), Steven Rostedt wrote: [..] > I tried this patch. It's better because I get the end of the trace, but > I do lose the beginning of it: > > ** 196358 printk messages dropped ** [ 102.321182] perf-59810 > 12983650us : d_path <-seq_path many thanks! so we now drop

Re: [PATCH 3/3] ARM: at91: pm: fallback to slowclock when backup mode fails

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: If the backup sram allocation fails, ensure we can suspend by falling back to the usual slow clock mode. Signed-off-by: Alexandre Belloni Acked-by: Wenyou Yang ---

Re: [PATCH 3/3] ARM: at91: pm: fallback to slowclock when backup mode fails

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: If the backup sram allocation fails, ensure we can suspend by falling back to the usual slow clock mode. Signed-off-by: Alexandre Belloni Acked-by: Wenyou Yang --- arch/arm/mach-at91/pm.c | 12 +--- 1 file changed, 9 insertions(+), 3

Re: [PATCH 2/3] ARM: at91: pm: allow selecting standby and suspend modes

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: While we can only select between "standby" and "mem" states for power management, the atmel platforms can actually support more modes. For both standby and mem, allow selecting which mode will be used using the atmel.pm_modes kernel parameter. By

Re: [PATCH 2/3] ARM: at91: pm: allow selecting standby and suspend modes

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: While we can only select between "standby" and "mem" states for power management, the atmel platforms can actually support more modes. For both standby and mem, allow selecting which mode will be used using the atmel.pm_modes kernel parameter. By

[PATCH v2 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-04-27 Thread Khuong Dinh
From: Khuong Dinh This patch makes pci-xgene-msi driver ACPI-aware and provides MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. Signed-off-by: Khuong Dinh Signed-off-by: Duc Dang Acked-by: Marc Zyngier ---

[PATCH v2 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-04-27 Thread Khuong Dinh
From: Khuong Dinh This patch makes pci-xgene-msi driver ACPI-aware and provides MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. Signed-off-by: Khuong Dinh Signed-off-by: Duc Dang Acked-by: Marc Zyngier --- v2: - Verify with BIOS version 3.06.25 and 3.07.09 v1: - Initial

Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Florian Fainelli
On 04/27/2017 06:02 PM, Eric Anholt wrote: > The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so > initialize it earlier. Fixes a warning at boot with lock debugging > enabled. > > Signed-off-by: Eric Anholt Fixes: 6adb730dc208 ("watchdog: bcm281xx: Watchdog

Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Florian Fainelli
On 04/27/2017 06:02 PM, Eric Anholt wrote: > The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so > initialize it earlier. Fixes a warning at boot with lock debugging > enabled. > > Signed-off-by: Eric Anholt Fixes: 6adb730dc208 ("watchdog: bcm281xx: Watchdog Driver")

Re: [PATCH 1/3] ARM: at91: pm: Add sama5d2 backup mode

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: The sama5d2 has a mode were it is possible to cut power to the SoC while keeping the RAM in self refresh. Resuming from that mode needs support in the firmware/bootloader. Signed-off-by: Alexandre Belloni

Re: [PATCH 1/3] ARM: at91: pm: Add sama5d2 backup mode

2017-04-27 Thread Yang, Wenyou
On 2017/4/27 0:04, Alexandre Belloni wrote: The sama5d2 has a mode were it is possible to cut power to the SoC while keeping the RAM in self refresh. Resuming from that mode needs support in the firmware/bootloader. Signed-off-by: Alexandre Belloni Acked-by: Wenyou Yang ---

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-27 Thread Sergey Senozhatsky
On (04/20/17 15:11), Petr Mladek wrote: [..] > void printk_nmi_enter(void) > { > - this_cpu_or(printk_context, PRINTK_NMI_CONTEXT_MASK); > + /* > + * The size of the extra per-CPU buffer is limited. Use it > + * only when really needed. > + */ > + if

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-27 Thread Sergey Senozhatsky
On (04/20/17 15:11), Petr Mladek wrote: [..] > void printk_nmi_enter(void) > { > - this_cpu_or(printk_context, PRINTK_NMI_CONTEXT_MASK); > + /* > + * The size of the extra per-CPU buffer is limited. Use it > + * only when really needed. > + */ > + if

RE: [PATCH v2 1/2] ACPICA: Tables: Fix regression introduced by a too early mechanism enabling

2017-04-27 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v2 1/2] ACPICA: Tables: Fix regression introduced by a > too early mechanism > enabling > > On Thursday, April 27, 2017 04:22:44 PM Lv Zheng

RE: [PATCH v2 1/2] ACPICA: Tables: Fix regression introduced by a too early mechanism enabling

2017-04-27 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v2 1/2] ACPICA: Tables: Fix regression introduced by a > too early mechanism > enabling > > On Thursday, April 27, 2017 04:22:44 PM Lv Zheng

Re: [PATCH RESEND v2] f2fs: release cp and dnode lock before IPU

2017-04-27 Thread Chao Yu
Hi Jaegeuk, On 2017/4/28 2:08, Jaegeuk Kim wrote: > Hi Chao, > > On 04/27, Chao Yu wrote: >> From: Hou Pengyang >> >> We don't need to rewrite the page under cp_rwsem and dnode locks. >> >> Signed-off-by: Hou Pengyang >> Signed-off-by: Chao Yu

Re: [PATCH RESEND v2] f2fs: release cp and dnode lock before IPU

2017-04-27 Thread Chao Yu
Hi Jaegeuk, On 2017/4/28 2:08, Jaegeuk Kim wrote: > Hi Chao, > > On 04/27, Chao Yu wrote: >> From: Hou Pengyang >> >> We don't need to rewrite the page under cp_rwsem and dnode locks. >> >> Signed-off-by: Hou Pengyang >> Signed-off-by: Chao Yu >> Signed-off-by: Jaegeuk Kim >> --- >>

Re: [PATCH v2] clk: sunxi-ng: Fix dependency on SUNXI_CCU_GATE

2017-04-27 Thread Stephen Boyd
On 04/27, Corentin Labbe wrote: > On Thu, Apr 27, 2017 at 09:04:36AM +0200, Maxime Ripard wrote: > > On Wed, Apr 26, 2017 at 01:53:19PM +0200, Corentin Labbe wrote: > > > When CONFIG_SUNXI_CCU is set but no other SUNXI_CCU is selected i got > > > the following build error: > > >

Re: [PATCH v2] clk: sunxi-ng: Fix dependency on SUNXI_CCU_GATE

2017-04-27 Thread Stephen Boyd
On 04/27, Corentin Labbe wrote: > On Thu, Apr 27, 2017 at 09:04:36AM +0200, Maxime Ripard wrote: > > On Wed, Apr 26, 2017 at 01:53:19PM +0200, Corentin Labbe wrote: > > > When CONFIG_SUNXI_CCU is set but no other SUNXI_CCU is selected i got > > > the following build error: > > >

RE: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial of service

2017-04-27 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Dan > Williams > Subject: Re: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial > of service > > On Wed, Apr 26, 2017 at 11:49 PM, Zheng, Lv wrote: > > Hi,

RE: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial of service

2017-04-27 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Dan > Williams > Subject: Re: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial > of service > > On Wed, Apr 26, 2017 at 11:49 PM, Zheng, Lv wrote: > > Hi, Rafael > > > >> From:

Re: [PATCH] mm: Add additional consistency check

2017-04-27 Thread Kees Cook
On Tue, Apr 11, 2017 at 7:19 AM, Michal Hocko wrote: > I would do something like... > --- > diff --git a/mm/slab.c b/mm/slab.c > index bd63450a9b16..87c99a5e9e18 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -393,10 +393,15 @@ static inline void set_store_user_dirty(struct >

Re: [PATCH] mm: Add additional consistency check

2017-04-27 Thread Kees Cook
On Tue, Apr 11, 2017 at 7:19 AM, Michal Hocko wrote: > I would do something like... > --- > diff --git a/mm/slab.c b/mm/slab.c > index bd63450a9b16..87c99a5e9e18 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -393,10 +393,15 @@ static inline void set_store_user_dirty(struct > kmem_cache

Re: [PATCH -mm -v3] mm, swap: Sort swap entries before free

2017-04-27 Thread Huang, Ying
Minchan Kim writes: > On Wed, Apr 26, 2017 at 08:42:10PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Fri, Apr 21, 2017 at 08:29:30PM +0800, Huang, Ying wrote: >> >> "Huang, Ying" writes: >> >> >> >> > Minchan Kim

Re: [PATCH -mm -v3] mm, swap: Sort swap entries before free

2017-04-27 Thread Huang, Ying
Minchan Kim writes: > On Wed, Apr 26, 2017 at 08:42:10PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Fri, Apr 21, 2017 at 08:29:30PM +0800, Huang, Ying wrote: >> >> "Huang, Ying" writes: >> >> >> >> > Minchan Kim writes: >> >> > >> >> >> On Wed, Apr 19, 2017 at 04:14:43PM

[PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Eric Anholt
The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt --- drivers/watchdog/bcm_kona_wdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Eric Anholt
The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt --- drivers/watchdog/bcm_kona_wdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v6 4/5] iwlwifi: convert to use driver data API

2017-04-27 Thread Luis R. Rodriguez
On Mon, Apr 10, 2017 at 04:19:12PM +0300, Luca Coelho wrote: > On Wed, 2017-03-29 at 20:25 -0700, Luis R. Rodriguez wrote: > > The driver data API provides support for looking for firmware > > from a specific set of API ranges, so just use that. Since we > > free the firmware on the callback

Re: [PATCH v6 4/5] iwlwifi: convert to use driver data API

2017-04-27 Thread Luis R. Rodriguez
On Mon, Apr 10, 2017 at 04:19:12PM +0300, Luca Coelho wrote: > On Wed, 2017-03-29 at 20:25 -0700, Luis R. Rodriguez wrote: > > The driver data API provides support for looking for firmware > > from a specific set of API ranges, so just use that. Since we > > free the firmware on the callback

Re: [PATCH v6 2/5] firmware: add extensible driver data API

2017-04-27 Thread Luis R. Rodriguez
On Thu, Apr 13, 2017 at 06:36:17PM +0900, AKASHI Takahiro wrote: > On Wed, Mar 29, 2017 at 08:25:11PM -0700, Luis R. Rodriguez wrote: > > Signed-off-by: Luis R. Rodriguez > > --- > > Documentation/driver-api/firmware/driver_data.rst | 77 + > >

Re: [PATCH] kexec: allocate buffer in top-down, if specified, correctly

2017-04-27 Thread AKASHI Takahiro
Thiago, Thank you for the comment. On Thu, Apr 27, 2017 at 07:00:04PM -0300, Thiago Jung Bauermann wrote: > Hello, > > Am Mittwoch, 26. April 2017, 17:22:09 BRT schrieb AKASHI Takahiro: > > The current kexec_locate_mem_hole(kbuf.top_down == 1) stops searching at > > the first memory region that

Re: [PATCH v6 2/5] firmware: add extensible driver data API

2017-04-27 Thread Luis R. Rodriguez
On Thu, Apr 13, 2017 at 06:36:17PM +0900, AKASHI Takahiro wrote: > On Wed, Mar 29, 2017 at 08:25:11PM -0700, Luis R. Rodriguez wrote: > > Signed-off-by: Luis R. Rodriguez > > --- > > Documentation/driver-api/firmware/driver_data.rst | 77 + > > Documentation/driver-api/firmware/index.rst

Re: [PATCH] kexec: allocate buffer in top-down, if specified, correctly

2017-04-27 Thread AKASHI Takahiro
Thiago, Thank you for the comment. On Thu, Apr 27, 2017 at 07:00:04PM -0300, Thiago Jung Bauermann wrote: > Hello, > > Am Mittwoch, 26. April 2017, 17:22:09 BRT schrieb AKASHI Takahiro: > > The current kexec_locate_mem_hole(kbuf.top_down == 1) stops searching at > > the first memory region that

Re: Boot regression caused by kauditd

2017-04-27 Thread Paul Moore
In that case please send a proper inline patch to the audit mailing list and we'll review it. Thanks. -- paul moore www.paul-moore.com On April 27, 2017 7:41:45 PM Cong Wang wrote: > On Thu, Apr 27, 2017 at 3:38 PM, Paul Moore wrote: >> On Thu,

Re: Boot regression caused by kauditd

2017-04-27 Thread Paul Moore
In that case please send a proper inline patch to the audit mailing list and we'll review it. Thanks. -- paul moore www.paul-moore.com On April 27, 2017 7:41:45 PM Cong Wang wrote: > On Thu, Apr 27, 2017 at 3:38 PM, Paul Moore wrote: >> On Thu, Apr 27, 2017 at 5:45 PM, Cong Wang wrote: >>>

Re: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial of service

2017-04-27 Thread Rafael J. Wysocki
On Thursday, April 27, 2017 07:48:32 AM Dan Williams wrote: > On Wed, Apr 26, 2017 at 11:49 PM, Zheng, Lv wrote: > > Hi, Rafael > > > >> From: linux-acpi-ow...@vger.kernel.org > >> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > >> Wysocki > >> Subject: Re:

Re: [PATCH v2] acpi: fix acpi_get_table() leak / acpi-sysfs denial of service

2017-04-27 Thread Rafael J. Wysocki
On Thursday, April 27, 2017 07:48:32 AM Dan Williams wrote: > On Wed, Apr 26, 2017 at 11:49 PM, Zheng, Lv wrote: > > Hi, Rafael > > > >> From: linux-acpi-ow...@vger.kernel.org > >> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > >> Wysocki > >> Subject: Re: [PATCH v2] acpi:

Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS

2017-04-27 Thread Masahiro Yamada
2017-04-26 7:47 GMT+09:00 Matthias Kaehlcke : > From: Michael Davidson > > The Linux Kernel relies on GCC's acceptance of inline assembly as an > opaque object which will not have any validation performed on the content. > The current behaviour in LLVM is to

Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS

2017-04-27 Thread Masahiro Yamada
2017-04-26 7:47 GMT+09:00 Matthias Kaehlcke : > From: Michael Davidson > > The Linux Kernel relies on GCC's acceptance of inline assembly as an > opaque object which will not have any validation performed on the content. > The current behaviour in LLVM is to perform validation of the contents by

perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread David Carrillo-Cisneros
When processing tracepoint events, perf report outputs warnings about field not founds. The warnings are usually hidden by perf report UI and appear when using the --stdio option. e.g. $ perf record -e syscalls:sys_enter_mmap some_load $ perf report --stdio Warning:

perf report warnings on tracepoint events hidden by ui

2017-04-27 Thread David Carrillo-Cisneros
When processing tracepoint events, perf report outputs warnings about field not founds. The warnings are usually hidden by perf report UI and appear when using the --stdio option. e.g. $ perf record -e syscalls:sys_enter_mmap some_load $ perf report --stdio Warning:

Re: [PATCH v4] NFC: trf7970a: Correct register settings for 27MHz clock

2017-04-27 Thread Mark Greer
On Thu, Apr 27, 2017 at 05:28:46PM -0400, Geoff Lansberry wrote: > In prior commits the selected clock frequency does not propagate > correctly to what is written to the TRF7970A_MODULATOR_SYS_CLK_CTRL > register. > > Signed-off-by: Geoff Lansberry > --- Acked-by: Mark Greer

Re: [PATCH v4] NFC: trf7970a: Correct register settings for 27MHz clock

2017-04-27 Thread Mark Greer
On Thu, Apr 27, 2017 at 05:28:46PM -0400, Geoff Lansberry wrote: > In prior commits the selected clock frequency does not propagate > correctly to what is written to the TRF7970A_MODULATOR_SYS_CLK_CTRL > register. > > Signed-off-by: Geoff Lansberry > --- Acked-by: Mark Greer

Re: [PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Joe Perches
On Thu, 2017-04-27 at 19:22 -0500, Larry Finger wrote: > On 04/27/2017 07:09 PM, Justin Vreeland wrote: > > Signed-off-by: Justin Vreeland > > --- > > drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- > > drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c |

Re: [PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Joe Perches
On Thu, 2017-04-27 at 19:22 -0500, Larry Finger wrote: > On 04/27/2017 07:09 PM, Justin Vreeland wrote: > > Signed-off-by: Justin Vreeland > > --- > > drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- > > drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 9 +++-- > >

[GIT PULL] Btrfs

2017-04-27 Thread Chris Mason
Hi Linus, We have one more for btrfs: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.11 This is dropping a new WARN_ON from rc1 that ended up making more noise than we really want. The larger fix for the underflow got delayed a bit and it's better for now

[GIT PULL] Btrfs

2017-04-27 Thread Chris Mason
Hi Linus, We have one more for btrfs: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.11 This is dropping a new WARN_ON from rc1 that ended up making more noise than we really want. The larger fix for the underflow got delayed a bit and it's better for now

Re: [PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Larry Finger
On 04/27/2017 07:09 PM, Justin Vreeland wrote: Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 9 +++-- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 6

Re: [PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Larry Finger
On 04/27/2017 07:09 PM, Justin Vreeland wrote: Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 9 +++-- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 6 ++ 3 files changed,

Re: [PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses

2017-04-27 Thread Larry Finger
On 04/27/2017 07:09 PM, Justin Vreeland wrote: Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index

Re: [PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses

2017-04-27 Thread Larry Finger
On 04/27/2017 07:09 PM, Justin Vreeland wrote: Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 0b3541a91548..13c4aebd178e

[PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 0b3541a91548..13c4aebd178e 100644 ---

[PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 0b3541a91548..13c4aebd178e 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h

[PATCH 2/7] staging: rtl8723bs: Wrap multi-line macros in do-while loop

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm_debug.h | 80 +-- 1 file changed, 44 insertions(+), 36 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h index

[PATCH 2/7] staging: rtl8723bs: Wrap multi-line macros in do-while loop

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/odm_debug.h | 80 +-- 1 file changed, 44 insertions(+), 36 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h index

[PATCH 1/7] staging: rtl8723bs: Fix initialization of static variables

2017-04-27 Thread Justin Vreeland
Do not initialize static to 0 Do not initialize static to false Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 8 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 4 ++-- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +-

[PATCH 1/7] staging: rtl8723bs: Fix initialization of static variables

2017-04-27 Thread Justin Vreeland
Do not initialize static to 0 Do not initialize static to false Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 8 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 4 ++-- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +-

[PATCH 7/7] staging: rtl8723bs: Do not use assignment in if condition

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c index

[PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 9 +++-- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 6 ++ 3 files changed, 10 insertions(+), 20

[PATCH 7/7] staging: rtl8723bs: Do not use assignment in if condition

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c index cc6eb32c5f71..c189eb575654 100644 ---

[PATCH 4/7] staging: rtl8723bs: Move braces to same line as conditional

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 15 +-- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 9 +++-- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 6 ++ 3 files changed, 10 insertions(+), 20 deletions(-) diff --git

[PATCH 6/7] staging: rtl8723bs: Fix spacing around '<'

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c index

[PATCH 6/7] staging: rtl8723bs: Fix spacing around '<'

2017-04-27 Thread Justin Vreeland
Signed-off-by: Justin Vreeland --- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c index 991e3adcc42c..cc6eb32c5f71 100644 ---

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