Re: [PATCHv2 0/4] perf tools: Force fixdep to be built first

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 02:18:47PM +0100, Jiri Olsa escreveu: > hi, > changing Makefile.perf to force building fixdep before everything > else, in order to avoid fixdep build races due to forgotten dependencies. > > And some build fixes that piled up around the fixdep change. > > Available also

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

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 05, 2016 at 03:41:54PM -0800, David Ahern escreveu: > 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

Re: [PATCH] drivers: net: cpsw-phy-sel: Clear RGMII_IDMODE on "rgmii" links

2016-12-06 Thread David Miller
From: Alexandru Gagniuc Date: Mon, 5 Dec 2016 17:33:53 -0800 > Support for setting the RGMII_IDMODE bit was added in commit: > "drivers: net: cpsw-phy-sel: add support to configure rgmii internal delay" > However, that commit did not add the symmetrical clearing of the bit

Re: [PATCH] virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address()

2016-12-06 Thread David Miller
From: Andy Lutomirski Date: Mon, 5 Dec 2016 18:10:58 -0800 > With CONFIG_VMAP_STACK=y, virtnet_set_mac_address() can be passed a > pointer to the stack and it will OOPS. Copy the address to the heap > to prevent the crash. > > Cc: Michael S. Tsirkin > Cc:

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Jason Gunthorpe
> > I'm not opposed to mapping /dev/nvmeX. However, the lookup is trivial > > to accomplish in sysfs through /sys/dev/char to find the sysfs path of the > > device-dax instance under the nvme device, or if you already have the nvme > > sysfs path the dax instance(s) will appear under the "dax"

Re: bio linked list corruption.

2016-12-06 Thread Linus Torvalds
On Tue, Dec 6, 2016 at 12:16 AM, Peter Zijlstra wrote: >> >> Of course, I'm really hoping that this shmem.c use is the _only_ such >> case. But I doubt it. > > $ git grep DECLARE_WAIT_QUEUE_HEAD_ONSTACK | wc -l > 28 Hmm. Most of them seem to be ok, because they use

[PATCH 2/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-06 Thread Cyrille Pitchen
This patch provides an alternative mean to support memory above 16MiB (128Mib) by replacing 3byte address op codes by their associated 4byte address versions. Using the dedicated 4byte address op codes doesn't change the internal state of the SPI NOR memory as opposed to using other means such as

[PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Cyrille Pitchen
This patch removes the WARN_ONCE() test in spi_nor_write(). This macro triggers the display of a warning message almost every time we use a UBI file-system because a write operation is performed at offset 64, which is in the middle of the SPI NOR memory page. This is a valid operation for ubifs.

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-06 Thread Pavel Machek
On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote: > On Thu, 1 Dec 2016 17:56:07 +0100 > Rafał Miłecki wrote: > > > On 12/01/2016 03:28 PM, Ralph Sennhauser wrote: > > > Below the oops with your debug patch applied. > > > > > > (...) > > > > > > root@wrt1900acs:/# cd

Re: [PATCH] drm/panel: simple: add 8bit-bps for Sharp lq123p1jx31

2016-12-06 Thread Thierry Reding
On Sat, Nov 19, 2016 at 10:27:16AM +0800, zain wang wrote: > Sharp lq123p1jx31 support 8bit bps. > > Signed-off-by: zain wang > --- > drivers/gpu/drm/panel/panel-simple.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. Thierry signature.asc Description: PGP

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-06 Thread Christoffer Dall
On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: > This patch corrects format specifier for printing 64 bit addresses. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > --- > arch/arm64/kernel/signal.c | 2 +- >

[PATCH] kernel/watchdog: Prevent false hardlockup on overloaded system

2016-12-06 Thread Don Zickus
On an overloaded system, it is possible that a change in the watchdog threshold can be delayed long enough to trigger a false positive. This can easily be achieved by having a cpu spinning indefinitely on a task, while another cpu updates watchdog threshold. What happens is while trying to park

Re: [PATCH V4 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-06 Thread David Miller
From: Salil Mehta Date: Tue, 6 Dec 2016 11:09:46 + > This patch introduces the RX checksum function to check the > status of the hardware calculated checksum and its error and > appropriately convey status to the upper stack in skb->ip_summed > field. > > In

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

2016-12-06 Thread David Miller
From: Vivien Didelot Date: Mon, 5 Dec 2016 17:30:24 -0500 > 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

[GIT] Networking

2016-12-06 Thread David Miller
1) When dcbnl_cee_fill() fails to be able to push a new netlink attribute, it return 0 instead of an error code. From Pan Bian. 2) Two suffix handling fixes to FIB trie code, from Alexander Duyck. 3) bnxt_hwrm_stat_ctx_alloc() goes through all the trouble of setting and maintaining a

