[PATCH 03/20] perf tools: Pass context to perf hook functions

2016-12-05 Thread Arnaldo Carvalho de Melo
From: Wang Nan Pass a pointer to perf hook functions so they receive context information during setup. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: He Kuang Cc: Jiri Olsa Cc: Joe Stringer Cc: Zefan Li Cc: pi3or...@163.com Link: http://lkml.kernel.org/r/20161126070354.141764-6-wangn..

[PATCH 19/20] perf tools: Add non config targets

2016-12-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding some missing non config targets that were for some reason omitted. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1480884178-8072-7-git-send-email-jo...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 18/20] perf tools: Cleanup build directory before each test

2016-12-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Cleanup the fixdep tool before every test. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1480884178-8072-8-git-send-email-jo...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/make | 2 +-

Re: [PATCH 39/39] mtd: nand: denali_dt: add compatible strings for UniPhier SoC variants

2016-12-05 Thread Marek Vasut
On 12/05/2016 09:51 PM, Dinh Nguyen wrote: > On Sun, Dec 4, 2016 at 10:22 PM, Marek Vasut wrote: >> On 12/05/2016 05:10 AM, Masahiro Yamada wrote: >>> Hi Marek, >>> >>> >>> 2016-12-05 12:44 GMT+09:00 Marek Vasut : On 12/05/2016 04:30 AM, Masahiro Yamada wrote: > Hi Dinh, > > >

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2016-12-05 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 05, 2016 at 07:02:48PM -0200, Arnaldo Carvalho de Melo escreveu: > Em Mon, Dec 05, 2016 at 08:51:01AM -0800, Alexei Starovoitov escreveu: > > yeah. it's kinda high. I'm guessing rpm llvm libs are in debug mode. > > Try llvm-config --build-mode --assertion-mode > > it should be Release O

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

2016-12-05 Thread Winkler, Tomas
> > CC linux-security-module > > On Sat, Dec 03, 2016 at 07:52:13PM +0200, Jarkko Sakkinen wrote: > > Request and relinquish locality for the driver use in order to be a > > better citizen in a multi locality environment like TXT. The locality > > is requested and relinquished as part of going in

Re: [PATCH v3] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-12-05 Thread Bjorn Helgaas
On Thu, Dec 01, 2016 at 06:52:23PM -0800, Duc Dang wrote: > On Thu, Dec 1, 2016 at 10:33 AM, Bjorn Helgaas wrote: > I made similar changes in v4 patch. The ECAM quirk will be built when > ACPI and PCI_QUIRKS are enabled. > > When building for DT only, the ECAM quirk won't be compiled. Perfect.

Re: [PATCH] scsi: hisi_sas: fix free'ing in probe and remove

2016-12-05 Thread Martin K. Petersen
> "John" == John Garry writes: John> This patch addresses 4 problems in the module probe/remove: John> - When hisi_sas_shost_alloc() fails after we alloc shost memory, John> we should free shost memory before the function returns. John> - When hisi_sas_probe() fails after we alloc the HBA mem

Re: [lustre-devel] [PATCH 3/6] staging: lustre: obdclass: Create a header for obdo related functions

