Re: [PATCH 1/2] fs: fsnotify: account fsnotify metadata to kmemcg

2018-06-25 Thread Amir Goldstein
On Tue, Jun 26, 2018 at 2:06 AM, Shakeel Butt wrote: > A lot of memory can be consumed by the events generated for the huge or > unlimited queues if there is either no or slow listener. This can cause > system level memory pressure or OOMs. So, it's better to account the > fsnotify kmem caches

Re: [PATCH 1/2] fs: fsnotify: account fsnotify metadata to kmemcg

2018-06-25 Thread Amir Goldstein
On Tue, Jun 26, 2018 at 2:06 AM, Shakeel Butt wrote: > A lot of memory can be consumed by the events generated for the huge or > unlimited queues if there is either no or slow listener. This can cause > system level memory pressure or OOMs. So, it's better to account the > fsnotify kmem caches

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread jdow
this for awhile and then determining I REALLY did not want to think about it as my brain was getting tied into a gordian knot. {^_^} On 20180625 19:23, Michael Schmitz wrote: Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread jdow
this for awhile and then determining I REALLY did not want to think about it as my brain was getting tied into a gordian knot. {^_^} On 20180625 19:23, Michael Schmitz wrote: Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512

Re: [PATCH v8 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed

2018-06-25 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-06-26 05:35, Matthias Kaehlcke wrote: On Mon, Jun 25, 2018 at 04:43:54PM -0700, Matthias Kaehlcke wrote: This is a nice improvement, a few remaining questions inline. On Mon, Jun 25, 2018 at 07:10:10PM +0530, Balakrishna Godavarthi wrote: > In function qca_setup, we set

Re: [PATCH v8 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed

2018-06-25 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-06-26 05:35, Matthias Kaehlcke wrote: On Mon, Jun 25, 2018 at 04:43:54PM -0700, Matthias Kaehlcke wrote: This is a nice improvement, a few remaining questions inline. On Mon, Jun 25, 2018 at 07:10:10PM +0530, Balakrishna Godavarthi wrote: > In function qca_setup, we set

Re: [PATCH 1/2] leds: core: Introduce generic pattern interface

2018-06-25 Thread Baolin Wang
Hi Pavel, On 25 June 2018 at 20:18, Pavel Machek wrote: > On Mon 2018-06-25 13:03:19, Baolin Wang wrote: >> From: Bjorn Andersson >> >> Some LED controllers have support for autonomously controlling >> brightness over time, according to some preprogrammed pattern or >> function. >> >> This adds

Re: INFO: rcu detected stall in vprintk_emit

2018-06-25 Thread Sergey Senozhatsky
On (06/26/18 07:03), Dmitry Vyukov wrote: > > I don't think this is a printk() issue per se, so I think Option B is > > the only option. You should not get stuck in an infinite loop if we run > > short on memory. Perhaps we could have an Option C which would exit > > this loop gracefully with some

Re: [PATCH 1/2] leds: core: Introduce generic pattern interface

2018-06-25 Thread Baolin Wang
Hi Pavel, On 25 June 2018 at 20:18, Pavel Machek wrote: > On Mon 2018-06-25 13:03:19, Baolin Wang wrote: >> From: Bjorn Andersson >> >> Some LED controllers have support for autonomously controlling >> brightness over time, according to some preprogrammed pattern or >> function. >> >> This adds

Re: INFO: rcu detected stall in vprintk_emit

2018-06-25 Thread Sergey Senozhatsky
On (06/26/18 07:03), Dmitry Vyukov wrote: > > I don't think this is a printk() issue per se, so I think Option B is > > the only option. You should not get stuck in an infinite loop if we run > > short on memory. Perhaps we could have an Option C which would exit > > this loop gracefully with some

RE: [Patch v2 14/15] CIFS: Add support for direct I/O write

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 14/15] CIFS: Add support for direct I/O write > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O write. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li > >

RE: [Patch v2 14/15] CIFS: Add support for direct I/O write

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 14/15] CIFS: Add support for direct I/O write > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O write. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li > >

