This is based on (but somewhat different from) what hugetlbfs
does to share/unshare page tables.
Signed-off-by: Larry Bassel
---
include/linux/hugetlb.h | 4 ++
mm/huge_memory.c| 37 +
mm/hugetlb.c| 8 ++--
mm/memory.c | 108
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 2 +-
arch/arm64/mm/hugetlbpage.c | 2 +-
arch/x86/Kconfig| 2 +-
mm/hugetlb.c| 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 697ea05
ementation of sharing and unsharing is based
on, but somewhat different than that in mm/hugetlb.c,
though some of the code from this file could be reused and
thus was made non-static.
Larry Bassel (2):
Rename CONFIG_ARCH_WANT_HUGE_PMD_SHARE to
CONFIG_ARCH_HAS_HUGE_PMD_SHARE
Implement sharing
On 14 May 19 16:01, Kirill A. Shutemov wrote:
> On Thu, May 09, 2019 at 09:05:33AM -0700, Larry Bassel wrote:
[trim]
> > --- a/mm/huge_memory.c
> > +++ b/mm/huge_memory.c
> > @@ -1747,6 +1747,33 @@ static inline void zap_deposited_table(struct
> > mm_struct *mm, pmd_t *
On 14 May 19 15:28, Kirill A. Shutemov wrote:
> On Thu, May 09, 2019 at 09:05:31AM -0700, Larry Bassel wrote:
> > This patchset implements sharing of page table entries pointing
> > to 2MiB pages (PMDs) for FS/DAX on x86.
>
> -EPARSE.
>
> How do you share entries? En
[adding linux-mm]
On 21 Feb 19 15:41, Jerome Glisse wrote:
> On Wed, Feb 20, 2019 at 03:06:22PM -0800, Larry Bassel wrote:
> > I'm working on sharing page tables in the DAX/XFS/PMEM/PMD case.
> >
> > If multiple processes would use the identical page of PMDs corresponding
&
I'm working on sharing page tables in the DAX/XFS/PMEM/PMD case.
If multiple processes would use the identical page of PMDs corresponding
to a 1 GiB address range of DAX/XFS/PMEM/PMDs, presumably one can instead
of populating a new PUD, just atomically increment a refcount and point
to the same
Is mmaping a PMEM/DAX/fs file MAP_PRIVATE supported? Is it something
that people are likely to want to do?
If it is supported, suppose I open a file in PMEM/DAX/fs, mmap it
MAP_PRIVATE, read from the memory mapped file (with memory accesses,
not the read syscall) and take a page fault which the
6.13 patch (plus fixes to the known bugs in it)
and forward port it to the tip, rather than starting from scratch?
Thanks.
Larry Bassel
6.13 patch (plus fixes to the known bugs in it)
and forward port it to the tip, rather than starting from scratch?
Thanks.
Larry Bassel
On 17 May 18 08:23, Matthew Wilcox wrote:
>
> I can't find any information on what page sizes SPARC supports.
> Maybe you could point me at a reference? All I've managed to find is
> the architecture manuals for SPARC which believe it is not their purpose
> to mandate an MMU.
>
Page sizes of
On 17 May 18 08:23, Matthew Wilcox wrote:
>
> I can't find any information on what page sizes SPARC supports.
> Maybe you could point me at a reference? All I've managed to find is
> the architecture manuals for SPARC which believe it is not their purpose
> to mandate an MMU.
>
Page sizes of
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Acked-by: Will Deacon
Reviewed-by: Kevin Hilman
Tested-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 19
)
Changes v2 to v3:
* Save/restore necessary registers in ct_user_enter and ct_user_exit
* Annotate "error paths" out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm
e by Kevin.
Acked-by: Will Deacon
Reviewed-by: Kevin Hilman
Tested-by: Kevin Hilman
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S
.
Acked-by: Will Deacon will.dea...@arm.com
Reviewed-by: Kevin Hilman khil...@linaro.org
Tested-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Acked-by: Will Deacon will.dea...@arm.com
Reviewed-by: Kevin Hilman khil...@linaro.org
Tested-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry
)
Changes v2 to v3:
* Save/restore necessary registers in ct_user_enter and ct_user_exit
* Annotate error paths out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable
* Annotate "error paths" out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/i
e by Kevin.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
Acked-by: Will Deacon
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39 +++-
3 files changed, 43 insert
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
Acked-by: Will Deacon
---
arch/arm64/kernel/entry.S | 19 +--
1 file changed, 13 insertions(+), 6 deletions
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Acked-by: Will Deacon will.dea...@arm.com
---
arch/arm64/kernel/entry.S | 19 +--
1
* Annotate error paths out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Acked-by: Will Deacon will.dea...@arm.com
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39
s v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4 +++
arch/arm64/kernel/entry.S
e by Kevin.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39 +++-
3 files changed, 43 insertions(+), 1 deletion(-)
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/arch
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/arch
e by Kevin.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39 +++-
3 files changed, 43 insertions(+), 1 deletion(-)
s v1 to v2:
* Save far_el1 in x26 temporarily
*** BLURB HERE ***
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4 +++
arch/arm64/kernel/entry.S
:
* Save far_el1 in x26 temporarily
*** BLURB HERE ***
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4 +++
arch/arm64/kernel/entry.S| 58
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/kernel/entry.S | 19 +--
1 file changed, 13 insertions(+), 6 deletions
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39 +++-
3 files changed, 43
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/kernel/entry.S | 19 +--
1 file changed, 13 insertions(+), 6 deletions
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4
arch/arm64/kernel/entry.S| 39 +++-
3 files changed, 43
:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 4 +++
arch/arm64/kernel/entry.S| 58
On 28 May 14 12:27, Will Deacon wrote:
> Hi Larry,
>
> On Mon, May 26, 2014 at 07:56:12PM +0100, Larry Bassel wrote:
> > To implement the context tracker properly on arm64,
> > a function call needs to be made after debugging and
> > interrupts are turned on, b
On 28 May 14 12:27, Will Deacon wrote:
Hi Larry,
On Mon, May 26, 2014 at 07:56:12PM +0100, Larry Bassel wrote:
To implement the context tracker properly on arm64,
a function call needs to be made after debugging and
interrupts are turned on, but before the lr is changed
to point
registers in ct_user_enter and ct_user_exit
* Annotate "error paths" out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm
e by Kevin.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 46
3 files changed, 48 insertions(+)
diff --git a/
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/kernel/entry.S | 23 ---
1 file changed, 16 insertions(+), 7
registers in ct_user_enter and ct_user_exit
* Annotate error paths out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 46
3 files changed, 48
On 23 May 14 15:44, Catalin Marinas wrote:
> On Thu, May 22, 2014 at 11:35:20PM +0100, Larry Bassel wrote:
> > > On 05/22/2014 03:27 PM, Larry Bassel wrote:
> > > > To implement the context tracker properly on arm64,
> > > > a function call needs to be made af
On 23 May 14 15:44, Catalin Marinas wrote:
On Thu, May 22, 2014 at 11:35:20PM +0100, Larry Bassel wrote:
On 05/22/2014 03:27 PM, Larry Bassel wrote:
To implement the context tracker properly on arm64,
a function call needs to be made after debugging and
interrupts are turned
On 22 May 14 16:23, Christopher Covington wrote:
> Hi Larry,
>
> On 05/22/2014 03:27 PM, Larry Bassel wrote:
> > To implement the context tracker properly on arm64,
> > a function call needs to be made after debugging and
> > interrupts are turned on, but before the
el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 72
3 fil
e by Kevin.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 48
3 files changed, 50 insertions(+)
diff --git a/
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/kernel/entry.S | 24 +---
1 file changed, 17 insertions(+), 7
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 48
3 files changed, 50
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 72
3 files changed
On 22 May 14 16:23, Christopher Covington wrote:
Hi Larry,
On 05/22/2014 03:27 PM, Larry Bassel wrote:
To implement the context tracker properly on arm64,
a function call needs to be made after debugging and
interrupts are turned on, but before the lr is changed
to point to ret_to_user
by: Stephen Boyd
Tested-by: Olof Johansson
Signed-off-by: Russell King
Changes v2 to v3:
* Do not call is_smp() as this is only defined on arm32
Changes v1 to v2:
* Include ARM 7887/1 bugfix
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/include/asm/hardirq
On 12 May 14 10:29, Will Deacon wrote:
> On Sat, May 10, 2014 at 11:23:41PM +0100, Larry Bassel wrote:
> > Support for arch_irq_work_raise() was missing from
> > arm64 (a prerequisite for FULL_NOHZ).
>
> [...]
>
> > @@ -455,6 +457,14 @@ void arch_send_ca
On 12 May 14 10:29, Will Deacon wrote:
On Sat, May 10, 2014 at 11:23:41PM +0100, Larry Bassel wrote:
Support for arch_irq_work_raise() was missing from
arm64 (a prerequisite for FULL_NOHZ).
[...]
@@ -455,6 +457,14 @@ void arch_send_call_function_single_ipi(int cpu)
smp_cross_call
not call is_smp() as this is only defined on arm32
Changes v1 to v2:
* Include ARM 7887/1 bugfix
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed-by: Kevin Hilman khil...@linaro.org
---
arch/arm64/include/asm/hardirq.h | 2 +-
arch/arm64/kernel/smp.c | 19 +++
2
Signed-off-by: Stephen Boyd
Tested-by: Olof Johansson
Signed-off-by: Russell King
Changes v1 to v2:
* Include ARM 7887/1 bugfix
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/include/asm/hardirq.h | 2 +-
arch/arm64/kernel/smp.c | 19 ++
On 09 May 14 16:57, Catalin Marinas wrote:
> On Mon, May 05, 2014 at 09:48:27PM +0100, Larry Bassel wrote:
> > Support for arch_irq_work_raise() was missing from
> > arm64 (a prerequisite for FULL_NOHZ).
> >
> > This patch is based on the arm32 patch ARM 787
On 09 May 14 16:57, Catalin Marinas wrote:
On Mon, May 05, 2014 at 09:48:27PM +0100, Larry Bassel wrote:
Support for arch_irq_work_raise() was missing from
arm64 (a prerequisite for FULL_NOHZ).
This patch is based on the arm32 patch ARM 7872/1
which ports cleanly.
[...]
+#ifdef
to v2:
* Include ARM 7887/1 bugfix
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed-by: Kevin Hilman khil...@linaro.org
---
arch/arm64/include/asm/hardirq.h | 2 +-
arch/arm64/kernel/smp.c | 19 +++
2 files changed, 20 insertions(+), 1 deletion(-)
diff
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/kernel/entry.S | 27 +++
1 file changed, 19
a previous patch of this series).
The calls to ct_user_exit are made after hw debugging has been
enabled (enable_dbg).
The call to ct_user_enter is made at the beginning of the
kernel_exit macro.
This patch is based on earlier work by Kevin Hilman.
Signed-off-by: Kevin Hilman
Signed-off-by: La
" out of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
of el0_sync with ct_user_exit
Changes v1 to v2:
* Save far_el1 in x26 temporarily
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed-by: Kevin Hilman khil...@linaro.org
---
arch/arm64/kernel/entry.S | 27
-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 49
3 files changed, 51 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64
On 07 May 14 11:17, Will Deacon wrote:
> On Wed, May 07, 2014 at 12:32:29AM +0100, Larry Bassel wrote:
> > Make calls to ct_user_enter when the kernel is exited
> > and ct_user_exit when the kernel is entered (in el0_da,
> > el0_ia, el0_svc, el0_irq).
>
> Why onl
On 07 May 14 11:17, Will Deacon wrote:
On Wed, May 07, 2014 at 12:32:29AM +0100, Larry Bassel wrote:
Make calls to ct_user_enter when the kernel is exited
and ct_user_exit when the kernel is entered (in el0_da,
el0_ia, el0_svc, el0_irq).
Why only these entry points? I can reschedule
Implement and enable context tracking for arm64 (which is
a prerequisite for FULL_NOHZ support). This patchset
builds upon earlier work by Kevin Hilman and is based on 3.15-rc2.
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/kernel/entry.S | 14 +-
1 file changed, 9 insertions(+), 5
.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 22 ++
3 files changed, 24 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64
.
For similar reasons, defer the setting of x0 so that
it doesn't need to be saved around the function call
(save far_el1 in x26 temporarily instead).
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed-by: Kevin Hilman khil...@linaro.org
---
arch/arm64/kernel/entry.S | 14
.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 22 ++
3 files changed, 24 insertions(+)
diff
Implement and enable context tracking for arm64 (which is
a prerequisite for FULL_NOHZ support). This patchset
builds upon earlier work by Kevin Hilman and is based on 3.15-rc2.
Larry Bassel (2):
arm64: adjust el0_sync so that a function can be called
arm64: enable context tracking
arch
anyway.
Signed-off-by: Stephen Boyd
Reviewed-by: Kevin Hilman
Cc: Frederic Weisbecker
Signed-off-by: Russell King
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/include/asm/hardirq.h | 2 +-
arch/arm64/kernel/smp.c | 18 ++
2
supported on SMP builds anyway.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Reviewed-by: Kevin Hilman khil...@linaro.org
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed
).
The calls to ct_user_exit are made after hw debugging has been
enabled (enable_dbg).
The call to ct_user_enter is made at the end of the kernel_exit
macro.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/kernel/entry.S | 5 +
1 file changed, 5 insertions(+)
diff --git
From: Kevin Hilman
Add the macros and defines needed to implement
context tracking on arm64.
Signed-off-by: Kevin Hilman
Signed-off-by: Larry Bassel
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 1 +
arch/arm64/kernel/entry.S| 16
Implement and enable context tracking for arm64 (which is
a prerequisite for FULL_NOHZ support). This patchset
builds upon earlier work by Kevin Hilman and is based on 3.15-rc2.
Kevin Hilman (1):
arm64: add support for context tracking
Larry Bassel (2):
arm64: adjust el0_sync so
. For similar reasons, defer
the setting of x0 so that it doesn't need to be saved
around the function call.
Signed-off-by: Larry Bassel
Reviewed-by: Kevin Hilman
---
arch/arm64/kernel/entry.S | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/kernel
Implement and enable context tracking for arm64 (which is
a prerequisite for FULL_NOHZ support). This patchset
builds upon earlier work by Kevin Hilman and is based on 3.15-rc2.
Kevin Hilman (1):
arm64: add support for context tracking
Larry Bassel (2):
arm64: adjust el0_sync so
. For similar reasons, defer
the setting of x0 so that it doesn't need to be saved
around the function call.
Signed-off-by: Larry Bassel larry.bas...@linaro.org
Reviewed-by: Kevin Hilman khil...@linaro.org
---
arch/arm64/kernel/entry.S | 12 +++-
1 file changed, 7 insertions(+), 5 deletions
From: Kevin Hilman khil...@linaro.org
Add the macros and defines needed to implement
context tracking on arm64.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm
).
The calls to ct_user_exit are made after hw debugging has been
enabled (enable_dbg).
The call to ct_user_enter is made at the end of the kernel_exit
macro.
Signed-off-by: Kevin Hilman khil...@linaro.org
Signed-off-by: Larry Bassel larry.bas...@linaro.org
---
arch/arm64/kernel/entry.S | 5 +
1
86 matches
Mail list logo