Re: [RESEND PATCH v6, 3/5] usb: xhci-mtk: make IPPC register optional

2016-10-08 Thread Chunfeng Yun
On Wed, 2016-09-21 at 13:54 +0800, Chunfeng Yun wrote: > Make IPPC register optional to support host side of dual-role mode, > due to it is moved into common glue layer for simplification. > > Signed-off-by: Chunfeng Yun > --- > drivers/usb/host/xhci-mtk.c | 36 +---

RE: [tpmdd-devel] [PATCH RFC 3/3] tpm_crb: request and relinquish locality 0

2016-10-08 Thread Winkler, Tomas
> > Request and relinquish locality for the driver use in order to be a better > citizen > in a multi locality environment like with TXT as it uses locality 2. > > Signed-off-by: Jarkko Sakkinen > --- > drivers/char/tpm/tpm_crb.c | 36 > 1 file changed

Re: callchain map refcounting fixes was Re: [PATCH perf/core] perf script: fix a use after free crash.

2016-10-08 Thread Krister Johansen
Hi Namhyung, Thanks for looking this over. On Fri, Oct 07, 2016 at 11:22:00AM +0900, Namhyung Kim wrote: > On Wed, Oct 05, 2016 at 08:45:24AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Sat, Oct 01, 2016 at 08:13:36PM -0700, Krister Johansen escreveu: > > > diff --git a/tools/perf/util/callcha

Re: [git pull] vfs pile 1 (splice)

2016-10-08 Thread Linus Torvalds
On Fri, Oct 7, 2016 at 3:20 PM, Al Viro wrote: > splice stuff. Hmm. I've now gotten two oopses today, all at __kmalloc+0xc3/0x1f0, which seems to be the *(void **)(object + s->offset); in get_freepointer(). Because it started happening today, I'm inclined to blame mainly stuff I merge

[PATCH] irqchip/jcore: fix lost per-cpu interrupts

2016-10-08 Thread Rich Felker
The J-Core AIC does not have separate interrupt numbers reserved for cpu-local vs global interrupts. Instead, the driver requesting the irq is expected to know whether its device uses per-cpu interrupts or not. Previously it was assumed that handle_simple_irq could work for both cases, but it inten

[lkp] [sched/fair] f54c5d4e28: hackbench.throughput 10.6% improvement

2016-10-08 Thread kernel test robot
FYI, we noticed a 10.6% improvement of hackbench.throughput due to commit: commit f54c5d4e28da93ffb92c40f84f6f6e6db41d652e ("sched/fair: Do not decay new task load on first enqueue") https://github.com/0day-ci/linux Matt-Fleming/sched-fair-Do-not-decay-new-task-load-on-first-enqueue/20160924-01

[lkp] [inotify] 1109954e99: BUG kmalloc-512 (Not tainted): Freepointer corrupt

2016-10-08 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Nikolay-Borisov/inotify-Convert-to-using-per-namespace-limits/20161007-184900 commit 1109954e99c57a13814a9c1ebb3f01c53b48091f ("inotify: Convert to using per-namespace limits") in testcase: trinity with following parameters

[PATCH 3/3] staging: ks7010: Replace header files

2016-10-08 Thread Sabitha George
This patch replaces inclusion of asm/atomic.h with linux/atomic.h and asm/io.h with linux/io.h to fix checkpatch warning in ks_wlan.h Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/

[PATCH 2/3] staging: ks7010: use netdev_* instead of printk()

2016-10-08 Thread Sabitha George
Fixes checkpatch warning on printk usage in ks_hostif.c Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_hostif.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hosti

[PATCH 1/3] staging:ks7010: use __packed instead of __attribute__((packed))

2016-10-08 Thread Sabitha George
This patch fixes the below checkpatch warning in ks_hostif.c: __packed is preferred over __attribute__((packed)) Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_hostif.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b

[PATCH v8 1/2] of: add J-Core timer bindings

2016-10-08 Thread Rich Felker
Signed-off-by: Rich Felker Acked-by: Rob Herring --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jc

[PATCH v8 2/2] clocksource: add J-Core timer/clocksource driver

2016-10-08 Thread Rich Felker
At the hardware level, the J-Core PIT is integrated with the interrupt controller, but it is represented as its own device and has an independent programming interface. It provides a 12-bit countdown timer, which is not presently used, and a periodic timer. The interval length for the latter is pro

[PATCH v8 0/2] J-Core timer support

2016-10-08 Thread Rich Felker
Resubmitted with the (incorrect) workaround for rcu_sched stalls removed, since the problem was found in the interrupt controller driver; a separate patch will be submitted for it. Rich Felker (2): of: add J-Core timer bindings clocksource: add J-Core timer/clocksource driver .../devicetree/

Re: PEACE BE WITH YOU,