RE: [Patch v2 13/15] CIFS: Add support for direct I/O read

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 13/15] CIFS: Add support for direct I/O read > > > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O read. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li >

RE: [Patch v2 13/15] CIFS: Add support for direct I/O read

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 13/15] CIFS: Add support for direct I/O read > > > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > Implement the function for direct I/O read. It doesn't support AIO, > > which will be implemented in a follow up patch. > > > > Signed-off-by: Long Li >

linux-next: Tree for Jun 26

2018-06-25 Thread Stephen Rothwell
Hi all, Changes since 20180625: The cifs tree lost its build failure. The drm tree still had its build failure for which I disabled some sample code. The nvdimm tree gained a conflict against the tip tree. Non-merge commits (relative to Linus' tree): 2240 2288 files changed, 72718 insertions

linux-next: Tree for Jun 26

2018-06-25 Thread Stephen Rothwell
Hi all, Changes since 20180625: The cifs tree lost its build failure. The drm tree still had its build failure for which I disabled some sample code. The nvdimm tree gained a conflict against the tip tree. Non-merge commits (relative to Linus' tree): 2240 2288 files changed, 72718 insertions

RE: [Patch v2 11/15] CIFS: Pass page offset for calculating signature

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 11/15] CIFS: Pass page offset for calculating signature > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > When calculating signature for the packet, it needs to read into the > > correct page offset for the data. > > > > Signed-off-by: Long Li > > --- >

RE: [Patch v2 11/15] CIFS: Pass page offset for calculating signature

2018-06-25 Thread Long Li
> Subject: Re: [Patch v2 11/15] CIFS: Pass page offset for calculating signature > > On 5/30/2018 3:48 PM, Long Li wrote: > > From: Long Li > > > > When calculating signature for the packet, it needs to read into the > > correct page offset for the data. > > > > Signed-off-by: Long Li > > --- >

Re: [PATCH v34 2/4] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-06-25 Thread Michael S. Tsirkin
On Tue, Jun 26, 2018 at 11:46:35AM +0800, Wei Wang wrote: > On 06/26/2018 09:37 AM, Michael S. Tsirkin wrote: > > On Mon, Jun 25, 2018 at 08:05:10PM +0800, Wei Wang wrote: > > > > > @@ -326,17 +353,6 @@ static void stats_handle_request(struct > > > virtio_balloon *vb) > > >

Re: [PATCH v34 2/4] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-06-25 Thread Michael S. Tsirkin
On Tue, Jun 26, 2018 at 11:46:35AM +0800, Wei Wang wrote: > On 06/26/2018 09:37 AM, Michael S. Tsirkin wrote: > > On Mon, Jun 25, 2018 at 08:05:10PM +0800, Wei Wang wrote: > > > > > @@ -326,17 +353,6 @@ static void stats_handle_request(struct > > > virtio_balloon *vb) > > >

Re: [PATCH v3 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-25 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 08:50:26PM +0100, John Whitmore wrote: > On Mon, Jun 25, 2018 at 02:05:04PM +0100, Justin Skists wrote: > > > > > On 25 June 2018 at 13:36 John Whitmore wrote: > > > > > > > > > On Mon, Jun 25, 2018 at 12:06:30PM +0300, Andy Shevchenko wrote: > > > > On Sun, Jun 24,

Re: [PATCH v3 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-25 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 08:50:26PM +0100, John Whitmore wrote: > On Mon, Jun 25, 2018 at 02:05:04PM +0100, Justin Skists wrote: > > > > > On 25 June 2018 at 13:36 John Whitmore wrote: > > > > > > > > > On Mon, Jun 25, 2018 at 12:06:30PM +0300, Andy Shevchenko wrote: > > > > On Sun, Jun 24,

Re: [PATCH v3 5/8] staging: rtl8192u: Use %s and __func__ instead of hardcoded string - Style

2018-06-25 Thread Greg KH
On Sun, Jun 24, 2018 at 04:34:51PM +0100, John Whitmore wrote: > Changed a number of hard coded function names to use %s and __func__ > > Mailing list response suggest that there is a better method for debugging > using netdev_dbg(). I can't argue with that, but for the moment this change > will

Re: [PATCH v3 5/8] staging: rtl8192u: Use %s and __func__ instead of hardcoded string - Style

2018-06-25 Thread Greg KH
On Sun, Jun 24, 2018 at 04:34:51PM +0100, John Whitmore wrote: > Changed a number of hard coded function names to use %s and __func__ > > Mailing list response suggest that there is a better method for debugging > using netdev_dbg(). I can't argue with that, but for the moment this change > will

Re: F_OFD_GETLK implemented wrong with CIFS protocol version 2.0+

2018-06-25 Thread Steve French
We are taking a look at this - Ronnie had some ideas. Probably simply not implemented - hopefully not too hard to fix. On Mon, Jun 25, 2018 at 6:58 PM Laura Abbott wrote: > > Hi, > > A while back, someone reported a failure on Fedora when trying to boot > a QEMU image off of a CIFS share. The

Re: F_OFD_GETLK implemented wrong with CIFS protocol version 2.0+

2018-06-25 Thread Steve French
We are taking a look at this - Ronnie had some ideas. Probably simply not implemented - hopefully not too hard to fix. On Mon, Jun 25, 2018 at 6:58 PM Laura Abbott wrote: > > Hi, > > A while back, someone reported a failure on Fedora when trying to boot > a QEMU image off of a CIFS share. The

[PATCH 1/1] kvm: selftests: add cr4_cpuid_sync_test

2018-06-25 Thread Wei Huang
KVM is supposed to update some guest VM's CPUID bits (e.g. OSXSAVE) when CR4 is changed. A bug was found in KVM recently and it was fixed by Commit c4d2188206ba ("KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed"). This patch adds a test to verify the synchronization between

[PATCH 1/1] kvm: selftests: add cr4_cpuid_sync_test

2018-06-25 Thread Wei Huang
KVM is supposed to update some guest VM's CPUID bits (e.g. OSXSAVE) when CR4 is changed. A bug was found in KVM recently and it was fixed by Commit c4d2188206ba ("KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed"). This patch adds a test to verify the synchronization between

[BUG? v4.16.12] OOM kill of qemu causes whacky pty shenanigans

2018-06-25 Thread Dave Chinner
HI folks, I've come across a strange problem recently when doing some MPI based CPU+IO load test simulations recently. I've been running them on the same machine I use to host all my filesystem test VMs (16p/32t, 64GB RAM) which is currently running 4.16.12. Both the MPI job context and the qemu

[BUG? v4.16.12] OOM kill of qemu causes whacky pty shenanigans

2018-06-25 Thread Dave Chinner
HI folks, I've come across a strange problem recently when doing some MPI based CPU+IO load test simulations recently. I've been running them on the same machine I use to host all my filesystem test VMs (16p/32t, 64GB RAM) which is currently running 4.16.12. Both the MPI job context and the qemu

Re: [PATCH v4] dcdbas: Add support for WSMT ACPI table

2018-06-25 Thread Stuart Hayes
On 6/14/2018 12:26 PM, Andy Shevchenko wrote: > On Thu, Jun 14, 2018 at 6:45 PM, Stuart Hayes > wrote: >> >> If the WSMT ACPI table is present and indicates that a fixed communication >> buffer should be used, use the firmware-specified buffer instead of >> allocating a buffer in memory for

Re: [PATCH v4] dcdbas: Add support for WSMT ACPI table

2018-06-25 Thread Stuart Hayes
On 6/14/2018 12:26 PM, Andy Shevchenko wrote: > On Thu, Jun 14, 2018 at 6:45 PM, Stuart Hayes > wrote: >> >> If the WSMT ACPI table is present and indicates that a fixed communication >> buffer should be used, use the firmware-specified buffer instead of >> allocating a buffer in memory for

[PATCH 04/12] powerpc: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Acked-by: Michael Ellerman Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc:

[PATCH 04/12] powerpc: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Acked-by: Michael Ellerman Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc:

[PATCH 12/12] perf/breakpoint: Clean up and consolidate modify_user_hw_breakpoint_check()

2018-06-25 Thread Frederic Weisbecker
Remove the dance around old and new attributes. Just don't modify the previous breakpoint at all until we have verified everything. Reported-by: Linus Torvalds Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc:

[PATCH 07/12] sh: Remove "struct arch_hw_breakpoint::name" unused field

2018-06-25 Thread Frederic Weisbecker
This field seem to be unused, perhaps a leftover from old code... Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris Zankel Cc:

[PATCH 08/12] sh: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will

[PATCH 11/12] perf/breakpoint: Pass new breakpoint type to modify_breakpoint_slot()

2018-06-25 Thread Frederic Weisbecker
We soon won't be able to rely on bp->attr anymore to get the new type of the modifying breakpoint because the new attributes are going to be copied only once we successfully modified the breakpoint slot. This will fix the current misdesigned layout where the new attr are copied to the modifying

[PATCH 12/12] perf/breakpoint: Clean up and consolidate modify_user_hw_breakpoint_check()

2018-06-25 Thread Frederic Weisbecker
Remove the dance around old and new attributes. Just don't modify the previous breakpoint at all until we have verified everything. Reported-by: Linus Torvalds Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc:

[PATCH 07/12] sh: Remove "struct arch_hw_breakpoint::name" unused field

2018-06-25 Thread Frederic Weisbecker
This field seem to be unused, perhaps a leftover from old code... Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris Zankel Cc:

[PATCH 08/12] sh: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will

[PATCH 11/12] perf/breakpoint: Pass new breakpoint type to modify_breakpoint_slot()

2018-06-25 Thread Frederic Weisbecker
We soon won't be able to rely on bp->attr anymore to get the new type of the modifying breakpoint because the new attributes are going to be copied only once we successfully modified the breakpoint slot. This will fix the current misdesigned layout where the new attr are copied to the modifying

[PATCH 10/12] perf/breakpoint: Remove default hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
All architectures have implemented it, we can now remove the poor weak version. Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris

[PATCH 10/12] perf/breakpoint: Remove default hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
All architectures have implemented it, we can now remove the poor weak version. Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will Deacon Cc: Mark Rutland Cc: Max Filippov Cc: Chris

[PATCH 06/12] arm64: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Will Deacon Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc:

[PATCH 09/12] xtensa: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will

[PATCH 06/12] arm64: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Will Deacon Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc:

[PATCH 09/12] xtensa: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Will

[PATCH 01/12] perf/breakpoint: Split attribute parse and commit

2018-06-25 Thread Frederic Weisbecker
arch_validate_hwbkpt_settings() mixes up attribute check and commit into a single code entity. Therefore the validation may return an error due to incorrect atributes while still leaving halfway modified architecture breakpoint data. This is harmless when we deal with a new breakpoint but it

[PATCH 02/12] perf/breakpoint: Pass arch breakpoint struct to arch_check_bp_in_kernelspace()

2018-06-25 Thread Frederic Weisbecker
We can't pass the breakpoint directly on arch_check_bp_in_kernelspace() anymore because its architecture internal datas (struct arch_hw_breakpoint) are not yet filled by the time we call the function, and most implementation need this backend to be up to date. So arrange the function to take the

[PATCH 01/12] perf/breakpoint: Split attribute parse and commit

2018-06-25 Thread Frederic Weisbecker
arch_validate_hwbkpt_settings() mixes up attribute check and commit into a single code entity. Therefore the validation may return an error due to incorrect atributes while still leaving halfway modified architecture breakpoint data. This is harmless when we deal with a new breakpoint but it

[PATCH 02/12] perf/breakpoint: Pass arch breakpoint struct to arch_check_bp_in_kernelspace()

2018-06-25 Thread Frederic Weisbecker
We can't pass the breakpoint directly on arch_check_bp_in_kernelspace() anymore because its architecture internal datas (struct arch_hw_breakpoint) are not yet filled by the time we call the function, and most implementation need this backend to be up to date. So arrange the function to take the

[PATCH 05/12] arm: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc:

[PATCH 05/12] arm: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Acked-by: Mark Rutland Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo Molnar Cc:

[PATCH 03/12] x86: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo

[PATCH 03/12] x86: Implement hw_breakpoint_arch_parse()

2018-06-25 Thread Frederic Weisbecker
Migrate to the new API in order to remove arch_validate_hwbkpt_settings() that clumsily mixes up architecture validation and commit. Original-patch-by: Andy Lutomirski Signed-off-by: Frederic Weisbecker Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Yoshinori Sato Cc: Rich Felker Cc: Ingo

[GIT PULL] breakpoint: Rework arch validation v4

2018-06-25 Thread Frederic Weisbecker
Ingo, Please pull the perf/breakpoint-v4 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git perf/breakpoint-v4 HEAD: ba25ee9c7b3ef1543c2a24a7ca6a621433803ee4 Only change since v3 is a rebase against latest tip:perf/core --- When we

[GIT PULL] breakpoint: Rework arch validation v4

2018-06-25 Thread Frederic Weisbecker
Ingo, Please pull the perf/breakpoint-v4 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git perf/breakpoint-v4 HEAD: ba25ee9c7b3ef1543c2a24a7ca6a621433803ee4 Only change since v3 is a rebase against latest tip:perf/core --- When we

Re: [PATCH] arm: dts: socfpga: denali needs nand_x_clk too

2018-06-25 Thread Masahiro Yamada
2018-06-25 23:55 GMT+09:00 Boris Brezillon : > On Mon, 25 Jun 2018 09:50:18 -0500 > Dinh Nguyen wrote: > >> On 06/22/2018 10:58 AM, Richard Weinberger wrote: >> > Masahiro, >> > >> > Am Freitag, 22. Juni 2018, 16:37:21 CEST schrieb Masahiro Yamada: >> >> Hi Richard, >> >> >> >> >> >> 2018-06-19

Re: [PATCH v10 0/7] i2c: Add FSI-attached I2C master algorithm

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:12PM -0500, Eddie James wrote: > This series adds an algorithm for an I2C master physically located on an FSI > slave device. The I2C master has multiple ports, each of which may be > connected > to an I2C slave. Access to the I2C master registers is achieved over

Re: [PATCH] arm: dts: socfpga: denali needs nand_x_clk too

2018-06-25 Thread Masahiro Yamada
2018-06-25 23:55 GMT+09:00 Boris Brezillon : > On Mon, 25 Jun 2018 09:50:18 -0500 > Dinh Nguyen wrote: > >> On 06/22/2018 10:58 AM, Richard Weinberger wrote: >> > Masahiro, >> > >> > Am Freitag, 22. Juni 2018, 16:37:21 CEST schrieb Masahiro Yamada: >> >> Hi Richard, >> >> >> >> >> >> 2018-06-19

Re: [PATCH v10 0/7] i2c: Add FSI-attached I2C master algorithm

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:12PM -0500, Eddie James wrote: > This series adds an algorithm for an I2C master physically located on an FSI > slave device. The I2C master has multiple ports, each of which may be > connected > to an I2C slave. Access to the I2C master registers is achieved over

Re: [PATCH v10 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:13PM -0500, Eddie James wrote: > Document the bindings. > > Signed-off-by: Eddie James > Broken email address here. checkpatch warns about it.

Re: [PATCH v10 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:13PM -0500, Eddie James wrote: > Document the bindings. > > Signed-off-by: Eddie James > Broken email address here. checkpatch warns about it.

Re: [PATCH v10 4/7] i2c: fsi: Add abort and hardware reset procedures

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:16PM -0500, Eddie James wrote: > Add abort procedure for failed transfers. Add engine and bus reset > procedures to recover from as many faults as possible. I think this is a way too aggressive recovery. Your are doing the 9 pulse toggles basically on any error while

Re: [PATCH v10 4/7] i2c: fsi: Add abort and hardware reset procedures

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:16PM -0500, Eddie James wrote: > Add abort procedure for failed transfers. Add engine and bus reset > procedures to recover from as many faults as possible. I think this is a way too aggressive recovery. Your are doing the 9 pulse toggles basically on any error while

Re: [PATCH v10 7/7] i2c: fsi: Add bus recovery

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:19PM -0500, Eddie James wrote: > Bus recovery should reset the engine and force clock the bus 9 times > to recover most situations. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 19 +++ > 1 file changed, 19 insertions(+) > >

Re: [PATCH v10 7/7] i2c: fsi: Add bus recovery

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:19PM -0500, Eddie James wrote: > Bus recovery should reset the engine and force clock the bus 9 times > to recover most situations. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 19 +++ > 1 file changed, 19 insertions(+) > >

Re: [PATCH v10 5/7] i2c: fsi: Add transfer implementation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:17PM -0500, Eddie James wrote: > Execute I2C transfers from the FSI-attached I2C master. Use polling > instead of interrupts as we have no hardware IRQ over FSI. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 195 >

Re: [PATCH v2 00/10] Split i2c_lock_adapter into i2c_lock_root and i2c_lock_segment

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 07:17:53AM +0200, Peter Rosin wrote: > Hi! > > With the introduction of mux-locked I2C muxes, the concept of > locking only a segment of the I2C adapter tree was added. At the > time, I did not want to cause a lot of extra churn, so left most > users of i2c_lock_adapter

Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant

2018-06-25 Thread Wolfram Sang
> This is not perfectly equivalent, since i2c_smbus_xfer was callable from > atomic/irq context if you happened to end up emulating SMBus with an I2C > transfer, and that is no longer the case with this patch. It is unknown > (to me) if anything depends on that quirk, but it seems fragile enough

Re: [PATCH v10 5/7] i2c: fsi: Add transfer implementation

2018-06-25 Thread Wolfram Sang
On Wed, Jun 13, 2018 at 02:36:17PM -0500, Eddie James wrote: > Execute I2C transfers from the FSI-attached I2C master. Use polling > instead of interrupts as we have no hardware IRQ over FSI. > > Signed-off-by: Eddie James > --- > drivers/i2c/busses/i2c-fsi.c | 195 >

Re: [PATCH v2 00/10] Split i2c_lock_adapter into i2c_lock_root and i2c_lock_segment

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 07:17:53AM +0200, Peter Rosin wrote: > Hi! > > With the introduction of mux-locked I2C muxes, the concept of > locking only a segment of the I2C adapter tree was added. At the > time, I did not want to cause a lot of extra churn, so left most > users of i2c_lock_adapter

Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant

2018-06-25 Thread Wolfram Sang
> This is not perfectly equivalent, since i2c_smbus_xfer was callable from > atomic/irq context if you happened to end up emulating SMBus with an I2C > transfer, and that is no longer the case with this patch. It is unknown > (to me) if anything depends on that quirk, but it seems fragile enough

Re: [PATCH] i2c: smbus: kill memory leak on emulated and failed DMA SMBus xfers

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 11:43:23AM +0200, Peter Rosin wrote: > If DMA safe memory was allocated, but the subsequent I2C transfer > fails the memory is leaked. Plug this leak. > > Fixes: 8a77821e74d6 ("i2c: smbus: use DMA safe buffers for emulated SMBus > transactions") > Signed-off-by: Peter

Re: [PATCH] i2c: smbus: kill memory leak on emulated and failed DMA SMBus xfers

2018-06-25 Thread Wolfram Sang
On Wed, Jun 20, 2018 at 11:43:23AM +0200, Peter Rosin wrote: > If DMA safe memory was allocated, but the subsequent I2C transfer > fails the memory is leaked. Plug this leak. > > Fixes: 8a77821e74d6 ("i2c: smbus: use DMA safe buffers for emulated SMBus > transactions") > Signed-off-by: Peter

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread Michael Schmitz
Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512) sdb1 (LNX^@)(res 2 spb 1) sdb2 (JXF^D)(res 2 spb 1) sdb3 (DOS^C)(res 2 spb 4) Jun 19 21:19:09 merkaba kernel: [ 7891.844055] sd 7:0:0:0: [sdb] Attached SCSI disk so it's indeed

Re: moving affs + RDB partition support to staging?

2018-06-25 Thread Michael Schmitz
Joanne, Martin's boot log (including your patch) says: Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512) sdb1 (LNX^@)(res 2 spb 1) sdb2 (JXF^D)(res 2 spb 1) sdb3 (DOS^C)(res 2 spb 4) Jun 19 21:19:09 merkaba kernel: [ 7891.844055] sd 7:0:0:0: [sdb] Attached SCSI disk so it's indeed

Re: [PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:34 PDT 2018, Alex Elder wrote: > From: Bjorn Andersson > > "start" and "stop" are more suitable names for how these two operations > are used, and they fit better with the upcoming introduction of two > additional operations in the struct. > > [el...@linaro.org: minor comment

Re: [PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:34 PDT 2018, Alex Elder wrote: > From: Bjorn Andersson > > "start" and "stop" are more suitable names for how these two operations > are used, and they fit better with the upcoming introduction of two > additional operations in the struct. > > [el...@linaro.org: minor comment

linux-next: manual merge of the nvdimm tree with the tip tree

2018-06-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nvdimm tree got a conflict in: arch/x86/kernel/cpu/mcheck/mce.c between commit: d3d6923cd1ae ("x86/mce: Carve out the crashing_cpu check") from the tip tree and commit: f6785eac562b ("x86/memory_failure: Introduce {set,clear}_mce_nospec()") from

linux-next: manual merge of the nvdimm tree with the tip tree

2018-06-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nvdimm tree got a conflict in: arch/x86/kernel/cpu/mcheck/mce.c between commit: d3d6923cd1ae ("x86/mce: Carve out the crashing_cpu check") from the tip tree and commit: f6785eac562b ("x86/memory_failure: Introduce {set,clear}_mce_nospec()") from

Re: [PATCH 4/5] remoteproc: rename subdev probe and remove functions

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:32 PDT 2018, Alex Elder wrote: > On 05/29/2018 06:53 AM, Alex Elder wrote: > > On 05/29/2018 04:12 AM, Arnaud Pouliquen wrote: > >> Hello Alex > >> > >> > >> We have the same needs (prepare unprepare steps) on our platform. We > >> tested you core patches and they answers to our

Re: [PATCH 4/5] remoteproc: rename subdev probe and remove functions

2018-06-25 Thread Bjorn Andersson
On Mon 25 Jun 18:32 PDT 2018, Alex Elder wrote: > On 05/29/2018 06:53 AM, Alex Elder wrote: > > On 05/29/2018 04:12 AM, Arnaud Pouliquen wrote: > >> Hello Alex > >> > >> > >> We have the same needs (prepare unprepare steps) on our platform. We > >> tested you core patches and they answers to our

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi John, On 26 June 2018 at 01:23, John Stultz wrote: > On Sat, Jun 23, 2018 at 5:14 PM, Thomas Gleixner wrote: >> On Wed, 13 Jun 2018, Baolin Wang wrote: >>> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >>> to be one persistent clock, then we can simplify the

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi John, On 26 June 2018 at 01:23, John Stultz wrote: > On Sat, Jun 23, 2018 at 5:14 PM, Thomas Gleixner wrote: >> On Wed, 13 Jun 2018, Baolin Wang wrote: >>> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >>> to be one persistent clock, then we can simplify the

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi Thomas, On 24 June 2018 at 08:14, Thomas Gleixner wrote: > On Wed, 13 Jun 2018, Baolin Wang wrote: >> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >> to be one persistent clock, then we can simplify the suspend/resume >> accounting by removing

Re: [PATCH 1/8] time: Add persistent clock support

2018-06-25 Thread Baolin Wang
Hi Thomas, On 24 June 2018 at 08:14, Thomas Gleixner wrote: > On Wed, 13 Jun 2018, Baolin Wang wrote: >> Moreover we can register the clocksource with CLOCK_SOURCE_SUSPEND_NONSTOP >> to be one persistent clock, then we can simplify the suspend/resume >> accounting by removing

[PATCH v2 1/2] dt-bindings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-25 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6765. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 +

[PATCH v2 1/2] dt-bindings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-25 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6765. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 +

[PATCH v2 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-25 Thread Mars Cheng
This adds basic chip support for MT6765 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 33 ++ arch/arm64/boot/dts/mediatek/mt6765.dtsi| 158 +++ 3 files changed, 192

[PATCH 0/2] Add basic SoC support for MT6765

2018-06-25 Thread Mars Cheng
This patch adds basic SoC support for Mediatek's new 8-core SoC, MT6765, which is mainly for smartphone application. Change in V2: 1. fix clk properties in uart dts node 2. fix typo in submit title 3. add simple-bus in mt6765.dtsi 4. use correct SPDX license format Mars Cheng (2):

[PATCH v2 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-25 Thread Mars Cheng
This adds basic chip support for MT6765 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 33 ++ arch/arm64/boot/dts/mediatek/mt6765.dtsi| 158 +++ 3 files changed, 192

[PATCH 0/2] Add basic SoC support for MT6765

2018-06-25 Thread Mars Cheng
This patch adds basic SoC support for Mediatek's new 8-core SoC, MT6765, which is mainly for smartphone application. Change in V2: 1. fix clk properties in uart dts node 2. fix typo in submit title 3. add simple-bus in mt6765.dtsi 4. use correct SPDX license format Mars Cheng (2):

Re: [PATCH v4 1/4] seccomp: add a return code to trap to userspace

2018-06-25 Thread Andy Lutomirski
> On Jun 25, 2018, at 6:32 PM, Tycho Andersen wrote: > >> On Sat, Jun 23, 2018 at 12:27:43AM +0200, Jann Horn wrote: >>> On Fri, Jun 22, 2018 at 11:51 PM Kees Cook wrote: >>> On Fri, Jun 22, 2018 at 11:09 AM, Andy Lutomirski wrote: One possible extra issue: IIRC

Re: [PATCH v4 1/4] seccomp: add a return code to trap to userspace

2018-06-25 Thread Andy Lutomirski
> On Jun 25, 2018, at 6:32 PM, Tycho Andersen wrote: > >> On Sat, Jun 23, 2018 at 12:27:43AM +0200, Jann Horn wrote: >>> On Fri, Jun 22, 2018 at 11:51 PM Kees Cook wrote: >>> On Fri, Jun 22, 2018 at 11:09 AM, Andy Lutomirski wrote: One possible extra issue: IIRC

[PATCH] clk: aspeed: Fix SDCLK name

2018-06-25 Thread Lei YU
The SDCLK was named SDCLKCLK, and no one has used this yet. Fix it. Signed-off-by: Lei YU --- drivers/clk/clk-aspeed.c | 2 +- include/dt-bindings/clock/aspeed-clock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-aspeed.c

[PATCH] clk: aspeed: Fix SDCLK name

2018-06-25 Thread Lei YU
The SDCLK was named SDCLKCLK, and no one has used this yet. Fix it. Signed-off-by: Lei YU --- drivers/clk/clk-aspeed.c | 2 +- include/dt-bindings/clock/aspeed-clock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-aspeed.c

[PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Alex Elder
From: Bjorn Andersson "start" and "stop" are more suitable names for how these two operations are used, and they fit better with the upcoming introduction of two additional operations in the struct. [el...@linaro.org: minor comment edits] Signed-off-by: Bjorn Andersson Acked-by: Alex Elder

[PATCH resend 1/5] remoteproc: Rename subdev functions to start/stop

2018-06-25 Thread Alex Elder
From: Bjorn Andersson "start" and "stop" are more suitable names for how these two operations are used, and they fit better with the upcoming introduction of two additional operations in the struct. [el...@linaro.org: minor comment edits] Signed-off-by: Bjorn Andersson Acked-by: Alex Elder

  1   2   3   4   5   6   7   8   9   10   >