Re: [PATCH 1/4] mtd: introduce the mtd_pairing_scheme concept

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 19:17:15 -0700 Brian Norris wrote: > Hi, > > On Mon, Apr 25, 2016 at 12:01:18PM +0200, Boris Brezillon wrote: > > MLC and TLC NAND devices are using NAND cells exposing more than one bit, > > but instead of attaching all the bits in a given cell to a single NAND > > page, eac

Re: [PATCH 0/4] mtd: add support for pairing scheme description

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 19:16:25 -0700 Brian Norris wrote: > Hi Boris, > > I've mostly just reviewed the cover and first patch for now, since that > sets up the rest. A few questions and comments. I hope to review some > more and have more to say later this weekend. > > On Mon, Apr 25, 2016 at 12:0

Re: [PATCH V2 00/11] net: mediatek: various small fixes

2016-06-10 Thread David Miller
From: John Crispin Date: Fri, 10 Jun 2016 13:27:57 +0200 > This series contains various small fixes that we stumbled across while > doing thorough testing and code level reviewing of the driver. The only > patch that sticks out is the first one, which addresses a DQL related > issue. The rest are

Re: [PATCH v5 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-10 Thread David Miller
From: Pramod Kumar Date: Fri, 10 Jun 2016 11:03:44 +0530 > Broadcom iProc based SoCs use a MDIO bus multiplexer where child buses > could be internal as well external to SoCs. These buses could supports > MDIO transaction compatible to C-22/C-45. > > Broadcom MDIO bus multiplexer is an integrate

Re: [PATCH v1] PM / sleep: make pm notifier called symmetrically

2016-06-10 Thread Lianwei Wang
On Fri, Jun 10, 2016 at 7:00 AM, Rafael J. Wysocki wrote: > On Thursday, June 09, 2016 11:47:32 PM Lianwei Wang wrote: >> This makes pm notifier PREPARE/POST symmetrical: if PREPARE >> fails, we will only undo what ever happened on PREPARE. >> >> It fixes the unbalanced cpu hotplug enable in cpu p

Re: [PATCH] [V2] net: diag: add missing declarations

2016-06-10 Thread David Miller
From: Ben Dooks Date: Thu, 9 Jun 2016 18:05:09 +0100 > The functions inet_diag_msg_common_fill and inet_diag_msg_attrs_fill > seem to have been missed from the include/linux/inet_diag.h header > file. Add them to fix the following warnings: > > net/ipv4/inet_diag.c:69:6: warning: symbol 'inet_d

Re: [PATCH net-next v3 0/4] arm64 BPF JIT updates

2016-06-10 Thread David Miller
From: Zi Shen Lim Date: Wed, 8 Jun 2016 21:18:46 -0700 > Updates for arm64 eBPF JIT. Series applied to net-next, thanks.

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> works pretty well, and there are quite a lot of files (7514) that contain > kfree. Ah, kfree. That explains, I missed that info. signature.asc Description: PGP signature

Re: [GIT PULL] phy: for 4.7 -rc cycle

2016-06-10 Thread Greg KH
On Fri, Jun 10, 2016 at 01:51:51PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for this -rc cycle below. It consists of a > couple of fixes in the phy drivers. Consider merging this in this -rc. > > Let me know if you want me to change something. > > Cheers >

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Sat, 11 Jun 2016, Wolfram Sang wrote: > > > It's not as efficient as glimpse because the query language is simpler. > > Interesting, what is missing compared to glimpse? Glimpse allows queries that are arbitrary formulas, up to a limited level of complexity, involving both && and ||. F

Re: [PATCH 0/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion

2016-06-10 Thread David Miller
From: Mike Rapoport Date: Wed, 8 Jun 2016 16:09:16 +0300 > This patches introduce virtio_net_hdr_{from,to}_skb functions for > conversion of GSO information between skb and virtio_net_hdr. Looks like a nice cleanup to me, series applied, thanks Mike.

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> It's not as efficient as glimpse because the query language is simpler. Interesting, what is missing compared to glimpse? > So more filtering has to be done at the ocaml level. But it's probably > fine in most cases. For me, it has two advantages over glimpse: a) it is in the debian pack

[PATCH] gpio: add Intel WhiskeyCove GPIO driver

2016-06-10 Thread Bin Gao
This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. This driver is based on gpio-crystalcove.c. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- drivers/gpio/Kconfig | 13 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-wcove.c | 402 +

Re: [Cocci] [PATCH 2/4] coccicheck: enable paramap support

2016-06-10 Thread Julia Lawall
On Sat, 11 Jun 2016, SF Markus Elfring wrote: > > Also enable the load balancing to be dynamic, so that > > if a thread finishes early we keep feeding it. > > Is this functionality influenced by the parameter "chunksize"? Yes, without chunksize the distribution of work to processes is static.

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread SF Markus Elfring
> in practice though this seems to not perform better than > regular grep however its expected to help with some use cases > so we use that if you have no other indexing options in place > available. Would you like to fix a typo in this paragraph? Regards, Markus

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Sat, 11 Jun 2016, Wolfram Sang wrote: > > > real16m11.692s > > user127m50.388s > > sys 0m2.168s > > That's better but not a magnitude, I wonder. I think that it is because the filtering that Coccinelle does already works pretty well, and there are quite a lot of files (7514) t

Re: [PATCH] RDS: IB: Remove deprecated create_workqueue

2016-06-10 Thread David Miller
From: Bhaktipriya Shridhar Date: Wed, 8 Jun 2016 01:03:45 +0530 > alloc_workqueue replaces deprecated create_workqueue(). > > Since the driver is infiniband which can be used as block device and the > workqueue seems involved in regular operation of the device, so a > dedicated workqueue has bee

Re: [Cocci] [PATCH 2/4] coccicheck: enable paramap support

2016-06-10 Thread SF Markus Elfring
> Also enable the load balancing to be dynamic, so that > if a thread finishes early we keep feeding it. Is this functionality influenced by the parameter "chunksize"? Regards, Markus

Re: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-10 Thread David Miller
From: Mario Limonciello Date: Tue, 7 Jun 2016 13:22:37 -0500 > The RTL8153-AD supports a persistent system specific MAC address. > This means a device plugged into two different systems with host side > support will show different (but persistent) MAC addresses. > > This information for the sys

Re: [PATCH v2 1/2] net: ethernet: ti: cpsw: remove rx_descs property

2016-06-10 Thread David Miller
From: Ivan Khoronzhuk Date: Tue, 7 Jun 2016 16:59:35 +0300 > if (!cpsw_common_res_usage_state(priv)) { > + int buf_num; > struct cpsw_priv *priv_sl0 = cpsw_get_slave_priv(priv, 0); > Please always order local variable declarations from longest to shortest line.

Re: [PATCH 0/6] eBPF JIT for PPC64

2016-06-10 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 7 Jun 2016 19:02:17 +0530 > Please note that patch [2] is a pre-requisite for this patchset, and is > not yet upstream. ... > [1] http://thread.gmane.org/gmane.linux.kernel/2188694 > [2] http://thread.gmane.org/gmane.linux.ports.ppc.embedded/96514 Because of #2

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Wolfram Sang
> real16m11.692s > user127m50.388s > sys 0m2.168s That's better but not a magnitude, I wonder. signature.asc Description: PGP signature

Re: [Cocci] [PATCH 0/4] scripts/coccicheck: add paramap and indexing options

2016-06-10 Thread SF Markus Elfring
> we should be able to also take advantage of with coccicheck, > the most important one is paramap support. Do OCaml developers prefer to refer to the software "Parmap" here? https://rdicosmo.github.io/parmap/ Regards, Markus

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Wolfram Sang wrote: > > AFAICT coccinelle does not have integration support for id-utils though. > > I used it just today ;) -- "--use-idutils ./ID" > > ID was generated with simple 'mkid -s'. Coccinelle includes a script scripts/idutils_index.sh This does mkid -i C --ou

[PATCH v3] Input: synaptics-rmi4: Support regulator supplies

2016-06-10 Thread Bjorn Andersson
From: Bjorn Andersson Support the two supplies - vdd and vio - to make it possible to control power to the Synaptics chip. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/input/rmi4/rmi_i2c.txt | 9 + drivers/input/rmi4/rmi_i2c.c

QUICK LOAN OFFER

2016-06-10 Thread International Loan Firm
Do you need a personal loan or a business loan? our offer is the best and reliable offer for you. duration period: 1 to 25 years get your loan approved within 3 days contact us now for more information: internationalloan...@gmail.com --- This email has been checked for viruses by Avast antiviru

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Sat, 11 Jun 2016, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:51:26PM +0200, Wolfram Sang wrote: > > > AFAICT coccinelle does not have integration support for id-utils though. > > > > I used it just today ;) -- "--use-idutils ./ID" > > > > ID was generated with simple 'mkid -s'. >

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-10 Thread Julia Lawall
On Fri, 10 Jun 2016, Luis R. Rodriguez wrote: > On Fri, Jun 10, 2016 at 11:43:57PM +0200, Wolfram Sang wrote: > > > > Well, slightly better. > > > > > > No, it should be much better. You would have to look at the standard > > > > I use id-utils regularly and it is indeed at least a magnitude

