[tip:perf/core] perf cs-etm: Bail out immediately for instruction sample failure

2018-07-25 Thread tip-bot for Leo Yan
Commit-ID: 6cd4ac6a02c9bc6560faf567ac013902ab9cd039 Gitweb: https://git.kernel.org/tip/6cd4ac6a02c9bc6560faf567ac013902ab9cd039 Author: Leo Yan AuthorDate: Mon, 18 Jun 2018 13:09:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:48:32 -0300 perf cs-etm: Bail

[tip:perf/core] perf cs-etm: Introduce invalid address macro

2018-07-25 Thread tip-bot for Leo Yan
Commit-ID: 6abf0f451087176caf0f9ad0cc2a79bcc5ebb443 Gitweb: https://git.kernel.org/tip/6abf0f451087176caf0f9ad0cc2a79bcc5ebb443 Author: Leo Yan AuthorDate: Mon, 18 Jun 2018 13:09:54 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:48:22 -0300 perf cs-etm:

[tip:perf/core] perf tests: Check that complex event name is parsed correctly

2018-07-25 Thread tip-bot for Alexey Budankov
Commit-ID: 06dc5bf21f3f90750fcc073fbc6ce2a0324df051 Gitweb: https://git.kernel.org/tip/06dc5bf21f3f90750fcc073fbc6ce2a0324df051 Author: Alexey Budankov AuthorDate: Tue, 19 Jun 2018 11:45:40 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:37:11 -0300 perf

Re: [PATCH 2/2] drivers: clk: st: address sparse warnings

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-15 03:18:24) > Refactoring of code to make it more readable and at the same time make > sparse happy again. > > Signed-off-by: Nicholas Mc Guire > --- > > sparse complained about: > drivers/clk/st/clkgen-pll.c:225:12: warning: context imbalance in >

[tip:perf/core] perf tests: Check that complex event name is parsed correctly

2018-07-25 Thread tip-bot for Alexey Budankov
Commit-ID: 06dc5bf21f3f90750fcc073fbc6ce2a0324df051 Gitweb: https://git.kernel.org/tip/06dc5bf21f3f90750fcc073fbc6ce2a0324df051 Author: Alexey Budankov AuthorDate: Tue, 19 Jun 2018 11:45:40 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:37:11 -0300 perf

Re: [PATCH 2/2] drivers: clk: st: address sparse warnings

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-15 03:18:24) > Refactoring of code to make it more readable and at the same time make > sparse happy again. > > Signed-off-by: Nicholas Mc Guire > --- > > sparse complained about: > drivers/clk/st/clkgen-pll.c:225:12: warning: context imbalance in >

[tip:perf/core] perf hists: Clarify callchain disabling when available

2018-07-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e9de7e2f7e22989fefc760cf0920062c58b2b2b1 Gitweb: https://git.kernel.org/tip/e9de7e2f7e22989fefc760cf0920062c58b2b2b1 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 20 Jun 2018 15:58:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:37:33 -0300

[tip:perf/core] perf hists: Clarify callchain disabling when available

2018-07-25 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e9de7e2f7e22989fefc760cf0920062c58b2b2b1 Gitweb: https://git.kernel.org/tip/e9de7e2f7e22989fefc760cf0920062c58b2b2b1 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 20 Jun 2018 15:58:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:37:33 -0300

Re: [PATCH] samples/bpf: Add BTF build flags to Makefile

2018-07-25 Thread Martin KaFai Lau
On Thu, Jul 26, 2018 at 01:30:39AM +0900, Taeung Song wrote: > To smoothly test BTF supported binary on samples/bpf, > let samples/bpf/Makefile probe llc, pahole and > llvm-objcopy for BPF support and use them > like tools/testing/selftests/bpf/Makefile > changed from the commit c0fa1b6c3efc

Re: [PATCH] samples/bpf: Add BTF build flags to Makefile

2018-07-25 Thread Martin KaFai Lau
On Thu, Jul 26, 2018 at 01:30:39AM +0900, Taeung Song wrote: > To smoothly test BTF supported binary on samples/bpf, > let samples/bpf/Makefile probe llc, pahole and > llvm-objcopy for BPF support and use them > like tools/testing/selftests/bpf/Makefile > changed from the commit c0fa1b6c3efc

Re: [PATCH] drivers: infiniband: core: Remove extra parentheses

2018-07-25 Thread Jason Gunthorpe
On Wed, Jul 25, 2018 at 08:43:56PM +0200, Varsha Rao wrote: > Remove unnecessary parentheses to fix the clang warning of extraneous > parentheses. > > Signed-off-by: Varsha Rao > --- > drivers/infiniband/core/cma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-next,

