Re: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-17 Thread Jason Gunthorpe
On Tue, Jan 17, 2017 at 10:33:16PM +, Bart Van Assche wrote: > again and also the dma_device pointer from struct ib_device. Since the > dev.dma_ops pointer in struct ib_device is not yet used dev.dma_ops can be > used > instead of the dma_device pointer. okay great Jason

Re: [PATCH] LSM: Add /sys/kernel/security/lsm

2017-01-17 Thread John Johansen
On 01/17/2017 03:42 PM, Casey Schaufler wrote: > Subject: [PATCH] LSM: Add /sys/kernel/security/lsm > > I am still tired of having to find indirect ways to determine > what security modules are active on a system. I have added > /sys/kernel/security/lsm, which contains a comma separated > list of

[PATCH] net: ethernet: ti: davinci_cpdma: correct check on NULL in set rate

2017-01-17 Thread Ivan Khoronzhuk
Check "ch" on NULL first, then get ctlr. Signed-off-by: Ivan Khoronzhuk --- Based on net-next/master drivers/net/ethernet/ti/davinci_cpdma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c

Re: [PATCH v2 14/14] ARM: dts: da850-lcdk: enable the SATA node

2017-01-17 Thread Kevin Hilman
Bartosz Golaszewski writes: > Enable the SATA node for da850-lcdk. We omit the pinctrl property on > purpose - the muxed SATA pins are not hooked up to anything > SATA-related on the lcdk. > > The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of > 15

Re: [PATCH] platform: x86: Support Turbo Boost Max for non HWP systems

2017-01-17 Thread Srinivas Pandruvada
On Tue, 2017-01-17 at 16:32 -0800, Darren Hart wrote: > On Wed, Jan 11, 2017 at 12:36:34PM -0800, Srinivas Pandruvada wrote: > > > > On platforms supporting Intel Turbo Boost Max Technology 3.0, the > > maximum turbo frequencies (turbo ratio) of some cores in a CPU > > package > > may be higher

[PATCH] staging: fbtft: replace decimal with 4-digit octal permissions

2017-01-17 Thread Stefano Manni
Following error detected by checkpatch.pl: ERROR: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Stefano Manni --- drivers/staging/fbtft/flexfb.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCHv2 0/3] OF phandle nexus support + GPIO nexus

2017-01-17 Thread Stephen Boyd
This is one small chunk of work related to DT overlays for expansion boards. It would be good to have a way to expose #-cells types of providers through a connector in a standard way. So we introduce a way to make "nexus" nodes for these types of properties to remap the consumer number space to

Re: [PATCH] platform: x86: Support Turbo Boost Max for non HWP systems

2017-01-17 Thread Darren Hart
On Wed, Jan 11, 2017 at 12:36:34PM -0800, Srinivas Pandruvada wrote: > On platforms supporting Intel Turbo Boost Max Technology 3.0, the > maximum turbo frequencies (turbo ratio) of some cores in a CPU package > may be higher than the other cores in the same package. In that case, > better

[PATCH v2 3/3] gpio: Support gpio nexus dt bindings

2017-01-17 Thread Stephen Boyd
Platforms like 96boards have a standardized connector/expansion slot that exposes signals like GPIOs to expansion boards in an SoC agnostic way. We'd like the DT overlays for the expansion boards to be written once without knowledge of the SoC on the other side of the connector. This avoids the

[PATCH v2 2/3] of: unittest: Add phandle remapping test

2017-01-17 Thread Stephen Boyd
Test the functionality of of_parse_phandle_with_args_map(). Cc: Pantelis Antoniou Cc: Linus Walleij Cc: Mark Brown Signed-off-by: Stephen Boyd --- drivers/of/unittest-data/testcases.dts

Re: [PATCH 3/8] x86/intel_rdt/mba: Improvements to handle more RDT resources like MBA