[PATCH 2/7] arm: ftrace: Add call modify mechanism

2016-12-06 Thread Abel Vesa
Function ftrace_modify_call provides a way to replace ftrace_stub with the ftrace function. This helps the klp_ftrace_handler to be called via ftrace_ops_no_ops, which in turn will set the pc with the patched function's starting address. This is used for livepatching. Signed-off-by: Abel Vesa

Re: i8042 error at booting an Intel Cherry Trail-based device

2016-12-06 Thread Dmitry Torokhov
Hi Takashi, On Tue, Dec 06, 2016 at 11:36:09AM +0100, Takashi Iwai wrote: > On Tue, 06 Dec 2016 07:07:54 +0100, > Dmitry Torokhov wrote: > > > > On December 5, 2016 4:56:05 PM PST, Marcos Paulo de Souza > > wrote: > > >Hi Takashi, > > > > > >On Fri, Dec 02, 2016 at

Re: [PATCH v3] mach-omap2: fixing wrong strcat for Non-NULL terminated string

2016-12-06 Thread Tony Lindgren
* Maninder Singh [161204 21:32]: > Issue caught with static analysis tool: > "Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)" > > Use strlcpy _includes_ the NUL terminator, and strlcat() which ensures > that it won't overflow the buffer. > >

[PATCH V3] staging: dgnc: Fix lines longer than 80 characters

2016-12-06 Thread Fernando Apesteguia
For two cases (beginning and end of the patch) I opted to create small functions instead of breaking the the lines in a weird way. The other changes are simple ones: either by breaking the line when appropriate or by turning a comment into a multi-line one. Signed-off-by: Fernando Apesteguia

[PATCH 5/7] arm: ftrace: Add ARCH_SUPPORTS_FTRACE_OPS for ftrace with regs

2016-12-06 Thread Abel Vesa
ARCH_SUPPORTS_FTRACE_OPS is needed for livepatch if CONFIG_DYNAMIC_FTRACE_WITH_REGS is defined. Signed-off-by: Abel Vesa --- arch/arm/include/asm/ftrace.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h

[PATCH 6/7] arm: Add livepatch to build if CONFIG_LIVEPATCH

2016-12-06 Thread Abel Vesa
Necessary livepatch file added to makefile. Signed-off-by: Abel Vesa --- arch/arm/kernel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index ad325a8..9e70220 100644 --- a/arch/arm/kernel/Makefile +++

Re: [RFC v3 03/10] iommu: Add new reserved IOMMU attributes

2016-12-06 Thread Robin Murphy
On 15/11/16 13:09, Eric Auger wrote: > IOMMU_RESV_NOMAP is used to tag reserved IOVAs that are not > supposed to be IOMMU mapped. IOMMU_RESV_MSI tags IOVAs > corresponding to MSIs that need to be IOMMU mapped. > > IOMMU_RESV_MASK allows to check if the IOVA is reserved. > > Signed-off-by: Eric

Re: [PATCH 2/5] ARM: BCM5301X: Specify USB controllers in DT

2016-12-06 Thread Rafał Miłecki
On 6 December 2016 at 18:28, Ray Jui wrote: > On 12/6/2016 9:17 AM, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> There are 3 separated controllers, one per USB /standard/. With PHY >> drivers in place they can be simply supported with generic drivers.

Re: [PATCH v4 2/3] doc: dt: add cyclone-spi binding document

2016-12-06 Thread Rob Herring
On Thu, Dec 01, 2016 at 09:04:51AM -0800, Joshua Clayton wrote: > Describe a cyclonei-ps-spi devicetree entry, required features cyclonei? > > Signed-off-by: Joshua Clayton > --- > > .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 25 > ++ >

Re: [patch net v4] net: fec: fix compile with CONFIG_M5272

2016-12-06 Thread David Miller
From: Nikita Yushchenko Date: Tue, 6 Dec 2016 09:26:53 +0300 > Commit 80cca775cdc4 ("net: fec: cache statistics while device is down") > introduced unconditional statistics-related actions. > > However, when driver is compiled with CONFIG_M5272,