Re: [PATCH] drivers: infiniband: core: Remove extra parentheses

2018-07-25 Thread Jason Gunthorpe
On Wed, Jul 25, 2018 at 08:43:56PM +0200, Varsha Rao wrote: > Remove unnecessary parentheses to fix the clang warning of extraneous > parentheses. > > Signed-off-by: Varsha Rao > --- > drivers/infiniband/core/cma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-next,

Re: [PATCH] clk: imx6sll: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 09:40:04) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: [GIT PULL 00/27] perf/core improvements and fixes

2018-07-25 Thread Ingo Molnar
e available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.19-20180725 > 52 files changed, 1456 insertions(+), 109 deletions(-) Pulled, thanks a lot Arnaldo! Could we please also fix these before v4.18

Re: [PATCH] clk: imx6sll: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 09:40:04) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: [GIT PULL 00/27] perf/core improvements and fixes

2018-07-25 Thread Ingo Molnar
e available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.19-20180725 > 52 files changed, 1456 insertions(+), 109 deletions(-) Pulled, thanks a lot Arnaldo! Could we please also fix these before v4.18

Re: Droid 4: suspend to RAM?

2018-07-25 Thread Michael Nazzareno Trimarchi
Hi Pavel On Wed, Jul 25, 2018 at 10:02 PM, Pavel Machek wrote: > Hi! > > I have two big problems with droid 4. #1 is that it lost 2 SMS.. and I > have no idea why. Second is power consumption -- it seems to be rather Depend how do you set the SMS buffering using CNMI if I remember. Modem has

Re: [PATCH] clk: imx6sll: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 09:40:04) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: Droid 4: suspend to RAM?

2018-07-25 Thread Michael Nazzareno Trimarchi
Hi Pavel On Wed, Jul 25, 2018 at 10:02 PM, Pavel Machek wrote: > Hi! > > I have two big problems with droid 4. #1 is that it lost 2 SMS.. and I > have no idea why. Second is power consumption -- it seems to be rather Depend how do you set the SMS buffering using CNMI if I remember. Modem has

Re: [PATCH] clk: imx6sll: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 09:40:04) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: [PATCH v1 0/4] PCI: Remove unnecessary includes of

2018-07-25 Thread Sinan Kaya
On 7/25/2018 12:52 PM, Bjorn Helgaas wrote: emove includes of from files that don't need it. I'll apply all these via the PCI tree unless there's objection. --- Bjorn Helgaas (4): igb: Remove unnecessary include of ath9k: Remove unnecessary include of iwlwifi: Remove

Re: [PATCH v1 0/4] PCI: Remove unnecessary includes of

2018-07-25 Thread Sinan Kaya
On 7/25/2018 12:52 PM, Bjorn Helgaas wrote: emove includes of from files that don't need it. I'll apply all these via the PCI tree unless there's objection. --- Bjorn Helgaas (4): igb: Remove unnecessary include of ath9k: Remove unnecessary include of iwlwifi: Remove

Re: [PATCH] clk: imx6ul: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 04:13:20) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: [PATCH] clk: imx6ul: fix missing of_node_put()

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-13 04:13:20) > of_find_compatible_node() is returning a device node with refcount > incremented and must be explicitly decremented after the last use > which is right after the us in of_iomap() here. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit

Re: [PATCH 2/7] powerpc/traps: Return early in show_signal_msg()

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Wed, Jul 25, 2018 at 05:42:28PM +0200, LEROY Christophe wrote: > Murilo Opsfelder Araujo a écrit : > > > Modify logic of show_signal_msg() to return early, if possible. Replace > > printk_ratelimited() by printk() and a default rate limit burst to limit > > displaying

Re: [PATCH 2/7] powerpc/traps: Return early in show_signal_msg()

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Wed, Jul 25, 2018 at 05:42:28PM +0200, LEROY Christophe wrote: > Murilo Opsfelder Araujo a écrit : > > > Modify logic of show_signal_msg() to return early, if possible. Replace > > printk_ratelimited() by printk() and a default rate limit burst to limit > > displaying

Re: [PATCH 1/1] remoteproc: replace "%p" with "%pK"

2018-07-25 Thread Suman Anna
On 07/06/2018 07:38 AM, Loic Pallardy wrote: > The format specifier "%p" can leak kernel addresses. > Use "%pK" instead. > > This patch proposes changes for remoteproc core only. > > Signed-off-by: Loic Pallardy Acked-by: Suman Anna > --- > drivers/remoteproc/remoteproc_core.c| 6 +++---

