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
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
>
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
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
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
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
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
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", "
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
>>
>>
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
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
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
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
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
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
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
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
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
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
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
> > > >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +++
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
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
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
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).
>
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
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
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
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
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
>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
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
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(
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ~
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
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
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
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
501 - 600 of 1132 matches
Mail list logo