[PATCH v5] add macros for bitfield manipulation "à la" GENMASK

2016-12-06 Thread Sebastian Frias
Introduce GENVALUE(msb, lsb, value) macro to ease dealing with continuous bitfields, just as BIT(x) does for single bits. GENVALUE_ULL(msb, lsb, value) macro is also added. These are useful mostly for creating values to be packed together via OR operations, ex: u32 val = 0x; val

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-12-06 Thread Manuel Schölling
Hi Greg, On Di, 2016-12-06 at 11:02 +0100, Greg KH wrote: > On Sun, Dec 04, 2016 at 11:53:53AM +0100, Manuel Schölling wrote: > > Reviewed-by: Andrey Utkin > > Tested-by: Andrey Utkin > > Tested-by: Adam Borowski > > >

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Logan Gunthorpe
Hey, On 06/12/16 09:38 AM, Jason Gunthorpe wrote: >>> I'm not opposed to mapping /dev/nvmeX. However, the lookup is trivial >>> to accomplish in sysfs through /sys/dev/char to find the sysfs path of the >>> device-dax instance under the nvme device, or if you already have the nvme >>> sysfs path

Re: [PATCH 2/5] x86: remove idle_notifier

2016-12-06 Thread Pavel Machek
Hi! > From: Len Brown > > Upon removal of the i7300_idle driver, the idle_notifer is unused. Actually... do we want to keep this this one? There's "cpu is loaded" led trigger, which is implemented on arm but not on x86. I tried to patch process.c, but this would be easier

Re: [RESEND][PATCH v4] cgroup: Use CAP_SYS_RESOURCE to allow a process to migrate other tasks between cgroups

2016-12-06 Thread Tejun Heo
Hello, On Mon, Dec 05, 2016 at 04:36:51PM -0800, Andy Lutomirski wrote: > I really don't know. The cgroupfs interface is a bit unfortunate in > that it doesn't really express the constraints. To safely migrate a > task, ISTM you ought to have some form of privilege over the task > *and* some

[PATCH v4] add macros for bitfield manipulation ala GENMASK

2016-12-06 Thread Sebastian Frias
Introduce GENVALUE(msb, lsb, value) macro to ease dealing with continuous bitfields, just as BIT(x) does for single bits. GENVALUE_ULL(msb, lsb, value) macro is also added. These are useful mostly for creating values to be packed together via OR operations, ex: u32 val = 0x; val

Re: [PATCH v2 05/11] locking/ww_mutex: Add waiters in stamp order