Re: [PATCH 1/1] remoteproc: replace "%p" with "%pK"

2018-07-25 Thread Suman Anna
On 07/06/2018 07:38 AM, Loic Pallardy wrote: > The format specifier "%p" can leak kernel addresses. > Use "%pK" instead. > > This patch proposes changes for remoteproc core only. > > Signed-off-by: Loic Pallardy Acked-by: Suman Anna > --- > drivers/remoteproc/remoteproc_core.c| 6 +++---

Re: [PATCH v7 1/4] phy: Update PHY power control sequence

2018-07-25 Thread Evan Green
On Mon, Jul 2, 2018 at 10:00 AM Vivek Gautam wrote: > > On Tue, Jun 19, 2018 at 2:06 PM, Can Guo wrote: > > All PHYs should be powered on before register configuration starts. And > > only PCIe PHYs need an extra power control before deasserts reset state. > > > > Signed-off-by: Can Guo > > ---

Re: [PATCH v7 1/4] phy: Update PHY power control sequence

2018-07-25 Thread Evan Green
On Mon, Jul 2, 2018 at 10:00 AM Vivek Gautam wrote: > > On Tue, Jun 19, 2018 at 2:06 PM, Can Guo wrote: > > All PHYs should be powered on before register configuration starts. And > > only PCIe PHYs need an extra power control before deasserts reset state. > > > > Signed-off-by: Can Guo > > ---

[PATCH] tracing: do not leak kernel addresses

2018-07-25 Thread Mark Salyzyn
From: Nick Desaulniers Switch from 0x%lx to 0x%pK to print the kernel addresses. Fixes: CVE-2017-0630 Signed-off-by: Mark Salyzyn Cc: Nick Desaulniers Cc: Steven Rostedt Cc: Ingo Molnar Cc: Cc: # 3.18, 4.4, 4.9, 4.14 Cc: --- kernel/trace/trace_printk.c | 2 +- 1 file changed, 1

[PATCH] tracing: do not leak kernel addresses

2018-07-25 Thread Mark Salyzyn
From: Nick Desaulniers Switch from 0x%lx to 0x%pK to print the kernel addresses. Fixes: CVE-2017-0630 Signed-off-by: Mark Salyzyn Cc: Nick Desaulniers Cc: Steven Rostedt Cc: Ingo Molnar Cc: Cc: # 3.18, 4.4, 4.9, 4.14 Cc: --- kernel/trace/trace_printk.c | 2 +- 1 file changed, 1

[PATCH v3] scsi: ufs: Make sysfs attributes writable

2018-07-25 Thread Evan Green
This change makes the UFS controller's sysfs attributes writable, which will enable users to modify attributes. This can be useful during factory provisioning for setting up critical attributes like the reference clock frequency. Signed-off-by: Evan Green --- Configfs was determined to be the

[PATCH v3] scsi: ufs: Make sysfs attributes writable

2018-07-25 Thread Evan Green
This change makes the UFS controller's sysfs attributes writable, which will enable users to modify attributes. This can be useful during factory provisioning for setting up critical attributes like the reference clock frequency. Signed-off-by: Evan Green --- Configfs was determined to be the

Re: pahole + BTF was: Re: [Question] bpf: about a new 'tools/bpf/bpf_dwarf2btf'

2018-07-25 Thread Martin KaFai Lau
On Thu, Jul 26, 2018 at 04:21:31AM +0900, Taeung Song wrote: > > > On 07/26/2018 03:27 AM, Taeung Song wrote: > > Hi Arnaldo, > > > > On 07/26/2018 02:52 AM, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Jul 26, 2018 at 02:23:32AM +0900, Taeung Song escreveu: > > > > Hi, > > > > > > > >

Re: pahole + BTF was: Re: [Question] bpf: about a new 'tools/bpf/bpf_dwarf2btf'

2018-07-25 Thread Martin KaFai Lau
On Thu, Jul 26, 2018 at 04:21:31AM +0900, Taeung Song wrote: > > > On 07/26/2018 03:27 AM, Taeung Song wrote: > > Hi Arnaldo, > > > > On 07/26/2018 02:52 AM, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Jul 26, 2018 at 02:23:32AM +0900, Taeung Song escreveu: > > > > Hi, > > > > > > > >