2016-12-05 Thread Dilger, Andreas
> On Dec 5, 2016, at 13:50, Dan Carpenter wrote: > > On Fri, Dec 02, 2016 at 02:40:47PM -0500, James Simmons wrote: >> -__u32 local_flags = 0; >> +u32 local_flags = 0; > >> -if (local_flags != 0) { >> +if (local_flags) { > > Please avoid these unrelated white space changes. So

[PATCH] iommu/intel: disable DMAR for Q35 integrated gfx

2016-12-05 Thread Kees Cook
This blacklists the Q35 integrated graphics so IOMMU can be otherwise enabled. Without this, a Q35 system can only enable IOMMU when booting with "intel_iommu=on,igfx_off" but not "intel_iommu=on". 00:02.0 0300: 8086:29b2 (rev 02) (prog-if 00 [VGA controller]) Subsystem: 8086:4f4a

Re: [PATCH 1/4] rtc: mcp795: fix invalid month setting.

2016-12-05 Thread Emil Bartczak
Hi, On Mon, Dec 05, 2016 at 04:09:59PM +0100, Alexandre Belloni wrote: > Hi, > > On 05/12/2016 at 14:11:50 +0100, Emil Bartczak wrote : > > The 10 month register was always set to value 0 in the RTC hardware. > > Due to the bug month November or December became February. > > All your patches are

Re: [PATCH] scsi: hpsa: use %phN for short hex dumps

2016-12-05 Thread Martin K. Petersen
> "Rasmus" == Rasmus Villemoes writes: Rasmus> Passing one instead of 8 or 16 arguments reduces the size of the Rasmus> generated code somewhat: Rasmus> add/remove: 2/3 grow/shrink: 1/4 up/down: 1772/-2137 (-365) Rasmus> There's one more candidate, unique_id_show, but that uses %02X, Rasmus

Re: [lustre-devel] [PATCH 3/6] staging: lustre: obdclass: Create a header for obdo related functions

2016-12-05 Thread Dan Carpenter
Sorry, I was unclear. I have no problem with white space changes on their own or when they are on the same line as something else you're changing. What I meant is that when you're just moving functions around then don't mix unrelated white space changes into that patch. I have automated scripts

Re: [PATCH] iommu/intel: disable DMAR for Q35 integrated gfx

2016-12-05 Thread David Woodhouse
On Mon, 2016-12-05 at 13:58 -0800, Kees Cook wrote: > This blacklists the Q35 integrated graphics so IOMMU can be otherwise > enabled. Without this, a Q35 system can only enable IOMMU when booting > with "intel_iommu=on,igfx_off" but not "intel_iommu=on". Hm, is this definitely the same bug? Or is

[PATCH v4 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-12-05 Thread Lino Sanfilippo
Add driver for Alacritech gigabit ethernet cards with SLIC (session-layer interface control) technology. The driver provides basic support without SLIC for the following devices: - Mojave cards (single port PCI Gigabit) both copper and fiber - Oasis cards (single and dual port PCI-x Gigabit) coppe

Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-05 Thread Lino Sanfilippo
Hi, this is the forth version of the slicoss gigabit ethernet driver (which is a rework of the driver from Alacritech which can currently be found under drivers/staging/slicoss). The driver is supposed to support Mojave, Oasis and Kalahari cards, for both copper and fiber. If this code is accepte

[PATCH v4 net-next 2/2] MAINTAINERS: add entry for slicoss ethernet driver

2016-12-05 Thread Lino Sanfilippo
Add myself as maintainer for the slicoss ethernet driver. Signed-off-by: Lino Sanfilippo --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6781a3f..bb9af28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -562,6 +562,11 @@ T: git git://linuxtv.

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Pavel Machek
Hi! > > > > Actually, I was wrong. irqlock protection is needed, since > > stmmac_tx_clean() is called from timer, and that's interrupt context, > > as you can confirm using BUG_ON(in_interrupt()); > > > > in_interrupt() can mean both softirq and hardirq context. In this case it > means softirq

Re: [PATCH v3] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-12-05 Thread Duc Dang
On Mon, Dec 5, 2016 at 1:53 PM, Bjorn Helgaas wrote: > On Thu, Dec 01, 2016 at 06:52:23PM -0800, Duc Dang wrote: >> On Thu, Dec 1, 2016 at 10:33 AM, Bjorn Helgaas wrote: > >> I made similar changes in v4 patch. The ECAM quirk will be built when >> ACPI and PCI_QUIRKS are enabled. >> >> When build

Re: Build error due to commit 8ab2ae655b ("default exported asm symbols to zero")

2016-12-05 Thread Linus Torvalds
On Mon, Dec 5, 2016 at 1:23 PM, Guenter Roeck wrote: > > commit 8ab2ae655bf ("default exported asm symbols to zero") results > in the following build error when building alpha:allmodconfig. > > arch/alpha/lib/callback_srm.S: Assembler messages: > arch/alpha/lib/callback_srm.S:97: Warning: >

Re: [PATCH 1/4] rtc: mcp795: fix invalid month setting.

2016-12-05 Thread Alexandre Belloni
On 05/12/2016 at 23:03:52 +0100, Emil Bartczak wrote : > > > > > #define MCP795_WRITE 0x12 > > > #define MCP795_UNLOCK0x14 > > > #define MCP795_IDWRITE 0x32 > > > @@ -39,6 +39,7 @@ > > > > > > #define MCP795_ST_BIT0x80 > > > #define MCP795_24_BIT0x40 > > > +#define MCP795_

Re: [PATCH 3/4] rtc: mcp795: fix month write resetting date to 1.

2016-12-05 Thread Emil Bartczak
Hi, On Mon, Dec 05, 2016 at 04:24:10PM +0100, Alexandre Belloni wrote: > On 05/12/2016 at 14:11:52 +0100, Emil Bartczak wrote : > > According to Microchip errata some combinations of date and month > > values may result in the date being reset to 1, even if the date > > is also written with the mo

Re: [PATCH v2 net-next v2 4/4] net: dsa: mv88e6xxx: add PPU operations

2016-12-05 Thread Vivien Didelot
Stefan Eichenberger writes: > Hi Vivien, > > On Mon, Dec 05, 2016 at 11:27:03AM -0500, Vivien Didelot wrote: >> @@ -3266,6 +3220,8 @@ static const struct mv88e6xxx_ops mv88e6097_ops = { >> .g1_set_cpu_port = mv88e6095_g1_set_cpu_port, >> .g1_set_egress_port = mv88e6095_g1_set_egress_por

Re: [PATCH] iommu/intel: disable DMAR for Q35 integrated gfx

2016-12-05 Thread Kees Cook
On Mon, Dec 5, 2016 at 2:07 PM, David Woodhouse wrote: > On Mon, 2016-12-05 at 13:58 -0800, Kees Cook wrote: >> This blacklists the Q35 integrated graphics so IOMMU can be otherwise >> enabled. Without this, a Q35 system can only enable IOMMU when booting >> with "intel_iommu=on,igfx_off" but not

Re: [PATCH v4 1/9] dt-bindings: clarify compatible property for rockchip timers

2016-12-05 Thread Rob Herring
On Tue, Nov 29, 2016 at 07:14:44PM +0300, Alexander Kochetkov wrote: > Make all properties description in form '"rockchip,-timer", > "rockchip,rk3288-timer"' for all chips found in linux kernel. > > Suggested-by: Heiko Stübner > Signed-off-by: Alexander Kochetkov > --- > .../bindings/timer/rock

Re: [PATCH 1/2] scsi: be2iscsi: set errno on error path

2016-12-05 Thread Martin K. Petersen
> "Pan" == Pan Bian writes: Pan> Variable ret is reset in the loop, and its value will be 0 during Pan> the second and after repeat of the loop. If pci_alloc_consistent() Pan> returns a NULL pointer then, it will leaves with return value 0. 0 Pan> means no error, which is contrary to the fact

Re: [RFC v3 1/6] Track the active utilisation

2016-12-05 Thread luca abeni
Hi Peter, On Fri, 18 Nov 2016 15:23:59 +0100 Peter Zijlstra wrote: [...] > u64 running_bw; > > static void add_running_bw(struct sched_dl_entity *dl_se, struct > dl_rq *dl_rq) { > u64 old = dl_rq->running_bw; > > dl_rq->running_bw += dl_se->dl_bw; > SCHED_WARN_ON(dl_rq->

Re: [PATCH 1/2 v2] scsi: be2iscsi: set errno on error path

2016-12-05 Thread Martin K. Petersen
> "Pan" == Pan Bian writes: Pan> Variable ret is reset in the loop, and its value will be 0 during Pan> the after repeat of the loop. Then, if pci_alloc_consistent() Pan> returns NULL, the return value is 0. 0 means no error, which may Pan> make it impossible for the callers of beiscsi_create

Re: [PATCH 1/4] rtc: mcp795: fix invalid month setting.

2016-12-05 Thread Emil Bartczak
On Mon, Dec 05, 2016 at 11:15:59PM +0100, Alexandre Belloni wrote: > On 05/12/2016 at 23:03:52 +0100, Emil Bartczak wrote : > > > > > > > #define MCP795_WRITE 0x12 > > > > #define MCP795_UNLOCK 0x14 > > > > #define MCP795_IDWRITE 0x32 > > > > @@ -39,6 +39,7 @@ > > > > > > > > #define MCP7

Re: [PATCH 39/39] mtd: nand: denali_dt: add compatible strings for UniPhier SoC variants

2016-12-05 Thread Dinh Nguyen
On 12/05/2016 03:29 PM, Marek Vasut wrote: > On 12/05/2016 09:51 PM, Dinh Nguyen wrote: >> On Sun, Dec 4, 2016 at 10:22 PM, Marek Vasut wrote: >>> On 12/05/2016 05:10 AM, Masahiro Yamada wrote: Hi Marek, 2016-12-05 12:44 GMT+09:00 Marek Vasut : > On 12/05/2016 04:30 AM, M

[PATCH v3 net-next v3 1/4] net: dsa: mv88e6xxx: add helper to disable ports

2016-12-05 Thread Vivien Didelot
Before resetting a switch, the ports should be set to the Disabled state and the transmit queues should be drained. Add an helper to explicit that. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 34 +++--- 1 file change

[PATCH v3 net-next v3 2/4] net: dsa: mv88e6xxx: add helper to hardware reset

2016-12-05 Thread Vivien Didelot
Add an helper to toggle the eventual GPIO connected to the reset pin. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/driver

[PATCH v3 net-next v3 4/4] net: dsa: mv88e6xxx: add PPU operations

2016-12-05 Thread Vivien Didelot
Some Marvell chips can enable/disable the PPU on demand. This is needed to access the PHY registers when there is no indirection mechanism. Add two new ppu_enable and ppu_disable ops to describe this and finally get rid of the MV88E6XXX_FLAG_PPU* flags. Signed-off-by: Vivien Didelot --- drivers

[PATCH v3 net-next v3 3/4] net: dsa: mv88e6xxx: add a soft reset operation

2016-12-05 Thread Vivien Didelot
Marvell chips have different way to issue a software reset. Old chips (such as 88E6060) have a reset bit in an ATU control register. Newer chips moved this bit in a Global control register. Chips with controllable PPU should reset the PPU when resetting the switch. Add a new reset operation to i

[PATCH v3 net-next v3 0/4] net: dsa: mv88e6xxx: rework reset and PPU code

2016-12-05 Thread Vivien Didelot
Old Marvell chips (like 88E6060) don't have a PHY Polling Unit (PPU). Next chips (like 88E6185) have a PPU, which has exclusive access to the PHY registers, thus must be disabled before access. Newer chips (like 88E6352) have an indirect mechanism to access the PHY registers whenever, thus loose

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-05 Thread Rafael J. Wysocki
On Mon, Dec 5, 2016 at 1:26 PM, Lorenzo Pieralisi wrote: > The introduction of acpi_dma_configure() allows to configure DMA > and related IOMMU for any device that is DMA capable. To achieve > that goal it ensures DMA masks are set-up to sane default values > before proceeding with IOMMU and DMA o

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Lino Sanfilippo
Hi Pavel, On 05.12.2016 23:02, Pavel Machek wrote: > > we need spin_lock_bh at minimum, as we are locking user context > against timer. > > Best regards, > Pavel > I was referring to stmmac_tx_clean() which AFAICS is only ca

Re: [PATCHv2] mfd: cpcap: Add minimal support

2016-12-05 Thread Rob Herring
On Tue, Nov 29, 2016 at 08:47:02AM -0800, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. We can support it's core features quite easily with regmap_spi > and regmap_irq. > > The children of cpcap, such as regulators, ADC and USB, can be

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Pavel Machek
On Mon 2016-12-05 23:37:09, Lino Sanfilippo wrote: > Hi Pavel, > > On 05.12.2016 23:02, Pavel Machek wrote: > > > > we need spin_lock_bh at minimum, as we are locking user context > > against timer. > > > > Best regards, > > Pav

Re: [PATCH v5 13/14] ASoC: add simple-graph-scu-card document

2016-12-05 Thread Rob Herring
On Mon, Nov 28, 2016 at 02:48:37AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Signed-off-by: Kuninori Morimoto > --- > .../bindings/sound/simple-graph-scu-card.txt | 69 > ++ > 1 file changed, 69 insertions(+) > create mode 100644 > Documentati

Re: [PATCH 1/1] staging: lustre: lnet: fix improper return value

2016-12-05 Thread Oleg Drokin
On Dec 3, 2016, at 7:52 AM, Pan Bian wrote: > From: Pan Bian > > At the end of function lstcon_group_info(), "return 0" seems improper. > It may be better to return the value of rc. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188811 > > Signed-off-by: Pan Bian Acked-by: Oleg D

Re: [Jfs-discussion] jfs: mangled lockdep splat

2016-12-05 Thread Dave Kleikamp
On 11/22/2016 06:05 PM, Christian Kujau wrote: > For some time now, I always[0] receive a lockdep warning when there's some > disk I/O on the system. But recently the warning looks kinda mangled, > I suspect the recent printk change (4bcc595ccd80, "printk: reinstate > KERN_CONT for printing conti

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-05 Thread Shuah Khan
On 11/30/2016 03:01 PM, Shuah Khan wrote: > Change ALSA driver to use Media Controller API to share media resources > with DVB, and V4L2 drivers on a AU0828 media device. > > Media Controller specific initialization is done after sound card is > registered. ALSA creates Media interface and entity

Re: [PATCH] iommu/intel: disable DMAR for Q35 integrated gfx

2016-12-05 Thread David Woodhouse
On Mon, 2016-12-05 at 14:18 -0800, Kees Cook wrote: > Hm, I have no idea. :) What would I look for in the BIOS? For a start, what is the actual failure mode? > I figured since g4 was busted, surely q35 was too, since it's even > older... Oh no, they all have different failures. Intel never actua

Re: [PATCH 3/4] rtc: mcp795: fix month write resetting date to 1.

2016-12-05 Thread Alexandre Belloni
On 05/12/2016 at 23:16:55 +0100, Emil Bartczak wrote : > > > +static int mcp795_start_oscillator(struct device *dev) > > > +{ > > > + return mcp795_rtcc_set_bits(dev, MCP795_REG_SECONDS, > > > + MCP795_ST_BIT, MCP795_ST_BIT); > > > > You probably want to restore EXT

Re: [PATCH] staging: lustre: mgc: make llog_process_lock static

2016-12-05 Thread Oleg Drokin
On Dec 4, 2016, at 9:21 PM, wrote: > From: Sandeep Jain > > Fix following sparse warning. > mgc_request.c:376:1: > warning: symbol 'llog_process_lock' was not declared. Should it be static? > > Signed-off-by: Sandeep Jain Acked-by: Oleg Drokin > --- > drivers/staging/lustre/lustre/mgc/m

Re: [PATCH] staging: lustre: Fix function declaration/definition mismatch

2016-12-05 Thread Oleg Drokin
On Dec 4, 2016, at 10:06 PM, wrote: > From: Sandeep Jain > > Fixes following Sparse errors. > lprocfs_status.c:1568:5: error: symbol 'lprocfs_wr_root_squash' > redeclared with different type... > lprocfs_status.c:1632:5: error: symbol 'lprocfs_wr_nosquash_nids' > redeclared with different ty

Re: [PATCH 1/1] vfio iommu type1: set size to PAGE_SIZE while looking for iova in dma list

2016-12-05 Thread Alex Williamson
On Tue, 6 Dec 2016 02:38:01 +0530 Kirti Wankhede wrote: > In the functions of pin_pages/unpin_pages from mdev vendor driver, > vfio_find_dma() should be called with size as PAGE_SIZE instead of 0. > vfio_find_dma() searches for the range in dma_list. > > In vfio_dma_do_unmap(), vfio_find_dma() w

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Lino Sanfilippo
On 05.12.2016 23:40, Pavel Machek wrote: > On Mon 2016-12-05 23:37:09, Lino Sanfilippo wrote: >> Hi Pavel, >> >> On 05.12.2016 23:02, Pavel Machek wrote: >> > >> > we need spin_lock_bh at minimum, as we are locking user context >> > against timer. >> > >> > Best regards, >> >

Re: [PATCH v5 11/14] ASoC: add simple-graph-card document

2016-12-05 Thread Rob Herring
On Sun, Dec 04, 2016 at 11:48:49PM +, Kuninori Morimoto wrote: > > Hi Rob, Mark > > > > +++ b/Documentation/devicetree/bindings/sound/simple-graph-card.txt > > > @@ -0,0 +1,67 @@ > > > +Simple-Graph-Card: > > > > There's nothing simple about this. graph-audio-card or audio-card-graph. > > I

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-05 Thread Oleg Drokin
On Dec 2, 2016, at 12:33 PM, Quentin Lambert wrote: > lnet_ipif_enumerate was assigning a pointer from kernel space to user > space. This patch uses copy_to_user to properly do that assignment. I guess it's a false positive? While lnet_sock_ioctl()->kernel_sock_unlocked_ioctl() does call into t

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread Patrick Plagwitz
On 12/05/2016 08:37 PM, Andreas Grünbacher wrote: > 2016-12-05 17:25 GMT+01:00 J. Bruce Fields : >> On Mon, Dec 05, 2016 at 04:36:03PM +0100, Miklos Szeredi wrote: >>> On Mon, Dec 5, 2016 at 4:19 PM, J. Bruce Fields >>> wrote: > Can NFS people comment on this? Where does the nfs4_acl come fr

Re: linux-next: possible removal of the kvm-ppc tree

2016-12-05 Thread Stephen Rothwell
Hi Alex, On Mon, 5 Dec 2016 07:52:00 +0200 Alexander Graf wrote: > > > Am 05.12.2016 um 01:39 schrieb Stephen Rothwell : > > > > I noticed that the kvm-ppc tree > > (git://github.com/agraf/linux-2.6.git#kvm-ppc-next) has not been > > updated for over a year. I was wondering if I should remove i

[RFC] watchdog: iTCO_wdt: Introduce panic_on_timeout module param

2016-12-05 Thread Julius Hemanth Pitti
Currently iTCO_wdt silently resets the board when timeout occurs. This patch introduces new "panic_on_timeout" module param, which when set allows the iTCO_wdt to call panic when watchdog timeout occurs, this help to boot to crash kernel and collect core dump for further analysis. Cc: xe-ker...@e

Re: [PATCH 04/22] staging: lustre: osc: handle osc eviction correctly

2016-12-05 Thread Oleg Drokin
On Dec 5, 2016, at 3:55 PM, Dan Carpenter wrote: > On Fri, Dec 02, 2016 at 07:53:11PM -0500, James Simmons wrote: >> @@ -3183,8 +3182,10 @@ static int discard_cb(const struct lu_env *env, >> struct cl_io *io, >> /* page is top page. */ >> info->oti_next_index = osc_index(ops) + 1; >>

Re: [PATCH 1/2] Add DT bindings documentation for Synopsys UDC driver

2016-12-05 Thread Rob Herring
On Wed, Nov 30, 2016 at 11:35:09AM +0530, Raviteja Garimella wrote: > This patch adds documentation for Synopsis Designware Cores AHB > Subsystem Device Controller (UDC). > > Signed-off-by: Raviteja Garimella > --- > .../devicetree/bindings/usb/snps,dw-ahb-udc.txt| 29 >

Re: [PATCH 1/3] Add DT bindings documentation for NS2 USB DRD phy

2016-12-05 Thread Rob Herring
On Wed, Nov 30, 2016 at 11:25:36AM +0530, Raviteja Garimella wrote: > This patch adds documentation for NS2 DRD Phy driver DT bindings > > Signed-off-by: Raviteja Garimella > --- > .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 40 > ++ > 1 file changed, 40 insertions(

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Lino Sanfilippo
> > You mean stmmac_xmit()? Thats also softirq AFAICT, its the TX softirq > > Regards, > Lino > > Hmm. netdevices.txt says: ndo_start_xmit: ... Context: Process with BHs disabled or BH (timer), will be called with interrupts disabled by netconsole.

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Dec 5, 2016 at 11:15 AM, David Graziano wrote: > On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: >> On Mon, Nov 28, 2016 at 3:04 PM, David Graziano >> wrote: >>> On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: On Wed, Nov 9, 2016 at 11:25 AM, David Graziano wrote: > O

[PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-05 Thread Jon Mason
The BCM958712DxXMC board is a smaller form factor typically used as controller boards for switches. This smaller board has less devices pinned out, so only a few need be populated in the device tree. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/Makefile| 2 +- arch/arm64/boot

[PATCH 1/2] arm64: dts: NS2: reserve memory for Nitro firmware

2016-12-05 Thread Jon Mason
Nitro firmware is loaded into memory by the bootloader at a specific location. Set this memory range aside to prevent the kernel from using it. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/n

[PATCH 0/2] arm64: dts: NS2: XMC support and Nitro memreserve

2016-12-05 Thread Jon Mason
Add support for the NS2 XMC formfactor via a new DTS file. Also, set aside memory for Nitro firmware in the NS2 DTSI file. Jon Mason (2): arm64: dts: NS2: reserve memory for Nitro firmware arm64: dts: NS2: add support for XMC form factor arch/arm64/boot/dts/broadcom/Makefile| 2 +- ar

Re: [PATCH] iommu/intel: disable DMAR for Q35 integrated gfx

2016-12-05 Thread Kees Cook
On Mon, Dec 5, 2016 at 2:47 PM, David Woodhouse wrote: > On Mon, 2016-12-05 at 14:18 -0800, Kees Cook wrote: >> Hm, I have no idea. :) What would I look for in the BIOS? > > For a start, what is the actual failure mode? Based on initial testing (not that I've spent tons of time with it, since I n

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread Andreas Grünbacher
2016-12-05 23:58 GMT+01:00 Patrick Plagwitz : > On 12/05/2016 08:37 PM, Andreas Grünbacher wrote: >> 2016-12-05 17:25 GMT+01:00 J. Bruce Fields : >>> On Mon, Dec 05, 2016 at 04:36:03PM +0100, Miklos Szeredi wrote: On Mon, Dec 5, 2016 at 4:19 PM, J. Bruce Fields wrote: >> Can NFS peo

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-05 Thread Laurent Pinchart
Hi Shuah, On Monday 05 Dec 2016 15:44:30 Shuah Khan wrote: > On 11/30/2016 03:01 PM, Shuah Khan wrote: > > Change ALSA driver to use Media Controller API to share media resources > > with DVB, and V4L2 drivers on a AU0828 media device. > > > > Media Controller specific initialization is done afte

[PATCH] checkpatch: Don't emit unified-diff error for rename-only patches

2016-12-05 Thread Andrew Jeffery
I generated a patch with `git format-patch` which checkpatch thinks is invalid: $ ./scripts/checkpatch.pl lpc-dt/0006-mfd-dt-Move-syscon-bindings-to-syscon-subdirectory.patch WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? Documentation/devicetree/bindings/m

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread Andreas Grünbacher
2016-12-06 0:19 GMT+01:00 Andreas Grünbacher : > 2016-12-05 23:58 GMT+01:00 Patrick Plagwitz : >> On 12/05/2016 08:37 PM, Andreas Grünbacher wrote: >>> 2016-12-05 17:25 GMT+01:00 J. Bruce Fields : On Mon, Dec 05, 2016 at 04:36:03PM +0100, Miklos Szeredi wrote: > On Mon, Dec 5, 2016 at 4:19

Re: [PATCH 1/1] vfio iommu type1: WARN_ON if notifier block is not unregistered

2016-12-05 Thread Alex Williamson
On Tue, 6 Dec 2016 02:38:20 +0530 Kirti Wankhede wrote: > mdev vendor driver should unregister the iommu notifier since the vfio > iommu can persist beyond the attachment of the mdev group. WARN_ON will > show warning if vendor driver doesn't unregister the notifier and is > forced to follow the

Re: [PATCH v6 4/9] dt-bindings: iio: iio-mux: document iio-mux bindings

2016-12-05 Thread Rob Herring
On Wed, Nov 30, 2016 at 09:16:58AM +0100, Peter Rosin wrote: > Signed-off-by: Peter Rosin > --- > .../bindings/iio/multiplexer/iio-mux.txt | 40 > ++ > MAINTAINERS| 6 > 2 files changed, 46 insertions(+) > create mode 1

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-05 Thread Jon Masters
Duc, Aleksey, all, I have a question about this... On 12/05/2016 01:51 PM, Duc Dang wrote: > On Mon, Dec 5, 2016 at 5:05 AM, Aleksey Makarov > wrote: >> Check the 'Register Bit Width' field of the ACPI Generic Address >> Structure that specifies the address of the UART registers to >> decide if

Re: [PATCH v3] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-12-05 Thread Jon Masters
On 12/05/2016 04:20 PM, Bjorn Helgaas wrote: > On Fri, Dec 02, 2016 at 11:06:30PM -0800, Duc Dang wrote: >> On Fri, Dec 2, 2016 at 3:39 PM, Bjorn Helgaas wrote: > >>> diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c >>> index 8a177a1..a16fc8e 100644 >>> --- a/arch/arm64/kernel/pci.c

[PATCH FIX] usb: core: usbport: Use proper LED API to fix potential crash

2016-12-05 Thread Rafał Miłecki
From: Rafał Miłecki Calling brightness_set manually isn't safe as some LED drivers don't implement this callback. The best idea is to just use a proper helper which will fallback to the brightness_set_blocking callback if needed. This fixes: [ 1461.761528] Unable to handle kernel NULL pointer de

Re: Linux 4.9-rc8

2016-12-05 Thread Robert LeBlanc
I'm not seeing a tag at https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/ . Was it pushed? Thanks Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Sun, Dec 4, 2016 at 2:30 PM, Linus Torvalds wrote: > So if anybody has been

Re: [PATCH v2] perf sched timehist: Improve error message when analyzing wrong file

2016-12-05 Thread David Ahern
On 11/29/16 9:31 PM, Namhyung Kim wrote: > On 11/30/16, David Ahern wrote: >> Arnaldo reported an unhelpful error message when running perf sched >> timehist on a file that did not contain sched tracepoints: >> >> [root@jouet ~]# perf sched timehist >> No trace sample to read. Did you call

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-05 Thread Rob Herring
On Wed, Nov 30, 2016 at 05:21:27PM -0800, Brian Norris wrote: > From: Caesar Wang > > Add a compatible string and regulator property for Wacom W9103 > digitizer. Its VDD supply may need to be enabled before using it. > > Signed-off-by: Caesar Wang > Cc: Rob Herring > Cc: Jiri Kosina > Cc: lin

Re: [RFC] watchdog: iTCO_wdt: Introduce panic_on_timeout module param

2016-12-05 Thread Guenter Roeck
On Tue, Dec 06, 2016 at 04:18:15AM +0530, Julius Hemanth Pitti wrote: > Currently iTCO_wdt silently resets the board when timeout > occurs. > > This patch introduces new "panic_on_timeout" module param, > which when set allows the iTCO_wdt to call panic when > watchdog timeout occurs, this help to

Re: [PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi, > > Here is another attempt to make the perf-trace subcommand print the > page fault durations. > > This solution is based on static tracepoints and it was necessary to > add 2 more tracepoints. I understood that adding tracepoints is a > questionable solution; I can

Re: [PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi Arnaldo, > > Here is another patch set which fixes the issues you noticed. > Could you indicate me a way to improve these patches so as to move forward ? Regards, Alexis. > Thank you. > > Alexis. > > Alexis Berlemont (2): > perf sdt: add scanning of sdt probles

Re: wl1251 & mac address & calibration data

2016-12-05 Thread Tony Lindgren
> > You could use kexec to pass the fixed DT. > > > > A. > > IIRC it was broken for N900/omap3, no idea if somebody fixed it. FYI, at least in next-20161205 kexec works on omap3 for me. Regards, Tony

Re: [PATCH] checkpatch: Don't emit unified-diff error for rename-only patches

2016-12-05 Thread Joe Perches
On Tue, 2016-12-06 at 10:22 +1100, Andrew Jeffery wrote: > I generated a patch with `git format-patch` which checkpatch thinks is > invalid: > > $ ./scripts/checkpatch.pl > lpc-dt/0006-mfd-dt-Move-syscon-bindings-to-syscon-subdirectory.patch > WARNING: added, moved or deleted file(s), doe

Oops with CONFIG_VMAP_STCK and bond device + virtio-net

2016-12-05 Thread Laura Abbott
Hi, Fedora got a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1401612 In qemu with two virtio-net interfaces: $ ip l ... 5: ens14: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:e9:64:41 brd ff:ff:ff:ff:ff:ff 6: ens15: mtu 1500 qdisc noop

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-05 Thread Duc Dang
Hi Jon, On Mon, Dec 5, 2016 at 3:27 PM, Jon Masters wrote: > Duc, Aleksey, all, > > I have a question about this... > > On 12/05/2016 01:51 PM, Duc Dang wrote: >> On Mon, Dec 5, 2016 at 5:05 AM, Aleksey Makarov >> wrote: >>> Check the 'Register Bit Width' field of the ACPI Generic Address >>> St

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-05 Thread Brian Norris
Hi Rob, On Mon, Dec 05, 2016 at 05:42:48PM -0600, Rob Herring wrote: > On Wed, Nov 30, 2016 at 05:21:27PM -0800, Brian Norris wrote: > > From: Caesar Wang > > > > Add a compatible string and regulator property for Wacom W9103 > > digitizer. Its VDD supply may need to be enabled before using it.

[PATCH] sd: make ->no_write_same independent of reported ->max_ws_blocks

2016-12-05 Thread Nicolai Stange
Due to reported problems with Write Same on ATA devices, commit 0ce1b18c42a5 ("libata: Some drives failing on SCT Write Same") strived to report non-support for Write Same on non-zoned ATA devices. However, due to the following control flow in sd_config_write_same() this doesn't always take effect

Re: [PATCH v2 1/2] devicetree: i2c-hid: Add Wacom digitizer + regulator support

2016-12-05 Thread Rob Herring
On Thu, Dec 01, 2016 at 09:24:50AM -0800, Brian Norris wrote: > Hi Benjamin and Rob, > > On Thu, Dec 01, 2016 at 03:34:34PM +0100, Benjamin Tissoires wrote: > > On Nov 30 2016 or thereabouts, Brian Norris wrote: > > > From: Caesar Wang > > > > > > Add a compatible string and regulator property f

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-05 Thread Jon Masters
On 12/05/2016 06:52 PM, Duc Dang wrote: > Hi Jon, > > On Mon, Dec 5, 2016 at 3:27 PM, Jon Masters wrote: >> Duc, Aleksey, all, >> >> I have a question about this... >> >> On 12/05/2016 01:51 PM, Duc Dang wrote: >>> On Mon, Dec 5, 2016 at 5:05 AM, Aleksey Makarov >>> wrote: Check the 'Regist

Re: [PATCH v2.4 2/3] watchdog: loongson1: Add Loongson1 SoC watchdog driver

2016-12-05 Thread Guenter Roeck
On Mon, Dec 05, 2016 at 11:00:53PM +0800, Yang Ling wrote: > Add watchdog timer specific driver for Loongson1 SoC. > > Signed-off-by: Yang Ling > > --- > V2.4: > Set DEFAULT_HEARTBEAT to 0. > V2.3: > Set DEFAULT_HEARTBEAT value to ls1x_wdt->timeout. > V2.2: > Remove the wide character. >

Re: [PATCH] block: fix unintended fallthrough in generic_make_request_checks()

2016-12-05 Thread Nicolai Stange
Nicolai Stange writes: > --- > Applicable to next-20161202. > > Note that after this patch, I'm seeing a single > EXT4-fs (dm-1): Delayed block allocation failed for inode 2625094 at > logical offset 2032 with max blocks 2 with error 121 > with 121 == EREMOTEIO > > This is becau

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-05 Thread Jon Masters
On 12/05/2016 06:52 PM, Duc Dang wrote: > But I am still curious why setting subtype to '0' does not work on > your board. Are you using Mustang or m400? m400 with updated tables (that are correctly overriding not appending) provided via INITRD override. I am looking at why it's not working. [

Re: [PATCH 12/19] staging: iio: isl29028: fix comparison between signed and unsigned integers

2016-12-05 Thread Brian Masney
On Mon, Dec 05, 2016 at 11:53:39PM +0300, Dan Carpenter wrote: > On Sat, Dec 03, 2016 at 09:19:36PM -0500, Brian Masney wrote: > > Fixed warning found by make W=2 to reduce the amount of build noise: > > > > warning: comparison between signed and unsigned integer expressions > > [-Wsign-compare] >

linux-next: build warning after merge of the sound-asoc tree

2016-12-05 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/soc-topology.c: In function 'soc_tplg_dapm_widget_create': sound/soc/soc-topology.c:1566:36: warning: 'kcontrol_type' may be used uninitialized in this function [-Wmaybe-uni

linux-next: build failure after merge of the sound-asoc tree

2016-12-05 Thread Stephen Rothwell
ommit 4de429888c5b ("ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency for CQ0093VC") I have used the sound-asoc tree from next-20161205 for today. -- Cheers, Stephen Rothwell

Re: Linux 4.9-rc8

2016-12-05 Thread Andrew Donnellan
On 06/12/16 10:40, Robert LeBlanc wrote: I'm not seeing a tag at https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/ . Was it pushed? You should probably be looking at https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/, where the tag certainly was pushed. An

Re: [PATCH 07/12] usb: sunxi: Uses the resource-managed extcon API when registering extcon notifier

2016-12-05 Thread Chanwoo Choi
On 2016년 12월 06일 01:32, Bin Liu wrote: > On Wed, Nov 30, 2016 at 09:45:03AM +0100, Maxime Ripard wrote: >> On Wed, Nov 30, 2016 at 02:57:35PM +0900, Chanwoo Choi wrote: >>> This patch just uses the resource-managed extcon API when registering >>> the extcon notifier. >>> >>> Signed-off-by: Chanwoo

Re: [PATCH v4 2/9] doc: DT: venus: binding document for Qualcomm video driver

2016-12-05 Thread Rob Herring
On Thu, Dec 01, 2016 at 11:03:14AM +0200, Stanimir Varbanov wrote: > Add binding document for Venus video encoder/decoder driver > > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicet...@vger.kernel.org > Signed-off-by: Stanimir Varbanov > --- > Rob, I have removed vmem clocks, interrupts and reg

[PATCH] dt: bindings: zx: Add header for PM domains specifiers

2016-12-05 Thread Baoyou Xie
This patch adds header with values used for ZTE 2967 SoC's power domain driver. Signed-off-by: Baoyou Xie --- include/dt-bindings/arm/zte_pm_domains.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/arm/zte_pm_domains.h diff --git a/include

I want to present you as the owner of funds In my Bank.which will be Invested in your Country with your help, Kindly Get back to me with your Phone number

2016-12-05 Thread Minoru
information

Re: [PATCH 01/12] phy: rcar-gen3-usb2: Replace the deprecated extcon API

2016-12-05 Thread Chanwoo Choi
Hi Kishon, Could you review and pick the patch1/2 for phy driver? Best Regards, Chanwoo Choi On 2016년 11월 30일 14:57, Chanwoo Choi wrote: > This patch replaces the deprecated extcon API as following: > - extcon_set_cable_state_() -> extcon_set_state_sync() > > Signed-off-by: Chanwoo Choi > ---

Re: [PATCH v3 3/4] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-12-05 Thread Rob Herring
On Thu, Dec 01, 2016 at 10:05:59AM +0100, Neil Armstrong wrote: > Reviewed-by: Laurent Pinchart > Signed-off-by: Neil Armstrong > --- > .../bindings/display/amlogic,meson-vpu.txt | 112 > + > 1 file changed, 112 insertions(+) > create mode 100644 > Documentation/de

Re: [PATCH 03/12] power_supply: axp288_charger: Replace the extcon API

2016-12-05 Thread Chanwoo Choi
Hi Sebastian, Could you please review and pick the patch3/4 for power-supply driver? Best Regards, Chanwoo Choi On 2016년 11월 30일 14:57, Chanwoo Choi wrote: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > -

<    1   2   3   4   5   6   7   8   9   >