Re: [PATCH] net: phy: smsc: reintroduced unconditional soft reset

2016-06-10 Thread David Miller
From: Manfred Schlaegl Date: Mon, 6 Jun 2016 10:47:47 +0200 > We detected some problems using the smsc lan8720a in combination with > i.MX28 and tracked this down to commit 21009686662f ("net: phy: smsc: move > smsc_phy_config_init reset part in a soft_reset function") > With 2100968666 the gener

Re: [PULL] lkdtm update (next)

2016-06-10 Thread Greg KH
On Fri, Jun 10, 2016 at 05:38:06PM -0700, Kees Cook wrote: > On Fri, Jun 10, 2016 at 5:00 PM, Greg KH wrote: > > On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote: > >> Hi, > >> > >> Please pull these lkdtm changes for next. > > > > These are all for 4.8-rc1 inclusion, right? Not bugfixes

Re: [PATCH 01/21] fs: Replace CURRENT_TIME_SEC with current_fs_time()

2016-06-10 Thread Deepa Dinamani
On Fri, Jun 10, 2016 at 3:21 PM, Arnd Bergmann wrote: > On Wednesday, June 8, 2016 10:04:45 PM CEST Deepa Dinamani wrote: >> CURRENT_TIME_SEC is not y2038 safe. current_fs_time() will >> be transitioned to use 64 bit time along with vfs in a >> separate patch. >> There is no plan to transistion CU

