This is basically just a resend of the following patchset:
https://www.spinics.net/lists/linux-clk/msg23141.html
I've just updated the patchset and implemented Shawn's
and Aisheng's comments.
I hope I haven't missed any of their comments.
Lucas Stach (4):
dt-bindings: add binding for i.MX8MQ
This adds the binding for the i.MX8MQ pin controller, in the same
fashion as earlier i.MX SoCs.
Signed-off-by: Abel Vesa
Acked-by: Dong Aisheng
---
.../bindings/pinctrl/fsl,imx8mq-pinctrl.txt| 36 ++
1 file changed, 36 insertions(+)
create mode 100644
From: Lucas Stach
The i.MX8MQ pincontrol works in a similar way to the earlier i.MX SoCs.
This driver builds on top of the imx specific pinconf handling.
Signed-off-by: Lucas Stach
Signed-off-by: Abel Vesa
Acked-by: Dong Aisheng
---
drivers/pinctrl/freescale/Kconfig | 7
ce v4:
* implemented all Aisheng's review comments
Changes since v3:
* dropped the SION generic pinconf changes
* added examples to the bindings doc
Changes since v2:
* switch back to the 'fsl,pins' and hardcoded the config values
inside the dts.
* updated documentation accordingly
Abel Ves
From: Lucas Stach
The i.MX8MQ pincontrol works in a similar way to the earlier i.MX SoCs.
This driver builds on top of the imx specific pinconf handling.
Signed-off-by: Lucas Stach
Signed-off-by: Abel Vesa
Acked-by: Dong Aisheng
---
drivers/pinctrl/freescale/Kconfig | 7
This adds the binding for the i.MX8MQ pin controller, in the same
fashion as earlier i.MX SoCs.
Signed-off-by: Abel Vesa
Acked-by: Dong Aisheng
---
.../bindings/pinctrl/fsl,imx8mq-pinctrl.txt| 32 ++
1 file changed, 32 insertions(+)
create mode 100644
SION generic pinconf changes
* added examples to the bindings doc
Changes since v2:
* switch back to the 'fsl,pins' and hardcoded the config values
inside the dts.
* updated documentation accordingly
Abel Vesa (1):
dt-bindings: add binding for i.MX8MQ IOMUXC
Lucas Stach (1):
pi
Changes since v2:
* switch back to the 'fsl,pins' and hardcoded the config values
inside the dts.
* updated documentation accordingly
Abel Vesa (1):
dt-bindings: add binding for i.MX8MQ IOMUXC
Lucas Stach (1):
pinctrl: imx: add driver for i.MX8MQ
.../bindings/pinctrl/fsl,imx8mq-p
This adds the binding for the i.MX8MQ pin controller, in the same
fashion as earlier i.MX SoCs.
Signed-off-by: Abel Vesa
---
.../bindings/pinctrl/fsl,imx8mq-pinctrl.txt| 29 ++
1 file changed, 29 insertions(+)
create mode 100644
Documentation/devicetree/bindings
From: Lucas Stach
The i.MX8MQ pincontrol works in a similar way to the earlier i.MX SoCs.
This driver builds on top of the generic pinconf handling introduced
with the i.MX7ULP pinctrl driver.
Signed-off-by: Lucas Stach
Signed-off-by: Abel Vesa
---
drivers/pinctrl/freescale/Kconfig
n the next version.
Thanks,
Abel
> Regards,
> Lucas
>
> Am Mittwoch, den 20.06.2018, 10:24 +0300 schrieb Abel Vesa:
> > > From: Lucas Stach
> >
> > The SION bit force enables the input buffer, overriding the configuration
> > driven by the muxed module. It is n
This is the third version for the patch series sent by Lucas.
https://www.spinics.net/lists/devicetree/msg212752.html
Changes since v2:
* switch back to the 'fsl,pins' and hardcoded the config values
inside the dts.
* updated documentation accordingly
Abel Vesa (1):
dt-bindings: a
From: Lucas Stach
The SION bit force enables the input buffer, overriding the configuration
driven by the muxed module. It is not located in the pad config register,
but in the mux register and thus needs special handling.
Signed-off-by: Lucas Stach
Signed-off-by: Abel Vesa
---
drivers
From: Lucas Stach
The i.MX8MQ pincontrol works in a similar way to the earlier i.MX SoCs.
This driver builds on top of the generic pinconf handling introduced
with the i.MX7ULP pinctrl driver.
Signed-off-by: Lucas Stach
Signed-off-by: Abel Vesa
---
drivers/pinctrl/freescale/Kconfig
This adds the binding for the i.MX8MQ pin controller, in the same
fashion as earlier i.MX SoCs.
Signed-off-by: Abel Vesa
---
.../devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt | 13 +
1 file changed, 13 insertions(+)
create mode 100644
Documentation/devicetree/bindings
From: Robin Gong
Add basic pf1550 charger driver.
Signed-off-by: Robin Gong
Signed-off-by: Abel Vesa
---
drivers/power/supply/Kconfig | 6 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/pf1550_charger.c | 660 ++
3 files
From: Robin Gong
Add basic pf1550 mfd driver.
Signed-off-by: Robin Gong
Signed-off-by: Abel Vesa
---
drivers/mfd/Kconfig| 14 +++
drivers/mfd/Makefile | 2 +
drivers/mfd/pf1550.c | 282 +
include/linux/mfd/pf1550.h | 241
due to the glitchy
multiplexers.
Signed-off-by: Shawn Guo
[initial patch from imx internal repo]
Signed-off-by: Abel Vesa
[carried over from 3.14 and also applied the flag to newer functions]
---
Changes since v1:
- changed ownership as per initial patch
drivers/clk/imx/clk.h | 15
On Wed, Mar 28, 2018 at 09:46:36AM +0300, Abel Vesa wrote:
> From: Dong Aisheng
>
> For init on clocks we should move it at the first place in imx7d_clocks_init()
> before any clock operations, else the clock operation may fail in case the
> clock
> is still not on.
>
-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index 89bfa75..9b17805 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -433,13
From: Anson Huang
DRAM PLL is a audio/video type PLL, need to correct
it to get correct ops of PLL.
There is a test_div placed before DRAM PLL's gate, so
add this test div clk.
Signed-off-by: Anson Huang
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-im
clk parent option to make clk tree info
correct.
Signed-off-by: Anson Huang
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
ind
From: Peter Chen
Add USB clock information, the pll_usb_main_clk is USB_PLL at CCM
which is the output of USBOTG2 PHY.
Signed-off-by: Peter Chen
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index 50da4cb..975a20d 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -433,13
Resent as a patcheset now.
I sent the initial patches as individual ones,
without specifying the order they need to be applied in.
https://lkml.org/lkml/2018/3/27/535
https://lkml.org/lkml/2018/3/27/536
https://lkml.org/lkml/2018/3/27/539
https://lkml.org/lkml/2018/3/27/542
Anson Huang (2):
c
Hi Fabio,
On Tue, Mar 27, 2018 at 12:08:39PM -0300, Fabio Estevam wrote:
> Hi Abel,
>
> On Tue, Mar 27, 2018 at 11:23 AM, Abel Vesa wrote:
> > From: Dong Aisheng
> >
> > For init on clocks we should move it at the first place in
> > imx7d_clocks_init()
>
-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index 89bfa75..9b17805 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -433,13
clk parent option to make clk tree info
correct.
Signed-off-by: Anson Huang
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
ind
From: Anson Huang
DRAM PLL is a audio/video type PLL, need to correct
it to get correct ops of PLL.
There is a test_div placed before DRAM PLL's gate, so
add this test div clk.
Signed-off-by: Anson Huang
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-im
From: Peter Chen
Add USB clock information, the pll_usb_main_clk is USB_PLL at CCM
which is the output of USBOTG2 PHY.
Signed-off-by: Peter Chen
Signed-off-by: Irina Tirdea
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
multiplexers.
Signed-off-by: Shawn Guo
[initial patch from imx internal repo]
Signed-off-by: Abel Vesa
[carried over from 3.14 and also applied the flag to newer functions]
---
drivers/clk/imx/clk.h | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/clk
Hi Shawn, Fabio,
I'm trying to get the imx clks changes upstreamed. To that end, I reached this
old commit that adds some wrappers over the generic clk API. Here is the commit
message:
ARM: imx6: add return check for clock calls
There are a bunch of clk_enable_prepare, clk_set_pa
Hi Fabio,
On Thu, Mar 22, 2018 at 09:31:03AM -0300, Fabio Estevam wrote:
>
> This has already been applied in linux-next as commit:
>
> commit b716aad97eb5 ("clk: imx: imx7d: correct video pll clock tree)
OK. Will create the patchset again without this one.
>
> Nit: the prefix in the Subject
From: Anson Huang
DRAM PLL is a audio/video type PLL, need to correct it to get correct ops of
PLL.
There is a test_div placed before DRAM PLL's gate, so add this test div clk.
Signed-off-by: Anson Huang
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c
From: Anson Huang
This patch updates the imx7d clk driver to make use of the new imx clk API.
Signed-off-by: Anson Huang
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/clk/imx
This is part of the imx upstreaming effort. All the changes are related imx
generic clk API and imx7d clk driver. The imx clk API updates will also be used
by the new imx SOCs that will follow.
Abel Vesa (1):
arm: imx: Update clk driver API
Anson Huang (3):
arm: imx: Correct dram pll type
clk parent option to make clk tree info correct.
Signed-off-by: Anson Huang
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk-imx7d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index d786f98..3553b68 100644
--- a/d
This adds the following new wrappers:
- imx_clk_gate2_flag
- imx_clk_set_parent
It also updates the flags for the old wrappers.
Signed-off-by: Anson Huang
Signed-off-by: Abel Vesa
---
drivers/clk/imx/clk.h | 42 +++---
1 file changed, 31 insertions(+), 11
this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/ftrace.h | 4 ++
arch/arm/kernel/entry-ftra
On Fri, May 12, 2017 at 09:38:37PM +0100, abelv...@gmail.com wrote:
> From: Abel Vesa
To be ignored, wrong git config. Will send another one without the From line.
>
> The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace
> operation to specify if registers n
M: mm: allow text and rodata sections to be read-only")
Suggested-by: Nicolai Stange
Suggested-by: Rabin Vincent
Signed-off-by: Abel Vesa
Acked-by: Rabin Vincent
---
arch/arm/kernel/ftrace.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/kernel/ftrac
On Sat, Mar 04, 2017 at 02:02:17PM +0100, Rabin Vincent wrote:
> On Sat, Mar 04, 2017 at 12:51:12AM +0000, Abel Vesa wrote:
> > diff --git a/arch/arm/kernel/entry-ftrace.S b/arch/arm/kernel/entry-ftrace.S
> > index c73c403..93f9abb 100644
> > --- a/arch/arm/kernel/entry-ftrace
M: mm: allow text and rodata sections to be read-only")
Suggested-by: Nicolai Stange
Suggested-by: Rabin Vincent
Signed-off-by: Abel Vesa
---
arch/arm/kernel/ftrace.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftra
this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/ftrace.h | 4 ++
arch/arm/kernel/entry-ftr
On Tue, Feb 28, 2017 at 11:54:29AM +, Abel Vesa wrote:
> On Tue, Feb 28, 2017 at 11:46:38AM +, Russell King - ARM Linux wrote:
> > On Tue, Feb 28, 2017 at 11:22:27AM +0000, Abel Vesa wrote:
> > > On Tue, Feb 28, 2017 at 11:58:49AM +0100, Nicolai Stange wrot
On Tue, Feb 28, 2017 at 11:46:38AM +, Russell King - ARM Linux wrote:
> On Tue, Feb 28, 2017 at 11:22:27AM +0000, Abel Vesa wrote:
> > On Tue, Feb 28, 2017 at 11:58:49AM +0100, Nicolai Stange wrote:
> > > Hi Abel,
> > >
> > > On Tue, Feb 28 2017, Abel Vesa
On Tue, Feb 28, 2017 at 11:58:49AM +0100, Nicolai Stange wrote:
> Hi Abel,
>
> On Tue, Feb 28 2017, Abel Vesa wrote:
>
> > On Mon, Feb 27, 2017 at 04:52:06PM +0100, Nicolai Stange wrote:
> >> On Fri, Feb 24 2017, Abel Vesa wrote:
> >>
> >>
> >
On Mon, Feb 27, 2017 at 04:52:06PM +0100, Nicolai Stange wrote:
> Hi Abel,
>
> On Fri, Feb 24 2017, Abel Vesa wrote:
>
>
>
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index fda6a46..877df5b 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arc
this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/ftrace.h | 4 ++
arch/arm/kernel/entry-ftr
On Fri, Feb 10, 2017 at 02:57:38PM +0100, Jean-Jacques Hiblot wrote:
> 2017-02-10 13:03 GMT+01:00 Abel Vesa :
> > On Fri, Feb 10, 2017 at 11:36:12AM +0100, Jean-Jacques Hiblot wrote:
> >> 2017-02-09 17:29 GMT+01:00 Russell King - ARM Linux
> >> :
> >> > O
On Fri, Feb 10, 2017 at 02:28:47PM +, Russell King - ARM Linux wrote:
> On Fri, Feb 10, 2017 at 12:03:06PM +0000, Abel Vesa wrote:
> > The only problem I don't have a solution for at this point is OLD_LR (or
> > previous LR as it is called in this patch).
>
>
On Fri, Feb 10, 2017 at 11:36:12AM +0100, Jean-Jacques Hiblot wrote:
> 2017-02-09 17:29 GMT+01:00 Russell King - ARM Linux :
> > On Tue, Feb 07, 2017 at 10:57:55PM +0000, Abel Vesa wrote:
> >> +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
> >> +
> >> +.macro __ftra
On Thu, Feb 09, 2017 at 07:01:10PM +, Abel Vesa wrote:
> On Thu, Feb 09, 2017 at 01:14:52PM -0500, Steven Rostedt wrote:
> >
> > [ sending again with Masami Cc'd ]
> >
> > On Thu, 9 Feb 2017 13:14:14 -0500
> > Steven Rostedt wrote:
> >
> >
On Thu, Feb 09, 2017 at 01:14:52PM -0500, Steven Rostedt wrote:
>
> [ sending again with Masami Cc'd ]
>
> On Thu, 9 Feb 2017 13:14:14 -0500
> Steven Rostedt wrote:
>
> > On Thu, 9 Feb 2017 18:06:44 +
> > Russell King - ARM Linux wrote:
> >
> > > On Thu, Feb 09, 2017 at 12:13:22PM -0500,
On Thu, Feb 09, 2017 at 04:29:56PM +, Russell King - ARM Linux wrote:
> On Tue, Feb 07, 2017 at 10:57:55PM +0000, Abel Vesa wrote:
> > +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
> > +
> > +.macro __ftrace_regs_caller
> > +
> > + add ip, sp, #4 @ mov
On Thu, Feb 09, 2017 at 06:06:44PM +, Russell King - ARM Linux wrote:
> On Thu, Feb 09, 2017 at 12:13:22PM -0500, Steven Rostedt wrote:
> > Then came along live kernel patching, which I believe this series is
> > trying to support. What is needed by pt_regs is a way to "hijack" the
> > function
this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/ftrace.h | 4 +++
arch/arm/kernel/entry-ftr
rom [<80198908>]
> (multi_cpu_stop+0xe8/0x114)
> [<80198908>] (multi_cpu_stop) from [<80198588>]
> (cpu_stopper_thread+0x60/0x134)
> [<80198588>] (cpu_stopper_thread) from [<8013f428>]
> (smpboot_thread_fn+0x148/0x1c4)
> [<8013f428>] (smpb
this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/ftrace.h | 4 +++
arch/arm/kernel/entry-ftr
Hi Jean-Jacques,
Here is the implementation I've made for ftrace_graph_regs_caller:
.macro __ftrace_graph_regs_caller
sub r0, fp, #4 @ lr of
instrumented routine (parent)
@ called from __ftrace_regs_caller
ldr r1, [sp, #56]
On Tue, Jan 10, 2017 at 04:51:12PM +0100, Petr Mladek wrote:
> On Thu 2016-12-08 22:46:55, Abel Vesa wrote:
> > On Thu, Dec 08, 2016 at 09:46:35PM +0000, Abel Vesa wrote:
> > > From: Jean-Jacques Hiblot
> > >
> > > From: Jean-Jacques Hiblot
> >
>
d function.
A side-effect of this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture
Signed-off-by: Jean-Jacques Hiblot
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 2 ++
arch/arm/include/asm/ftrace.h | 4
On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote:
> From: Jean-Jacques Hiblot
>
> From: Jean-Jacques Hiblot
>From statement twice in the commit message. Will resend.
>
> The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace
> operation to spec
ng back to the instrumented function.
A side-effect of this patch is to activate the support for ftrace_modify_call()
as it defines ARCH_SUPPORTS_FTRACE_OPS for the ARM architecture
Signed-off-by: Jean-Jacques Hiblot
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 2 ++
arch/a
On Wed, Dec 07, 2016 at 04:05:25PM +0100, Petr Mladek wrote:
> On Tue 2016-12-06 17:06:06, Abel Vesa wrote:
> > Necessary livepatch file added to makefile.
> >
> > Signed-off-by: Abel Vesa
> > ---
> > arch/arm/kernel/Makefile | 1 +
> > 1 file changed, 1
On Wed, Dec 07, 2016 at 11:58:24AM +, Robin Murphy wrote:
> Hi Abel,
>
> On 06/12/16 17:06, Abel Vesa wrote:
> > This adds __ftrace_regs_caller which, unlike __ftrace_caller,
> > adds register saving/restoring and livepatch handling if
> > the pc register gets mod
On Wed, Dec 07, 2016 at 09:38:07AM +0800, zhouchengming wrote:
> On 2016/12/7 1:06, Abel Vesa wrote:
> >This is just an idea I've been trying out for a while now.
> >
> >Just in case somebody wants to play with it, this applies to
> >linux-arm/for-next.
> >
anything at this
moment.
Signed-off-by: Abel Vesa
---
MAINTAINERS | 3 +++
arch/arm/include/asm/livepatch.h | 46
arch/arm/kernel/livepatch.c | 43 +
3 files changed, 92 insertions(+)
create
ARCH_SUPPORTS_FTRACE_OPS is needed for livepatch if
CONFIG_DYNAMIC_FTRACE_WITH_REGS is defined.
Signed-off-by: Abel Vesa
---
arch/arm/include/asm/ftrace.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
index bfe2a2f..f434ce9
Necessary livepatch file added to makefile.
Signed-off-by: Abel Vesa
---
arch/arm/kernel/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile
index ad325a8..9e70220 100644
--- a/arch/arm/kernel/Makefile
+++ b/arch/arm/kernel/Makefile
This adds HAVE_LIVEPATCH, MODULES_USE_ELF_RELA and HAVE_LIVEPATCH
to arm Kconfig.
Signed-off-by: Abel Vesa
---
arch/arm/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 186c4c2..f4e9ace 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
tack handling since I'm getting some build warnings. Those are
due to pushing/popping of a list of regs in which the sp resides. I'll try to
get around those in a next iteration (if necessary), but first I would like to
hear some opinions about this work and if it's worth going forward.
E
Function ftrace_modify_call provides a way to replace ftrace_stub
with the ftrace function. This helps the klp_ftrace_handler to be
called via ftrace_ops_no_ops, which in turn will set the pc with
the patched function's starting address. This is used for
livepatching.
Signed-off-by: Abel
This adds __ftrace_regs_caller which, unlike __ftrace_caller,
adds register saving/restoring and livepatch handling if
the pc register gets modified by klp_ftrace_handler.
Signed-off-by: Abel Vesa
---
arch/arm/kernel/entry-ftrace.S | 49 ++
1 file changed
It was only added to fix compiler error. It is not implemented
yet.
Signed-off-by: Abel Vesa
---
arch/arm/kernel/module.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c
index 4f14b5c..bf94922 100644
--- a/arch/arm/kernel/module.c
Simple cleanup. No need for two functions here.
The whole work can simply be done inside 'ftrace_module_init'.
Signed-off-by: Abel Vesa
---
kernel/trace/ftrace.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trac
Hi,
So I tried to play around a little bit with this patchset. I did a
checkout from:
git://linux-arm.org/linux-power.git energy_model_rfc_v4
and then, when I tried to enable the ENERGY_AWARE from sysfs inside
qemu (x86_64) and I got this:
[69452.750245] BUG: unable to handle kernel paging requ
On Sat, May 23, 2015 at 04:52:23PM +0200, Ingo Molnar wrote:
>
> What tree is this against? Neither the upstream kernel nor
> tip:sched/core (the scheduler development tree) has this function.
>
Sorry, I forgot to mention.
This patch applies to:
git://linux-arm.org/linux-power.git energy_model
Trivial fixes forh machines without SMP.
Signed-off-by: Abel Vesa
---
kernel/sched/fair.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index e6d32e6..dae3db7 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
If CONFIG_SMP is not defined the build will fail due to
function 'gov_cfs_update_cpu' definition missing.
Added empty static inline definition for NON-SMP systems.
This patch applies to:
https://git.linaro.org/people/mike.turquette/linux.git sched-freq
Signed-off-by: Abel Vesa
---
ke
If CONFIG_SMP is not defined the build will fail due to
function 'gov_cfs_update_cpu' definition missing.
Added empty static inline definition for NON-SMP systems.
This patch applies to:
https://git.linaro.org/people/mike.turquette/linux.git sched-freq
Signed-off-by: Abel Vesa
---
ke
On Tue, Apr 7, 2015 at 7:55 PM, Mike Galbraith wrote:
> On Tue, 2015-04-07 at 16:37 +0300, Abel Vesa wrote:
>> On Tue, Apr 7, 2015 at 1:30 PM, Peter Zijlstra > > wrote:
>> > On Mon, Apr 06, 2015 at 09:43:43PM +0300, Abel Vesa wrote:
>> > > This patch removes
On Tue, Apr 7, 2015 at 1:30 PM, Peter Zijlstra wrote:
> On Mon, Apr 06, 2015 at 09:43:43PM +0300, Abel Vesa wrote:
>> This patch removes function wakeup_gran and its call by calling directly
>> calc_delta_fair function with sysctl_sched_wakeup_granularity and se as
>> argum
This patch removes function wakeup_gran and its call by calling directly
calc_delta_fair function with sysctl_sched_wakeup_granularity and se as
arguments.
Signed-off-by: Abel Vesa
---
kernel/sched/fair.c | 38 --
1 file changed, 16 insertions(+), 22
Commit-ID: 07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6
Gitweb: http://git.kernel.org/tip/07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6
Author: Abel Vesa
AuthorDate: Tue, 3 Mar 2015 13:50:27 +0200
Committer: Ingo Molnar
CommitDate: Thu, 2 Apr 2015 17:42:55 +0200
sched/core: Remove unused
Obviously, _rq_ is not used in these two functions, therefore,
there is no reason to be passed as argument.
Signed-off-by: Abel Vesa
---
kernel/sched/core.c | 4 ++--
kernel/sched/deadline.c | 2 +-
kernel/sched/rt.c | 4 ++--
kernel/sched/sched.h| 4 ++--
4 files changed, 7
For a while now, I've started studying the power aware scheduling problem.
And like many other rookies out there I took all the lkml mails related
and read them all (well, almost all) and I saw that there are some
debating on the implementation.I even look over the implementation
proposed of Preeti
501 - 587 of 587 matches
Mail list logo