2016-10-08 Thread contact
Subject: Can I Trust You In This5 Days Project ? Email ( dr.kpyj1...@gmail.com ) Dear Friend My name is ATTORNEY KONO PETER , I really do not mean to waste your time. Considering the fact that this is a £36,000,000.00 British Pounds.deal shear rate 50/50 % and it's bank to bank wire tra

[Resend PATCH] SCSI: scan: fix use-after-free

2016-10-08 Thread Ming Lei
This patch fixes one use-after-free report[1] by KASAN. In __scsi_scan_target(), when a type 31 device is probed, SCSI_SCAN_TARGET_PRESENT is returned and the target will be scanned again. Inside the following scsi_report_lun_scan(), one new scsi_device instance is allocated, and scsi_probe_and_a

Re: [PATCH v2 03/46] mtd: Don't unconditionally unregister reboot notifier

2016-10-08 Thread Brian Norris
I realize I didn't comment on the latest copy of this patch, so copying my questions here: On Wed, Sep 21, 2016 at 11:45:12AM +0200, Daniel Walter wrote: > From: Richard Weinberger > > del_mtd_device() is allowed to fail. > i.e. when the MTD is busy. > Unregister the reboot notifier only when we

[GIT PULL] MTD updates for 4.9-rc1

2016-10-08 Thread Brian Norris
git://git.infradead.org/linux-mtd.git tags/for-linus-20161008 for you to fetch changes up to 69db4aa44fdd8befc2eccd1313d841c5128c385c: Merge tag '4.9/mtd-pairing-scheme' of github.com:linux-nand/linux (2016-10-08 20:56:54 -0700) MTD

[mm, kasan] 80a9201a59: INFO: rcu_sched stall on CPU (84741 ticks this GP) idle=140000000000000 (t=100000 jiffies q=1)

2016-10-08 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 80a9201a5965f4715d5c09790862e0df84ce0614 Author: Alexander Potapenko AuthorDate: Thu Jul 28 15:49:07 2016 -0700 Commit: L

Re: [PATCH v3] mtd: introduce the mtd_pairing_scheme concept

2016-10-08 Thread Brian Norris
On Thu, Sep 15, 2016 at 05:05:29PM +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 > called 'p

Re: [PATCH] MAINTAINERS: Add ARM64-specific ACPI maintainers entry

2016-10-08 Thread Hanjun Guo
On 10/05/2016 07:25 PM, Lorenzo Pieralisi wrote: The ARM64 architecture defines ARM64 specific ACPI bindings to configure and set-up arch specific components. To simplify code reviews/updates and streamline the maintainership structure supporting the arch specific code, a new arm64 directory was

Re: [PATCH] mm/vmalloc: reduce the number of lazy_max_pages to reduce latency

2016-10-08 Thread Joel Fernandes
On Thu, Sep 29, 2016 at 1:18 AM, Chris Wilson wrote: > On Thu, Sep 29, 2016 at 03:34:11PM +0800, Jisheng Zhang wrote: >> On Marvell berlin arm64 platforms, I see the preemptoff tracer report >> a max 26543 us latency at __purge_vmap_area_lazy, this latency is an >> awfully bad for STB. And the ftr

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-10-08 Thread Wanpeng Li
2016-09-29 3:37 GMT+08:00 Matt Fleming : > On Wed, 28 Sep, at 12:14:22PM, Peter Zijlstra wrote: >> >> Which suggests we do something like the below (not compile tested or >> anything, also I ran out of tea again). > > I'm away on FTO right now. I can test this when I return on Friday. > > Funnily e

[driver core] bea5b158ff: BUG: unable to handle kernel NULL pointer dereference at 00000008

2016-10-08 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit bea5b158ff0da9c7246ff391f754f5f38e34577a Author: Rob Herring AuthorDate: Thu Aug 11 10:20:58 2016 -0500 Commit: Greg Kroa

RE: [PATCH v6 3/3] pci:add support aer/pme interrupts with none MSI/MSI-X/INTx mode

2016-10-08 Thread Po Liu
Hi Rob, Best regards, Liu Po > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Sunday, October 09, 2016 4:50 AM > To: Po Liu > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Bjo

[PATCH v2 1/2] ls1043ardb: add qe node to ls1043ardb

2016-10-08 Thread Zhao Qiang
Signed-off-by: Zhao Qiang --- Changes for v2: - use "fsl,ucc-hdlc" directly arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 16 ++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 66 +++ 2 files changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/f

Re: [PATCH 3/3] dt-bindings: oxnas: Update Pinctrl and GPIO for OX820 Support

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 03:41:48PM +0200, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/gpio/gpio_oxnas.txt | 2 +- > Documentation/devicetree/bindings/pinctrl/oxnas,pinctrl.txt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >

drivers/net/ethernet/qualcomm/emac/emac.c:727:3: error: implicit declaration of function 'iounmap'