2017-01-17 Thread Shivappa Vikas
On Mon, 16 Jan 2017, Thomas Gleixner wrote: On Tue, 10 Jan 2017, Vikas Shivappa wrote: This patch does some changes to get ready to handle more resources like Memory b/w allocation(MBA). -Update the control registers only when user changes the controls(cbm for Cache resources and Mem b/w

Re: [PATCH 5/8] x86/intel_rct/mba: Add MBA structures and initialize MBA

2017-01-17 Thread Shivappa Vikas
On Mon, 16 Jan 2017, Thomas Gleixner wrote: On Tue, 10 Jan 2017, Vikas Shivappa wrote: +static void rdt_get_mem_config(struct rdt_resource *r) +{ + union cpuid_0x10_3_eax eax; + union cpuid_0x10_x_edx edx; + u32 ebx, ecx; + + cpuid_count(0x0010, 3, , , , ); +

[PATCH] ARM: dts: sun6i: sina31s: Enable USB OTG controller in peripheral mode

2017-01-17 Thread Chen-Yu Tsai
While the SinA31s does have a proper 5-pin mini USB OTG port, the ID pin does not seem to work. The pin used in the schematics is always low, regardless of the attached OTG cable or SoC internal pin bias settings. The v1.5 board is missing bias resistors shown in the schematics for earlier

Re: [PATCH 6/8] x86/intel_rdt/mba: Add info directory files for MBA

2017-01-17 Thread Shivappa Vikas
On Mon, 16 Jan 2017, Thomas Gleixner wrote: On Tue, 10 Jan 2017, Vikas Shivappa wrote: Add the files in info directory for MBA. The files in the info directory are as follows : - num_closids: max number of closids for MBA which represents the max class of service user can configure. -

[PATCH 02/10] slub: separate out sysfs_slab_release() from sysfs_slab_remove()

2017-01-17 Thread Tejun Heo
Separate out slub sysfs removal and release, and call the former earlier from __kmem_cache_shutdown(). There's no reason to defer sysfs removal through RCU and this will later allow us to remove sysfs files way earlier during memory cgroup offline instead of release. Signed-off-by: Tejun Heo

Re: [PATCH RFC] net: dsa: remove unnecessary phy.h include

2017-01-17 Thread Vivien Didelot
Hi Russell, Russell King - ARM Linux writes: > Including phy.h and phy_fixed.h into net/dsa.h causes phy*.h to be an > unnecessary dependency for quite a large amount of the kernel. There's > very little which actually requires definitions from phy.h in net/dsa.h > - the

Re: [GIT PULL] bcm2835-dt-next-2017-01-17

2017-01-17 Thread Florian Fainelli
On 01/17/2017 02:10 AM, Eric Anholt wrote: > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-dt-next-2017-01-17 > > for you to fetch changes up to 38742ca2b8b21bfc2a2cc24278b58485ff781644: > > ARM:

Re: [PATCH] staging: fbtft: replace decimal with 4-digit octal permissions

2017-01-17 Thread Andy Shevchenko
On Wed, Jan 18, 2017 at 1:38 AM, Stefano Manni wrote: > Following error detected by checkpatch.pl: > > ERROR: Use 4 digit octal (0777) not decimal permissions > > Signed-off-by: Stefano Manni > --- > drivers/staging/fbtft/flexfb.c | 18

Re: [PATCH 3/4] net: ethernet: ti: cpsw: don't duplicate ndev_running

2017-01-17 Thread Ivan Khoronzhuk
On Thu, Jan 12, 2017 at 11:34:47AM -0600, Grygorii Strashko wrote: Hi Grygorii, Sorry for late reply. > > > On 01/10/2017 07:56 PM, Ivan Khoronzhuk wrote: > > On Mon, Jan 09, 2017 at 11:25:38AM -0600, Grygorii Strashko wrote: > >> > >> > >> On 01/08/2017 10:41 AM, Ivan Khoronzhuk wrote: > >>>

Re: [PATCH 0/3] Fix DECON_UPDATE for TV

2017-01-17 Thread Inki Dae
Hi Andrzej, 2017년 01월 17일 23:15에 Andrzej Hajda 이(가) 쓴 글: > Hi Inki, > > This is my final fight with DECON_UPDATE issues (I hope). My two previous > patches > fixed problems on panel path, this patchset fixes also TV path. > The root cause of all evil was in incorrect DECON_CMU programming. > >

[PATCH net-next 2/2] net: dsa: use cpu_switch instead of ds[0]

2017-01-17 Thread Vivien Didelot
Now that the DSA Ethernet switches are true Linux devices, the CPU switch is not necessarily the first one. If its address is higher than the second switch on the same MDIO bus, its index will be 1, not 0. Avoid any confusion by using dst->cpu_switch instead of dst->ds[0]. Signed-off-by: Vivien

[PATCH net-next 1/2] net: dsa: store CPU switch structure in the tree

2017-01-17 Thread Vivien Didelot
Store a dsa_switch pointer to the CPU switch in the tree instead of only its index. This avoids the need to initialize it to -1. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 8 net/dsa/dsa.c | 7 +++ net/dsa/dsa2.c| 5 ++--- 3

RE: [virtio-dev] Re: [PATCH v6 kernel 2/5] virtio-balloon: define new feature bit and head struct

2017-01-17 Thread Li, Liang Z
> Sent: Wednesday, January 18, 2017 3:11 AM > To: Li, Liang Z > Cc: k...@vger.kernel.org; virtio-...@lists.oasis-open.org; qemu- > de...@nongnu.org; linux...@kvack.org; linux-kernel@vger.kernel.org; > virtualizat...@lists.linux-foundation.org; amit.s...@redhat.com; Hansen, > Dave;

Re: [PATCH 4/4] mfd: cros_ec: add RTC as mfd subdevice

2017-01-17 Thread Alexandre Belloni
Lee, I don't think that one has your ack, is it ok for me to take it? On 11/01/2017 at 17:52:21 +0100, Enric Balletbo i Serra wrote : > From: Stephen Barber > > If the EC supports RTC host commands, expose an RTC device. > > Signed-off-by: Stephen Barber

[PATCH 1/2] [media] exynos-gsc: Fix unbalanced pm_runtime_enable() error

2017-01-17 Thread Javier Martinez Canillas
Commit a006c04e6218 ("[media] exynos-gsc: Fixup clock management at ->remove()") changed the driver's .remove function logic to fist do a pm_runtime_get_sync() to make sure the device is powered before attempting to gate the gsc clock. But the commit also removed a pm_runtime_disable() call that

Re: random: /dev/random often returns short reads

2017-01-17 Thread H. Peter Anvin
On 01/17/17 15:41, Theodore Ts'o wrote: > On Tue, Jan 17, 2017 at 02:29:30PM -0800, H. Peter Anvin wrote: >> If there is a real need to hack around this, then I would instead >> suggest modifying random_read() to block rather than return if the user >> requests below a certain value, O_NONBLOCK is

[PATCH] drivers: staging: rtl8188eu: include: statements using pointers enclosed in parantheses

2017-01-17 Thread Kartikey Singh
Macros with complex values enclosed in parentheses Signed-off-by: Kartikey Singh --- drivers/staging/rtl8188eu/include/wifi.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h

Re: [PATCH 2/3] Input: add support for the STMicroelectronics FingerTip touchscreen

2017-01-17 Thread Andi Shyti
Hi Dmitry, thanks for looking into the driver and the review! I agree with almost everything, some comments below. > > + /* optional tuning */ > > + err = stmfts_write_and_wait(sdata, STMFTS_MS_CX_TUNING); > > + if (err) > > + dev_warn(>client->dev, "failed to perform mutual auto

Re: [PATCH 3/4] rtc: cros-ec: add cros-ec-rtc driver.

2017-01-17 Thread Alexandre Belloni
Hi, This seems mostly good to me. On 11/01/2017 at 17:52:20 +0100, Enric Balletbo i Serra wrote : > From: Stephen Barber > > On platforms with a Chrome OS EC, the EC can function as a simple RTC. > Add a basic driver with this functionality. > > Signed-off-by: Stephen

Re: [patch] block: add blktrace C events for bio-based drivers

2017-01-17 Thread Jeff Moyer
Jens Axboe writes: > On 01/17/2017 01:57 PM, Jeff Moyer wrote: >> Only a few bio-based drivers actually generate blktrace completion >> (C) events. Instead of changing all bio-based drivers to call >> trace_block_bio_complete, move the tracing to bio_complete, and remove >> the

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 08:12:24PM +0100, Thomas Gleixner wrote: > We really want to have a single place for all of this MSR stuff, because > following your argumentation will be a perfect precedence for more private > implementations. Yes, you're so right. Ok, how about this untested thing. The

linux-next: manual merge of the arm-soc tree with the arm tree

2017-01-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: arch/arm/mach-ux500/platsmp.c between commit: 6996cbb23721 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol") from the arm tree and commit: 9e634cae7256 ("ARM: ux500: simplify secondary

[PATCH 1/3] Documentation: devicetree: Add Kingnovel vendor prefix

2017-01-17 Thread Andreas Färber
Their domain name is spelled kingnoval, but textually Kingnovel. Cc: a...@kingnoval.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[GIT PULL] ARM: aspeed: soc for 4.11

2017-01-17 Thread Joel Stanley
Hello Arnd and Olof, Please pull the Aspeed soc tree for 4.11. The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git

[PATCH 09/13] mmc: jz4740: Let the pinctrl driver configure the pins

2017-01-17 Thread Paul Cercueil
Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. Signed-off-by: Paul Cercueil --- drivers/mmc/host/jz4740_mmc.c | 59 ++- 1 file changed, 2

[PATCH 13/13] MIPS: jz4740: Remove custom GPIO code

2017-01-17 Thread Paul Cercueil
All the drivers for the various hardware elements of the jz4740 SoC have been modified to use the pinctrl framework for their pin configuration needs. As such, this platform code is now unused and can be deleted. Signed-off-by: Paul Cercueil ---

[PATCH 10/13] mtd: nand: jz4740: Let the pinctrl driver configure the pins

2017-01-17 Thread Paul Cercueil
Before, this NAND driver would set itself the configuration of the chip-select pins for the various NAND banks. Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. Signed-off-by: Paul Cercueil

[PATCH 12/13] pwm: jz4740: Let the pinctrl driver configure the pins

2017-01-17 Thread Paul Cercueil
Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. One inherent problem of this new approach is that the pinctrl framework does not allow us to configure each pin on demand, when the various PWM channels are

[PATCH 11/13] fbdev: jz4740-fb: Let the pinctrl driver configure the pins

2017-01-17 Thread Paul Cercueil
Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. Signed-off-by: Paul Cercueil --- drivers/video/fbdev/jz4740_fb.c | 104 ++-- 1 file changed, 3

Re: [PATCH -next] mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_probe()

2017-01-17 Thread Marek Vasut
On 01/17/2017 03:22 PM, Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Signed-off-by: Wei Yongjun Acked-by: Marek

[PATCH net-next v4 10/10] ARM: orion: Register DSA switch as a MDIO device

2017-01-17 Thread Florian Fainelli
Utilize the ability to pass board specific MDIO bus information towards a particular MDIO device thus allowing us to provide the per-port switch layout to the Marvell 88E6XXX switch driver. Since we would end-up with conflicting registration paths, do not register the "dsa" platform device

[PATCH net-next v4 00/10] net: dsa: Support for pdata in dsa2

2017-01-17 Thread Florian Fainelli
Hi all, This is not exactly new, and was sent before, although back then, I did not have an user of the pre-declared MDIO board information, but now we do. Note that I have additional changes queued up to have b53 register platform data for MIPS bcm47xx and bcm63xx. Yes I know that we should

Re: [PATCH 1/2] ARM64: dts: meson-gxm: Add R-Box Pro

2017-01-17 Thread Andreas Färber
Am 17.01.2017 um 04:06 schrieb Andreas Färber: > diff --git a/arch/arm64/boot/dts/amlogic/Makefile > b/arch/arm64/boot/dts/amlogic/Makefile > index 0d7bfbf7d922..66bc809a5eae 100644 > --- a/arch/arm64/boot/dts/amlogic/Makefile > +++ b/arch/arm64/boot/dts/amlogic/Makefile > @@ -12,6 +12,7 @@

Re: [PATCH] fbdev: ssd1307fb: allow reset-gpios is missing

2017-01-17 Thread Andy Shevchenko
On Tue, Jan 17, 2017 at 9:40 AM, Maxime Ripard wrote: > On Mon, Jan 16, 2017 at 05:50:21PM +0800, Icenowy Zheng wrote: >> >> 2017年1月16日 16:02于 Maxime Ripard 写道: >> > >> > On Sun, Jan 15, 2017 at 07:21:46PM +0800, Icenowy Zheng

Re: [PATCH 06/13] x86/microcode/AMD: Rework container parsing

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 09:29:05PM +0100, Thomas Gleixner wrote: > Stupid question. Why do we need to walk through that blob if we already > know that it does not contain a patch for this cpu, i.e. eq_id == 0 ? > > I assume it has to do with the multiple containers glued together in the > blob,

Re: [PATCH 0/3] tty: serial: 8250_omap: Enable DMA support

2017-01-17 Thread Tony Lindgren
* Vignesh R [170117 02:06]: > > > On Tuesday 17 January 2017 11:36 AM, Vignesh R wrote: > > > > > > On Friday 13 January 2017 11:50 PM, Tony Lindgren wrote: > >> * Vignesh R [170113 00:03]: > >>> This patch series re enables DMA support for UART 8250_omap

[PATCH net-next v4 03/10] net: dsa: Suffix function manipulating device_node with _dn

2017-01-17 Thread Florian Fainelli
Make it clear that these functions take a device_node structure pointer Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index 6e3675220fef..04ab62251fe3

[PATCH net-next v4 04/10] net: dsa: Move ports assignment closer to error checking

2017-01-17 Thread Florian Fainelli
Move the assignment of ports in _dsa_register_switch() closer to where it is checked, no functional change. Re-order declarations to be preserve the inverted christmas tree style. Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 3 ++- 1 file changed, 2 insertions(+),

[PATCH net-next v4 07/10] net: Relocate dev_to_net_device() into net/core/dev.c

2017-01-17 Thread Florian Fainelli
dev_to_net_device() is moved from net/dsa/dsa.c to net/core/dev.c since it going to be used by net/dsa/dsa2.c and the namespace of the function justifies making it available to other users potentially. We also rename it to device_to_net_device() to better illustrate what it does since it is not

Re: [RFC PATCH] membarrier: handle nohz_full with expedited thread registration

2017-01-17 Thread Steven Rostedt
On Tue, 17 Jan 2017 21:56:38 + (UTC) Mathieu Desnoyers wrote: > One goal here is to ensure we don't disturb threads that do not wish to > receive > those IPIs, so holding the rq lock while we send the IPI still seems to be > safer. What type of IPI is being

Re: [PATCH net-next v4 05/10] drivers: base: Add device_find_in_class_name()

2017-01-17 Thread Andy Shevchenko
On Wed, Jan 18, 2017 at 1:21 AM, Florian Fainelli wrote: > Add a helper function to lookup a device reference given a class name. > This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and > make it more generic. > +static int device_class_name_match(struct

[PATCH net-next v4 02/10] net: dsa: Make most functions take a dsa_port argument

2017-01-17 Thread Florian Fainelli
In preparation for allowing platform data, and therefore no valid device_node pointer, make most DSA functions takes a pointer to a dsa_port structure whenever possible. While at it, introduce a dsa_port_is_valid() helper function which checks whether port->dn is NULL or not at the moment.

Re: Regression on Dell XPS13 (was: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer)

2017-01-17 Thread Darren Hart
On Tue, Jan 17, 2017 at 06:38:43PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, January 17, 2017 12:24 PM > > To: Limonciello, Mario > > Cc: pmen...@molgen.mpg.de;

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-17 Thread Rob Herring
On Tue, Jan 17, 2017 at 1:48 AM, Tero Kristo wrote: > On 17/01/17 00:12, Dave Gerlach wrote: >> >> On 01/13/2017 08:40 PM, Rob Herring wrote: >>> >>> On Fri, Jan 13, 2017 at 2:28 PM, Dave Gerlach wrote: On 01/13/2017 01:25 PM, Rob Herring wrote: >

[PATCH] LSM: Add /sys/kernel/security/lsm

2017-01-17 Thread Casey Schaufler
Subject: [PATCH] LSM: Add /sys/kernel/security/lsm I am still tired of having to find indirect ways to determine what security modules are active on a system. I have added /sys/kernel/security/lsm, which contains a comma separated list of the active secuirty modules. No more groping around in

RE: [PATCHv1 7/7] IPVTAP: IP-VLAN based tap driver

2017-01-17 Thread Grandhi, Sainath
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Friday, January 06, 2017 3:14 PM > To: Grandhi, Sainath > Cc: net...@vger.kernel.org; da...@davemloft.net; > mah...@bandewar.net; linux-kernel@vger.kernel.org > Subject: Re:

Re: [PATCH v4 3/3] modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs

2017-01-17 Thread Linus Torvalds
On Tue, Jan 17, 2017 at 11:26 AM, Ard Biesheuvel wrote: > The modversion symbol CRCs are emitted as ELF symbols, which allows us to > easily populate the kcrctab sections by relying on the linker to associate > each kcrctab slot with the correct value. > > This has a

Re: random: /dev/random often returns short reads

2017-01-17 Thread H. Peter Anvin
On 01/17/17 09:34, Denys Vlasenko wrote: > > > On 01/17/2017 06:15 PM, Theodore Ts'o wrote: >> On Tue, Jan 17, 2017 at 09:21:31AM +0100, Denys Vlasenko wrote: If someone wants to send me a patch, I'll happily take a look at it, >>> >>> Will something along these lines be accepted? >> >> The

Re: [PATCH 07/12] x86/rdt,cqm: Scheduling support update

2017-01-17 Thread Shivappa Vikas
On Tue, 17 Jan 2017, Thomas Gleixner wrote: On Fri, 6 Jan 2017, Vikas Shivappa wrote: Introduce a scheduling hook finish_arch_pre_lock_switch which is called just after the perf sched_in during context switch. This method handles both cat and cqm sched in scenarios. Sure, we need yet

Re: [PATCH 07/12] x86/rdt,cqm: Scheduling support update

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > Introduce a scheduling hook finish_arch_pre_lock_switch which is > called just after the perf sched_in during context switch. This method > handles both cat and cqm sched in scenarios. Sure, we need yet another special hook. What's wrong with

linux-next: manual merge of the amlogic tree with the arm-soc tree

2017-01-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the amlogic tree got a conflict in: arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi between commit: f7bcd4b6f698 ("ARM64: dts: meson-gxbb-odroidc2: Disable SCPI DVFS") from the arm-soc tree and commit: 47961f1353b8 ("ARM64: dts: meson-gx: move the SCPI

Re: [PATCH 1/4] mm, page_alloc: do not report all nodes in show_mem

2017-01-17 Thread David Rientjes
On Tue, 17 Jan 2017, Michal Hocko wrote: > From: Michal Hocko > > 599d0c954f91 ("mm, vmscan: move LRU lists to node") has added per numa > node statistics to show_mem but it forgot to add skip_free_areas_node > to fileter out nodes which are outside of the allocating task numa

[PATCH 3/3] ARM64: dts: meson-gxm-rbox-pro: Add board compatible string

2017-01-17 Thread Andreas Färber
Cc: a...@kingnoval.com Signed-off-by: Andreas Färber --- To be squashed in v2. arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts

[PATCH 2/3] Documentation: devicetree: amlogic: Add R-Box Pro

2017-01-17 Thread Andreas Färber
Cc: a...@kingnoval.com Signed-off-by: Andreas Färber --- Originally I thought we would group by SoC (6, 8, 8b, gxbb, gxl, gmx, etc.) but this got out of order with nexbox,a95x - so inserting kingnovel between amlogic and nexbox here. If that's what we want going forward, we

[PATCH v2 2/2] power/reset: at91-reset: remove leftover platform_device_id

2017-01-17 Thread Alexandre Belloni
commit eacd8d09db7f ("power/reset: at91-reset: remove useless at91_reset_platform_probe()") removed non DT probe support but forgot to remove the now useless id_table. Do that now. Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 8

Re: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-17 Thread Bart Van Assche
On Tue, 2017-01-17 at 15:27 -0700, Jason Gunthorpe wrote: > On Tue, Jan 17, 2017 at 10:00:00PM +, Bart Van Assche wrote: > > + /* > > +* qib and hfi1 use two sets of DMA operations: > > +* - The DMA operations of the PCIe device for SDMA. > > +* - dma_virt_ops for users of the

[PATCH v2 1/2] power/reset: at91-reset: add samx7 support

2017-01-17 Thread Alexandre Belloni
From: Szemző András Add samx7 support. It is lacking a few bits and needs a new reset function. Signed-off-by: Szemző András Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 10 ++ 1 file changed,

[PATCH 06/13] MIPS: jz4780: DTS: Add node for the jz4780-pinctrl driver

2017-01-17 Thread Paul Cercueil
For a description of the devicetree node, please read Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 333 + 1 file changed, 333 insertions(+) diff

[PATCH 03/13] pinctrl-jz4780: add a pinctrl driver for the Ingenic jz4780 SoC

2017-01-17 Thread Paul Cercueil
This driver reuses the core of the driver already present in pinctrl-ingenic.c, and just supplies callbacks to perform the low-level operations. Signed-off-by: Paul Cercueil --- drivers/pinctrl/ingenic/Kconfig | 6 ++ drivers/pinctrl/ingenic/Makefile |

[PATCH 05/13] MIPS: jz4740: DTS: Add node for the jz4740-pinctrl driver

2017-01-17 Thread Paul Cercueil
For a description of the devicetree node, please read Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4740.dtsi | 275 + 1 file changed, 275 insertions(+) diff

[PATCH 08/13] MIPS: JZ4780: CI20: Add pinctrl configuration for several drivers

2017-01-17 Thread Paul Cercueil
We set the pin configuration for the jz4780-nand and jz4780-uart drivers. Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/ci20.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts

[PATCH net-next v4 01/10] net: dsa: Pass device pointer to dsa_register_switch

2017-01-17 Thread Florian Fainelli
In preparation for allowing dsa_register_switch() to be supplied with device/platform data, pass down a struct device pointer instead of a struct device_node. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c |

[PATCH net-next v4 05/10] drivers: base: Add device_find_in_class_name()

2017-01-17 Thread Florian Fainelli
Add a helper function to lookup a device reference given a class name. This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and make it more generic. Signed-off-by: Florian Fainelli --- drivers/base/core.c| 31 +++

[PATCH net-next v4 08/10] net: dsa: Add support for platform data

2017-01-17 Thread Florian Fainelli
Allow drivers to use the new DSA API with platform data. Most of the code in net/dsa/dsa2.c does not rely so much on device_nodes and can get the same information from platform_data instead. We purposely do not support distributed configurations with platform data, so drivers should be providing

[PATCH net-next v4 06/10] net: dsa: Migrate to device_find_in_class_name()

2017-01-17 Thread Florian Fainelli
Now that the base device driver code provides an identical implementation of dev_find_class() utilize device_find_in_class_name() instead of our own version of it. Signed-off-by: Florian Fainelli --- net/dsa/dsa.c | 22 ++ 1 file changed, 2

Re: [PATCH v19 05/15] clocksource/drivers/arm_arch_timer: rework PPI determination

2017-01-17 Thread Fu Wei
Hi Mark, On 17 January 2017 at 01:29, Mark Rutland wrote: > On Wed, Dec 21, 2016 at 02:45:53PM +0800, fu@linaro.org wrote: > [...] > >> - if (is_hyp_mode_available() || !arch_timer_ppi[ARCH_TIMER_VIRT_PPI]) { >> - bool has_ppi; >> + if

RE: [PATCHv1 7/7] IPVTAP: IP-VLAN based tap driver

2017-01-17 Thread Grandhi, Sainath
> -Original Message- > From: Mahesh Bandewar (महेश बंडेवार) > [mailto:mahe...@google.com] > Sent: Friday, January 06, 2017 3:47 PM > To: Grandhi, Sainath > Cc: linux-netdev ; David Miller > ; mah...@bandewar.net;

Re: [PATCH] ARM: smp: Remove CPU: shutdown notice

2017-01-17 Thread Florian Fainelli
On 01/17/2017 03:23 PM, Russell King - ARM Linux wrote: > On Tue, Jan 17, 2017 at 03:07:12PM -0800, Florian Fainelli wrote: >> This message is not particularly informative, and is not paired with an >> identical message when a CPU is brought online. Finally, it slows the >> CPU hotplug path down,

Re: [PATCH v2 0/8] ARM: dts: Switch to new DSA binding

2017-01-17 Thread Gregory CLEMENT
Hi Florian, On mar., janv. 17 2017, Florian Fainelli wrote: > On 01/05/2017 11:29 AM, Florian Fainelli wrote: >> Hi all, >> >> This patch series converts the in-tree users to utilize the new (relatively) >> DSA binding that was introduced with commit 8c5ad1d6179d ("net:

Re: [PATCH v4] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2017-01-17 Thread Neil Armstrong
On 01/17/2017 07:07 AM, Olof Johansson wrote: > On Mon, Jan 16, 2017 at 2:39 AM, Neil Armstrong > wrote: >> On 01/15/2017 03:43 PM, Andreas Färber wrote: >>> Am 13.01.2017 um 21:03 schrieb Kevin Hilman: Neil Armstrong writes: > The

Re: [PATCH v2 6+/6] platform/x86: dell-wmi-led: fix coding style issues

2017-01-17 Thread Joe Perches
On Tue, 2017-01-17 at 08:17 +0100, Michał Kępień wrote: > Fix coding style issues in dell-wmi-led which checkpatch complains about > to make sure the module gets a clean start in the x86 platform driver > subsystem. trivia: > Signed-off-by: Michał Kępień > --- > This is an

Re: [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-17 Thread Michal Hocko
On Mon 16-01-17 21:56:07, Theodore Ts'o wrote: > On Fri, Jan 06, 2017 at 03:11:07PM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > This reverts commit 216553c4b7f3e3e2beb4981cddca9b2027523928. Now that > > the transaction context uses memalloc_nofs_save and all

Re: [patch net-next] stmmac: indent an if statement

2017-01-17 Thread Alexandre Torgue
Hi Julia On 01/16/2017 11:10 PM, Julia Lawall wrote: On Tue, 17 Jan 2017, Dan Carpenter wrote: On Mon, Jan 16, 2017 at 10:46:22PM +0100, Julia Lawall wrote: On Mon, 16 Jan 2017, Dan Carpenter wrote: On Mon, Jan 16, 2017 at 12:19:24PM +0300, Dan Carpenter wrote: On Sun, Jan 15, 2017 at

Re: [PATCH] staging: fsl-mc: fix coding stye errors

2017-01-17 Thread Dan Carpenter
On Tue, Jan 17, 2017 at 09:11:28AM +0100, Dhananjay Balan wrote: > Split line at boolean operator. > > Error was reported by checkpatch.pl as > WARNING: Avoid multiple line dereference - prefer 'mc_msi_domain->host_data' > > Signed-off-by: Dhananjay Balan > --- >

[PATCH] security/apparmor/lsm.c: set debug messages

2017-01-17 Thread Valentin Rothberg
Add the _APPARMOR substring to reference the intended Kconfig option. Signed-off-by: Valentin Rothberg --- Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next) security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [patch net-next] stmmac: indent an if statement

2017-01-17 Thread Alexandre Torgue
Dear David On 01/16/2017 11:00 PM, David Miller wrote: From: Dan Carpenter Date: Tue, 17 Jan 2017 00:56:15 +0300 (It would be better if one of the stmmac people were responding here insead of a random fix the indenting weenie like myself.) They are all too busy

Re: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer

2017-01-17 Thread Thorsten Leemhuis
Greg Kroah-Hartman wrote on 16.01.2017 12:05: > On Sun, Jan 15, 2017 at 11:58:30AM +0100, Greg Kroah-Hartman wrote: >> On Sun, Jan 15, 2017 at 07:19:03AM +, Winkler, Tomas wrote: >> > > Subject: Re: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version >> > > only for SPT >> > > and newer

Re: random: /dev/random often returns short reads

2017-01-17 Thread Denys Vlasenko
On Tue, Jan 17, 2017 at 5:36 AM, Theodore Ts'o wrote: > On Mon, Jan 16, 2017 at 07:50:55PM +0100, Denys Vlasenko wrote: >> >> /dev/random can legitimately returns short reads >> when there is not enough entropy for the full request. > > Yes, but callers of /dev/random should be

Re: drm: rockchip: CONFIG_DRM_FBDEV_EMULATION will crash the HDMI down sometimes

2017-01-17 Thread Mark yao
static void vop_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) { if (WARN_ON(!vop->is_enabled)) return; The issues seems vop is not enable. but commit planes is using DRM_PLANE_COMMIT_ACTIVE_ONLY... Hi Randy Can you add some print for

Re: [PATCH v2] irqchip: irq-mips-gic:- Avoiding Kernel panics due to Error.

2017-01-17 Thread Thomas Gleixner
On Mon, 16 Jan 2017, Arvind Yadav wrote: Cc'ing the MIPS folks. > Eliminating kernel panic due to NULL pointer dereferencing and > other failure in __gic_init. > Here, __gic_init can fail. This error check will avoid NULL pointer > dereference and kernel panic. > > Signed-off-by: Arvind Yadav

Re: [PATCH v3 1/2] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-01-17 Thread Joseph Qi
On 17/1/17 15:55, Eric Ren wrote: Hi! On 01/17/2017 03:39 PM, Joseph Qi wrote: On 17/1/17 14:30, Eric Ren wrote: We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid

[tip:timers/urgent] clocksource/exynos_mct: Clear interrupt when cpu is shut down

2017-01-17 Thread tip-bot for Joonyoung Shim
Commit-ID: bc7c36eedb0c7004aa06c2afc3c5385adada8fa3 Gitweb: http://git.kernel.org/tip/bc7c36eedb0c7004aa06c2afc3c5385adada8fa3 Author: Joonyoung Shim AuthorDate: Tue, 17 Jan 2017 13:54:36 +0900 Committer: Thomas Gleixner CommitDate: Tue, 17

[PATCH v2 00/15] staging cleanups

2017-01-17 Thread Brian Masney
This patch set contains more of my cleanups to the isl29028 light driver in preparation for moving the driver out of staging. The main feature introduced by this patch set is support for runtime power management and autosuspend after two seconds. The rest of the patches are minor code

[PATCH v2 10/15] staging: iio: isl29028: remove out of memory log message

2017-01-17 Thread Brian Masney
If the call to devm_iio_device_alloc() fails, then isl29028_probe() logs a message saying that memory cannot be allocated. The user's system most likely has larger issues at this point. This patch removes that error message since the error code is passed on and the message is not necessary.

[PATCH v2 02/15] staging: iio: isl29028: fix alignment of function arguments

2017-01-17 Thread Brian Masney
Two separate calls to regmap_update_bits() in isl29028_set_als_scale() and isl29028_set_als_ir_mode() did not have their function arguments on the next line aligned correctly to the open parenthesis. This patch corrects the alignment. Signed-off-by: Brian Masney ---

[PATCH v3] arm: dts: mt2701: Add thermal device node.

2017-01-17 Thread Erin Lo
From: Dawei Chien Add thermal controller device nodes for MT2701. Signed-off-by: Dawei Chien Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 43 +++ 1 file changed, 43

[PATCH v2 06/15] staging: iio: isl29028: move failure logging into isl29028_set_proxim_sampling()

2017-01-17 Thread Brian Masney
When isl29028_set_proxim_sampling() fails, it was up to both callers to log the failure message. This patch moves the logging into isl29028_set_proxim_sampling() to reduce the overall amount of code in the driver. Signed-off-by: Brian Masney ---

[PATCH v2 11/15] staging: iio: isl29028: remove unnecessary parenthesis

2017-01-17 Thread Brian Masney
isl29028_write_raw() contains unnecessary parenthesis when checking to see if the passed in lux scale is valid. This patch removes the unnecessary parenthesis. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29028.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 01/15] staging: iio: isl29028: made alignment of variables in struct isl29028_chip consistent

2017-01-17 Thread Brian Masney
The alignment of the variables in the struct isl29028_chip is not consistent. This changes all of the variables to use consistent alignment to improve the code readability. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29028.c | 10 +- 1 file

[PATCH v3 8/9] irqchip/ls-scfg-msi: add LS1043a v1.1 MSI support

2017-01-17 Thread Minghuan Lian
A MSI controller of LS1043a v1.0 only includes one MSIR and is assigned one GIC interrupt. In order to support affinity, LS1043a v1.1 MSI is assigned 4 MSIRs and 4 GIC interrupts. But the MSIR has the different offset and only supports 8 MSIs. The bits between variable bit_start and bit_end in

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