Hello

2017-06-25 Thread Maria
Financial Donation to you. For details contact email: maria.c...@yandex.com

Hello

2017-06-25 Thread Maria
Financial Donation to you. For details contact email: maria.c...@yandex.com

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
On Mon, Jun 26, 2017 at 08:05:16AM +1000, Jonathan Liu wrote: > Hi Priit, > > This is showing from clock rate of 171428572 in the output of "cat > /sys/kernel/debug/clk/clk_summary" for pll-periph-sata. > The clock rate should be 1 (100 MHz) when read from the hardware. This is what I

Re: [linux-sunxi] [PATCH v4 1/6] clk: sunxi-ng: div: Add support for fixed post-divider

2017-06-25 Thread Priit Laes
On Mon, Jun 26, 2017 at 08:05:16AM +1000, Jonathan Liu wrote: > Hi Priit, > > This is showing from clock rate of 171428572 in the output of "cat > /sys/kernel/debug/clk/clk_summary" for pll-periph-sata. > The clock rate should be 1 (100 MHz) when read from the hardware. This is what I

[PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread AbdAllah-MEZITI
This patch - will always take the lock - fix the sparse warning: drivers/staging/sm750fb/sm750.c:159:13: warning: context imbalance in 'lynxfb_ops_fillrect' - different lock contexts for basic block drivers/staging/sm750fb/sm750.c:231:9: warning: context imbalance in 'lynxfb_ops_copyarea' -

[PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread AbdAllah-MEZITI
This patch - will always take the lock - fix the sparse warning: drivers/staging/sm750fb/sm750.c:159:13: warning: context imbalance in 'lynxfb_ops_fillrect' - different lock contexts for basic block drivers/staging/sm750fb/sm750.c:231:9: warning: context imbalance in 'lynxfb_ops_copyarea' -

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-25 Thread David Gstir
Herbert, > On 20 Jun 2017, at 03:28, Herbert Xu wrote: > > On Mon, Jun 19, 2017 at 10:31:27AM +, Horia Geantă wrote: >> >> IIUC, IV update is required only in case of CBC. >> Since this callback is used also for CTR, we should avoid the copy: >> if

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-25 Thread David Gstir
Herbert, > On 20 Jun 2017, at 03:28, Herbert Xu wrote: > > On Mon, Jun 19, 2017 at 10:31:27AM +, Horia Geantă wrote: >> >> IIUC, IV update is required only in case of CBC. >> Since this callback is used also for CTR, we should avoid the copy: >> if ((ctx->cdata.algtype & OP_ALG_AAI_MASK)

[PATCH v4 2/3] tracing: Add support for display of tgid in trace output

2017-06-25 Thread Joel Fernandes
Earlier patches introduced ability to record the tgid using the 'record-tgid' option. Here we read the tgid and output it if the option is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain

[PATCH v4 1/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Inorder to support recording of tgid, the following changes are made: * Introduce a new API (tracing_record_taskinfo) to additionally record the tgid along with the task's comm at the same time. This has has the benefit of not setting trace_cmdline_save before all the information for a task

[PATCH v4 3/3] tracing/ftrace: Add support to record and display tgid

2017-06-25 Thread Joel Fernandes
Make function tracer able to record tgid if/when record-tgid is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes ---

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-25 Thread kbuild test robot
Hi Palmer, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6] [cannot apply to next-20170623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v4 2/3] tracing: Add support for display of tgid in trace output

2017-06-25 Thread Joel Fernandes
Earlier patches introduced ability to record the tgid using the 'record-tgid' option. Here we read the tgid and output it if the option is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes --- kernel/trace/trace.c

[PATCH v4 1/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Inorder to support recording of tgid, the following changes are made: * Introduce a new API (tracing_record_taskinfo) to additionally record the tgid along with the task's comm at the same time. This has has the benefit of not setting trace_cmdline_save before all the information for a task

[PATCH v4 3/3] tracing/ftrace: Add support to record and display tgid

2017-06-25 Thread Joel Fernandes
Make function tracer able to record tgid if/when record-tgid is enabled. Cc: kernel-t...@android.com Cc: Steven Rostedt Cc: Ingo Molnar Tested-by: Michael Sartain Signed-off-by: Joel Fernandes --- kernel/trace/trace_functions.c | 26 ++ 1 file changed, 26

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-25 Thread kbuild test robot
Hi Palmer, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6] [cannot apply to next-20170623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven, Following your comments in [1], I reworked the patches. I agree its much cleaner now. Please check them out and thanks. Android systrace viewer heavily depends on the tgid to group tasks. tgid is also useful for analyzing traces and generating analysis results for groups of tasks.

[PATCH v4 0/3] tracing: Add support for recording tgid of tasks

2017-06-25 Thread Joel Fernandes
Hi Steven, Following your comments in [1], I reworked the patches. I agree its much cleaner now. Please check them out and thanks. Android systrace viewer heavily depends on the tgid to group tasks. tgid is also useful for analyzing traces and generating analysis results for groups of tasks.

[PATCH] cpuidle: menu: allow state 0 to be disabled

2017-06-25 Thread Nicholas Piggin
The menu driver does not allow state0 to be disabled completely. If it is disabled but other enabled states don't meet latency requirements, it is still used. Fix this by starting with the first enabled idle state. Fall back to state 0 if no idle states are enabled (arguably this should be

[PATCH] cpuidle: menu: allow state 0 to be disabled

2017-06-25 Thread Nicholas Piggin
The menu driver does not allow state0 to be disabled completely. If it is disabled but other enabled states don't meet latency requirements, it is still used. Fix this by starting with the first enabled idle state. Fall back to state 0 if no idle states are enabled (arguably this should be

Re: [PATCH 11/14] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-06-25 Thread Michal Hocko
On Sun 25-06-17 08:14:13, Wei Yang wrote: > On Mon, May 15, 2017 at 10:58:24AM +0200, Michal Hocko wrote: > >From: Michal Hocko > > > [...] > >+void move_pfn_range_to_zone(struct zone *zone, > >+unsigned long start_pfn, unsigned long nr_pages) > >+{ > >+struct

Re: [PATCH 11/14] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-06-25 Thread Michal Hocko
On Sun 25-06-17 08:14:13, Wei Yang wrote: > On Mon, May 15, 2017 at 10:58:24AM +0200, Michal Hocko wrote: > >From: Michal Hocko > > > [...] > >+void move_pfn_range_to_zone(struct zone *zone, > >+unsigned long start_pfn, unsigned long nr_pages) > >+{ > >+struct pglist_data *pgdat =

[PATCH V5] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-25 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. This patch adds a platform driver to support the command/response interface

[PATCH V5] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-25 Thread Shilpasri G Bhat
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. This patch adds a platform driver to support the command/response interface

Re: Linux 4.4.74

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index ca64ca566099..7c77d7edb851 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3580,6 +3580,13 @@ bytes respectively. Such letter suffixes can also be entirely

Re: Linux 4.4.74

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index ca64ca566099..7c77d7edb851 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3580,6 +3580,13 @@ bytes respectively. Such letter suffixes can also be entirely

Linux 4.4.74

2017-06-25 Thread Greg KH
I'm announcing the release of the 4.4.74 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.74

2017-06-25 Thread Greg KH
I'm announcing the release of the 4.4.74 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.18.58

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index b2bdea1953e6..9abe55280cf6 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3324,6 +3324,13 @@ bytes respectively. Such letter suffixes can also be entirely

Re: Linux 3.18.58

2017-06-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index b2bdea1953e6..9abe55280cf6 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3324,6 +3324,13 @@ bytes respectively. Such letter suffixes can also be entirely

Linux 3.18.58

2017-06-25 Thread Greg KH
I'm announcing the release of the 3.18.58 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Linux 3.18.58

2017-06-25 Thread Greg KH
I'm announcing the release of the 3.18.58 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH 6/6] mm, migration: do not trigger OOM killer when migrating memory

2017-06-25 Thread Michal Hocko
On Fri 23-06-17 13:43:05, Andrew Morton wrote: > On Fri, 23 Jun 2017 10:53:45 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > Page migration (for memory hotplug, soft_offline_page or mbind) needs > > to allocate a new memory. This can trigger an

Re: [PATCH 6/6] mm, migration: do not trigger OOM killer when migrating memory

2017-06-25 Thread Michal Hocko
On Fri 23-06-17 13:43:05, Andrew Morton wrote: > On Fri, 23 Jun 2017 10:53:45 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > Page migration (for memory hotplug, soft_offline_page or mbind) needs > > to allocate a new memory. This can trigger an oom killer if the target > > memory

Re: [PATCH V4] acpi: acpica: fix acpi parse and parseext cache leaks

2017-06-25 Thread Seunghun Han
Hello, Andy. Thank you for your reply. Patch V4 is the last patch which is applied all changes from original code. Due to maintainer's advice, Patch V1, V2, V3 have reverted and I made the latest patch, Patch V4. (the review is here, https://github.com/acpica/acpica/pull/278) Therefore, it

Re: [PATCH V4] acpi: acpica: fix acpi parse and parseext cache leaks

2017-06-25 Thread Seunghun Han
Hello, Andy. Thank you for your reply. Patch V4 is the last patch which is applied all changes from original code. Due to maintainer's advice, Patch V1, V2, V3 have reverted and I made the latest patch, Patch V4. (the review is here, https://github.com/acpica/acpica/pull/278) Therefore, it

[GIT PULL] one last s390 patch for 4.12-rc8/4.12

2017-06-25 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Revert the re-IPL semantics back to the v4.7 state. It turned out that the memory layout may change due to memory hotplug if

[GIT PULL] one last s390 patch for 4.12-rc8/4.12

2017-06-25 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Revert the re-IPL semantics back to the v4.7 state. It turned out that the memory layout may change due to memory hotplug if

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread Jonathan Cameron
On 26 June 2017 04:54:52 CEST, zhiyong tao wrote: >On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: >> On Thu, 22 Jun 2017 13:44:33 +0800 >> Zhiyong Tao wrote: >> >> > This patch supports auxadc suspend/resume flow. >> > Disable

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread Jonathan Cameron
On 26 June 2017 04:54:52 CEST, zhiyong tao wrote: >On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: >> On Thu, 22 Jun 2017 13:44:33 +0800 >> Zhiyong Tao wrote: >> >> > This patch supports auxadc suspend/resume flow. >> > Disable auxadc clk and power in suspend function. >> > Enable

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Greg Kroah-Hartman
On Sun, Jun 25, 2017 at 11:39:20PM +0200, AbdAllah-MEZITI wrote: > Signed-off-by: AbdAllah MEZITI I can't take patches without any changelog text, sorry. greg k-h

Re: [PATCH] staging: sm750fb: always take the lock

2017-06-25 Thread Greg Kroah-Hartman
On Sun, Jun 25, 2017 at 11:39:20PM +0200, AbdAllah-MEZITI wrote: > Signed-off-by: AbdAllah MEZITI I can't take patches without any changelog text, sorry. greg k-h

[PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-06-25 Thread sayli karnik
Add function parameters in kernel-doc comments to fix warnings in the Sphinx build: transaction.c:511: warning: No description found for parameter 'type' transaction.c:511: warning: No description found for parameter 'line_no' Signed-off-by: sayli karnik ---

[PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-06-25 Thread sayli karnik
Add function parameters in kernel-doc comments to fix warnings in the Sphinx build: transaction.c:511: warning: No description found for parameter 'type' transaction.c:511: warning: No description found for parameter 'line_no' Signed-off-by: sayli karnik --- fs/jbd2/transaction.c | 2 ++ 1 file

Re: [RFC v3 02/23] powerpc: introduce set_hidx_slot helper

2017-06-25 Thread Benjamin Herrenschmidt
On Mon, 2017-06-26 at 09:03 +1000, Balbir Singh wrote: > On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote: > > Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) > > bits at the appropriate location in the PTE of 4K PTE. In the > > case of 64K PTE, it sets the bits

Re: [RFC v3 02/23] powerpc: introduce set_hidx_slot helper

2017-06-25 Thread Benjamin Herrenschmidt
On Mon, 2017-06-26 at 09:03 +1000, Balbir Singh wrote: > On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote: > > Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) > > bits at the appropriate location in the PTE of 4K PTE. In the > > case of 64K PTE, it sets the bits

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Mon, Jun 26, 2017 at 03:35:25AM +0100, Al Viro wrote: > On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > > The series aims at isolating data conversions of time_t based structures: > > struct timespec and struct itimerspec at user space boundaries. > > This helps to later

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Mon, Jun 26, 2017 at 03:35:25AM +0100, Al Viro wrote: > On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > > The series aims at isolating data conversions of time_t based structures: > > struct timespec and struct itimerspec at user space boundaries. > > This helps to later

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 10:05 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > Acked-by: David Ahern > And slave_validate is not used; it

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 10:05 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > Acked-by: David Ahern > And slave_validate is not used; it should be removed.

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 10:04 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > > Acked-by: David Ahern > Actually, you are missing the

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 10:04 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > > Acked-by: David Ahern > Actually, you are missing the chagne to br_port_slave_changelink.

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer Acked-by: David Ahern

Re: [PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer Acked-by: David Ahern

Re: [PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread David Ahern
On 6/25/17 3:55 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread David Ahern
On 6/25/17 3:55 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

[PATCH] mm/memory_hotplug: just build zonelist for new added node

2017-06-25 Thread Wei Yang
In commit (9adb62a5df9c0fbef7) "mm/hotplug: correctly setup fallback zonelists when creating new pgdat" tries to build the correct zonelist for a new added node, while it is not necessary to rebuild it for already exist nodes. In build_zonelists(), it will iterate on nodes with memory. For a new

[PATCH] mm/memory_hotplug: just build zonelist for new added node

2017-06-25 Thread Wei Yang
In commit (9adb62a5df9c0fbef7) "mm/hotplug: correctly setup fallback zonelists when creating new pgdat" tries to build the correct zonelist for a new added node, while it is not necessary to rebuild it for already exist nodes. In build_zonelists(), it will iterate on nodes with memory. For a new

Re: [PATCH] kernel/power/suspend: use CONFIG_HAVE_SET_MEMORY for include condition

2017-06-25 Thread Balbir Singh
On Sat, Jun 3, 2017 at 11:27 PM, Pavel Machek wrote: > On Sat 2017-06-03 20:52:32, Balbir Singh wrote: >> Kbuild reported a build failure when CONFIG_STRICT_KERNEL_RWX was >> enabled on powerpc. We don't yet have ARCH_HAS_SET_MEMORY and ppc32 >> saw a build failure. >> >>

Re: [PATCH] kernel/power/suspend: use CONFIG_HAVE_SET_MEMORY for include condition

2017-06-25 Thread Balbir Singh
On Sat, Jun 3, 2017 at 11:27 PM, Pavel Machek wrote: > On Sat 2017-06-03 20:52:32, Balbir Singh wrote: >> Kbuild reported a build failure when CONFIG_STRICT_KERNEL_RWX was >> enabled on powerpc. We don't yet have ARCH_HAS_SET_MEMORY and ppc32 >> saw a build failure. >> >> fixes(50327dd

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would each look something like

Re: [PATCH v2 4/4] arm64: dts: rockchip: use cs-gpios for cros_ec_spi

2017-06-25 Thread jeffy
Hi Doug, On 06/24/2017 12:14 AM, Doug Anderson wrote: Jeffy On Fri, Jun 23, 2017 at 5:18 AM, jeffy wrote: So how do we fix this? IMHO: Add 4 new pinctrl states in rk3399.dtsi: cs_low_clk_low, cs_low_clk_high, cs_high_clk_low, cs_high_clk_high These would each look something like

[PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-25 Thread Jeffy Chen
The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfer. Keep spi alive after CS asserted to prevent that. Suggested-by: Doug Anderson Signed-off-by: Jeffy Chen

[PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-25 Thread Jeffy Chen
The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfer. Keep spi alive after CS asserted to prevent that. Suggested-by: Doug Anderson Signed-off-by: Jeffy Chen --- drivers/spi/spi-rockchip.c | 22

RE: [PATCH 1/9] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2017-06-25 Thread A.s. Dong
Hi Stephen, > -Original Message- > From: Dong Aisheng [mailto:donga...@gmail.com] > Sent: Tuesday, June 20, 2017 5:08 PM > To: Stephen Boyd > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; >

bfq/ext4 disk IO hangs forever on resume

2017-06-25 Thread Alex Xu
Hi, I get hangs when resuming when using bfq-mq with ext4 on 4.12-rc6+ (currently a4fd8b3accf43d407472e34403d4b0a4df5c0e71). Steps to reproduce: 1. boot computer 2. systemctl suspend 3. wait few seconds 4. press power button 5. type "ls" into console or SSH or do anything that does disk IO

RE: [PATCH 1/9] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2017-06-25 Thread A.s. Dong
Hi Stephen, > -Original Message- > From: Dong Aisheng [mailto:donga...@gmail.com] > Sent: Tuesday, June 20, 2017 5:08 PM > To: Stephen Boyd > Cc: A.s. Dong; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; mturque...@baylibre.com; >

bfq/ext4 disk IO hangs forever on resume

2017-06-25 Thread Alex Xu
Hi, I get hangs when resuming when using bfq-mq with ext4 on 4.12-rc6+ (currently a4fd8b3accf43d407472e34403d4b0a4df5c0e71). Steps to reproduce: 1. boot computer 2. systemctl suspend 3. wait few seconds 4. press power button 5. type "ls" into console or SSH or do anything that does disk IO

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
On (06/26/17 11:39), Sergey Senozhatsky wrote: [..] > ok... I don't think I see what we can do in zram about the > issue in question. ... check init_done() in reset_store() and avoid the whole ->bd_openers branch if the device is already reset? // not compile tested. just a sketch. // --- diff

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
On (06/26/17 11:39), Sergey Senozhatsky wrote: [..] > ok... I don't think I see what we can do in zram about the > issue in question. ... check init_done() in reset_store() and avoid the whole ->bd_openers branch if the device is already reset? // not compile tested. just a sketch. // --- diff

Re: [PATCH] dmaengine: qcom_hidma: allow ACPI/DT parameters to be overridden

2017-06-25 Thread Vinod Koul
On Thu, Jun 22, 2017 at 02:59:22PM -0400, Sinan Kaya wrote: > Parameters like maximum read/write request size and the maximum > number of active transactions are currently configured in DT/ACPI. > > This patch allows a user to override these to fine tune performance > for their application.

Re: [PATCH] dmaengine: qcom_hidma: allow ACPI/DT parameters to be overridden

2017-06-25 Thread Vinod Koul
On Thu, Jun 22, 2017 at 02:59:22PM -0400, Sinan Kaya wrote: > Parameters like maximum read/write request size and the maximum > number of active transactions are currently configured in DT/ACPI. > > This patch allows a user to override these to fine tune performance > for their application.

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread zhiyong tao
On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: > On Thu, 22 Jun 2017 13:44:33 +0800 > Zhiyong Tao wrote: > > > This patch supports auxadc suspend/resume flow. > > Disable auxadc clk and power in suspend function. > > Enable axuadc clk and power in resume

Re: [PATCH 2/3] iio: adc: mt7622: add support for suspend/resume.

2017-06-25 Thread zhiyong tao
On Sat, 2017-06-24 at 21:00 +0100, Jonathan Cameron wrote: > On Thu, 22 Jun 2017 13:44:33 +0800 > Zhiyong Tao wrote: > > > This patch supports auxadc suspend/resume flow. > > Disable auxadc clk and power in suspend function. > > Enable axuadc clk and power in resume function. > > > >

Re: [PATCH v2 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-06-25 Thread Baolin Wang
Hi Rob, On 五, 6月 23, 2017 at 05:20:16下午 -0500, Rob Herring wrote: > On Wed, Jun 21, 2017 at 03:23:03PM +0800, Baolin Wang wrote: > > This patch adds the binding documentation for Spreadtrum I2C > > controller device. > > > > Signed-off-by: Baolin Wang > > --- > >

Re: [PATCH v2 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation

2017-06-25 Thread Baolin Wang
Hi Rob, On 五, 6月 23, 2017 at 05:20:16下午 -0500, Rob Herring wrote: > On Wed, Jun 21, 2017 at 03:23:03PM +0800, Baolin Wang wrote: > > This patch adds the binding documentation for Spreadtrum I2C > > controller device. > > > > Signed-off-by: Baolin Wang > > --- > > Changes since v1: > > - No

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-raid1.c between commit: cd15fb64ee56 ("Revert "dm mirror: use all available legs on multiple failures"") from Linus' tree and commits: 9966afaf91b3 ("dm: fix REQ_RAHEAD handling") 1be569098458 ("dm:

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-raid1.c between commit: cd15fb64ee56 ("Revert "dm mirror: use all available legs on multiple failures"") from Linus' tree and commits: 9966afaf91b3 ("dm: fix REQ_RAHEAD handling") 1be569098458 ("dm:

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
Hello, (Cc Andrew, Karel) On (06/24/17 11:08), Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat

Re: zram hot_add device busy

2017-06-25 Thread Sergey Senozhatsky
Hello, (Cc Andrew, Karel) On (06/24/17 11:08), Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > The series aims at isolating data conversions of time_t based structures: > struct timespec and struct itimerspec at user space boundaries. > This helps to later change the underlying types to handle y2038 changes > to these.

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > The series aims at isolating data conversions of time_t based structures: > struct timespec and struct itimerspec at user space boundaries. > This helps to later change the underlying types to handle y2038 changes > to these.

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-io.c between commit: feb7695fe9fb ("dm io: fix duplicate bio completion due to missing ref count") from Linus' tree and commit: 4e4cbee93d56 ("block: switch bios to blk_status_t") from the block tree.

linux-next: manual merge of the block tree with Linus' tree

2017-06-25 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/md/dm-io.c between commit: feb7695fe9fb ("dm io: fix duplicate bio completion due to missing ref count") from Linus' tree and commit: 4e4cbee93d56 ("block: switch bios to blk_status_t") from the block tree.

Re: zram hot_add device busy

2017-06-25 Thread Minchan Kim
Hello, On Sat, Jun 24, 2017 at 11:08:01AM +0100, Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat

Re: zram hot_add device busy

2017-06-25 Thread Minchan Kim
Hello, On Sat, Jun 24, 2017 at 11:08:01AM +0100, Sami Kerola wrote: > Hello, > > While going through if there are new util-linux bugs reported I came a > cross this https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1645846 > > Simple way to reproduce the issue is: > d=$(cat

Re: linux-next: build failure after merge of the i2c tree

2017-06-25 Thread Shawn Guo
Hi Stephen, On Mon, Jun 26, 2017 at 11:09:07AM +1000, Stephen Rothwell wrote: > Hi Wolfram, > > After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb': >

Re: linux-next: build failure after merge of the i2c tree

2017-06-25 Thread Shawn Guo
Hi Stephen, On Mon, Jun 26, 2017 at 11:09:07AM +1000, Stephen Rothwell wrote: > Hi Wolfram, > > After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb': >

[PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

2017-06-25 Thread Wu Hao
This patch adds region_id to fpga_image_info data structure, it allows driver to pass region id information to fpga-mgr via fpga_image_info for fpga reconfiguration function. Signed-off-by: Wu Hao --- include/linux/fpga/fpga-mgr.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

2017-06-25 Thread Wu Hao
This patch adds region_id to fpga_image_info data structure, it allows driver to pass region id information to fpga-mgr via fpga_image_info for fpga reconfiguration function. Signed-off-by: Wu Hao --- include/linux/fpga/fpga-mgr.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 06/22] fpga: intel: add FPGA PCIe device driver

2017-06-25 Thread Wu Hao
From: Zhang Yi The Intel FPGA device appears as a PCIe device on the system. This patch implements the basic framework of the driver for Intel PCIe device which locates between CPU and Accelerated Function Units (AFUs). Signed-off-by: Tim Whisonant

[PATCH v2 08/22] fpga: intel: pcie: add chardev support for feature devices

2017-06-25 Thread Wu Hao
From: Xiao Guangrong For feature devices drivers, both the FPGA Management Engine (FME) and Accelerated Function Unit (AFU) driver need to expose user interfaces via the device file, for example, mmap and ioctls. This patch adds chardev support in the pcie driver

  1   2   3   4   5   6   >