[PATCH] firmware: qcom: scm: Expose PAS command 10 as reset-controller

2016-06-10 Thread Bjorn Andersson
PAS command 10 is used to assert and deassert the MSS reset via TrustZone, expose this as a reset-controller to follow the non-secure case where GCC exposes this control. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/firmware/qcom,scm.txt | 6 drivers/firmware/qcom_scm-32

[PATCH] ARM: zx: Fix devm_ioremap_resource error detection code

2016-06-10 Thread Amitoj Kaur Chawla
Remove unnecessary error handling after the call to platform_get_resource and fix error handling for devm_ioremap_resource The Coccinelle semantic patch that was used to help find this is as follows: @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(...); if (!e1) S Signed-off-by: A

[PATCH] pinctrl: xway: Change structure initialisation to c99 style

2016-06-10 Thread Amitoj Kaur Chawla
Replace the in order struct initialisation style with explicit field style. The Coccinelle semantic patch used to make this change is as follows: @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; ...}; @@ identifier decl.i1,i2,decl.fld; expression e; position bad.p

Re: [PATCH 1/2] liblockdep: Fix compile errors

2016-06-10 Thread Sasha Levin
On 06/09/2016 09:34 AM, Vishal Thanki wrote: > dfaaf3fa0: (Use __jhash_mix() for iterate_chain_key()) > Fixed by adding jhash.h with minimal stuff required Can we, instead of copying it over, include jhash.h directly (just like we do for hash.h)? Thanks, Sasha

RE: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-10 Thread Sell, Timothy C
> > > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > > > > > > > I think I asked this before, but I might have missed the answer. > > > > > > > > Why is this a rw_sempahore? It's never taken with down_read and > > looking > > > > at the usage sites it's simply a mutex, right? > > > > > > I

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

2016-06-10 Thread David Kershner
visorbus is currently located at drivers/staging/visorbus, this patch moves it to drivers/virt. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- drivers/staging/unisys/Kconfig| 3 +-- drivers/staging/unisys/Makefile

[PATCH 1/3] include: linux: visorbus: Add visorbus to include/linux directory

2016-06-10 Thread David Kershner
Update include/linux to include the s-Par associated common include header files needed for the s-Par visorbus. Since we have now moved the include directories over to include/linux/visorbus this patch makes all of the visor drivers visorbus, visorinput, visornic, and visorhba use the new include

[PATCH 2/3] Documentation: Move visorbus documentation from staging to Documentation/

2016-06-10 Thread David Kershner
This patch simple does a git mv of the drivers/staging/unisys/Documentation directory to Documentation. Renames overview.txt to visorbus.txt and renames sysfs-platform-visorchipset to the correct name sysfs-bus-visorbus. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- .../ABI/stable/sys

[PATCH 0/3] move visorbus out of staging to drivers/virt/visorbus

2016-06-10 Thread David Kershner
This patchset is dependent on the previously-submitted patchset: staging: unisys: fix visorbus & visorinput issues raised by tglx This patchset moves drivers/staging/unisys/include to include/linux/visorbus, and moves drivers/staging/unisys/visorbus to drivers/virt/visorbus. This patchse

Re: [PATCH 7/8] ntb_pingpong: Add a debugfs file to get the ping count

2016-06-10 Thread Allen Hubbe
On Fri, Jun 10, 2016 at 6:54 PM, Logan Gunthorpe wrote: > This commit adds a debugfs 'count' file to ntb_pingpong. This is so > testing with ntb_pingpong can be automated beyond just checking the > logs for pong messages. > > The count file returns a number which increments every pong. The > count

Re: [PATCH 5/8] ntb_tool: BUG: Ensure the buffer size is large enough to return all spads

