Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-31 Thread Nicolas Pitre
On Tue, 31 Mar 2015, Dave Martin wrote: > On Tue, Mar 31, 2015 at 11:22:29AM -0400, Nicolas Pitre wrote: > > On Mon, 30 Mar 2015, Ard Biesheuvel wrote: > > > > > On 30 March 2015 at 16:13, Michal Marek wrote: > > [...] > > > > > What you could do is to add a Kconfig option to arch/arm/Kconfig

Re: [PATCH v4] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-03-31 Thread Jonas Gorski
Hi, On Tue, Mar 31, 2015 at 6:25 PM, Bert Vermeulen wrote: > This driver mediates access between the connected CPLD and other devices > on the bus. > > The m25p80-compatible boot flash and (some models) MMC use regular SPI, > bitbanged as required by the SoC. However the SPI-connected CPLD has >

[PATCH] checkpatch/SubmittingPatches: Suggest line wrapping commit messages at 72 columns

2015-03-31 Thread Joe Perches
Commit messages are sometimes overly long. Suggest line wrapping at 72 columns. Add a checkpatch test for long commit messages as well. Signed-off-by: Joe Perches --- On Tue, 2015-03-31 at 11:16 -0700, Joe Perches wrote: > On Tue, 2015-03-31 at 13:53 -0400, David Miller wrote: > > From: Ian Morr

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-31 Thread Chris Metcalf
On 03/31/2015 06:17 AM, Christoph Lameter wrote: On Mon, 30 Mar 2015, cmetc...@ezchip.com wrote: Running watchdog can be a helpful debugging feature on regular cores, but it's incompatible with nohz_full, since it forces regular scheduling events. Accordingly, just exit out immediately from an

Build regression in next-20150331

2015-03-31 Thread Tyler Baker
Hi Thomas, Rafael, I was notified this morning by the kernelci.org system that a new build error has been detected in next-20150331[0][1][2]. It seems that "clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD" c9439b1d6eb4ada5c2faf3970ac0d2bc4bd20e14 is the culprit. Initially, I repo

[PATCH v3] drm/msm: Initial add DSI connector support