2016-12-06 Thread Peter Zijlstra
On Thu, Dec 01, 2016 at 03:06:48PM +0100, Nicolai Hähnle wrote: > @@ -693,8 +748,12 @@ __mutex_lock_common(struct mutex *lock, long state, > unsigned int subclass, >* mutex_unlock() handing the lock off to us, do a trylock >* before testing the error conditions to

Re: [PATCH 1/4] serial: core: Add LED trigger support

2016-12-06 Thread One Thousand Gnomes
> > If we have different UART drivers, only one of them provides ttyS*, no? > > Other drivers will have to use another namespace. > > I remember this was a problem a couple of years ago last I tried, with > the 8250 driver being actually preventing other drivers from using > ttyS*, but if you

Re: [PATCHv4 08/10] mm/kasan: Switch to using __pa_symbol and lm_alias

2016-12-06 Thread Mark Rutland
On Thu, Dec 01, 2016 at 02:36:05PM +0300, Andrey Ryabinin wrote: > On 11/29/2016 09:55 PM, Laura Abbott wrote: > > __pa_symbol is the correct API to find the physical address of symbols. > > Switch to it to allow for debugging APIs to work correctly. > > But __pa() is correct for symbols. I see

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

2016-12-06 Thread Peter Rosin
On 2016-12-06 00:26, Rob Herring wrote: > 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

Re: Enabling peer to peer device transactions for PCIe devices

2016-12-06 Thread Jason Gunthorpe
On Tue, Dec 06, 2016 at 09:51:15AM -0700, Logan Gunthorpe wrote: > Hey, > > On 06/12/16 09:38 AM, Jason Gunthorpe wrote: > >>> I'm not opposed to mapping /dev/nvmeX. However, the lookup is trivial > >>> to accomplish in sysfs through /sys/dev/char to find the sysfs path of the > >>> device-dax

Re: [PATCH] ipmi: bt-bmc: Use a regmap for register access

2016-12-06 Thread Cédric Le Goater
[ this is a resend bc of some mailing list issues] On 12/06/2016 03:57 AM, Andrew Jeffery wrote: > The registers for the bt-bmc device live under the Aspeed LPC > controller. Devicetree bindings have recently been introduced for the > LPC controller where the "host" portion of the LPC register

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-06 Thread Rafał Miłecki
On 6 December 2016 at 18:26, Pavel Machek wrote: > On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote: >> On Thu, 1 Dec 2016 17:56:07 +0100 >> Rafał Miłecki wrote: >> >> > On 12/01/2016 03:28 PM, Ralph Sennhauser wrote: >> > > Below the oops with your debug patch

Re: [PATCH 2/5] ARM: BCM5301X: Specify USB controllers in DT

2016-12-06 Thread Ray Jui
On 12/6/2016 9:17 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > There are 3 separated controllers, one per USB /standard/. With PHY > drivers in place they can be simply supported with generic drivers. > > Signed-off-by: Rafał Miłecki > --- >

Re: [PATCH] iommu/intel-iommu: fix pasid table size encoding

2016-12-06 Thread Jacob Pan
On Tue, 6 Dec 2016 17:31:11 +0100 Joerg Roedel wrote: > Hi Jacob, > > On Thu, Dec 01, 2016 at 01:50:26PM -0800, Jacob Pan wrote: > > diff --git a/drivers/iommu/intel-iommu.c > > b/drivers/iommu/intel-iommu.c index 27596e6..f112aa9 100644 > > --- a/drivers/iommu/intel-iommu.c >

[PATCH v7 4/4] ata: set ncq_prio_enabled iff device has support

2016-12-06 Thread Adam Manzanares
From: Adam Manzanares We previously had a check to see if the device has support for prioritized ncq commands and a check to see if a device flag is set, through a sysfs variable, in order to send a prioritized command. This patch only allows the sysfs variable to be

Re: [PATCHv4 05/10] arm64: Use __pa_symbol for kernel symbols

2016-12-06 Thread Mark Rutland
On Thu, Dec 01, 2016 at 12:04:27PM +, James Morse wrote: > On 29/11/16 18:55, Laura Abbott wrote: > > diff --git a/arch/arm64/kernel/hibernate.c b/arch/arm64/kernel/hibernate.c > > index d55a7b0..4f0c77d 100644 > > --- a/arch/arm64/kernel/hibernate.c > > +++ b/arch/arm64/kernel/hibernate.c > >

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

2016-12-06 Thread Doug Anderson
Hi, On Tue, Dec 6, 2016 at 6:56 AM, Rob Herring wrote: > On Tue, Dec 6, 2016 at 2:48 AM, Benjamin Tissoires > wrote: >> On Dec 05 2016 or thereabouts, Rob Herring wrote: >>> On Thu, Dec 01, 2016 at 09:24:50AM -0800, Brian Norris wrote: >>> > Hi

Re: [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-12-06 Thread Stephen Hemminger
On Tue, 6 Dec 2016 00:37:08 + Long Li wrote: > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Monday, December 5, 2016 8:53 AM > > To: Long Li > > Cc: KY Srinivasan ;

Re: Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-06 Thread David Miller
From: Lino Sanfilippo Date: Mon, 5 Dec 2016 23:07:15 +0100 > 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

Re: [PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-06 Thread Doug Anderson
Hi, On Tue, Dec 6, 2016 at 12:12 AM, David.Wu wrote: > Hi Heiko, > > 在 2016/12/5 18:54, Heiko Stuebner 写道: >> >> Hi David, >> >> Am Montag, 5. Dezember 2016, 16:02:59 CET schrieb David Wu: >>> >>> During suspend there may still be some i2c access happening. >>> And if we

Re: [PATCH] iommu/intel-iommu: fix pasid table size encoding

2016-12-06 Thread Joerg Roedel
Hi Jacob, On Thu, Dec 01, 2016 at 01:50:26PM -0800, Jacob Pan wrote: > diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c > index 27596e6..f112aa9 100644 > --- a/drivers/iommu/intel-iommu.c > +++ b/drivers/iommu/intel-iommu.c > @@ -5173,6 +5173,29 @@ static void

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-06 Thread Linus Torvalds
On Tue, Dec 6, 2016 at 5:44 AM, Adam Borowski wrote: > On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote: >> Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to >> zero") >> I'm running into issue with kernel built with CONFIG_MODVERSIONS=y

Re: Gigabit ethernet driver for Alacritechs SLIC devices (v4)

2016-12-06 Thread Greg KH
On Tue, Dec 06, 2016 at 11:30:04AM -0500, David Miller wrote: > From: Lino Sanfilippo > Date: Mon, 5 Dec 2016 23:07:15 +0100 > > > this is the forth version of the slicoss gigabit ethernet driver (which is a > > rework of the driver from Alacritech which can currently be

[PATCH] locking/pvqspinlock: Wait early if vcpu is preempted

2016-12-06 Thread Pan Xinhui
If prev node is not in runnig state or its cpu is preempted, we need wait early in pv_wait_node. After commit "sched/core: Introduce the vcpu_is_preempted(cpu) interface" kernel has knowledge of one vcpu is running or not. So lets use it. Signed-off-by: Pan Xinhui

Re: [PATCHv4 05/10] arm64: Use __pa_symbol for kernel symbols

2016-12-06 Thread Mark Rutland
Hi, As a heads-up, it looks like this got mangled somewhere. In the hunk at arch/arm64/mm/kasan_init.c:68, 'do' in the context became 'edo'. Deleting the 'e' makes it apply. I think this is almost there; other than James's hibernate bug I only see one real issue, and everything else is a minor

[PATCH 3/7] arm: module: Add apply_relocate_add

2016-12-06 Thread Abel Vesa
It was only added to fix compiler error. It is not implemented yet. Signed-off-by: Abel Vesa --- arch/arm/kernel/module.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 4f14b5c..bf94922 100644 ---

[PATCH 4/7] arm: Add ftrace with regs support

2016-12-06 Thread Abel Vesa
This adds __ftrace_regs_caller which, unlike __ftrace_caller, adds register saving/restoring and livepatch handling if the pc register gets modified by klp_ftrace_handler. Signed-off-by: Abel Vesa --- arch/arm/kernel/entry-ftrace.S | 49

[PATCH v7 3/4] ata: ATA Command Priority Disabled By Default

2016-12-06 Thread Adam Manzanares
From: Adam Manzanares Add a sysfs entry to turn on priority information being passed to a ATA device. By default this feature is turned off. This patch depends on ata: Enabling ATA Command Priorities tj: Renamed ncq_prio_on to ncq_prio_enable and removed trivial

Re: [PATCH 0/2] Hibernate fixes for 'Fix memmap to be initialized for the entire section'

2016-12-06 Thread Will Deacon
On Mon, Dec 05, 2016 at 03:42:14PM +, Ard Biesheuvel wrote: > On 2 December 2016 at 14:49, James Morse wrote: > > Patch "arm64: mm: Fix memmap to be initialized for the entire section" > > changes pfn_valid() in a way that breaks hibernate. These patches fix > >

[RFC] PCI: Change default MPS behavior

2016-12-06 Thread Jon Mason
Not all systems have a BIOS or firmware to preconfigure the PCIE MPS prior to Linux booting. Without any firmware to pre-setup the MPS, the PCIE_BUS_DEFAULT will simply set everything to 0 (128b). This behavior causes these systems to have non-optimal MPS values. To get around this issue,

Re: [PATCH 0/7] arm: Add livepatch support

2016-12-06 Thread zhouchengming
On 2016/12/7 1:06, Abel Vesa wrote: This is just an idea I've been trying out for a while now. Just in case somebody wants to play with it, this applies to linux-arm/for-next. Also please note that this was only tested in qemu, but I will do some testing on some real hardware in the following

[PATCH] device-dax: fix private mapping restriction, permit read-only

2016-12-06 Thread Dan Williams
Hugh notes in response to commit 4cb19355ea19 "device-dax: fail all private mapping attempts": "I think that is more restrictive than you intended: haven't tried, but I believe it rejects a PROT_READ, MAP_SHARED, O_RDONLY fd mmap, leaving no way to mmap /dev/dax without write permission to

linux-next: build failure after merge of the tip tree

2016-12-06 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this: LINK /home/sfr/next/perf/fixdep /bin/sh: 1: /home/sfr/next/perf//fixdep: Permission denied tools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failed

Re: [PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2016-12-06 Thread Chen-Yu Tsai
On Wed, Dec 7, 2016 at 1:29 AM, Maxime Ripard wrote: > On Thu, Nov 24, 2016 at 07:22:31PM +0800, Chen-Yu Tsai wrote: >> The panels shipped with Allwinner devices are very "generic", i.e. >> they do not have model numbers or reliable sources of information >> for

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:35 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 18:46:04 +0800 > Cao jin wrote: > >> On 12/06/2016 12:59 PM, Alex Williamson wrote: >>> On Tue, 6 Dec 2016 05:55:28 +0200 >>> "Michael S. Tsirkin" wrote: >>> On Mon, Dec 05,

Re: [PATCH v3 0/7] irda: w83977af_ir: Neatening

2016-12-06 Thread David Miller
From: Joe Perches Date: Tue, 6 Dec 2016 10:15:59 -0800 > Originally on top of Arnd's overly long udelay patches because I > noticed a misindented block. That's now already fixed along with some > other whitespace problems. These patches are the remainder style > issues from

Re: [PATCH] vfio/pci: Support error recovery

2016-12-06 Thread Cao jin
On 12/06/2016 11:25 PM, Alex Williamson wrote: > On Tue, 6 Dec 2016 14:11:03 +0800 > Cao jin wrote: > >> On 12/06/2016 12:17 AM, Alex Williamson wrote: >>> On Mon, 5 Dec 2016 13:52:03 +0800 >>> Cao jin wrote: >>> On 12/04/2016 11:30

[net-next][PATCH v2 12/18] RDS: IB: Add vector spreading for cqs

2016-12-06 Thread Santosh Shilimkar
Based on available device vectors, allocate cqs accordingly to get better spread of completion vectors which helps performace great deal.. Signed-off-by: Santosh Shilimkar --- net/rds/ib.c| 11 +++ net/rds/ib.h| 5 + net/rds/ib_cm.c | 40

[net-next][PATCH v2 03/18] RDS: IB: include faddr in connection log

2016-12-06 Thread Santosh Shilimkar
Also use pr_* for it. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 19 +-- net/rds/ib_recv.c | 4 ++-- net/rds/ib_send.c | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index

[net-next][PATCH v2 06/18] RDS: RDMA: start rdma listening after init

2016-12-06 Thread Santosh Shilimkar
From: Qing Huang This prevents RDS from handling incoming rdma packets before RDS completes initializing its recv/send components. Signed-off-by: Qing Huang Signed-off-by: Santosh Shilimkar ---

linux-next: manual merge of the staging tree with the net-next tree

2016-12-06 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/slicoss/slicoss.c between commit: a52ad514fdf3 ("net: deprecate eth_change_mtu, remove usage") from the net-next tree and commit: 0af72df267f2 ("staging: slicoss: remove the staging driver") from

[net-next][PATCH v2 11/18] RDS: IB: add few useful cache stasts

2016-12-06 Thread Santosh Shilimkar
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 7 +++ net/rds/ib_recv.c | 6 ++ net/rds/ib_stats.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/net/rds/ib.h

[net-next][PATCH v2 01/18] RDS: log the address on bind failure

2016-12-06 Thread Santosh Shilimkar
It's useful to know the IP address when RDS fails to bind a connection. Thus, adding it to the error message. Orabug: 21894138 Reviewed-by: Wei Lin Guay Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 4 ++-- 1 file changed, 2

[net-next][PATCH v2 04/18] RDS: IB: make the transport retry count smallest

2016-12-06 Thread Santosh Shilimkar
Transport retry is not much useful since it indicate packet loss in fabric so its better to failover fast rather than longer retry. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.h

[net-next][PATCH v2 15/18] RDS: add stat for socket recv memory usage

2016-12-06 Thread Santosh Shilimkar
From: Venkat Venkatsubra Tracks the receive side memory added to scokets and removed from sockets. Signed-off-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/rds.h | 3 +++

[net-next][PATCH v2 09/18] RDS: RDMA: silence the use_once mr log flood

2016-12-06 Thread Santosh Shilimkar
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 3 ++- 1 file

[net-next][PATCH v2 17/18] RDS: add receive message trace used by application

2016-12-06 Thread Santosh Shilimkar
Socket option to tap receive path latency in various stages in nano seconds. It can be enabled on selective sockets using using SO_RDS_MSG_RXPATH_LATENCY socket option. RDS will return the data to application with RDS_CMSG_RXPATH_LATENCY in defined format. Scope is left to add more trace points

[net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-06 Thread Santosh Shilimkar
rds-tools already support it. Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 1 + net/rds/ib.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 3833113..410ae3c 100644 ---

[net-next][PATCH v2 14/18] RDS: IB: fix panic due to handlers running post teardown

2016-12-06 Thread Santosh Shilimkar
Shutdown code reaping loop takes care of emptying the CQ's before they being destroyed. And once tasklets are killed, the hanlders are not expected to run. But because of core tasklet code issues, tasklet handler could still run even after tasklet_kill, RDS IB shutdown code already reaps the CQs

[net-next][PATCH v2 16/18] RDS: make message size limit compliant with spec

2016-12-06 Thread Santosh Shilimkar
From: Avinash Repaka RDS support max message size as 1M but the code doesn't check this in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size and its enforced irrespective of underlying transport. Signed-off-by: Avinash Repaka

[net-next][PATCH v2 13/18] RDS: RDMA: Fix the composite message user notification

2016-12-06 Thread Santosh Shilimkar
When application sends an RDS RDMA composite message consist of RDMA transfer to be followed up by non RDMA payload, it expect to be notified *only* when the full message gets delivered. RDS RDMA notification doesn't behave this way though. Thanks to Venkat for debug and root casuing the issue

[PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64

2016-12-06 Thread Laura Abbott
Hi, This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly contains minor fixups including adding a few extra headers around and splitting things out into a few more sub-patches. With a few more acks I think this should be ready to go. More testing is always appreciated

[PATCHv5 01/11] lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL

2016-12-06 Thread Laura Abbott
DEBUG_VIRTUAL currently depends on DEBUG_KERNEL && X86. arm64 is getting the same support. Rather than add a list of architectures, switch this to ARCH_HAS_DEBUG_VIRTUAL and let architectures select it as appropriate. Acked-by: Ingo Molnar Reviewed-by: Mark Rutland

[PATCHv5 02/11] mm/cma: Cleanup highmem check

2016-12-06 Thread Laura Abbott
6b101e2a3ce4 ("mm/CMA: fix boot regression due to physical address of high_memory") added checks to use __pa_nodebug on x86 since CONFIG_DEBUG_VIRTUAL complains about high_memory not being linearlly mapped. arm64 is now getting support for CONFIG_DEBUG_VIRTUAL as well. Rather than add an

[PATCH 07/16] drivers/fsi: Add empty master scan

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

[PATCH 14/16] drivers/fsi: Add master unscan

2016-12-06 Thread Chris Bostic
From: Chris Bostic Allow a master to undo a previous scan. Should a master scan a bus twice it will need to ensure it doesn't double register any previously detected device. Signed-off-by: Chris Bostic --- drivers/fsi/fsi-core.c | 36

[PATCH 10/16] drivers/fsi: scan slaves & register devices

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

[PATCH 06/16] drivers/fsi: Add slave definition

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

[PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings

2016-12-06 Thread Chris Bostic
From: Chris Bostic Add fsi master gpio device tree binding documentation Signed-off-by: Chris Bostic --- .../devicetree/bindings/fsi/fsi-master-gpio.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

[PATCH 03/16] drivers/fsi: add driver to device matches

2016-12-06 Thread Chris Bostic
From: Jeremy Kerr Driver bind to devices based on the engine types & (optional) versions. Signed-off-by: Jeremy Kerr Signed-off-by: Chris Bostic --- drivers/fsi/fsi-core.c | 21 + include/linux/fsi.h| 21

[PATCH 16/16] drivers/fsi: Add GPIO based FSI master

2016-12-06 Thread Chris Bostic
From: Chris Bostic Implement a FSI master using GPIO. Will generate FSI protocol for read and write commands to particular addresses. Sends master command and waits for and decodes a slave response. Includes Jeremy Kerr's original GPIO master base commit. Signed-off-by:

[PATCH 00/16] FSI device driver introduction

2016-12-06 Thread Chris Bostic
From: Chris Bostic Introduction of the IBM 'Flexible Support Interface' (FSI) bus device driver. FSI is a high fan out serial bus consisting of a clock and a serial data line capable of running at speeds up to 166 MHz. This set provides the basic framework to add FSI

[PATCH 13/16] drivers/fsi: Set slave SMODE to init communication

2016-12-06 Thread Chris Bostic
From: Chris Bostic Set CFAM to appropriate ID so that the controlling master can manage link memory ranges. Add slave engine register definitions. Signed-off-by: Chris Bostic --- drivers/fsi/fsi-core.c | 90

[PATCH 01/16] drivers/fsi: Add empty fsi bus definitions

2016-12-06 Thread Chris Bostic
From: Jeremy Kerr This change adds the initial (empty) fsi bus definition, and introduces drivers/fsi/. Signed-off-by: Jeremy Kerr Signed-off-by: Chris Bostic --- drivers/Kconfig| 2 ++ drivers/Makefile | 1 +

Re: [PATCH 1/1] mtd: spi-nor: improve macronix_quad_enable()

2016-12-06 Thread Marek Vasut
On 12/07/2016 12:05 AM, Cyrille Pitchen wrote: > Le 06/12/2016 à 20:01, Marek Vasut a écrit : >> On 12/06/2016 05:01 PM, Cyrille Pitchen wrote: >>> The patch checks whether the Quad Enable bit is already set in the Status >>> Register. If so, the function exits immediately with a successful return

[PATCH v2] drm/bridge: analogix: Don't return -EINVAL when panel not support PSR in PSR functions

2016-12-06 Thread zain wang
We will ignored PSR setting if panel not support it. So, in this case, we should return from analogix_dp_enable/disable_psr() without any error code. Let's retrun 0 instead of -EINVAL when panel not support PSR in analogix_dp_enable/disable_psr(). Signed-off-by: zain wang

Re: [RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-06 Thread Ayaka
從我的 iPad 傳送 > Thierry Reding 於 2016年12月6日 下午11:46 寫道: > >> On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: >> The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be >> supported by the simple panel driver. >> >> Signed-off-by: Randy Li

[PATCH 1/2] f2fs: detect wrong layout

2016-12-06 Thread Jaegeuk Kim
Previous mkfs.f2fs allows small partition inappropriately, so f2fs should detect that as well. Refer this in f2fs-tools. mkfs.f2fs: detect small partition by overprovision ratio and # of segments Reported-by: Eric Biggers Signed-off-by: Jaegeuk Kim ---

[PATCH 2/2] f2fs: free meta pages if sanity check for ckpt is failed

2016-12-06 Thread Jaegeuk Kim
This fixes missing freeing meta pages in the error case. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 35601b0d077f..698b13ae261c 100644 ---

Re: [PATCH] clk: uniphier: Fix build with gcc-4.4.

2016-12-06 Thread Masahiro Yamada
Hi Stephen, 2016-12-07 8:16 GMT+09:00 Stephen Boyd : > On 12/03, Masahiro Yamada wrote: >> Hi Vinson, >> >> 2016-12-03 9:37 GMT+09:00 Vinson Lee : >> > gcc-4.4 has issues with anonymous unions in initializers. >> > >> > CC

Re: [PATCH 4/5] acpi, nfit: fix bus vs dimm confusion in xlat_status

2016-12-06 Thread Dan Williams
On Tue, Dec 6, 2016 at 4:39 PM, Dan Williams wrote: > Given dimms and bus commands share the same command number space we need > to be careful that we are translating status in the correct context. > Otherwise we can, for example, fail an ND_CMD_GET_CONFIG_SIZE command >

Re: [PATCH v2] drm/bridge: analogix: Don't return -EINVAL when panel not support PSR in PSR functions

2016-12-06 Thread Archit Taneja
On 12/07/2016 06:27 AM, zain wang wrote: We will ignored PSR setting if panel not support it. So, in this case, we should return from analogix_dp_enable/disable_psr() without any error code. Let's retrun 0 instead of -EINVAL when panel not support PSR in analogix_dp_enable/disable_psr().

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

2016-12-06 Thread Chanwoo Choi
Hi Sebastian, On 2016년 12월 07일 12:05, Sebastian Reichel wrote: > Hi Chanwoo, > > On Tue, Dec 06, 2016 at 09:26:14AM +0900, Chanwoo Choi wrote: >> Could you please review and pick the patch3/4 for power-supply driver? > > Patches look fine. As I expect the merge window to open next week I >

[PATCH net-next 0/2] Initial driver for Synopsys DWC XLGMAC

2016-12-06 Thread Jie Deng
This series provides the support for 25/40/50/100 GbE devices using Synopsys DWC Enterprise Ethernet (XLGMAC). The first patch adds support for Synopsys XLGMII. The second patch provides the initial driver for Synopsys XLGMAC The driver has three layers by refactoring AMD XGBE. dwc-eth-xxx.x

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