2016-10-08 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b66484cd74706fa8681d051840fe4b18a3da40ff commit: 54e19bc74f3380d414681762ceed9f7245bc6a6e net: qcom/emac: do not use devm on internal phy pdev date: 10 days ago config: um-allmodconfig (attached as .config

[PATCH v2 2/2] ls1043ardb: add ds26522 node to dts

2016-10-08 Thread Zhao Qiang
add ds26522 node to fsl-ls1043a-rdb.dts Signed-off-by: Zhao Qiang --- Changes for v2: - na arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/fre

Re: [PATCH] crypto: caam: add support for iMX6UL

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 09:32:59AM -0400, Marcus Folkesson wrote: > i.MX6UL does only require three clocks to enable CAAM module. > > Signed-off-by: Marcus Folkesson > --- > .../devicetree/bindings/crypto/fsl-sec4.txt| 20 + Acked-by: Rob Herring > drivers/crypto/caam/ctrl

Re: [PATCH RFC 1/3] tpm_crb: expand struct crb_control_area to struct crb_regs

2016-10-08 Thread Jason Gunthorpe
On Sun, Oct 09, 2016 at 03:15:09AM +0300, Jarkko Sakkinen wrote: > + ctrl = crb_map_res(dev, priv, &io_res, buf->control_address, > +sizeof(struct crb_regs) - > +offsetof(struct crb_regs, ctrl_req)); > + if (IS_ERR(ctrl)) > + retur

Re: [PATCH v2 1/3] devicetree: bindings: scsi: hisi_sas add hip07 support

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 07:11:09PM +0800, John Garry wrote: > Add support for hip07 chipset to hisi_sas controller. > > Chipset hip07 has v2 hw. > > Signed-off-by: John Garry > Signed-off-by: Xiang Chen > --- > Documentation/devicetree/bindings/scsi/hisilicon-sas.txt | 1 + > 1 file changed, 1

Re: [PATCH] usb: xhci: add support for performing fake doorbell

2016-10-08 Thread Rob Herring
On Sat, Oct 01, 2016 at 11:58:10PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > Broadcom's Northstar XHCI controllers seem to need a special start > procedure to work correctly. There isn't any official documentation on > this, the problem is that controller doesn't detect any connected

Re: [PATCH v3] drm: tilcdc: add a da850-specific compatible string

2016-10-08 Thread Rob Herring
On Mon, Oct 03, 2016 at 05:45:19PM +0200, Bartosz Golaszewski wrote: > Due to some potential tweaks for the da850 LCDC (for example: the > required memory bandwith settings) we need a separate compatible > for the IP present on the da850 boards. > > Suggested-by: Sekhar Nori > Signed-off-by: Bart

Re: [PATCH 1/8] PM / OPP: Reword binding supporting multiple regulators per device

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 05:26:43PM +0530, Viresh Kumar wrote: > On certain platforms (like TI), DVFS for a single device (CPU) requires > configuring multiple power supplies. > > The OPP bindings already contains binding and example to explain this > case, but it isn't sufficient. For example, the

Re: [PATCH 3/3] net: smsc911x: add u16 workaround for pxa platforms

2016-10-08 Thread Rob Herring
On Thu, Oct 06, 2016 at 08:47:13AM +0200, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > Mark Rutland writes: > > > >> On Mon, Oct 03, 2016 at 06:11:23PM +0200, Robert Jarzmik wrote: > >>> Mark Rutland writes: > >>> > >>> reg-u16-align4 tells that a specific hardware doesn't support 16 b

Re: [PATCH 3/3] net: smsc911x: add u16 workaround for pxa platforms

2016-10-08 Thread Rob Herring
On Mon, Oct 03, 2016 at 05:42:29PM +0100, Mark Rutland wrote: > On Mon, Oct 03, 2016 at 05:09:13PM +0100, Russell King - ARM Linux wrote: > > Please note that the binding doc for smsc,lan91c111.txt is slightly wrong > > on two counts: > > > > 1) compatible property: > > > > compatible = "smsc,lan

Re: [PATCH v7 2/2] clocksource: add J-Core timer/clocksource driver

2016-10-08 Thread Rich Felker
On Sat, Oct 08, 2016 at 07:03:30PM +0200, Thomas Gleixner wrote: > On Sat, 8 Oct 2016, Rich Felker wrote: > > On Sat, Oct 08, 2016 at 01:32:06PM +0200, Thomas Gleixner wrote: > > > CPU spins and waits for an interrupt to happen > > > > > > > > > -0 [000] d... 150.841530: rcu_dynti

Re: [PATCH v4 1/2] dt-bindings: display: Add Sharp LQ150X1LG11 panel binding

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 05:29:20PM +0200, Peter Rosin wrote: > The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. > > Signed-off-by: Peter Rosin > --- > .../bindings/display/panel/sharp,lq150x1lg11.txt | 36 > ++ > 1 file changed, 36 insertions(+) > create mode 1006