2015-03-31 Thread Hai Li
This change adds the DSI connector support in msm drm driver. v1: Initial change v2: - Address comments from Archit + minor clean-ups - Rebase to not depend on msm_drm_sub_dev change [Rob's comment] v3: Fix issues when initialization is failed Signed-off-by: Hai Li --- drivers/gpu/drm/msm/Kconf

Re: [PATCH V2 3/3] pinctrl: Add Pistachio SoC pin control driver

2015-03-31 Thread Andrew Bresticker
Hi Paul, On Tue, Mar 31, 2015 at 11:20 AM, Paul Bolle wrote: > Hi Andrew, > > On Tue, 2015-03-31 at 09:56 -0700, Andrew Bresticker wrote: >> On Tue, Mar 31, 2015 at 1:10 AM, Paul Bolle wrote: >> > The patch adds a mismatch between the Kconfig symbol (a bool) and the >> > code (which suggests tha

Re: [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: > This patch implements a new QMP request named 'query-cpu-model'. > It returns the cpu model of cpu 0 and its backing accelerator. > > request: > {"execute" : "query-cpu-model" } > > answer: > {"return" : {"name": "2827-ga2", "

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-31 Thread Chris Metcalf
On 03/30/2015 10:04 PM, Mike Galbraith wrote: On Mon, Mar 30, 2015 at 02:51:05PM -0400, cmetc...@ezchip.com wrote: From: Chris Metcalf Running watchdog can be a helpful debugging feature on regular cores, but it's incompatible with nohz_full, since it forces regular scheduling events. Accordi

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-31 Thread Chris Metcalf
On 03/31/2015 03:25 AM, Ingo Molnar wrote: * cmetc...@ezchip.com wrote: From: Chris Metcalf Running watchdog can be a helpful debugging feature on regular cores, but it's incompatible with nohz_full, since it forces regular scheduling events. Accordingly, just exit out immediately from any

Re: [PATCH v4 00/14] Add kdbus implementation

2015-03-31 Thread Andy Lutomirski
On Tue, Mar 31, 2015 at 8:10 AM, Tom Gundersen wrote: > On Tue, Mar 31, 2015 at 3:58 PM, Andy Lutomirski wrote: >> >> IOW you're taking something that you dislike aspects of and shoving >> most of it in the kernel. That guarantees us an API in the kernel >> that even the creators don't really li

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Eduardo Habkost
On Tue, Mar 31, 2015 at 01:21:05PM +0200, Michael Mueller wrote: > On Mon, 30 Mar 2015 17:17:21 -0300 > Eduardo Habkost wrote: > > > On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: > > > This patch implements a new QMP request named 'query-cpu-model'. > > > It returns the cpu mod

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-31 Thread Yinghai Lu
On Tue, Mar 31, 2015 at 11:19 AM, David Miller wrote: > I totally disagree, I think your test is too stringent and should be > significantly relaxed if not removed entirely. ok, will produce one version that only verify first criteria. Thanks Yinghai -- To unsubscribe from this list: send the

[PATCHv6 05/10] ARM: mxs: fix in tree users of ssd1306

2015-03-31 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/

[PATCHv6 00/10] Cleanup and add support for SSD1305

2015-03-31 Thread Thomas Niederprüm
Hi, this patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on DT configuration to reflect the various possible wirings of the S

[PATCHv6 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-31 Thread Thomas Niederprüm
The 130X controllers are very similar from the configuration point of view. The configuration registers for the SSD1305/6/7 are bit identical (except the the VHCOM register and the the default values for clock setup register). This patch unifies the init code of the controller and adds hardware spe

[PATCHv6 02/10] fbdev: ssd1307fb: Allocate page aligned video memory.

2015-03-31 Thread Thomas Niederprüm
Currently the videomemory is allocated by kmalloc, making it a memory region that is not necessarily page aligend. This leads to problems upon mmap call, where the video memory's address gets aligned to the next page boundary. The result is that the userspace program that issued the mmap call is no

[PATCHv6 08/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-31 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 85eeda0..5f3d5

[PATCHv6 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-31 Thread Thomas Niederprüm
the smem_start pointer of the framebuffer info struct needs to hold the physical address rather than the logical address. Right now the logical address returned by kmalloc is stored. This patch converts this address to a physical address and thus fixes a driver crash on mmaping the framebuffer memo

[PATCH 5/6] clk: mediatek: Add basic clocks for Mediatek MT8173.

2015-03-31 Thread Sascha Hauer
From: James Liao This patch adds basic clocks for MT8173, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8173.c

[PATCHv6 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-31 Thread Thomas Niederprüm
This patch adds the module parameter "refreshrate" to set delay for the deferred io. The refresh rate is given in units of Hertz. The default refresh rate is 1 Hz. The refresh rate set through the newly introduced parameter applies to all instances of the driver and for now it is not possible to ch

[PATCHv6 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-31 Thread Thomas Niederprüm
This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Docu

[PATCHv6 03/10] of: Add Solomon Systech vendor prefix.

2015-03-31 Thread Thomas Niederprüm
This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/binding

[PATCHv6 09/10] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-31 Thread Thomas Niederprüm
The backlight class is used to create userspace handles for setting the OLED contrast. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/Kconfig | 1 + drivers/video/fbdev/ssd1307fb.c | 58 + 2 files changed, 59 inserti

[PATCHv6 10/10] fbdev: ssd1307fb: Add blank mode

2015-03-31 Thread Thomas Niederprüm
This patch adds ssd1307fb_blank() to make the framebuffer capable of blanking. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 77efed7..8f

Re: [PATCH V2 3/3] pinctrl: Add Pistachio SoC pin control driver

2015-03-31 Thread Paul Bolle
Hi Andrew, On Tue, 2015-03-31 at 09:56 -0700, Andrew Bresticker wrote: > On Tue, Mar 31, 2015 at 1:10 AM, Paul Bolle wrote: > > The patch adds a mismatch between the Kconfig symbol (a bool) and the > > code (which suggests that a modular build is also possible). > > Nearly all of the pinctrl dri

[PATCH 4/6] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-31 Thread Sascha Hauer
From: James Liao This patch adds basic clocks for MT8135, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8135.c

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-31 Thread David Miller
From: Yinghai Lu Date: Tue, 31 Mar 2015 11:16:11 -0700 > On Tue, Mar 31, 2015 at 8:06 AM, David Miller wrote: >> Your patch only allows the condition behind resources that have 64-bits >> of significance, but that is not what the document above says about >> when this situation is allowed. >> >>

[PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers

2015-03-31 Thread Sascha Hauer
This adds the binding documentation for the apmixedsys, perisys and infracfg controllers found on Mediatek SoCs. Signed-off-by: Sascha Hauer --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 + .../bindings/arm/mediatek/mediatek,infracfg.txt| 30

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-31 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays into

[PATCH 2/6] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-03-31 Thread Sascha Hauer
From: James Liao This patch adds common clock support for Mediatek SoCs, including plls, muxes and clock gates. Signed-off-by: James Liao Signed-off-by: Henry Chen Signed-off-by: Sascha Hauer --- drivers/clk/Makefile| 1 + drivers/clk/mediatek/Makefile | 1 + drivers/clk/me

[PATCH v11]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-31 Thread Sascha Hauer
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.pengutronix.de/git/imx/linux-2.6.git tags/v4.0-clk-mediatek-v11 for you to fetch changes up to ae9129219143cfdefe8b3a463d

[PATCH 3/6] clk: mediatek: Add reset controller support

2015-03-31 Thread Sascha Hauer
The pericfg and infracfg units also provide reset lines to several other SoC internal units. This adds a function which can be called from the pericfg and infracfg initialization functions which will register the reset controller using reset_controller_register. The reset controller will provide su

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-31 Thread Yinghai Lu
On Tue, Mar 31, 2015 at 8:06 AM, David Miller wrote: > Your patch only allows the condition behind resources that have 64-bits > of significance, but that is not what the document above says about > when this situation is allowed. > > Please implement the check either exactly as stated in the erra

Re: linux-next: build failure after merge of the net-next tree

2015-03-31 Thread David Miller
From: Stephen Rothwell Date: Mon, 30 Mar 2015 15:05:34 +1100 > Caused by a bad merge between commits 1e9e39f4a298 ("usbnet: Fix > tx_packets stat for FLAG_MULTI_FRAME drivers") and 7a1e890e2168 > ("usbnet: Fix tx_bytes statistic running backward in cdc_ncm") form the > net tree and commit 6588af6

Re: [PATCH net-next 0/2] hv_netvsc: Eliminate memory allocation in the send path

2015-03-31 Thread David Miller
From: "K. Y. Srinivasan" Date: Sun, 29 Mar 2015 21:07:58 -0700 > The network protocol used to communicate with the host is the remote ndis > (rndis) > protocol. We need to decorate each outgoing packet with a rndis header and > additional rndis state (rndis per-packet state). To manage this stat

Re: [PATCH net-next] ethernet: Use bool function returns of true/false instead of 1/0

2015-03-31 Thread David Miller
From: Joe Perches Date: Sun, 29 Mar 2015 18:25:12 -0700 > Use bool constants as the return values instead of 1 and 0. > > Signed-off-by: Joe Perches Applied, thanks Joe. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

Re: [PATCH] powerpc/83xx: add support for mpc8306

2015-03-31 Thread Scott Wood
On Sat, 2015-03-28 at 17:59 +0100, Filip Brozovic wrote: > diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c > index c2518cd..f967ff6 100644 > --- a/arch/powerpc/sysdev/qe_lib/qe.c > +++ b/arch/powerpc/sysdev/qe_lib/qe.c > @@ -278,12 +278,17 @@ static void qe_snums_init

Re: [PATCH v5 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-03-31 Thread Sascha Hauer
On Tue, Mar 31, 2015 at 07:50:58PM +0800, Eddie Huang wrote: > Hi Sascha, > > On Tue, 2015-03-31 at 15:08 +0800, Eddie Huang wrote: > > Hi Sascha, > > > > > > > speed <= 40 here to make this more obvious? > > > > There are two cases, not only speed<=40, but I2C_MASTER_WRRD. I tend > > > >

Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-31 Thread Casey Schaufler
On 3/30/2015 10:09 PM, Maninder Singh wrote: > We are currently using 3.10.58 kernel and we are facing this issue for samck > enabled system. > and as we can check in other APIs like netlbl_sock_getattr and > netlbl_conn_setattr have this preventive check so we added this check for > netlbl_soc

Re: [RESEND PATCH] documentation: memory-barriers: fix smp_mb__before_spinlock() semantics

2015-03-31 Thread Oleg Nesterov
On 03/31, Will Deacon wrote: > > Could somebody pick this up please? I guess I could route it via the arm64 > tree with an Ack, but I'd rather it went through Paul or -tip. I think this would be the best route ;) > --- a/Documentation/memory-barriers.txt > +++ b/Documentation/memory-barriers.txt

Re: [PATCH] Bonding Overriding Configuration logic restored.

2015-03-31 Thread David Miller
From: Anton Nayshtut Date: Sun, 29 Mar 2015 14:20:25 +0300 > Before commit 3900f29021f0bc7fe9815aa32f1a993b7dfdd402 ("bonding: slight > optimizztion for bond_slave_override()") the override logic was to send > packets > with non-zero queue_id through the slave with corresponding queue_id, under

Re: [PATCH v3 0/7] clk: replace div_mask() by clk_div_mask()

2015-03-31 Thread Russell King - ARM Linux
On Tue, Mar 31, 2015 at 08:22:20PM +0300, Andy Shevchenko wrote: > This series introduces clk_div_mask() helper in one place instead of > div_mask() macros in many clock providers. > > Changelog v3: > - fix clk_div_mask() prototype: seems tired like on Friday evening! Yea, that's three versions

Re: [PATCH v2 6/6] MAINTAINERS: Add phy-miphy28lp.c to ARCH/STI architecture

2015-03-31 Thread Peter Griffin
Hi Kishon, On Tue, 31 Mar 2015, Kishon Vijay Abraham I wrote: > >diff --git a/MAINTAINERS b/MAINTAINERS > >index 1de6afa..fa1bb4f 100644 > >--- a/MAINTAINERS > >+++ b/MAINTAINERS > >@@ -1469,6 +1469,7 @@ F: drivers/clocksource/arm_global_timer.c > > F: drivers/i2c/busses/i2c-st.c > > F: dr

Re: [PATCH 1/7] lib/vsprintf: add %*pg format specifier

2015-03-31 Thread Joe Perches
On Tue, 2015-03-31 at 10:06 -0700, Joe Perches wrote: > On Tue, 2015-03-31 at 20:01 +0400, Dmitry Monakhov wrote: > > This allow to directly print block_device name. > > Currently one should use bdevname() with temporal char buf[BDEVNAME_SIZE]. > > This is very ineffective because bloat stack usage

Re: [PATCH 3/3] ahci: st: st_configure_oob must be called after IP is clocked.

2015-03-31 Thread Peter Griffin
Hi Tejun, On Tue, 31 Mar 2015, Tejun Heo wrote: > On Tue, Mar 31, 2015 at 04:36:27PM +0100, Peter Griffin wrote: > > This patch (and also the DT documentation change) can go via your tree. > > Maxime > > will take the stih407 DT patch. > > Hmmm... The first patch doesn't apply to libata/for-4.1

Re: [PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-03-31 Thread Vikas Shivappa
On Thu, 26 Mar 2015, Marcelo Tosatti wrote: I can't find any discussion relating to exposing the CBM interface directly to userspace in that thread ? It was the same version V4 as above but a different subthread i think.. here you go anyways - https://lkml.kernel.org/r/alpine.DEB.2.10.15

Re: [Linux-nvdimm] another pmem variant V2

2015-03-31 Thread Dan Williams
On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig wrote: > On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: >> I'd be fine with that too - mind sending an updated series? > > I will send an updated one tonight or early tomorrow. > > Btw, do you want to keep the E820_PRAM name instead

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-31 Thread Denys Vlasenko
On 03/31/2015 07:08 PM, Andy Lutomirski wrote: > On Tue, Mar 31, 2015 at 9:43 AM, Ingo Molnar wrote: >> >> * Denys Vlasenko wrote: >> I guess they could optimize it by adding a single "I am a modern OS executing regular userspace" flag to the descriptor [or expressing the same as a

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-31 Thread Jason Low
On Tue, 2015-03-31 at 14:28 +0530, Preeti U Murthy wrote: > Morten, > I am a bit confused about the problem you are pointing to. > I am unable to see the issue. What is it that I am missing ? Hi Preeti, Here is one of the potential issues that have been described from my understanding. In sit

[PATCH] lfsr: a simple binary Galois linear feedback shift register

2015-03-31 Thread Waiman Long
This patch is based on the code sent out by Peter Zijstra as part of his queue spinlock patch to provide a hashing function with open addressing. The lfsr() function can be used to return a sequence of numbers that cycle through all the bit patterns (2^n -1) of a given bit width n except the value

Re: [PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-03-31 Thread Vikas Shivappa
On Thu, 26 Mar 2015, Marcelo Tosatti wrote: I can't find any discussion relating to exposing the CBM interface directly to userspace in that thread ? Cpu.shares is written in ratio form, which is much more natural. Do you see any advantage in maintaining the (ratio -> cbm bitmasks) transla

Re: another pmem variant V2

2015-03-31 Thread Christoph Hellwig
On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: > I'd be fine with that too - mind sending an updated series? I will send an updated one tonight or early tomorrow. Btw, do you want to keep the E820_PRAM name instead of E820_PMEM? Seems like most people either don't care or prefer E82

[PATCH v3 4/7] clk: socfpga: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/socfpga/clk-gate.c | 2 +- drivers/clk/socfpga/clk-periph.c | 2 +- drivers/clk/socfpga/clk.h| 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/d

[PATCH v3 6/7] clk: tegra: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/tegra/clk-divider.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/tegra/clk-divider.c index 59a5714

[PATCH v3 3/7] clk: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/clk-divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index 25006a8..9cd

[PATCH v3 7/7] ARM: imx: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- arch/arm/mach-imx/clk-fixup-div.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/clk-fixup-div.c b/arch/arm/mach-imx/clk-fixup-div.c index

[PATCH v3 5/7] clk: ti: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/ti/divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti/divider.c index 6211893..d73f7a

[PATCH v3 2/7] clk: mmp: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of custom approach. Signed-off-by: Andy Shevchenko --- drivers/clk/mmp/clk-mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mmp/clk-mix.c b/drivers/clk/mmp/clk-mix.c index de6a873..0810e27 100644 --- a/dri

[PATCH v3 0/7] clk: replace div_mask() by clk_div_mask()

2015-03-31 Thread Andy Shevchenko
This series introduces clk_div_mask() helper in one place instead of div_mask() macros in many clock providers. Changelog v3: - fix clk_div_mask() prototype: seems tired like on Friday evening! Changelog v2: - fix patches 5,6,7 where parameter of the macro was d instead of d->width Andy Shevche

Re: [net] Intel Wired LAN Driver Updates

2015-03-31 Thread David Miller
From: Jeff Kirsher Date: Fri, 27 Mar 2015 16:04:10 -0700 > The following are changes since commit > dde93dfea53c72b07907d9e44a6e4b1545f6bdc4: > cxgb4: Fix frame size warning for 32 bit arch > and are available in the git repository at: > git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher

[PATCH v3 1/7] clk: introduce clk_div_mask() helper

2015-03-31 Thread Andy Shevchenko
The patch introduces a helper that gives a divider mask based on register field width. The sequential patches will replace custom div_mask() macro in the corresponding clock provider modules. Signed-off-by: Andy Shevchenko --- include/linux/clk-provider.h | 5 + 1 file changed, 5 insertions

Re: [RFC v5 08/13] KVM: kvm-vfio: wrappers for vfio_external_{mask|is_active|set_automasked}

2015-03-31 Thread Alex Williamson
On Thu, 2015-03-19 at 15:55 +0100, Eric Auger wrote: > Those 3 new wrapper functions call the respective VFIO external > functions. > > Signed-off-by: Eric Auger > > --- > > v4: creation > --- > include/linux/vfio.h | 8 +++- > virt/kvm/vfio.c | 44 +++

Re: [PATCH V2 0/3] pinctrl: Support for IMG Pistachio

2015-03-31 Thread Andrew Bresticker
On Tue, Mar 31, 2015 at 7:00 AM, Ralf Baechle wrote: > On Mon, Mar 30, 2015 at 04:16:53PM -0700, Andrew Bresticker wrote: > >> This series adds support for the system pin and GPIO controller on the IMG >> Pistachio SoC. Pistachio's system pin controller manages 99 pins, 90 of >> which are MFIOs w

Re: [PATCH_V3 0/2] mtd: nand: jz4780: Add nand and bch driver

2015-03-31 Thread Brian Norris
On Tue, Mar 31, 2015 at 05:59:39PM +0100, Zubair Lutfullah Kakakhel wrote: > Hi, Hi! Nit: can you drop the underscore in your 'PATCH_Vx' subjects? It'd make my filtering a bit easier. I usually expect 'PATCH v3'. Thanks! > Two patches based on 4.0-rc6 that add NAND and BCH controller > drivers f

Re: [RFC v5 12/13] KVM: kvm-vfio: generic forwarding control

2015-03-31 Thread Alex Williamson
On Thu, 2015-03-19 at 15:55 +0100, Eric Auger wrote: > This patch introduces a new KVM_DEV_VFIO_DEVICE group. > > This is a new control channel which enables KVM to cooperate with > viable VFIO devices. > > The patch introduces 2 attributes for this group: > KVM_DEV_VFIO_DEVICE_FORWARD_IRQ, KVM_D

Re: [RFC v5 06/13] VFIO: platform: add vfio_external_{mask|is_active|set_automasked}

2015-03-31 Thread Alex Williamson
On Thu, 2015-03-19 at 15:55 +0100, Eric Auger wrote: > Introduces 3 new external functions aimed at doining some actions > on VFIO platform devices: > - mask a VFIO IRQ > - get the active status of a VFIO IRQ (active at interrupt > controller level or masked by the level-sensitive automasking). >

[PATCH v2 6/7] clk: tegra: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/tegra/clk-divider.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/tegra/clk-divider.c index 59a5714

[PATCH v2 7/7] ARM: imx: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- arch/arm/mach-imx/clk-fixup-div.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/clk-fixup-div.c b/arch/arm/mach-imx/clk-fixup-div.c index

[PATCH v2 2/7] clk: mmp: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of custom approach. Signed-off-by: Andy Shevchenko --- drivers/clk/mmp/clk-mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mmp/clk-mix.c b/drivers/clk/mmp/clk-mix.c index de6a873..0810e27 100644 --- a/dri

[PATCH v2 3/7] clk: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/clk-divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index 25006a8..9cd

[PATCH v2 4/7] clk: socfpga: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/socfpga/clk-gate.c | 2 +- drivers/clk/socfpga/clk-periph.c | 2 +- drivers/clk/socfpga/clk.h| 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/d

RE: [Linux-nvdimm] [PATCH 1/6] SQUASHME: Don't let e820_PMEM sections

2015-03-31 Thread Brooks, Adam J
>If we need a NUMA crossing a mids a contiguous memory range >we split the range at NUMA boundary so to produce two pmemX >devices. We do not like 2 NUMA IDs at the same device. > >TODO: What happens with real type-12 NvDIMM the BIOS splits >these ranges? The physical memory map for an Intel based

[PATCH v2 1/7] clk: introduce clk_div_mask() helper

2015-03-31 Thread Andy Shevchenko
The patch introduces a helper that gives a divider mask based on register field width. The sequential patches will replace custom div_mask() macro in the corresponding clock provider modules. Signed-off-by: Andy Shevchenko --- include/linux/clk-provider.h | 5 + 1 file changed, 5 insertions

[PATCH v2 0/7] clk: replace div_mask() by clk_div_mask()

2015-03-31 Thread Andy Shevchenko
This series introduces clk_div_mask() helper in one place instead of div_mask() macros in many clock providers. Changelog v2: - fix patches 5,6,7 where parameter of the macro was d instead of d->width Andy Shevchenko (7): clk: introduce clk_div_mask() helper clk: mmp: switch to clk_div_mask(

[PATCH v2 5/7] clk: ti: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/ti/divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti/divider.c index 6211893..d73f7a

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-31 Thread Pantelis Antoniou
Hi Grant, > On Mar 31, 2015, at 20:02 , Grant Likely wrote: > > Hi Pantelis, > > Thanks for the quick reply. Comments below... > > On Tue, 31 Mar 2015 13:03:05 +0300 > , Pantelis Antoniou > wrote: >> Hi Grant, >> >>> On Mar 30, 2015, at 22:04 , Grant Likely wrote: >>> >>> On Thu, 22 Jan 20

Fwd: [PATCH 3/3] sysctl: detect overflows when converting to int

2015-03-31 Thread Heinrich Schuchardt
Hello Andrew, could you, please, propagate the patch in https://lkml.org/lkml/2015/3/29/189 to the MM tree. It is independent of the other two patches in the patch series. Rework for the other patches was requested by Alexey Dobriyan in https://lkml.org/lkml/2015/3/31/251 Best regards Heinrich

Re: [RFC/RFT, RESEND] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-03-31 Thread Sudeep Holla
On 31/03/15 11:56, Michael Ellerman wrote: On Mon, 2015-23-02 at 18:18:20 UTC, Sudeep Holla wrote: This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache informati

Re: [PATCH 4/6] of: add API for changing parameters of fixed link

2015-03-31 Thread Stas Sergeev
30.03.2015 19:06, Florian Fainelli пишет: > 2015-03-30 7:39 GMT-07:00 Stas Sergeev : >> 27.03.2015 20:15, Florian Fainelli пишет: >>> I think your concerns are valid, but I don't think there is going to be >>> any problem with the approach I suggested because there is a contract >>> that the fixed

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-31 Thread Andy Lutomirski
On Tue, Mar 31, 2015 at 9:43 AM, Ingo Molnar wrote: > > * Denys Vlasenko wrote: > >> > I guess they could optimize it by adding a single "I am a modern >> > OS executing regular userspace" flag to the descriptor [or >> > expressing the same as a separate instruction], to avoid all that >> > legac

Re: [PATCH 6/6] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Tomeu Vizoso wrote: > Have dev_pm_ops.prepare return 1 for USB devices, interfaces, endpoints > and ports so that USB devices can remain runtime-suspended when the > system goes to a sleep state. > > Also enable runtime PM for endpoints, which is another requirement for > the

Re: [PATCH v6] arm: perf: Directly handle SMP platforms with one SPI

2015-03-31 Thread Mark Rutland
Hi Daniel, I'd very much like to see us converge on a solution for this soon. The existing hack is getting in the way of other rework of the arm/arm64 perf code. I think the approach this patch takes should work, but there are some parts that can be cleaned up (hopefully mostly cosmetic). Unfortu

[PATCH v1 7/7] ARM: imx: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- arch/arm/mach-imx/clk-fixup-div.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/clk-fixup-div.c b/arch/arm/mach-imx/clk-fixup-div.c index

Re: [PATCH 4/9] ide,ata: Rename ATA_IDX to ATA_SENSE

2015-03-31 Thread David Miller
From: Hannes Reinecke Date: Fri, 27 Mar 2015 16:46:33 +0100 > ATA-8 defines bit 1 as 'ATA_SENSE', not 'ATA_IDX'. > > Signed-off-by: Hannes Reinecke Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

[PATCH v1 2/7] clk: mmp: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of custom approach. Signed-off-by: Andy Shevchenko --- drivers/clk/mmp/clk-mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mmp/clk-mix.c b/drivers/clk/mmp/clk-mix.c index de6a873..0810e27 100644 --- a/dri

Re: [PATCH 1/7] lib/vsprintf: add %*pg format specifier

2015-03-31 Thread Joe Perches
On Tue, 2015-03-31 at 20:01 +0400, Dmitry Monakhov wrote: > This allow to directly print block_device name. > Currently one should use bdevname() with temporal char buf[BDEVNAME_SIZE]. > This is very ineffective because bloat stack usage for deep IO call-traces [] > diff --git a/lib/vsprintf.c b/li

[PATCH v1 1/7] clk: introduce clk_div_mask() helper

2015-03-31 Thread Andy Shevchenko
The patch introduces a helper that gives a divider mask based on register field width. The sequential patches will replace custom div_mask() macro in the corresponding clock provider modules. Signed-off-by: Andy Shevchenko --- include/linux/clk-provider.h | 5 + 1 file changed, 5 insertions

[PATCH v1 5/7] clk: ti: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/ti/divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti/divider.c index 6211893..8a05e1

[PATCH v1 4/7] clk: socfpga: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/socfpga/clk-gate.c | 2 +- drivers/clk/socfpga/clk-periph.c | 2 +- drivers/clk/socfpga/clk.h| 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/d

[PATCH v1 3/7] clk: divider: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/clk-divider.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index 25006a8..9cd

[PATCH v1 6/7] clk: tegra: switch to clk_div_mask()

2015-03-31 Thread Andy Shevchenko
Convert the code to use clk_div_mask() helper instead of div_mask() macro. Signed-off-by: Andy Shevchenko --- drivers/clk/tegra/clk-divider.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/tegra/clk-divider.c index 59a5714

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-31 Thread David Ahern
On 3/31/15 10:53 AM, Yinghai Lu wrote: On Mon, Mar 30, 2015 at 9:10 PM, David Ahern wrote: On 3/30/15 7:06 PM, Yinghai Lu wrote: To make sure I am on the same page: these are a new round of patches? clear out the old, apply these? Clear out the old and apply these new ones. I take DaveM's r

[PATCH 4/9] x86/asm/entry/64: remove redundant DISABLE_INTERRUPTS

2015-03-31 Thread Denys Vlasenko
At this location, we already have interrupts off, always. To be more specific, we already disabled them here: ret_from_intr: DISABLE_INTERRUPTS(CLBR_NONE) Signed-off-by: Denys Vlasenko CC: Linus Torvalds CC: Steven Rostedt CC: Ingo Molnar CC: Borislav Petkov CC: "H. Peter Anv

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-31 Thread Grant Likely
Hi Pantelis, Thanks for the quick reply. Comments below... On Tue, 31 Mar 2015 13:03:05 +0300 , Pantelis Antoniou wrote: > Hi Grant, > > > On Mar 30, 2015, at 22:04 , Grant Likely wrote: > > > > On Thu, 22 Jan 2015 22:31:46 +0200 > > , Pantelis Antoniou > > wrote: > >> Hi Joe, > >> > >>> O

[PATCH 7/9] x86/asm/entry/32: tidy up some instructions

2015-03-31 Thread Denys Vlasenko
After TESTs, use logically correct JZ mnemonic instead of JE (this doesn't change code). Tidy up CMPW insns: Modern CPUs are not good with 16-bit operations. The instructions with 16-bit immediates are especially bad, on many CPUs they cause length changing prefix stall in the decoders, costing ~

[PATCH 8/9] x86/asm: replace MOVQ $imm,%reg with MOVL

2015-03-31 Thread Denys Vlasenko
There is no reason to use MOVQ to load a nonnegative immediate into a 64-bit register. MOVL does the same, since upper 32 bits are zero extended. Signed-off-by: Denys Vlasenko CC: Linus Torvalds CC: Steven Rostedt CC: Ingo Molnar CC: Borislav Petkov CC: "H. Peter Anvin" CC: Andy Lutomirski

[PATCH 9/9] x86/asm/entry/64: use local label to skip around sycall dispatch

2015-03-31 Thread Denys Vlasenko
Logically, we just want to jump around the "call *sys_call_table(,%rax,8)" if syscall number is too big, we do not specifically target "int_ret_from_sys_call" label. Use a local numeric label for this jump. This also makes code smaller because jumps to global labels are never translated to short

[PATCH 1/9] x86/asm/entry/64: do not TRACE_IRQS fast SYSRET64 path

2015-03-31 Thread Denys Vlasenko
SYSRET code path has a small irq-off block. On this code path, TRACE_IRQS_ON can't be called right before interrupts are enabled for real, we can't clobber registers there. So current code does it earlier, in a safe place. But with this, TRACE_IRQS_OFF/ON frames just two fast instructions, which i

[PATCH 3/9] x86/asm/entry/64: simplify retint_kernel label usage, make retint_restore_args label local

2015-03-31 Thread Denys Vlasenko
Get rid of #define obfuscation of retint_kernel in CONFIG_PREEMPT case by defining retint_kernel label always, not only for CONFIG_PREEMPT. Strip retint_kernel of .global-ness (ENTRY macro) - it has no users outside of this file. This looks like cosmetics, but it is not: "je LABEL" can be optimiz

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