Re: [Letux-kernel] [PATCH 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot

2018-07-25 Thread Ladislav Michl
On Wed, Jul 25, 2018 at 06:27:45PM +0200, Andreas Kemnade wrote: > On Wed, 25 Jul 2018 10:33:05 +0200 > Ladislav Michl wrote: > > > On Wed, Jul 25, 2018 at 10:18:28AM +0200, H. Nikolaus Schaller wrote: > > > > > > > Am 25.07.2018 um 10:07 schrieb Ladislav Michl : > > > > > > > > On Wed, Jul

Re: [Letux-kernel] [PATCH 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot

2018-07-25 Thread Ladislav Michl
On Wed, Jul 25, 2018 at 06:27:45PM +0200, Andreas Kemnade wrote: > On Wed, 25 Jul 2018 10:33:05 +0200 > Ladislav Michl wrote: > > > On Wed, Jul 25, 2018 at 10:18:28AM +0200, H. Nikolaus Schaller wrote: > > > > > > > Am 25.07.2018 um 10:07 schrieb Ladislav Michl : > > > > > > > > On Wed, Jul

Re: [PATCH -next] fs/epoll: simply CONFIG_NET_RX_BUSY_POLL ifdefery

2018-07-25 Thread Davidlohr Bueso
On Wed, 25 Jul 2018, Andrew Morton wrote: On Wed, 25 Jul 2018 11:56:20 -0700 Davidlohr Bueso wrote: ... 'tis easier on the eye. true, but. +#else +#define ep_busy_loop(ep, nonblock) do { } while (0) +#define ep_reset_busy_poll_napi_id(ep) do { } while (0) +#define

Re: [PATCH -next] fs/epoll: simply CONFIG_NET_RX_BUSY_POLL ifdefery

2018-07-25 Thread Davidlohr Bueso
On Wed, 25 Jul 2018, Andrew Morton wrote: On Wed, 25 Jul 2018 11:56:20 -0700 Davidlohr Bueso wrote: ... 'tis easier on the eye. true, but. +#else +#define ep_busy_loop(ep, nonblock) do { } while (0) +#define ep_reset_busy_poll_napi_id(ep) do { } while (0) +#define

Re: [PATCH 6/7] powerpc/traps: Print signal name for unhandled signals

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Wed, Jul 25, 2018 at 05:49:27PM +0200, LEROY Christophe wrote: > Murilo Opsfelder Araujo a écrit : > > > This adds a human-readable name in the unhandled signal message. > > > > Before this patch, a page fault looked like: > > > > Jul 11 16:04:11 localhost kernel:

Re: [PATCH 6/7] powerpc/traps: Print signal name for unhandled signals

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Wed, Jul 25, 2018 at 05:49:27PM +0200, LEROY Christophe wrote: > Murilo Opsfelder Araujo a écrit : > > > This adds a human-readable name in the unhandled signal message. > > > > Before this patch, a page fault looked like: > > > > Jul 11 16:04:11 localhost kernel:

Re: [PATCH net-next] net: phy: prevent PHYs w/o Clause 22 regs from calling genphy_config_aneg

2018-07-25 Thread David Miller
From: Camelia Groza Date: Mon, 23 Jul 2018 18:06:15 +0300 > genphy_config_aneg() should be called only by PHYs that implement > the Clause 22 register set. Prevent Clause 45 PHYs that don't implement > the register set from calling the genphy function. > > Signed-off-by: Camelia Groza

Re: [PATCH] usb: dwc3: core: Add quirk for enabling AutoRetry feature in the controller

2018-07-25 Thread Rob Herring
On Sat, Jul 21, 2018 at 03:58:40PM +0530, Anurag Kumar Vulisha wrote: > By default when core sees any transaction error(CRC or overflow) > it replies with terminating retry ACK (Retry=1 and Nump == 0). > Enabling this Auto Retry feature in controller, on seeing any > transaction errors makes the

Re: [PATCH net-next] net: phy: prevent PHYs w/o Clause 22 regs from calling genphy_config_aneg

2018-07-25 Thread David Miller
From: Camelia Groza Date: Mon, 23 Jul 2018 18:06:15 +0300 > genphy_config_aneg() should be called only by PHYs that implement > the Clause 22 register set. Prevent Clause 45 PHYs that don't implement > the register set from calling the genphy function. > > Signed-off-by: Camelia Groza

Re: [PATCH] usb: dwc3: core: Add quirk for enabling AutoRetry feature in the controller

2018-07-25 Thread Rob Herring
On Sat, Jul 21, 2018 at 03:58:40PM +0530, Anurag Kumar Vulisha wrote: > By default when core sees any transaction error(CRC or overflow) > it replies with terminating retry ACK (Retry=1 and Nump == 0). > Enabling this Auto Retry feature in controller, on seeing any > transaction errors makes the

Re: Infinite looping observed in __offline_pages

2018-07-25 Thread Michal Hocko
On Wed 25-07-18 13:11:15, John Allen wrote: [...] > Does a failure in do_migrate_range indicate that the range is unmigratable > and the loop in __offline_pages should terminate and goto failed_removal? Or > should we allow a certain number of retrys before we > give up on migrating the range?

Re: Infinite looping observed in __offline_pages

2018-07-25 Thread Michal Hocko
On Wed 25-07-18 13:11:15, John Allen wrote: [...] > Does a failure in do_migrate_range indicate that the range is unmigratable > and the loop in __offline_pages should terminate and goto failed_removal? Or > should we allow a certain number of retrys before we > give up on migrating the range?

Droid 4: suspend to RAM?

2018-07-25 Thread Pavel Machek
Hi! I have two big problems with droid 4. #1 is that it lost 2 SMS.. and I have no idea why. Second is power consumption -- it seems to be rather high even before modem (and thus USB) is enabled. Interestingly, CyanogenMod and Jolla seem to have higher power consumption than stock operating

Droid 4: suspend to RAM?

2018-07-25 Thread Pavel Machek
Hi! I have two big problems with droid 4. #1 is that it lost 2 SMS.. and I have no idea why. Second is power consumption -- it seems to be rather high even before modem (and thus USB) is enabled. Interestingly, CyanogenMod and Jolla seem to have higher power consumption than stock operating

[PATCH] timekeeping: warning when persistent clock is not available

2018-07-25 Thread Pavel Tatashin
On arches with no persistent clock a message like this is printed during boot: [0.00] Persistent clock returned invalid value The value is not invalid: it simply zero meaning no persistent clock and the absence of persistent clock should be quietly accepted. Fixes: 3eca993740b8

[PATCH] timekeeping: warning when persistent clock is not available

2018-07-25 Thread Pavel Tatashin
On arches with no persistent clock a message like this is printed during boot: [0.00] Persistent clock returned invalid value The value is not invalid: it simply zero meaning no persistent clock and the absence of persistent clock should be quietly accepted. Fixes: 3eca993740b8

Re: [PATCH 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings

2018-07-25 Thread Rob Herring
On Fri, Jul 20, 2018 at 09:57:51PM +0100, Vitor soares wrote: > This patch document Synopsys DesignWare I3C master DT bindings. > > Signed-off-by: Vitor soares > --- > .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 43 > ++ > 1 file changed, 43 insertions(+) > create

Re: [PATCH 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings

2018-07-25 Thread Rob Herring
On Fri, Jul 20, 2018 at 09:57:51PM +0100, Vitor soares wrote: > This patch document Synopsys DesignWare I3C master DT bindings. > > Signed-off-by: Vitor soares > --- > .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 43 > ++ > 1 file changed, 43 insertions(+) > create

Re: [PATCH] arm64, kaslr: export offset in VMCOREINFO ELF notes

2018-07-25 Thread Bhupesh Sharma
Hello James, On Mon, Jul 23, 2018 at 10:35 PM, James Morse wrote: > Hi Bhupesh, > > (CC: +mips list, looks like mips is missing vmcore's KERNELOFFSET too. > Start of this thread: https://lkml.org/lkml/2018/7/18/951 ) Yes, but the current upstream makedumpfile doesn't seem to contain mips

Re: [PATCH] arm64, kaslr: export offset in VMCOREINFO ELF notes

2018-07-25 Thread Bhupesh Sharma
Hello James, On Mon, Jul 23, 2018 at 10:35 PM, James Morse wrote: > Hi Bhupesh, > > (CC: +mips list, looks like mips is missing vmcore's KERNELOFFSET too. > Start of this thread: https://lkml.org/lkml/2018/7/18/951 ) Yes, but the current upstream makedumpfile doesn't seem to contain mips

Re: [PATCH] tracing: Fix double free of event_trigger_data

2018-07-25 Thread Steven Rostedt
On Wed, 25 Jul 2018 15:29:04 -0400 Steven Rostedt wrote: > Nope, this doesn't work. It's a little more complex than the other one. > I'll just leave it, and fix the reg code for 4.19. I take this back. Looks like it just needs to be handled slightly differently. Thoughts? -- Steve diff --git

[PATCH v1 3/4] iwlwifi: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas This part of the iwlwifi driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/wireless/intel/iwlwifi/pcie/drv.c |1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] tracing: Fix double free of event_trigger_data

2018-07-25 Thread Steven Rostedt
On Wed, 25 Jul 2018 15:29:04 -0400 Steven Rostedt wrote: > Nope, this doesn't work. It's a little more complex than the other one. > I'll just leave it, and fix the reg code for 4.19. I take this back. Looks like it just needs to be handled slightly differently. Thoughts? -- Steve diff --git

[PATCH v1 3/4] iwlwifi: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas This part of the iwlwifi driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/wireless/intel/iwlwifi/pcie/drv.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v1 0/4] PCI: Remove unnecessary includes of

2018-07-25 Thread Bjorn Helgaas
Remove includes of from files that don't need it. I'll apply all these via the PCI tree unless there's objection. --- Bjorn Helgaas (4): igb: Remove unnecessary include of ath9k: Remove unnecessary include of iwlwifi: Remove unnecessary include of PCI: Remove

[PATCH v1 1/4] igb: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas The igb driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/ethernet/intel/igb/igb_main.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c

[PATCH v1 2/4] ath9k: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas The ath9k driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/wireless/ath/ath9k/pci.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/pci.c

[PATCH v1 0/4] PCI: Remove unnecessary includes of

2018-07-25 Thread Bjorn Helgaas
Remove includes of from files that don't need it. I'll apply all these via the PCI tree unless there's objection. --- Bjorn Helgaas (4): igb: Remove unnecessary include of ath9k: Remove unnecessary include of iwlwifi: Remove unnecessary include of PCI: Remove

[PATCH v1 1/4] igb: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas The igb driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/ethernet/intel/igb/igb_main.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c

[PATCH v1 2/4] ath9k: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas The ath9k driver doesn't need anything provided by pci-aspm.h, so remove the unnecessary include of it. Signed-off-by: Bjorn Helgaas --- drivers/net/wireless/ath/ath9k/pci.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/pci.c

[PATCH v1 4/4] PCI: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas Several PCI core files include pci-aspm.h even though they don't need anything provided by that file. Remove the unnecessary includes of it. Signed-off-by: Bjorn Helgaas --- drivers/pci/pci-sysfs.c |1 - drivers/pci/pci.c |1 - drivers/pci/probe.c |1

[PATCH v1 4/4] PCI: Remove unnecessary include of

2018-07-25 Thread Bjorn Helgaas
From: Bjorn Helgaas Several PCI core files include pci-aspm.h even though they don't need anything provided by that file. Remove the unnecessary includes of it. Signed-off-by: Bjorn Helgaas --- drivers/pci/pci-sysfs.c |1 - drivers/pci/pci.c |1 - drivers/pci/probe.c |1

RE: [PATCH v9 10/10] drivers: clk: Add ZynqMP clock driver

2018-07-25 Thread Stephen Boyd
Quoting Jolly Shah (2018-07-17 13:09:01) > Hi Stephen, > > Thanks for the review, > > > -Original Message- > > From: Stephen Boyd [mailto:sb...@kernel.org] > > Sent: Sunday, July 08, 2018 10:27 PM > > To: Jolly Shah ; ard.biesheu...@linaro.org; > > dmitry.torok...@gmail.com;

RE: [PATCH v9 10/10] drivers: clk: Add ZynqMP clock driver

2018-07-25 Thread Stephen Boyd
Quoting Jolly Shah (2018-07-17 13:09:01) > Hi Stephen, > > Thanks for the review, > > > -Original Message- > > From: Stephen Boyd [mailto:sb...@kernel.org] > > Sent: Sunday, July 08, 2018 10:27 PM > > To: Jolly Shah ; ard.biesheu...@linaro.org; > > dmitry.torok...@gmail.com;

[PATCH v2 2/4] power: bq25890_charger.c: Remove unused table

2018-07-25 Thread Angus Ainslie (Purism)
The BATCMP table isn't used so drop it Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index 7f0b3a46c50c..641f7d779e2f 100644

[PATCH v2 2/4] power: bq25890_charger.c: Remove unused table

2018-07-25 Thread Angus Ainslie (Purism)
The BATCMP table isn't used so drop it Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index 7f0b3a46c50c..641f7d779e2f 100644

[PATCH v2 4/4] power: bq25890_charger.c: Read back the current battery voltage

2018-07-25 Thread Angus Ainslie (Purism)
The part has the capability of reading the current battery voltage Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c

[PATCH v2 4/4] power: bq25890_charger.c: Read back the current battery voltage

2018-07-25 Thread Angus Ainslie (Purism)
The part has the capability of reading the current battery voltage Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c

[PATCH v2 3/4] power: bq25890_charger.c: Add the BQ25896 part

2018-07-25 Thread Angus Ainslie (Purism)
The BQ25896 is almost identical the the BQ25890 Signed-off-by: Angus Ainslie (Purism) --- .../bindings/power/supply/bq25890.txt | 1 + drivers/power/supply/bq25890_charger.c| 25 +++ 2 files changed, 21 insertions(+), 5 deletions(-) diff --git

[PATCH v2 1/4] power: bq25890_charger.c: Add debugging output of failed initialization

2018-07-25 Thread Angus Ainslie (Purism)
To ease adding a new part variant some debugging is handy Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c

[PATCH v2 3/4] power: bq25890_charger.c: Add the BQ25896 part

2018-07-25 Thread Angus Ainslie (Purism)
The BQ25896 is almost identical the the BQ25890 Signed-off-by: Angus Ainslie (Purism) --- .../bindings/power/supply/bq25890.txt | 1 + drivers/power/supply/bq25890_charger.c| 25 +++ 2 files changed, 21 insertions(+), 5 deletions(-) diff --git

[PATCH v2 1/4] power: bq25890_charger.c: Add debugging output of failed initialization

2018-07-25 Thread Angus Ainslie (Purism)
To ease adding a new part variant some debugging is handy Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c

[PATCH v2 0/4] Add the BQ25896 charger IC

2018-07-25 Thread Angus Ainslie (Purism)
Revised patch set based on review comments Angus Ainslie (Purism) (4): power: bq25890_charger.c: Add debugging output of failed initialization power: bq25890_charger.c: Remove unused table power: bq25890_charger.c: Add the BQ25896 part power: bq25890_charger.c: Read back the current

[PATCH v2 0/4] Add the BQ25896 charger IC

2018-07-25 Thread Angus Ainslie (Purism)
Revised patch set based on review comments Angus Ainslie (Purism) (4): power: bq25890_charger.c: Add debugging output of failed initialization power: bq25890_charger.c: Remove unused table power: bq25890_charger.c: Add the BQ25896 part power: bq25890_charger.c: Read back the current

Re: cgroups iptables-restor: vmalloc: allocation failure

2018-07-25 Thread David Rientjes
On Wed, 25 Jul 2018, Georgi Nikolov wrote: > Hello, > > I posted a kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=200651 and > i hope this is the correct place to discuss this. > Could you post the full allocation failure from the kernel log? It's not possible to vmalloc any

Re: cgroups iptables-restor: vmalloc: allocation failure

2018-07-25 Thread David Rientjes
On Wed, 25 Jul 2018, Georgi Nikolov wrote: > Hello, > > I posted a kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=200651 and > i hope this is the correct place to discuss this. > Could you post the full allocation failure from the kernel log? It's not possible to vmalloc any

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-25 Thread Andrew Morton
On Wed, 25 Jul 2018 15:39:24 +0300 "Kirill A. Shutemov" wrote: > There are few more: > > arch/arm64/include/asm/tlb.h: struct vm_area_struct vma = { .vm_mm = > tlb->mm, }; > arch/arm64/mm/hugetlbpage.c:struct vm_area_struct vma = { .vm_mm = mm }; > arch/arm64/mm/hugetlbpage.c:struct

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-25 Thread Andrew Morton
On Wed, 25 Jul 2018 15:39:24 +0300 "Kirill A. Shutemov" wrote: > There are few more: > > arch/arm64/include/asm/tlb.h: struct vm_area_struct vma = { .vm_mm = > tlb->mm, }; > arch/arm64/mm/hugetlbpage.c:struct vm_area_struct vma = { .vm_mm = mm }; > arch/arm64/mm/hugetlbpage.c:struct

Re: [PATCH 6/7] powerpc/traps: Print signal name for unhandled signals

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Gustavo. On Wed, Jul 25, 2018 at 12:19:00PM -0300, Gustavo Romero wrote: > Hi Murilo, > > LGTM. > > Just a comment: > > On 07/24/2018 04:27 PM, Murilo Opsfelder Araujo wrote: > > This adds a human-readable name in the unhandled signal message. > > > > Before this patch, a page fault

Re: [PATCH 6/7] powerpc/traps: Print signal name for unhandled signals

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Gustavo. On Wed, Jul 25, 2018 at 12:19:00PM -0300, Gustavo Romero wrote: > Hi Murilo, > > LGTM. > > Just a comment: > > On 07/24/2018 04:27 PM, Murilo Opsfelder Araujo wrote: > > This adds a human-readable name in the unhandled signal message. > > > > Before this patch, a page fault

Re: Linux 4.18-rc6

2018-07-25 Thread Kees Cook
On Tue, Jul 24, 2018 at 12:24 AM, Martin Schwidefsky wrote: > On Tue, 24 Jul 2018 09:15:58 +0200 > Christian Borntraeger wrote: > >> On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: >> > On Mon, 23 Jul 2018 16:17:22 -0700 >> > Linus Torvalds wrote: >> > >> >> On Mon, Jul 23, 2018 at 2:23 PM

Re: Linux 4.18-rc6

2018-07-25 Thread Kees Cook
On Tue, Jul 24, 2018 at 12:24 AM, Martin Schwidefsky wrote: > On Tue, 24 Jul 2018 09:15:58 +0200 > Christian Borntraeger wrote: > >> On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: >> > On Mon, 23 Jul 2018 16:17:22 -0700 >> > Linus Torvalds wrote: >> > >> >> On Mon, Jul 23, 2018 at 2:23 PM

[PATCH 3/4] staging: rtl8188eu: remove unused rtw_get_oper_bw()

2018-07-25 Thread Michael Straube
The function rtw_get_oper_bw() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

[PATCH 2/4] staging: rtl8188eu: remove unused CAM_empty_entry()

2018-07-25 Thread Michael Straube
The function CAM_empty_entry() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

[PATCH 1/4] staging: rtl8188eu: remove unused ODM_RASupport_Init()

2018-07-25 Thread Michael Straube
The function ODM_RASupport_Init() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c | 10 -- .../staging/rtl8188eu/include/hal8188e_rate_adaptive.h | 2 -- 2 files changed, 12 deletions(-)

[PATCH 3/4] staging: rtl8188eu: remove unused rtw_get_oper_bw()

2018-07-25 Thread Michael Straube
The function rtw_get_oper_bw() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

[PATCH 2/4] staging: rtl8188eu: remove unused CAM_empty_entry()

2018-07-25 Thread Michael Straube
The function CAM_empty_entry() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

[PATCH 1/4] staging: rtl8188eu: remove unused ODM_RASupport_Init()

2018-07-25 Thread Michael Straube
The function ODM_RASupport_Init() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c | 10 -- .../staging/rtl8188eu/include/hal8188e_rate_adaptive.h | 2 -- 2 files changed, 12 deletions(-)

[PATCH 4/4] staging: rtl8188eu: remove unused rtw_get_oper_choffset()

2018-07-25 Thread Michael Straube
The function rtw_get_oper_choffset() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

[PATCH 4/4] staging: rtl8188eu: remove unused rtw_get_oper_choffset()

2018-07-25 Thread Michael Straube
The function rtw_get_oper_choffset() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 1 - 2 files changed, 6 deletions(-) diff --git

Re: [PATCH 0/7] powerpc: Modernize unhandled signals message

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Mikey. On Wed, Jul 25, 2018 at 05:00:21PM +1000, Michael Neuling wrote: > On Tue, 2018-07-24 at 16:27 -0300, Murilo Opsfelder Araujo wrote: > > Hi, everyone. > > > > This series was inspired by the need to modernize and display more > > informative messages about unhandled signals. > > > >

Re: [PATCH 0/7] powerpc: Modernize unhandled signals message

2018-07-25 Thread Murilo Opsfelder Araujo
Hi, Mikey. On Wed, Jul 25, 2018 at 05:00:21PM +1000, Michael Neuling wrote: > On Tue, 2018-07-24 at 16:27 -0300, Murilo Opsfelder Araujo wrote: > > Hi, everyone. > > > > This series was inspired by the need to modernize and display more > > informative messages about unhandled signals. > > > >

Re: [f2fs-dev] [PATCH] f2fs: fix 32-bit format string warning

2018-07-25 Thread Arnd Bergmann
On Wed, Jul 25, 2018 at 5:21 PM, Chao Yu wrote: > On 2018/7/24 17:34, Arnd Bergmann wrote: >> On 32-bit targets, size_t is often 'unsigned int', so printing it as %lu >> causes a warning: >> >> fs/f2fs/inode.c: In function 'sanity_check_inode': >> fs/f2fs/inode.c:247:4: error: format '%lu'

Re: [f2fs-dev] [PATCH] f2fs: fix 32-bit format string warning

2018-07-25 Thread Arnd Bergmann
On Wed, Jul 25, 2018 at 5:21 PM, Chao Yu wrote: > On 2018/7/24 17:34, Arnd Bergmann wrote: >> On 32-bit targets, size_t is often 'unsigned int', so printing it as %lu >> causes a warning: >> >> fs/f2fs/inode.c: In function 'sanity_check_inode': >> fs/f2fs/inode.c:247:4: error: format '%lu'

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