Re: [PATCH v2] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-10-08 Thread Rob Herring
On Tue, Sep 27, 2016 at 05:48:45PM +0200, Neil Armstrong wrote: > Since the I2C sx150x GPIO expander driver uses platform_data to manage > the pins configurations, rewrite the driver as a pinctrl driver using > pinconf to get/set pin configurations from DT or debugfs. > > The pinctrl driver is fun

Re: [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback through headphone output

2016-10-08 Thread Rob Herring
On Mon, Oct 03, 2016 at 07:07:57PM +0800, Chen-Yu Tsai wrote: > The A31 has a similar codec to the A10/A20. The PCM parts are very > similar, with just different register offsets. The analog paths are > very different. There are more inputs and outputs. > > The quirks structure is expanded to incl

Re: [PATCH 10/12] ASoC: sun4i-codec: Add support for A31 board level audio routing

2016-10-08 Thread Rob Herring
On Mon, Oct 03, 2016 at 07:08:02PM +0800, Chen-Yu Tsai wrote: > The A31 SoC's codec has various inputs, outputs and microphone bias > supplies. These can be routed on the board in different ways, such as: > > - Microphones all use the MBIAS main microphone supply or one mic may > use the HBI

Re: [PATCH 3/3] bindings: add compatible "fsl, ls1043-ucc-hdlc" to bindings

2016-10-08 Thread Rob Herring
On Wed, Sep 28, 2016 at 11:40:38AM +0800, Zhao Qiang wrote: > Signed-off-by: Zhao Qiang > --- > Documentation/devicetree/bindings/soc/fsl/cpm_qe/network.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/network.txt > b/

Fwd: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-08 Thread Kyle Sanderson
Re-sending as plain-text as the Gmail Android App is still historically broken... -- Forwarded message -- From: Kyle Sanderson Date: Wed, Oct 5, 2016 at 7:09 AM Subject: Re: [PATCH V3 00/11] block-throttle: add .high limit To: Tejun Heo Cc: jmo...@redhat.com, Paolo Valente , linu

perf TUI fails with "failed to process type: 64"

2016-10-08 Thread Anton Blanchard
Hi, Updating to mainline as of last night, I started seeing the following error when running the perf report TUI: 0x46068 [0x8]: failed to process type: 68 This event is just PERF_RECORD_FINISHED_ROUND: 0x46068 [0x8]: event: 68 . . ... raw event: size 8 bytes . : 44 00 00 00 00 00 08 00

[PATCH RFC 3/3] tpm_crb: request and relinquish locality 0

2016-10-08 Thread Jarkko Sakkinen
Request and relinquish locality for the driver use in order to be a better citizen in a multi locality environment like with TXT as it uses locality 2. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 36 1 file changed, 24 insertions(+), 12 de

[PATCH RFC 1/3] tpm_crb: expand struct crb_control_area to struct crb_regs

2016-10-08 Thread Jarkko Sakkinen
In order to allow to use locality 0, expand the data structure to expose all of the CRB registers. The address is calculated from the control area address in order to retain backwards compatibility to ACPI start based hardware (pre-Skylake). Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tp

[PATCH RFC 0/3] Locality support for the CRB driver

2016-10-08 Thread Jarkko Sakkinen
Request and relinquish locality 0 so that the CRB driver is a good citizen in a multi locality environment like TXT. Jarkko Sakkinen (3): tpm_crb: expand struct crb_control_area to struct crb_regs tpm_crb: encapsulate crb_wait_for_reg_32 tpm_crb: request and relinquish locality 0 drivers/c

[PATCH RFC 2/3] tpm_crb: encapsulate crb_wait_for_reg_32

2016-10-08 Thread Jarkko Sakkinen
Encapsulated crb_wait_for_reg32() so that state changes in other CRB registers than CTRL_REQ_X can be waited. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 40 +++- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/drivers/char/

[PATCH v2] sched/fair: Fix dereference NULL sched domain during select_idle_sibling

2016-10-08 Thread Wanpeng Li
From: Wanpeng Li Commit: 10e2f1acd01 ("sched/core: Rewrite and improve select_idle_siblings()") ... improved select_idle_sibling() but also triggered a regression: BUG: unable to handle kernel NULL pointer dereference at 0078 IP: [] select_idle_sibling+0x1c2/0x4f0 PGD 0 Oops: 00

Re: [PATCH] sched/fair: Fix dereference NULL sched domain during select_idle_sibling

2016-10-08 Thread Wanpeng Li
2016-10-09 1:06 GMT+08:00 Peter Zijlstra : > On Sat, Oct 08, 2016 at 06:24:38PM +0800, Wanpeng Li wrote: > >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> index 543b2f2..03a6620 100644 >> --- a/kernel/sched/fair.c >> +++ b/kernel/sched/fair.c >> @@ -5472,19 +5472,29 @@ static inline in

Re: btrfs_direct_IO oops

2016-10-08 Thread Dave Jones
On Sat, Oct 08, 2016 at 07:29:03PM +0100, Al Viro wrote: > On Sat, Oct 08, 2016 at 02:08:06PM -0400, Dave Jones wrote: > > That code: matches this dissembly: > > > > for (i = seg + 1; i < iter->nr_segs; i++) { > > *whoa* > > OK, that loop in check_direct_IO() should be do

[PATCH] tmp: use pdev for parent device in tpm_chip_alloc

2016-10-08 Thread Tomas Winkler
The tpm stack uses pdev name convention for the parent device. Fix that also in tpm_chip_alloc(). Fixes: 3897cd9c8d1d ("tpm: Split out the devm stuff from tpmm_chip_alloc")' Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm-chip.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[GIT PULL]: CRIS changes for 4.9

2016-10-08 Thread Jesper Nilsson
Hi Linus, Please pull for cris changes for 4.9. The following changes since commit 7d1e042314619115153a0f6f06e4552c09a50e13: Merge tag 'usercopy-v4.8-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (2016-09-20 17:11:19 -0700) are available in the git repository at: git:/

Re: parisc crash on boot with 4.8+git

2016-10-08 Thread Helge Deller
Hi Meelis, On 08.10.2016 23:52, Meelis Roos wrote: > Just tried 4.8.0-11288-gb66484c on three of my parsic machines (enabled > strict usercopy checking or somethinng like that in make oldconfig). It's not related to the usercopy checks, instead it's most likely a parisc-specific problem I just n

Re: [PATCH] ARM: dts: fix naming of pinctrl node

2016-10-08 Thread Ray Jui
On 10/8/2016 1:34 PM, Scott Branden wrote: Remove 0x from pinctrl node to match device tree naming convention. Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/

Re: [PATCH v3] pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Ray Jui
On 10/8/2016 1:54 PM, Scott Branden wrote: - Add depends on COMMON_CLK for PWM_BCM_IPROC - Enable COMPILE_TEST for broader compile coverage. - Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers

Re: [PATCH v3 06/18] x86/intel_rdt: Add CONFIG, Makefile, and basic initialization

2016-10-08 Thread Borislav Petkov
On Fri, Oct 07, 2016 at 07:45:51PM -0700, Fenghua Yu wrote: > From: Fenghua Yu > > Introduce CONFIG_INTEL_RDT (default: no, dependent on X86 and > CPU_SUP_INTEL) to control inclusion of Resource Director Technology in > the build. > > Simple init() routine just checks which features are present.

[PATCH v3] pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Scott Branden
- Add depends on COMMON_CLK for PWM_BCM_IPROC - Enable COMPILE_TEST for broader compile coverage. - Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insert

Re: [PATCH 5/6] clk: stm32f469: Add QSPI clock

2016-10-08 Thread Rob Herring
On Fri, Sep 30, 2016 at 04:25:08PM +0200, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch adds the QSPI clock for stm32f469 discovery board. > The gate mapping is a little bit different from stm32f429 soc. > > Signed-off-by: Gabriel Fernandez > --- > .../devicetree/bin

Re: [PATCH v19 03/12] add bindings document for altera freeze bridge

2016-10-08 Thread Rob Herring
On Wed, Sep 28, 2016 at 01:21:51PM -0500, Alan Tull wrote: > Add bindings document for the Altera Freeze Bridge. A Freeze > Bridge is used to gate traffic to/from a region of a FPGA > such that that region can be reprogrammed. The Freeze Bridge > exist in FPGA fabric that is not currently being r

Re: [PATCH v6 3/3] pci:add support aer/pme interrupts with none MSI/MSI-X/INTx mode

2016-10-08 Thread Rob Herring
On Fri, Sep 30, 2016 at 05:11:37PM +0800, Po Liu wrote: > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > When chip support the aer/pme interrupts with none MSI/MSI-X/INTx mode, > maybe there is interrupt line for aer pme etc. Search the interrupt > number in the fdt file.

Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Scott Branden
Hi Ray, On 16-10-08 01:20 PM, Ray Jui wrote: Hi Scott, On 10/8/2016 10:36 AM, Scott Branden wrote: Enable COMPILE_TEST for broader compile coverage. Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden ---

Re: [PATCH v19 01/12] fpga: add bindings document for fpga region

2016-10-08 Thread Rob Herring
On Wed, Sep 28, 2016 at 01:21:49PM -0500, Alan Tull wrote: > New bindings document for FPGA Region to support programming > FPGA's under Device Tree control > > Signed-off-by: Alan Tull > Signed-off-by: Moritz Fischer > --- > v9: initial version added to this patchset > v10: s/fpga/FPGA/g >

[PATCH] ARM: multi_v7_defconfig: Enable Intel e1000e driver

2016-10-08 Thread Scott Branden
Enable support for the Intel e1000e driver Signed-off-by: Ray Jui Signed-off-by: Scott Branden --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ea3566f..b88a67a 100644 ---

[PATCH] ARM: dts: fix naming of pinctrl node

2016-10-08 Thread Scott Branden
Remove 0x from pinctrl node to match device tree naming convention. Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index fabc9f3..539c58f

Re: [PATCH] sound: soc: cygnus: add depends on HAS_DMA

2016-10-08 Thread Ray Jui
Hi Scott, On 10/7/2016 12:24 PM, Scott Branden wrote: add depends on HAS_DMA to Kconfig. This fixes error reported by kbuild test robot when building for ARCH=m32r: ERROR: "bad_dma_ops" [sound/soc/bcm/snd-soc-cygnus.ko] undefined! Signed-off-by: Scott Branden --- sound/soc/bcm/Kconfig | 1 +

parisc crash on boot with 4.8+git

2016-10-08 Thread Meelis Roos
Just tried 4.8.0-11288-gb66484c on three of my parsic machines (enabled strict usercopy checking or somethinng like that in make oldconfig). rp3440 worked fine. a500 and rp3410 cras on boot. rp3410 crashed on boot with the following: Linux version 4.8.0-11288-gb66484c (mroos@rp3410) (gcc versio

Re: [PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Ray Jui
Hi Scott, On 10/8/2016 10:36 AM, Scott Branden wrote: Enable COMPILE_TEST for broader compile coverage. Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers/pwm/Kconfig | 3 ++- 1 file changed,

Re: [PATCH v3 04/18] x86/intel_rdt: Feature discovery

2016-10-08 Thread Borislav Petkov
On Sat, Oct 08, 2016 at 01:54:54PM -0700, Fenghua Yu wrote: > > I think these #defines are specific to Intel. I would prefer if we > > have _INTEL_ somewhere in them. We don't generally add vendor names to those defines. Even more so if the 0x0... leaf range is Intel-specific anyway. > Is adding

[PATCH] staging: dgnc: make find_board_by_major static

2016-10-08 Thread Benoit Hiller
Fixes the following sparse warning: drivers/staging/dgnc/dgnc_tty.c:933:19: warning: symbol 'find_board_by_major' was not declared. Should it be static? Signed-off-by: Benoit Hiller --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

Re: [PULL REQUEST] i2c for 4.9

2016-10-08 Thread Wolfram Sang
On Fri, Oct 07, 2016 at 02:17:20PM -0700, Linus Torvalds wrote: > On Fri, Oct 7, 2016 at 2:32 AM, Wolfram Sang wrote: > > > > here is the 4.9 pull request from I2C including: > > Would you mind double-checking my merge. > > It looked very trivial, but it would be good to have somebody else > giv

RE: [tpmdd-devel] [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state

2016-10-08 Thread Winkler, Tomas
> > > Subject: Re: [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle > > state > > > > On Sat, Oct 08, 2016 at 04:56:39PM +, Winkler, Tomas wrote: > > > > > > > > > > > On Sat, Oct 08, 2016 at 02:27:06PM +, Winkler, Tomas wrote: > > > > > > > > > > > > On Sat, Oct 08, 2016 at 02:5

Re: [PATCH 4/4] tmp/tpm_crb: implement runtime pm for tpm_crb

2016-10-08 Thread Jarkko Sakkinen
On Sat, Oct 08, 2016 at 06:18:36PM +, Winkler, Tomas wrote: > > > > -Original Message- > > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > > Sent: Saturday, October 08, 2016 19:01 > > To: Winkler, Tomas > > Cc: tpmdd-de...@lists.sourceforge.net; Jason Gunthorpe > > ;

Re: btrfs_direct_IO oops

2016-10-08 Thread Al Viro
On Sat, Oct 08, 2016 at 02:08:06PM -0400, Dave Jones wrote: > That code: matches this dissembly: > > for (i = seg + 1; i < iter->nr_segs; i++) { *whoa* OK, that loop in check_direct_IO() should be done *ONLY* for iovec iter - even for a bvec one it's completely bogus, and for pip

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-08 Thread Thomas Gleixner
On Fri, 7 Oct 2016, Peter Zijlstra wrote: > + /* > + * Grab a reference on the pi_state and drop hb->lock. > + * > + * The reference ensures pi_state lives, dropping the hb->lock > + * is tricky.. wake_futex_pi() will take rt_mutex::wa

RE: [PATCH 4/4] tmp/tpm_crb: implement runtime pm for tpm_crb

2016-10-08 Thread Winkler, Tomas
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Saturday, October 08, 2016 19:01 > To: Winkler, Tomas > Cc: tpmdd-de...@lists.sourceforge.net; Jason Gunthorpe > ; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 4/4] tmp/tpm_crb: implement

[PATCH] Input: set default for iProc touchscreen

2016-10-08 Thread Scott Branden
Enable the Broadcom iProc touchscreen by default for all iProc platforms. Signed-off-by: Ray Jui Signed-off-by: Scott Branden --- drivers/input/touchscreen/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 2f

btrfs_direct_IO oops

2016-10-08 Thread Dave Jones
Found this in logs this morning. First time I've seen this one. Might be related to some direct IO related changes I made in Trinity that is tickling some new path. Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 2 PID: 25313 Comm: trinity-c18 Not tainted 4.8.0-think+ #7 task: 88040f7b1c00 t

Re: tg3 BUG: spinlock lockup suspected

2016-10-08 Thread Meelis Roos
> > That did not go well - bisect found the following commit but that does > > not seem to be related at all. So probably the reproducibility is not > > 100% but more random. > > Now I reproduced the bug even with 4.7-rc1 so it is older than 4.7. Will > test further. It gets stranger and stran

[PATCH] m32r: add simple dma

2016-10-08 Thread Sudip Mukherjee
Some builds of m32r were failing as it tried to build few drivers which needed dma but m32r is not having dma support. Objections were raised when it was tried to make those drivers depend on HAS_DMA. So the next best thing is to add dma support to m32r. dma_noop is a very simple dma with 1:1 memor

Re: [PATCH v3 04/18] x86/intel_rdt: Feature discovery

2016-10-08 Thread Fenghua Yu
On Sat, Oct 08, 2016 at 12:11:22PM -0500, Nilay Vaish wrote: > On 7 October 2016 at 21:45, Fenghua Yu wrote: > > From: Fenghua Yu > > > > Check CPUID leaves for all the Resource Director Technology (RDT) > > Cache Allocation Technology (CAT) bits. > > > > Prescence of allocation features: > > Pr

[PATCH] net: ti: netcp_ethss: use new api ethtool_{get|set}_link_ksettings

2016-10-08 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ti/netcp_ethss.c | 42 +++- 1 files changed, 25 insertions(+), 17 deletions(-) diff --git a/drivers/ne

[PATCH v2] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Scott Branden
Enable COMPILE_TEST for broader compile coverage. Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers/pwm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/Kc

Re: [PATCH v3 05/18] Documentation, x86: Documentation for Intel resource allocation user interface

2016-10-08 Thread Fenghua Yu
On Sat, Oct 08, 2016 at 12:12:07PM -0500, Nilay Vaish wrote: > On 7 October 2016 at 21:45, Fenghua Yu wrote: > > From: Fenghua Yu > > > > +L3 details (code and data prioritization disabled) > > +-- > > +With CDP disabled the L3 schemata format is: >

Re: tg3 BUG: spinlock lockup suspected

2016-10-08 Thread Meelis Roos
> On Sat, Oct 8, 2016 at 10:15 PM, Meelis Roos wrote: > >> That did not go well - bisect found the following commit but that does > >> not seem to be related at all. So probably the reproducibility is not > >> 100% but more random. > > > > Now I reproduced the bug even with 4.7-rc1 so it is older

RE: [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state

2016-10-08 Thread Winkler, Tomas
> Subject: Re: [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state > > On Sat, Oct 08, 2016 at 04:56:39PM +, Winkler, Tomas wrote: > > > > > > > > On Sat, Oct 08, 2016 at 02:27:06PM +, Winkler, Tomas wrote: > > > > > > > > > > On Sat, Oct 08, 2016 at 02:59:37PM +0300, Tomas Win

[PATCH] pwm: add COMPILE_TEST and default y for brcm-iproc-pwm

2016-10-08 Thread Scott Branden
Enable COMPILE_TEST for broader compile coverage. Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers/pwm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/Kconfig b/drivers/pw

Re: [PATCH v3 02/18] cacheinfo: Introduce cache id

2016-10-08 Thread Nilay Vaish
On 7 October 2016 at 21:45, Fenghua Yu wrote: > From: Fenghua Yu > > diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c > index e9fd32e..2a21c15 100644 > --- a/drivers/base/cacheinfo.c > +++ b/drivers/base/cacheinfo.c > @@ -233,6 +233,7 @@ static ssize_t file_name##_show(struct devi

Re: [PATCH 4.8 00/10] 4.8.1-stable review

2016-10-08 Thread Guenter Roeck
On 10/08/2016 09:11 AM, Kevin Hilman wrote: Greg Kroah-Hartman writes: On Fri, Oct 07, 2016 at 03:26:04PM -0700, kernelci.org bot wrote: stable-rc boot: 479 boots: 4 failed, 183 passed with 292 offline (v4.8-11-ge141008f62ab) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/k

[git pull] vfs pile 2 (misc)

2016-10-08 Thread Al Viro
Assorted misc bits and pieces; there are several single-topic branches left after that (rename2 series from Miklos, current_time series from Deepa Dinamani, xattr series from Andreas, uaccess stuff from from me) and I'd prefer to send those separately. This stuff has a couple of conflicts with mai

Re: [PATCH v3 05/18] Documentation, x86: Documentation for Intel resource allocation user interface

2016-10-08 Thread Nilay Vaish
On 7 October 2016 at 21:45, Fenghua Yu wrote: > From: Fenghua Yu > > +L3 details (code and data prioritization disabled) > +-- > +With CDP disabled the L3 schemata format is: > + > + L3:=;=;... > + > +L3 details (CDP enabled via mount option t

Re: [PATCH v3 04/18] x86/intel_rdt: Feature discovery

2016-10-08 Thread Nilay Vaish
On 7 October 2016 at 21:45, Fenghua Yu wrote: > From: Fenghua Yu > > Check CPUID leaves for all the Resource Director Technology (RDT) > Cache Allocation Technology (CAT) bits. > > Prescence of allocation features: Presence > diff --git a/arch/x86/include/asm/cpufeatures.h > b/arch/x86/include

Re: [PATCH v3 01/18] Documentation, ABI: Add a document entry for cache id

2016-10-08 Thread Nilay Vaish
On 7 October 2016 at 21:45, Fenghua Yu wrote: > From: Fenghua Yu > > Add an ABI document entry for /sys/devices/system/cpu/cpu*/cache/index*/id. > > Signed-off-by: Fenghua Yu > Signed-off-by: Tony Luck > --- > Documentation/ABI/testing/sysfs-devices-system-cpu | 16 > 1 file c

Re: [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state

2016-10-08 Thread Jarkko Sakkinen
On Sat, Oct 08, 2016 at 10:42:03AM -0600, Jason Gunthorpe wrote: > On Sat, Oct 08, 2016 at 07:00:06PM +0300, Jarkko Sakkinen wrote: > > > Rather you it would be better not to use cmdReady/goIdle at all if > > kernel is not compiled with CONFIG_PM. > > It would be best practice to ensure the tpm i

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-08 Thread Thomas Gleixner
On Sat, 8 Oct 2016, Peter Zijlstra wrote: > > So in this case we tell the caller on CPU 1 that the futex is in > > inconsistent state, because pistate->owner still points to the unlocking > > task while the user space value alread shows the new owner. So this sanity > > check triggers and we simply

Re: [PATCH 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state

2016-10-08 Thread Jarkko Sakkinen
On Sat, Oct 08, 2016 at 04:56:39PM +, Winkler, Tomas wrote: > > > > > On Sat, Oct 08, 2016 at 02:27:06PM +, Winkler, Tomas wrote: > > > > > > > > On Sat, Oct 08, 2016 at 02:59:37PM +0300, Tomas Winkler wrote: > > > > > From: "Winkler, Tomas" > > > > > > > > > > There is a HW bug in Skyla

Re: [PATCH 09/10] net: phy: Add MDIO driver for Juniper's SAM FPGA

2016-10-08 Thread Georgi Vlaev
Hi Andrew, On 16-10-07 23:13:26, Andrew Lunn wrote: > On Fri, Oct 07, 2016 at 06:18:37PM +0300, Pantelis Antoniou wrote: > > From: Georgi Vlaev > > > > Add driver for the MDIO IP block present in Juniper's > > SAM FPGA. > > > > This driver supports only Clause 45 of the 802.3 spec. > > > > Not

Re: [PATCH] sched/fair: Fix dereference NULL sched domain during select_idle_sibling

2016-10-08 Thread Peter Zijlstra
On Sat, Oct 08, 2016 at 06:24:38PM +0800, Wanpeng Li wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 543b2f2..03a6620 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -5472,19 +5472,29 @@ static inline int select_idle_smt(struct task_struct > *p, struct

Re: [PATCH v7 2/2] clocksource: add J-Core timer/clocksource driver

2016-10-08 Thread Thomas Gleixner
On Sat, 8 Oct 2016, Rich Felker wrote: > On Sat, Oct 08, 2016 at 01:32:06PM +0200, Thomas Gleixner wrote: > > CPU spins and waits for an interrupt to happen > > > > > > -0 [000] d... 150.841530: rcu_dyntick: End 0 1 > > > > Dropping out of the spin about the time we expect the PI

Re: [PATCH v3 3/6] pwm: imx: support output polarity inversion

2016-10-08 Thread Lukasz Majewski
Hi Bhuvanchandra, > From: Lothar Wassmann > > The i.MX pwm unit on i.MX27 and newer SoCs provides a configurable > output polarity. This patch adds support to utilize this feature > where available. > > Signed-off-by: Lothar Waßmann > Signed-off-by: Lukasz Majewski > Signed-off-by: Bhuvanchan

  1   2   3   >