Re: [PATCH v4] net: don't call strlen on non-terminated string in dev_set_alias()

2017-06-06 Thread Florian Westphal
David Miller wrote: > From: Alexander Potapenko > Date: Tue, 6 Jun 2017 15:56:54 +0200 > > > KMSAN reported a use of uninitialized memory in dev_set_alias(), > > which was caused by calling strlcpy() (which in turn called strlen()) > > on the

Re: [PATCH v4] net: don't call strlen on non-terminated string in dev_set_alias()

2017-06-06 Thread Florian Westphal
David Miller wrote: > From: Alexander Potapenko > Date: Tue, 6 Jun 2017 15:56:54 +0200 > > > KMSAN reported a use of uninitialized memory in dev_set_alias(), > > which was caused by calling strlcpy() (which in turn called strlen()) > > on the user-supplied non-terminated string. > > > >

Re: [PATCH 1/2] clocksource/drivers: Add timer-of common init routine

2017-06-06 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on next-20170605] [cannot apply to tip/timers/core clk/clk-next linus/master v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/2] clocksource/drivers: Add timer-of common init routine

2017-06-06 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on next-20170605] [cannot apply to tip/timers/core clk/clk-next linus/master v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Jason A. Donenfeld
This started out as just replacing the use of crypto/rng with get_random_bytes, so that we wouldn't use bad randomness at boot time. But, upon looking further, it appears that there were even deeper underlying cryptographic problems, and that this seems to have been committed with very little

[PATCH v2] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Jason A. Donenfeld
This started out as just replacing the use of crypto/rng with get_random_bytes, so that we wouldn't use bad randomness at boot time. But, upon looking further, it appears that there were even deeper underlying cryptographic problems, and that this seems to have been committed with very little

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-06 Thread kbuild test robot
Hi Paolo, [auto build test ERROR on kvm/linux-next] [also build test ERROR on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/VT-d-PI-fixes/20170607-042637

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-06 Thread kbuild test robot
Hi Paolo, [auto build test ERROR on kvm/linux-next] [also build test ERROR on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/VT-d-PI-fixes/20170607-042637

Re: [PATCH v4 03/23] mtd: nand: add generic helpers to check, match, maximize ECC settings

2017-06-06 Thread Boris Brezillon
On Tue, 6 Jun 2017 08:21:42 +0900 Masahiro Yamada wrote: > Driver are responsible for setting up ECC parameters correctly. > Those include: > - Check if ECC parameters specified (usually by DT) are valid > - Meet the chip's ECC requirement > - Maximize ECC

Re: [PATCH v4 03/23] mtd: nand: add generic helpers to check, match, maximize ECC settings

2017-06-06 Thread Boris Brezillon
On Tue, 6 Jun 2017 08:21:42 +0900 Masahiro Yamada wrote: > Driver are responsible for setting up ECC parameters correctly. > Those include: > - Check if ECC parameters specified (usually by DT) are valid > - Meet the chip's ECC requirement > - Maximize ECC strength if NAND_ECC_MAXIMIZE

Re: [PATCH 3/3] drivers: virt: Add visorbus to the drivers/virt directory

2017-06-06 Thread kbuild test robot
Hi David, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/David-Kershner/move-visorbus-out

Re: [PATCH 3/3] drivers: virt: Add visorbus to the drivers/virt directory

2017-06-06 Thread kbuild test robot
Hi David, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/David-Kershner/move-visorbus-out

Re: [PATCH 03/26] signal: Do not perform permission checks when sending pdeath_signal

2017-06-06 Thread Richard Weinberger
Eric, On Tue, Jun 6, 2017 at 9:03 PM, Eric W. Biederman wrote: > This fixes and old old regression. When Roland switched from > sending pdeath_signal with send_sig() to send_group_sig_info > it gained a permission check, and started taking the tasklist > lock. Roland

Re: [PATCH 03/26] signal: Do not perform permission checks when sending pdeath_signal

2017-06-06 Thread Richard Weinberger
Eric, On Tue, Jun 6, 2017 at 9:03 PM, Eric W. Biederman wrote: > This fixes and old old regression. When Roland switched from > sending pdeath_signal with send_sig() to send_group_sig_info > it gained a permission check, and started taking the tasklist > lock. Roland earlier fixed the double

Re: [xfs] 63db7c815b: XFS: Assertion failed: spin_is_locked(>b_lock), file: fs/xfs/xfs_buf.c, line: 120

2017-06-06 Thread Brian Foster
sired_pgoff() > 63db7c815b xfs: use ->b_state to fix buffer I/O accounting release race > ba7b2387ad Merge branch 'for-4.12-fixes' of > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup > 19ce14

Re: [xfs] 63db7c815b: XFS: Assertion failed: spin_is_locked(>b_lock), file: fs/xfs/xfs_buf.c, line: 120

2017-06-06 Thread Brian Foster
handling of missing page into one place in > xfs_find_get_desired_pgoff() > 63db7c815b xfs: use ->b_state to fix buffer I/O accounting release race > ba7b2387ad Merge branch 'for-4.12-fixes' of > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup > 19ce14199a Add linux-

Re: [PATCH 08/16] powerpc: ps3: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Geoff Levand
On 06/06/2017 12:22 PM, Greg Kroah-Hartman wrote: > The dev_attrs field has long been "depreciated" and is finally being > removed, so move the driver to use the "correct" dev_groups field > instead for struct bus_type. > arch/powerpc/platforms/ps3/system-bus.c | 10 ++ > 1 file changed,

Re: [PATCH 08/16] powerpc: ps3: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Geoff Levand
On 06/06/2017 12:22 PM, Greg Kroah-Hartman wrote: > The dev_attrs field has long been "depreciated" and is finally being > removed, so move the driver to use the "correct" dev_groups field > instead for struct bus_type. > arch/powerpc/platforms/ps3/system-bus.c | 10 ++ > 1 file changed,

Re: [PATCH] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Jason A. Donenfeld
On Tue, Jun 6, 2017 at 10:58 PM, Eric Biggers wrote: > No need to select CRYPTO_AEAD; it's already selected by CRYPTO_GCM. Ack. > > Actually I just noticed another bug, which I suppose you might as well fix > too. > Because different big_keys may be added or read

Re: [PATCH] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Jason A. Donenfeld
On Tue, Jun 6, 2017 at 10:58 PM, Eric Biggers wrote: > No need to select CRYPTO_AEAD; it's already selected by CRYPTO_GCM. Ack. > > Actually I just noticed another bug, which I suppose you might as well fix > too. > Because different big_keys may be added or read concurrently, and each is >

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Jens Axboe
On 06/06/2017 03:23 PM, Matthias Kaehlcke wrote: > El Tue, Jun 06, 2017 at 09:32:35AM -0700 Linus Torvalds ha dit: > >> On Tue, Jun 6, 2017 at 4:16 AM, Arnd Bergmann wrote: >>> >>> Those should all be fairly easy to address, I'd vote for leaving the >>> warning enabled >>> in

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Jens Axboe
On 06/06/2017 03:23 PM, Matthias Kaehlcke wrote: > El Tue, Jun 06, 2017 at 09:32:35AM -0700 Linus Torvalds ha dit: > >> On Tue, Jun 6, 2017 at 4:16 AM, Arnd Bergmann wrote: >>> >>> Those should all be fairly easy to address, I'd vote for leaving the >>> warning enabled >>> in clang, and possibly

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Linus Torvalds
On Tue, Jun 6, 2017 at 2:23 PM, Matthias Kaehlcke wrote: > > I tend to disagree, the warning is useful to detect truly unused > static inline functions, which should be removed, rather than be > carried around/maintained for often long periods of time. That may be true in

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Linus Torvalds
On Tue, Jun 6, 2017 at 2:23 PM, Matthias Kaehlcke wrote: > > I tend to disagree, the warning is useful to detect truly unused > static inline functions, which should be removed, rather than be > carried around/maintained for often long periods of time. That may be true in other projects, but we

Re: [PATCH 1/4] KVM: VMX: extract __pi_post_block

2017-06-06 Thread kbuild test robot
Hi Paolo, [auto build test WARNING on kvm/linux-next] [also build test WARNING on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/VT-d-PI-fixes/20170607

Re: [PATCH 1/4] KVM: VMX: extract __pi_post_block

2017-06-06 Thread kbuild test robot
Hi Paolo, [auto build test WARNING on kvm/linux-next] [also build test WARNING on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/VT-d-PI-fixes/20170607

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Matthias Kaehlcke
El Tue, Jun 06, 2017 at 09:32:35AM -0700 Linus Torvalds ha dit: > On Tue, Jun 6, 2017 at 4:16 AM, Arnd Bergmann wrote: > > > > Those should all be fairly easy to address, I'd vote for leaving the > > warning enabled > > in clang, and possibly asking the gcc maintainers to add a

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread Matthias Kaehlcke
El Tue, Jun 06, 2017 at 09:32:35AM -0700 Linus Torvalds ha dit: > On Tue, Jun 6, 2017 at 4:16 AM, Arnd Bergmann wrote: > > > > Those should all be fairly easy to address, I'd vote for leaving the > > warning enabled > > in clang, and possibly asking the gcc maintainers to add a similar feature

Re: [PATCH] EDAC: mv64x60 calculate memory size correctly

2017-06-06 Thread Chris Packham
On 07/06/17 04:55, Borislav Petkov wrote: > On Tue, Jun 06, 2017 at 03:07:04AM +, Chris Packham wrote: >> I'll wait for feedback before sending a v2. > > You can't be expecting me to review PPC code reliably. :-) Yeah sorry I should have included linuxppc-dev. Will do on v2. I don't think

Re: [PATCH] EDAC: mv64x60 calculate memory size correctly

2017-06-06 Thread Chris Packham
On 07/06/17 04:55, Borislav Petkov wrote: > On Tue, Jun 06, 2017 at 03:07:04AM +, Chris Packham wrote: >> I'll wait for feedback before sending a v2. > > You can't be expecting me to review PPC code reliably. :-) Yeah sorry I should have included linuxppc-dev. Will do on v2. I don't think

Re: [PATCH v4] net: don't call strlen on non-terminated string in dev_set_alias()

2017-06-06 Thread Alexander Potapenko
On Tue, Jun 6, 2017 at 10:36 PM, David Miller wrote: > From: Alexander Potapenko > Date: Tue, 6 Jun 2017 15:56:54 +0200 > >> KMSAN reported a use of uninitialized memory in dev_set_alias(), >> which was caused by calling strlcpy() (which in turn called

Re: [PATCH v4] net: don't call strlen on non-terminated string in dev_set_alias()

2017-06-06 Thread Alexander Potapenko
On Tue, Jun 6, 2017 at 10:36 PM, David Miller wrote: > From: Alexander Potapenko > Date: Tue, 6 Jun 2017 15:56:54 +0200 > >> KMSAN reported a use of uninitialized memory in dev_set_alias(), >> which was caused by calling strlcpy() (which in turn called strlen()) >> on the user-supplied

Re: [PATCH 1/3] PCI: ensure the PCI device is locked over ->reset_notify calls

2017-06-06 Thread Bjorn Helgaas
On Tue, Jun 06, 2017 at 12:48:36PM +0200, Christoph Hellwig wrote: > On Tue, Jun 06, 2017 at 12:31:42AM -0500, Bjorn Helgaas wrote: > > OK, sorry to be dense; it's taking me a long time to work out the > > details here. It feels like there should be a general principle to > > help figure out

Re: [PATCH 1/3] PCI: ensure the PCI device is locked over ->reset_notify calls

2017-06-06 Thread Bjorn Helgaas
On Tue, Jun 06, 2017 at 12:48:36PM +0200, Christoph Hellwig wrote: > On Tue, Jun 06, 2017 at 12:31:42AM -0500, Bjorn Helgaas wrote: > > OK, sorry to be dense; it's taking me a long time to work out the > > details here. It feels like there should be a general principle to > > help figure out

[PATCH v8 02/24] drivers/fsi: Add slave definition

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add the initial fsi slave device, which is private to the core code. This will be a child of the master, and parent to endpoint devices. Signed-off-by: Jeremy Kerr Signed-off-by: Chris Bostic Signed-off-by: Joel

[PATCH v8 02/24] drivers/fsi: Add slave definition

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add the initial fsi slave device, which is private to the core code. This will be a child of the master, and parent to endpoint devices. Signed-off-by: Jeremy Kerr Signed-off-by: Chris Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 10 ++ 1 file

[PATCH v8 04/24] lib: Add crc4 module

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add a little helper for crc4 calculations. This works 4-bits-at-a-time, using a simple table approach. We will need this in the FSI core code, as well as any master implementations that need to calculate CRCs in software. Signed-off-by: Jeremy Kerr

[PATCH v8 04/24] lib: Add crc4 module

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add a little helper for crc4 calculations. This works 4-bits-at-a-time, using a simple table approach. We will need this in the FSI core code, as well as any master implementations that need to calculate CRCs in software. Signed-off-by: Jeremy Kerr Signed-off-by: Chris

[PATCH v8 03/24] drivers/fsi: Add empty master scan

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr When a new fsi master is added, we will need to scan its links, and slaves attached to those links. This change introduces a little shell to iterate the links, which we will populate with the actual slave scan in a later change. Signed-off-by: Jeremy Kerr

[PATCH v8 03/24] drivers/fsi: Add empty master scan

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr When a new fsi master is added, we will need to scan its links, and slaves attached to those links. This change introduces a little shell to iterate the links, which we will populate with the actual slave scan in a later change. Signed-off-by: Jeremy Kerr Signed-off-by: Chris

[PATCH v8 08/24] drivers/fsi: Set slave SMODE to init communication

2017-06-06 Thread Christopher Bostic
Set CFAM to appropriate ID so that the controlling master can manage link memory ranges. Add slave engine register definitions. Includes changes from Jeremy Kerr . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic

[PATCH v8 07/24] drivers/fsi: Implement slave initialisation

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Implement fsi_slave_init: if we can read a chip ID, create fsi_slave devices and register with the driver core. Includes changes from Christopher Bostic . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher

[PATCH v8 08/24] drivers/fsi: Set slave SMODE to init communication

2017-06-06 Thread Christopher Bostic
Set CFAM to appropriate ID so that the controlling master can manage link memory ranges. Add slave engine register definitions. Includes changes from Jeremy Kerr . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 75

[PATCH v8 07/24] drivers/fsi: Implement slave initialisation

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Implement fsi_slave_init: if we can read a chip ID, create fsi_slave devices and register with the driver core. Includes changes from Christopher Bostic . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/Kconfig|

[PATCH v8 10/24] drivers/fsi: Add device read/write/peek API

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change introduces the fsi device API: simple read, write and peek accessors for the devices' address spaces. Includes contributions from Christopher Bostic and Edward A. James . Signed-off-by: Edward A.

[PATCH v8 10/24] drivers/fsi: Add device read/write/peek API

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change introduces the fsi device API: simple read, write and peek accessors for the devices' address spaces. Includes contributions from Christopher Bostic and Edward A. James . Signed-off-by: Edward A. James Signed-off-by: Jeremy Kerr Signed-off-by: Christopher

[PATCH v8 06/24] drivers/fsi: Set up links for slave communication

2017-06-06 Thread Christopher Bostic
Enable each link and send a break command, and try to detect a slave by reading from the SMODE register. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 37 +++-- 1 file

[PATCH v8 09/24] drivers/fsi: scan slaves & register devices

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Now that we have fsi_slave devices, scan each for endpoints, and register them on the fsi bus. Includes contributions from Christopher Bostic . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic

[PATCH v8 06/24] drivers/fsi: Set up links for slave communication

2017-06-06 Thread Christopher Bostic
Enable each link and send a break command, and try to detect a slave by reading from the SMODE register. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff

[PATCH v8 09/24] drivers/fsi: scan slaves & register devices

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Now that we have fsi_slave devices, scan each for endpoints, and register them on the fsi bus. Includes contributions from Christopher Bostic . Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 128

[PATCH v8 12/24] drivers/fsi: Add documentation for GPIO bindings

2017-06-06 Thread Christopher Bostic
Add fsi master gpio device tree binding documentation. Includes changes from Jeremy Kerr . Signed-off-by: Christopher Bostic Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Acked-by: Rob Herring

[PATCH v8 13/24] drivers/fsi: Add client driver register utilities

2017-06-06 Thread Christopher Bostic
Add driver_register and driver_unregister wrappers for FSI. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 17 + include/linux/fsi.h| 12 2 files changed, 29 insertions(+)

[PATCH v8 13/24] drivers/fsi: Add client driver register utilities

2017-06-06 Thread Christopher Bostic
Add driver_register and driver_unregister wrappers for FSI. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- drivers/fsi/fsi-core.c | 17 + include/linux/fsi.h| 12 2 files changed, 29 insertions(+) diff --git a/drivers/fsi/fsi-core.c

[PATCH v8 12/24] drivers/fsi: Add documentation for GPIO bindings

2017-06-06 Thread Christopher Bostic
Add fsi master gpio device tree binding documentation. Includes changes from Jeremy Kerr . Signed-off-by: Christopher Bostic Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Acked-by: Rob Herring --- .../devicetree/bindings/fsi/fsi-master-gpio.txt| 24 ++ 1

[PATCH v8 15/24] drivers/fsi: expose direct-access slave API

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Allow drivers to access the slave address ranges. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic --- v8 - export symbols fsi_slave_read, fsi_slave_write,

[PATCH v8 15/24] drivers/fsi: expose direct-access slave API

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Allow drivers to access the slave address ranges. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic --- v8 - export symbols fsi_slave_read, fsi_slave_write, fsi_slave_claim_range, fsi_slave_release_range ---

[PATCH v8 14/24] drivers/fsi: Add sysfs files for FSI master & slave accesses

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change adds a 'raw' file for reads & writes, and a 'term' file for the TERM command, and a 'break' file for issuing a BREAK. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic

[PATCH v8 17/24] drivers/fsi: Add error handling for slave

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change implements error handling in the FSI core, by cleaining up and retrying failed operations, using the SISC, TERM and BREAK facilities. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic ---

[PATCH v8 14/24] drivers/fsi: Add sysfs files for FSI master & slave accesses

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change adds a 'raw' file for reads & writes, and a 'term' file for the TERM command, and a 'break' file for issuing a BREAK. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-core.c | 116

[PATCH v8 17/24] drivers/fsi: Add error handling for slave

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr This change implements error handling in the FSI core, by cleaining up and retrying failed operations, using the SISC, TERM and BREAK facilities. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-core.c | 121

[PATCH v8 16/24] drivers/fsi: Add tracepoints for low-level operations

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Trace low level read and write FSI bus operations. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic --- v8 - type cast to 'int' to clean up build warnings

Re: [PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-06-06 Thread Boris Brezillon
On Mon, 5 Jun 2017 14:36:23 +0900 KOBAYASHI Yoshitake wrote: > Hi Boris, > > Thank you very much for your detailed review. > I just comming back from busy week for conference and started to look it. > > I have a question regarding to the following comment. >

[PATCH v8 16/24] drivers/fsi: Add tracepoints for low-level operations

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Trace low level read and write FSI bus operations. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Signed-off-by: Christopher Bostic --- v8 - type cast to 'int' to clean up build warnings --- drivers/fsi/fsi-core.c | 27 +++--- include/trace/events/fsi.h |

Re: [PATCH -next] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-06-06 Thread Boris Brezillon
On Mon, 5 Jun 2017 14:36:23 +0900 KOBAYASHI Yoshitake wrote: > Hi Boris, > > Thank you very much for your detailed review. > I just comming back from busy week for conference and started to look it. > > I have a question regarding to the following comment. > > >> static int

[PATCH v8 18/24] drivers/fsi: Document FSI master sysfs files in ABI

2017-06-06 Thread Christopher Bostic
Add info for sysfs scan file in Documentaiton ABI/testing Signed-off-by: Christopher Bostic --- v7 - Rename scan file to 'rescan' - Add 'raw' file details - Add 'term' file details - Add 'break' file details - Update kernel version for each file to 4.12

[PATCH v8 18/24] drivers/fsi: Document FSI master sysfs files in ABI

2017-06-06 Thread Christopher Bostic
Add info for sysfs scan file in Documentaiton ABI/testing Signed-off-by: Christopher Bostic --- v7 - Rename scan file to 'rescan' - Add 'raw' file details - Add 'term' file details - Add 'break' file details - Update kernel version for each file to 4.12 ---

[PATCH v8 19/24] drivers/fsi: Add GPIO based FSI master

2017-06-06 Thread Christopher Bostic
Implement a FSI master using GPIO. Will generate FSI protocol for read and write commands to particular addresses. Sends master command and waits for and decodes a slave response. Includes changes from Edward A. James and Jeremy Kerr . Signed-off-by:

[PATCH v8 19/24] drivers/fsi: Add GPIO based FSI master

2017-06-06 Thread Christopher Bostic
Implement a FSI master using GPIO. Will generate FSI protocol for read and write commands to particular addresses. Sends master command and waits for and decodes a slave response. Includes changes from Edward A. James and Jeremy Kerr . Signed-off-by: Edward A. James Signed-off-by: Jeremy

[PATCH v8 23/24] drivers/fsi: Use asynchronous slave mode

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr For slaves that are behind a software-clocked master, we want FSI CFAMs to run asynchronously to the FSI clock, so set up our slaves to be in async mode. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic

[PATCH v8 21/24] drivers/fsi: Add SCOM FSI client device driver

2017-06-06 Thread Christopher Bostic
Create a simple SCOM engine device driver that reads and writes its control registers via an FSI bus. Includes changes from Edward A. James . Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley Signed-off-by: Edward A.

[PATCH v8 23/24] drivers/fsi: Use asynchronous slave mode

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr For slaves that are behind a software-clocked master, we want FSI CFAMs to run asynchronously to the FSI clock, so set up our slaves to be in async mode. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-core.c| 22

[PATCH v8 21/24] drivers/fsi: Add SCOM FSI client device driver

2017-06-06 Thread Christopher Bostic
Create a simple SCOM engine device driver that reads and writes its control registers via an FSI bus. Includes changes from Edward A. James . Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley Signed-off-by: Edward A. James Signed-off-by: Jeremy Kerr --- drivers/fsi/Kconfig|

[PATCH v8 20/24] drivers/fsi/gpio: Add tracepoints for GPIO master

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Trace low level input/output GPIO operations. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-master-gpio.c | 9 + include/trace/events/fsi_master_gpio.h | 68

[PATCH v8 24/24] drivers/fsi: Add module license to core driver

2017-06-06 Thread Christopher Bostic
Add missing MODULE_LICENSE("GPL") to the core FSI driver. Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fsi/fsi-core.c b/drivers/fsi/fsi-core.c index b56f4ed..a485864 100644 ---

[PATCH v8 20/24] drivers/fsi/gpio: Add tracepoints for GPIO master

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Trace low level input/output GPIO operations. Signed-off-by: Jeremy Kerr Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-master-gpio.c | 9 + include/trace/events/fsi_master_gpio.h | 68 ++ 2 files changed, 77

[PATCH v8 24/24] drivers/fsi: Add module license to core driver

2017-06-06 Thread Christopher Bostic
Add missing MODULE_LICENSE("GPL") to the core FSI driver. Signed-off-by: Christopher Bostic --- drivers/fsi/fsi-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fsi/fsi-core.c b/drivers/fsi/fsi-core.c index b56f4ed..a485864 100644 --- a/drivers/fsi/fsi-core.c +++

[PATCH v8 22/24] drivers/fsi: Add hub master support

2017-06-06 Thread Christopher Bostic
Add an engine driver to expose a "hub" FSI master - which has a set of control registers in the engine address space, and uses a chunk of the slave address space for actual FSI communication. Additional changes from Jeremy Kerr . Signed-off-by: Christopher Bostic

[PATCH v8 22/24] drivers/fsi: Add hub master support

2017-06-06 Thread Christopher Bostic
Add an engine driver to expose a "hub" FSI master - which has a set of control registers in the engine address space, and uses a chunk of the slave address space for actual FSI communication. Additional changes from Jeremy Kerr . Signed-off-by: Christopher Bostic Signed-off-by: Jeremy Kerr

[PATCH v8 11/24] drivers/fsi: Add master unscan

2017-06-06 Thread Christopher Bostic
Allow a master to undo a previous scan. Should a master scan a bus twice it will need to ensure it doesn't double register any previously detected device. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley v7 - Unscan when

[PATCH v8 11/24] drivers/fsi: Add master unscan

2017-06-06 Thread Christopher Bostic
Allow a master to undo a previous scan. Should a master scan a bus twice it will need to ensure it doesn't double register any previously detected device. Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley v7 - Unscan when unregistering master - Remove leading '__'s from

[PATCH v8 00/24] FSI device driver implementation

2017-06-06 Thread Christopher Bostic
Implementation of the IBM 'Flexible Support Interface' (FSI) bus device driver. FSI is a high fan out serial bus consisting of a clock and a serial data line capable of running at speeds up to 166 MHz. This set provides the basic framework to add FSI extensions to the Linux bus and device models.

[PATCH v8 05/24] drivers/fsi: Add slave & master read/write APIs

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Introduce functions to perform reads/writes on the slave address space; these simply pass the request on the slave's master with the correct link and slave ID. We implement these on top of similar helpers for the master. Signed-off-by: Jeremy Kerr

[PATCH v8 01/24] drivers/fsi: Add fsi master definition

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add a `struct fsi_master` to represent a FSI master controller. FSI master drivers register one of these structs to provide device-specific of the standard operations: read/write/term/break and link control. Includes changes from Edward A. James

[PATCH v8 00/24] FSI device driver implementation

2017-06-06 Thread Christopher Bostic
Implementation of the IBM 'Flexible Support Interface' (FSI) bus device driver. FSI is a high fan out serial bus consisting of a clock and a serial data line capable of running at speeds up to 166 MHz. This set provides the basic framework to add FSI extensions to the Linux bus and device models.

[PATCH v8 05/24] drivers/fsi: Add slave & master read/write APIs

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Introduce functions to perform reads/writes on the slave address space; these simply pass the request on the slave's master with the correct link and slave ID. We implement these on top of similar helpers for the master. Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley

[PATCH v8 01/24] drivers/fsi: Add fsi master definition

2017-06-06 Thread Christopher Bostic
From: Jeremy Kerr Add a `struct fsi_master` to represent a FSI master controller. FSI master drivers register one of these structs to provide device-specific of the standard operations: read/write/term/break and link control. Includes changes from Edward A. James & Jeremy Kerr .

Re: [BUG] Unable to handle kernel paging request for unaligned access at address 0xc0000001c52c53df

2017-06-06 Thread Theodore Ts'o
On Tue, Jun 06, 2017 at 06:00:34PM +0800, Li Wang wrote: > Hi, > > ltp/access04 always panic the latest mainstream kernel-4.12-rc4 on > ppc64le. From the calltrace > I guess the reason is probably that the tests mount ext2 file system > using ext4 driver. > > A simple way to reproduce: > > # dd

Re: [BUG] Unable to handle kernel paging request for unaligned access at address 0xc0000001c52c53df

2017-06-06 Thread Theodore Ts'o
On Tue, Jun 06, 2017 at 06:00:34PM +0800, Li Wang wrote: > Hi, > > ltp/access04 always panic the latest mainstream kernel-4.12-rc4 on > ppc64le. From the calltrace > I guess the reason is probably that the tests mount ext2 file system > using ext4 driver. > > A simple way to reproduce: > > # dd

[PATCH net-next 0/5] net: dsa: add cross-chip VLAN support

2017-06-06 Thread Vivien Didelot
The current code in DSA does not support cross-chip VLAN. This means that in a multi-chip environment such as this one (similar to ZII Rev B) [CPU] (mdio) (eth0) | : : : _|_______

[PATCH net-next 0/5] net: dsa: add cross-chip VLAN support

2017-06-06 Thread Vivien Didelot
The current code in DSA does not support cross-chip VLAN. This means that in a multi-chip environment such as this one (similar to ZII Rev B) [CPU] (mdio) (eth0) | : : : _|_______

[PATCH net-next 1/5] net: dsa: mv88e6xxx: define membership on VLAN add

2017-06-06 Thread Vivien Didelot
Define the target port membership of the VLAN entry in mv88e6xxx_port_vlan_add where ds is scoped. Allow the DSA core to call later the port_vlan_add operation for CPU or DSA ports, by using the Unmodified membership for these ports, as in the current behavior. Signed-off-by: Vivien Didelot

[PATCH net-next 1/5] net: dsa: mv88e6xxx: define membership on VLAN add

2017-06-06 Thread Vivien Didelot
Define the target port membership of the VLAN entry in mv88e6xxx_port_vlan_add where ds is scoped. Allow the DSA core to call later the port_vlan_add operation for CPU or DSA ports, by using the Unmodified membership for these ports, as in the current behavior. Signed-off-by: Vivien Didelot ---

[PATCH net-next 3/5] net: dsa: add CPU and DSA ports as VLAN members

2017-06-06 Thread Vivien Didelot
In a multi-chip switch fabric, it is currently the responsibility of the driver to add the CPU or DSA (interconnecting chips together) ports as members of a new VLAN entry. This makes the drivers more complicated. We want the DSA drivers to be stupid and the DSA core being the one responsible for

[PATCH net-next 3/5] net: dsa: add CPU and DSA ports as VLAN members

2017-06-06 Thread Vivien Didelot
In a multi-chip switch fabric, it is currently the responsibility of the driver to add the CPU or DSA (interconnecting chips together) ports as members of a new VLAN entry. This makes the drivers more complicated. We want the DSA drivers to be stupid and the DSA core being the one responsible for

[PATCH net-next 4/5] net: dsa: mv88e6xxx: exclude all ports in new VLAN

2017-06-06 Thread Vivien Didelot
Now that the DSA core adds the CPU and DSA ports itself to the new VLAN entry, there is no need to include them as members of this VLAN when initializing a new VTU entry. As of now, initialize a new VTU entry with all ports excluded. Signed-off-by: Vivien Didelot

[PATCH net-next 4/5] net: dsa: mv88e6xxx: exclude all ports in new VLAN

2017-06-06 Thread Vivien Didelot
Now that the DSA core adds the CPU and DSA ports itself to the new VLAN entry, there is no need to include them as members of this VLAN when initializing a new VTU entry. As of now, initialize a new VTU entry with all ports excluded. Signed-off-by: Vivien Didelot ---

[PATCH net-next 5/5] net: dsa: mv88e6xxx: do not purge a VTU entry

2017-06-06 Thread Vivien Didelot
The mv88e6xxx driver currently tries to be smart and remove by itself a VLAN entry from the VTU when the driven switch sees no user ports as members of the VLAN. This is bad in a multi-chip switch fabric, since a chip in between others may have no bridge port members, but still needs to be aware

Re: [PATCH V2] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU

2017-06-06 Thread Boris Ostrovsky
On 06/06/2017 04:02 PM, kbuild test robot wrote: > Hi Anoob, > > [auto build test ERROR on xen-tip/linux-next] > [also build test ERROR on v4.12-rc4 next-20170606] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] &g

[PATCH net-next 5/5] net: dsa: mv88e6xxx: do not purge a VTU entry

2017-06-06 Thread Vivien Didelot
The mv88e6xxx driver currently tries to be smart and remove by itself a VLAN entry from the VTU when the driven switch sees no user ports as members of the VLAN. This is bad in a multi-chip switch fabric, since a chip in between others may have no bridge port members, but still needs to be aware

Re: [PATCH V2] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU

2017-06-06 Thread Boris Ostrovsky
On 06/06/2017 04:02 PM, kbuild test robot wrote: > Hi Anoob, > > [auto build test ERROR on xen-tip/linux-next] > [also build test ERROR on v4.12-rc4 next-20170606] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] &g

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