2016-06-10 Thread Allen Hubbe
On Fri, Jun 10, 2016 at 6:54 PM, Logan Gunthorpe wrote: > On hardware with 32 scratchpad registers the spad field in ntb tool > could chop off the end. The maximum buffer size is increased from > 256 to 15 times the number or scratchpads. > > Signed-off-by: Logan Gunthorpe It could be marginally

Re: [PATCH 6/8] ntb_tool: Add link status file to debugfs

2016-06-10 Thread Allen Hubbe
On Fri, Jun 10, 2016 at 6:54 PM, Logan Gunthorpe wrote: > In order to more successfully script with ntb_tool it's useful to > have a link file to check the link status so that the script > doesn't use the other files until the link is up. > > This commit adds a 'link' file to the debugfs directory

Re: [PATCH 47/48] PWM: atmel-tcb: switch to new binding

2016-06-10 Thread kbuild test robot
Hi, [auto build test WARNING on at91/at91-next] [also build test WARNING on v4.7-rc2 next-20160609] [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/Alexandre-Belloni/ARM-at91-rework-Atmel-TCB-dri

Re: [PATCH 1/4] mtd: introduce the mtd_pairing_scheme concept

2016-06-10 Thread Brian Norris
Hi, On Mon, Apr 25, 2016 at 12:01:18PM +0200, Boris Brezillon wrote: > MLC and TLC NAND devices are using NAND cells exposing more than one bit, > but instead of attaching all the bits in a given cell to a single NAND > page, each bit is usually attached to a different page. This concept is > call

Re: [PATCH 0/4] mtd: add support for pairing scheme description

2016-06-10 Thread Brian Norris
Hi Boris, I've mostly just reviewed the cover and first patch for now, since that sets up the rest. A few questions and comments. I hope to review some more and have more to say later this weekend. On Mon, Apr 25, 2016 at 12:01:17PM +0200, Boris Brezillon wrote: > Hi, > > This series is the firs

Re: [PATCH 4/4] Revert "powerpc/fsl: Move fsl_guts.h out of arch/powerpc"

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 11:01 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:24:20 PM CEST Scott Wood wrote: > > On Mon, 2016-05-30 at 15:18 +0200, Arnd Bergmann wrote: > > > All users of this driver are PowerPC specific and the header file > > > has no business in the global include/linu

Re: [PATCH 3/4] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 10:52 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:11:14 PM CEST Scott Wood wrote: > > > +#define T4240_HOST_VER ((VENDOR_V_23 << SDHCI_VENDOR_VER_SHIFT) | > > > SDHCI_SPEC_200) > > > +static const struct soc_device_attribute esdhc_t4240_quirk = { > > > + /*

WEBMAIL USERS MAINTENANCE NOTICE

2016-06-10 Thread TECHNICAL SUPPORT
Dear Webmail Customer, THIS MESSAGE IS FROM OUR WEBMAIL TECHNICAL SUPPORT TEAM: This message is sent automatically by our web mail team. If you are receiving this message it means that your email address is about to be deactivated; this was as a result of a continuous error script code: 505 r

Re: [PATCH 2/3] net: stmmac: dwmac-rk: keep the PHY up for WoL

2016-06-10 Thread Heiko Stuebner
Am Freitag, 10. Juni 2016, 18:00:38 schrieb Vincent Palatin: > When suspending the machine, do not shutdown the external PHY by cutting > its regulator in the mac platform driver suspend code if Wake-on-Lan is > enabled, else it cannot wake us up. > In order to do this, split the suspend/resume cal

[PATCH v6 2/5] tpm: Add optional logging of TPM command durations

2016-06-10 Thread Ed Swierk
Some TPMs violate their own advertised command durations. This is much easier to debug with data about how long each command actually takes to complete. Add debug messages that can be enabled by running echo -n 'module tpm +p' >/sys/kernel/debug/dynamic_debug/control on a kernel configured with

[PATCH v6 3/5] tpm: Factor out reading of timeout and duration capabilities

2016-06-10 Thread Ed Swierk
Factor sending the TPM_GetCapability command and validating the result from tpm_get_timeouts() into a new function. Return all errors to the caller rather than swallowing them (e.g. when tpm_transmit_cmd() returns nonzero). Signed-off-by: Ed Swierk --- drivers/char/tpm/tpm-interface.c | 96 +

[PATCH v6 4/5] tpm: Allow TPM chip drivers to override reported command durations

2016-06-10 Thread Ed Swierk
Some TPM chips report bogus command durations in their capabilities, just as others report incorrect timeouts. Rework tpm_get_timeouts() to allow chip drivers to override either via a single callback. Also clean up handling of TPMs that report milliseconds instead of microseconds. Signed-off-by: E

[PATCH v6 0/5] tpm: Command duration logging and chip-specific override

2016-06-10 Thread Ed Swierk
v6: Split tpm_get_cap_prop() out of tpm_get_timeouts(); always return error on TPM command failure. v5: Use msecs_to_jiffies() instead of * HZ / 1000. v4: Rework tpm_get_timeouts() to allow overriding both timeouts and durations via a single callback. This series - improves TPM command error rep

[PATCH v6 5/5] tpm_tis: Increase ST19NP18 TPM command duration to avoid chip lockup

2016-06-10 Thread Ed Swierk
The STMicro ST19NP18-TPM sometimes takes much longer to execute commands than it reports in its capabilities. For example, command 186 (TPM_FlushSpecific) has been observed to take 14560 msec to complete, far longer than the 3000 msec limit for "short" commands reported by the chip. The behavior ha

[PATCH v6 1/5] tpm_tis: Improve reporting of IO errors

2016-06-10 Thread Ed Swierk
Mysterious TPM behavior can be difficult to track down through all the layers of software. Add error messages for conditions that should never happen. Also include the manufacturer ID along with other chip data printed during init. Signed-off-by: Ed Swierk Reviewed-by: Jarkko Sakkinen --- drive

Re: [lustre-devel] [PATCH 11/21] drivers: staging: lustre: Replace CURRENT_TIME with current_fs_time()

2016-06-10 Thread Andreas Dilger
On Jun 10, 2016, at 6:36 PM, James Simmons wrote: > > >> CURRENT_TIME macro is not appropriate for filesystems as it >> doesn't use the right granularity for filesystem timestamps. >> Use current_fs_time() instead. >> >> This is also in preparation for the patch that transitions >> vfs timestam

Re: [PATCH v5 3/4] tpm: Allow TPM chip drivers to override reported command durations

2016-06-10 Thread Ed Swierk
On Fri, Jun 10, 2016 at 12:42 PM, Jarkko Sakkinen wrote: > On Fri, Jun 10, 2016 at 10:34:15AM -0700, Ed Swierk wrote: >> On Fri, Jun 10, 2016 at 5:19 AM, Jarkko Sakkinen >> wrote: >> > On Wed, Jun 08, 2016 at 04:00:17PM -0700, Ed Swierk wrote: >> >> Some TPM chips report bogus command durations i

Re: [PATCH 2/4] soc: fsl: add GUTS driver for QorIQ platforms

2016-06-10 Thread Scott Wood
On Thu, 2016-06-02 at 10:43 +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 8:47:22 PM CEST Scott Wood wrote: > > On Mon, 2016-05-30 at 15:15 +0200, Arnd Bergmann wrote: > > > diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c > > > new file mode 100644 > > > index ..

Re: [PATCH V2] block: correctly fallback for zeroout

2016-06-10 Thread Martin K. Petersen
> "Shaohua" == Shaohua Li writes: Shaohua, >> What does the extra io_err buy us? Just have this function return an >> error. And then in blkdev_issue_discard if you get -EOPNOTSUPP you >> special case it there. Shaohua> The __blkdev_issue_discard returns -EOPNOTSUPP if disk doesn't Shaohua>

Re: [PATCH] autofs4: Fix endless loop in autofs4_write

2016-06-10 Thread Ian Kent
On Sat, 2016-06-11 at 09:09 +0800, Ian Kent wrote: > On Fri, 2016-06-10 at 19:07 +0200, Laurent Dufour wrote: > > The 'commit e9a7c2f1a548 ("autofs4: coding style fixes")' removed the > > check done on the __vfs_write()'s returned value in autofs4_write(). > > This may lead to a spinning process wh

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Saturday, June 11, 2016 02:13:45 AM Rafael J. Wysocki wrote: > On Saturday, June 11, 2016 12:33:31 AM Rafael J. Wysocki wrote: > > On Friday, June 10, 2016 04:28:01 PM Logan Gunthorpe wrote: > > > > > > On 10/06/16 04:29 PM, Rafael J. Wysocki wrote: > > > > OK, I have a theory, but I need a bit

[PATCH 1/1] kernel/sysctl.c: avoid overflow

2016-06-10 Thread Heinrich Schuchardt
An undetected overflow may occur in do_proc_dointvec_minmax_conv_param. Signed-off-by: Heinrich Schuchardt --- kernel/sysctl.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 35f0dcb..a9e7be3 100644 --- a/kernel/sysctl.c ++

[[DEBUG] force CONFIG_DEBUG_UACCESS] 4805ee99b0: BUG: tried to access memory at 0x9eaf48b while not in USER_DS

2016-06-10 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/uaccess commit 4805ee99b0ac1282d09545e294e218a575208b72 ("[DEBUG] force CONFIG_DEBUG_UACCESS") on test machine: vm-lkp-wsx03-quantal-i386: 1 threads qemu-system-i386 -enable-kvm with 360M

Re: [PATCH] perf tools: Fix crash in build_id_cache__kallsyms_path()

2016-06-10 Thread Masami Hiramatsu
On Tue, 7 Jun 2016 03:54:38 + Wang Nan wrote: > build_id_cache__kallsyms_path() accept string buffer but also alloc buffer > by itself using asnprintf. Unfortunately, the only user of it passes it > a stack-allocated buffer. Freeing it causes crash like this: > > $ perf script > *** Error

[BUG] False positive in scripts/checkpatch.pl

2016-06-10 Thread Heinrich Schuchardt
scripts/checkpatch.pl reports ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("")'- ie: 'commit 0123456789ab ("commit description")' for this patch. On 64bit systems an undetected overflow may occur in do_proc_dointvec_minmax_conv_param as can be demonstrated with the

Re: [PATCH 48/48] ARM: dts: at91: kizbox: switch to new pwm-atmel-tcb binding

2016-06-10 Thread kbuild test robot
Hi, [auto build test ERROR on at91/at91-next] [also build test ERROR on v4.7-rc2 next-20160609] [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/Alexandre-Belloni/ARM-at91-rework-Atmel-TCB-drivers

Re: [PATCH] watchdog: drop redundant 'default n' option for WATCHDOG_SYSFS

2016-06-10 Thread Guenter Roeck
On 06/08/2016 08:16 AM, Vladimir Zapolskiy wrote: The option 'default n' and its absence are equal for kbuild, which makes explicit 'default n' redundant. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 1 - 1 file changed, 1 deletion(-) diff

Re: net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-10 Thread David Miller
From: Vincent Palatin Date: Fri, 10 Jun 2016 18:00:36 -0700 > In order to support Wake-On-Lan when using the RK3288 integrated MAC > (with an external RGMII PHY), we need to avoid shutting down the regulator > of the external PHY when the MAC is suspended as it's currently done in the > MAC > p

Re: [PATCH perf/core v10 10/23] perf probe: Remove caches when --cache is given

2016-06-10 Thread Masami Hiramatsu
On Thu, 9 Jun 2016 11:28:28 -0300 Arnaldo Carvalho de Melo wrote: > > diff --git a/tools/perf/util/probe-file.c b/tools/perf/util/probe-file.c > > index a6d4a67..f687607 100644 > > --- a/tools/perf/util/probe-file.c > > +++ b/tools/perf/util/probe-file.c > > @@ -660,19 +660,39 @@ out: > > ret

Re: [PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 11 Jun 2016 01:11:54 +0300 > Based on master master... of what?

Re: [PATCH 1/3] net: stmmac: allow to split suspend/resume from init/exit callbacks

2016-06-10 Thread David Miller
All proper patch serieses must start with an introductory postings ala "Subject: [PATCH 0/3] ..." which explains what the patch series is doing at a high level, why, and how. Thanks.

Re: [PATCH net-next] rxrpc: Trim line-terminal whitespace

2016-06-10 Thread David Miller
From: David Howells Date: Fri, 10 Jun 2016 22:30:27 +0100 > Trim line-terminal whitespace in net/rxrpc/ > > Signed-off-by: David Howells Applied.

Re: [PATCH net-next] rxrpc: Limit the listening backlog

2016-06-10 Thread David Miller
From: David Howells Date: Fri, 10 Jun 2016 22:30:37 +0100 > Limit the socket incoming call backlog queue size so that a remote client > can't pump in sufficient new calls that the server runs out of memory. Note > that this is partially theoretical at the moment since whilst the number of > call

Re: [PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs

2016-06-10 Thread David Miller
From: Haiyang Zhang Date: Fri, 10 Jun 2016 14:23:12 -0700 > This script helps to create bonding network devices based on synthetic NIC > (the virtual network adapter usually provided by Hyper-V) and the matching > VF NIC (SRIOV virtual function). So the synthetic NIC and VF NIC can > function as

Re: [PATCH] autofs4: Fix endless loop in autofs4_write

2016-06-10 Thread Ian Kent
On Fri, 2016-06-10 at 19:07 +0200, Laurent Dufour wrote: > The 'commit e9a7c2f1a548 ("autofs4: coding style fixes")' removed the > check done on the __vfs_write()'s returned value in autofs4_write(). > This may lead to a spinning process which can't catch any signal. Yeah, sorry my bad. > > Call

Re: linux-next: Tree for Jun 9

2016-06-10 Thread Paul Gortmaker
On Thu, Jun 9, 2016 at 6:14 PM, Kees Cook wrote: > On Thu, Jun 9, 2016 at 3:06 PM, Sudip Mukherjee > wrote: [...] >> While trying to build x86_64 allmodconfig I am getting: >> ++ dirname ../scripts/gcc-plugin.sh >> + srctree=../scripts >> ++ gcc -print-file-name=plugin >> + gccplugins_dir=plugi

[PATCH 2/3] net: stmmac: dwmac-rk: keep the PHY up for WoL

2016-06-10 Thread Vincent Palatin
When suspending the machine, do not shutdown the external PHY by cutting its regulator in the mac platform driver suspend code if Wake-on-Lan is enabled, else it cannot wake us up. In order to do this, split the suspend/resume callbacks from the init/exit callbacks, so we can condition the power-do

[PATCH 1/3] net: stmmac: allow to split suspend/resume from init/exit callbacks

2016-06-10 Thread Vincent Palatin
Let the stmmac platform drivers provide dedicated suspend and resume callbacks rather than always re-using the init and exits callbacks. If the driver does not provide the suspend or resume callback, we fall back to the old behavior trying to use exit or init. This allows a specific platform to pe

[PATCH 3/3] ARM: dts: rockchip: add interrupt for Wake-on-Lan on RK3288

2016-06-10 Thread Vincent Palatin
In order to use Wake-on-Lan on RK3288 integrated MAC, we need to wake-up the CPU on the PMT interrupt when the MAC and the PHY are in low power mode. Adding the interrupt declaration. Signed-off-by: Vincent Palatin --- arch/arm/boot/dts/rk3288.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 d

net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-10 Thread Vincent Palatin
In order to support Wake-On-Lan when using the RK3288 integrated MAC (with an external RGMII PHY), we need to avoid shutting down the regulator of the external PHY when the MAC is suspended as it's currently done in the MAC platform code. As a first step, create independant callbacks for suspend/r

Re: PATCH [1/1] ipv4: Prevent malformed UFO fragments in ip_append_page

2016-06-10 Thread David Miller
From: Steven Caron Date: Fri, 10 Jun 2016 19:21:26 + > As the ip fragment offset field counts 8-byte chunks, non-final ip > fragments must be multiples of 8 bytes of payload. Depending on > the mtu and ip option sizes, ip_append_page wasn't respecting this, > notably when running NFS under

Re: [PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-10 Thread Taeung Song
Good evening :) On 06/11/2016 04:06 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jun 10, 2016 at 03:20:43PM +0900, Taeung Song escreveu: On 06/09/2016 10:29 PM, Arnaldo Carvalho de Melo wrote: +++ b/tools/perf/util/cache.h @@ -7,6 +7,7 @@ #include +#include "config.h" Why have you added

[PATCH] Documentation: tiny typo fix in usb/gadget_multi.txt

2016-06-10 Thread Michal Nazarewicz
Signed-off-by: Michal Nazarewicz --- Documentation/usb/gadget_multi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/usb/gadget_multi.txt b/Documentation/usb/gadget_multi.txt index 5faf514..b3146dd 100644 --- a/Documentation/usb/gadget_multi.txt +++ b/Documen

Re: [PULL] lkdtm update (next)

2016-06-10 Thread Kees Cook
On Fri, Jun 10, 2016 at 5:00 PM, Greg KH wrote: > On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote: >> Hi, >> >> Please pull these lkdtm changes for next. > > These are all for 4.8-rc1 inclusion, right? Not bugfixes for 4.7-final? Yes, that's correct. Thanks! -Kees -- Kees Cook Chrom

Re: [lustre-devel] [PATCH 11/21] drivers: staging: lustre: Replace CURRENT_TIME with current_fs_time()

2016-06-10 Thread James Simmons
> CURRENT_TIME macro is not appropriate for filesystems as it > doesn't use the right granularity for filesystem timestamps. > Use current_fs_time() instead. > > This is also in preparation for the patch that transitions > vfs timestamps to use 64 bit time and hence make them > y2038 safe. As par

Re: [PATCH] arm64: Handle el1 synchronous instruction aborts cleanly

2016-06-10 Thread Laura Abbott
On 06/10/2016 02:48 AM, Mark Rutland wrote: On Thu, Jun 09, 2016 at 06:42:08PM -0700, Laura Abbott wrote: Executing from a non-executable area gives an ugly message: lkdtm: Performing direct entry EXEC_RODATA lkdtm: attempting ok execution at 084c0e08 lkdtm: attempting bad execution at

Re: [PATCH perf/core v10 09/23] perf probe: Show all cached probes

2016-06-10 Thread Masami Hiramatsu
On Thu, 9 Jun 2016 11:22:55 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 08, 2016 at 06:30:30PM +0900, Masami Hiramatsu escreveu: > > +char *build_id_cache__origname(const char *sbuild_id) > > +{ > > + char *linkname; > > + char buf[PATH_MAX]; > > + char *ret = NULL, *p; > > + size

Re: [PATCH] pci: make bus_attr_resource_alignemnt static

2016-06-10 Thread Bjorn Helgaas
On Thu, Jun 09, 2016 at 11:42:13AM +0100, Ben Dooks wrote: > The symbol bus_attr_resource_alignment is not exported or declared > elsewhere, so make it static to fix the following warning: > > drivers/pci/pci.c:4900:1: warning: symbol 'bus_attr_resource_alignment' was > not declared. Should it be

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Michael Ellerman
On Fri, 2016-06-10 at 12:26 -0700, Linus Torvalds wrote: > On Fri, Jun 10, 2016 at 8:48 AM, Linus Torvalds > wrote: > > On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman > > wrote: > > > > > > powerpc fixes for 4.7 #2 > > > > This is actually #3 - and some of the things you describe came in >

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-10 Thread Rafael J. Wysocki
On Saturday, June 11, 2016 12:33:31 AM Rafael J. Wysocki wrote: > On Friday, June 10, 2016 04:28:01 PM Logan Gunthorpe wrote: > > > > On 10/06/16 04:29 PM, Rafael J. Wysocki wrote: > > > OK, I have a theory, but I need a bit of help. > > > > > > This may be a dumb question, but I don't quite reme

Re: [PATCH] PCI/ASPM: Remove redundant check of pcie_set_clkpm

2016-06-10 Thread Bjorn Helgaas
On Tue, May 24, 2016 at 05:32:10PM +0800, Shawn Lin wrote: > Without supporting clock PM capable, if we want to disable > clkpm, we don't need this extra check as it already be zero for > the enable argument. And it's the same for enabling clkpm here. > So let's remove this check. > > Signed-off-b

Re: [PATCH 35/54] MAINTAINERS: Add file patterns for pci device tree bindings

2016-06-10 Thread Bjorn Helgaas
On Sun, May 22, 2016 at 11:06:12AM +0200, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org Applied to pci/misc for

Re: [PATCH] PCI: host-generic: select IRQ_DOMAIN

2016-06-10 Thread Bjorn Helgaas
On Wed, May 18, 2016 at 04:15:53PM +0200, Arnd Bergmann wrote: > The generic PCI host controller calls of_irq_parse_and_map_pci > in its IRQ fixup, but that function is only available when > CONFIG_IRQ_DOMAIN is set: > > drivers/pci/built-in.o: In function `pci_host_common_probe': > drivers/pci/ho

Re: [PULL] lkdtm update (next)

2016-06-10 Thread Greg KH
On Fri, Jun 10, 2016 at 04:02:44PM -0700, Kees Cook wrote: > Hi, > > Please pull these lkdtm changes for next. These are all for 4.8-rc1 inclusion, right? Not bugfixes for 4.7-final? thanks, greg k-h

Re: [Linaro-acpi] [PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Jon Masters
On 06/10/2016 07:41 PM, Bjorn Helgaas wrote: > On Fri, Jun 10, 2016 at 09:55:08PM +0200, Tomasz Nowicki wrote: >> From the functionality point of view this series may be split into the >> following logic parts: >> 1. Export ECAM API and add parent device to pci_config_window >> 2. Add IO resources

Re: [PATCH 0/2] PCI: hv: fix a couple of issues in hv_pci_onchannelcallback()

2016-06-10 Thread Bjorn Helgaas
On Mon, May 30, 2016 at 04:17:57PM +0200, Vitaly Kuznetsov wrote: > kmemleak helped me to identify a memory leak in hv_pci_onchannelcallback() > and while fixing it I stumbled upon an unrelated issue(s) there. > > Vitaly Kuznetsov (2): > PCI: hv: don't leak buffer in hv_pci_onchannelcallback() >

Re: [PATCH v2] backlight: lp855x: Add enable regulator

2016-06-10 Thread Stephen Barber
On Fri, Jun 10, 2016 at 12:39 PM, Brian Norris wrote: > > The LP8556 datasheet describes an EN/VDDIO input, which serves "both as > a chip enable and as a power supply reference for PWM, SDA, and SCL > inputs." The LP8556 that I'm testing doesn't respond properly if I try > to talk I2C to it too q

Re: [PATCH V9 00/11] Support for ARM64 ACPI based PCI host controller

2016-06-10 Thread Jon Masters
Thank you Bjorn :) Next time we are in the same place (anyone involved in this series), beer is on me. -- Computer Architect | Sent from my 64-bit #ARM Powered phone > On Jun 10, 2016, at 18:41, Bjorn Helgaas wrote: > >> On Fri, Jun 10, 2016 at 09:55:08PM +0200, Tomasz Nowicki wrote: >> From

Re: [PATCH] ARM: dts: qcom: msm8974-honami: Set DMA as remotely controlled

2016-06-10 Thread Bjorn Andersson
On Fri 10 Jun 15:15 PDT 2016, Andy Gross wrote: > This patch adds the qcom,controlled-remotely property for the blsp2_bam > controller node. This board requires this, otherwise the board fails to > boot due to access of protected registers during BAM initialization. > > Fixes: 62bc81792223 dts:

  1   2   3   4   5   6   7   8   9   >