the copy in
fs/compat.c to make sure that it is not being used.
Signed-off-by: Andrew Pinski
---
fs/compat.c |8
fs/select.c |4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/compat.c b/fs/compat.c
index 6af20de..298e3e1 100644
--- a/fs/compat.c
+++ b/fs
The signal code for ILP32 uses one extra function from signal32.c; it does not
make sense to enable the whole signal32.c code so we move the function which
was being used to signal.c.
Signed-off-by: Andrew Pinski
---
arch/arm64/kernel/signal.c | 85
Since the ILP32 ABI uses similar signal code as the LP64 ABI, it makes sense to
reuse rather
than copy the same code.
Signed-off-by: Andrew Pinski
---
arch/arm64/kernel/signal.c | 170 +---
1 files changed, 1 insertions(+), 169 deletions(-)
diff --git
Right now CONFIG_COMPAT means enabling AARCH32 support in the ARM64 traget,
which we want to split out so we can it to mean any 32bit ABI support instead.
---
arch/arm64/Kconfig |6 +-
arch/arm64/include/asm/compat.h| 32
arch/arm64/
This patch adds full support of the ABI to the ARM64 target.
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig | 11 +-
arch/arm64/include/asm/Kbuild|1 -
arch/arm64/include/asm/compat.h | 72 ++-
arch/arm64/include/asm/elf.h
On Mon, Sep 9, 2013 at 2:32 PM, Andrew Pinski wrote:
> Since the ILP32 ABI uses similar signal code as the LP64 ABI, it makes sense
> to reuse rather
> than copy the same code.
I just noticed that signal_template.c was not part of this patch but
it is included with patch number 5
On Wed, Sep 11, 2013 at 4:09 AM, Catalin Marinas
wrote:
> On Mon, Sep 09, 2013 at 10:32:57PM +0100, Andrew Pinski wrote:
>> The ILP32 ABI in ARM64 uses a slightly different pselect from either
>> the compat or even the native LP64 ABI. We would want to reuse some
>>
On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas
wrote:
> On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote:
>> This patch adds full support of the ABI to the ARM64 target.
>
> This description is too short. Please describe what the ABI is, what are
> the commonal
On Feb 16, 2008 9:58 AM, Willy Tarreau <[EMAIL PROTECTED]> wrote:
> Last but not least, gcc 4 tends to emit stupid checks, to the point that I
> have replaced unlikely(x) with (x) in my code when gcc >= 4 is detected. What
> I observe is that the following code :
>
> if (unlikely(p == NULL)) ..
On Feb 18, 2008 6:01 AM, Geert Uytterhoeven
<[EMAIL PROTECTED]> wrote:
> > This means it generates faster code with a current gcc for your platform.
> >
> > But a future gcc might e.g. replace the whole loop with a division
> > (gcc SVN head (that will soon become gcc 4.3) already does
> > transfor
On 12/5/07, Jan Beulich <[EMAIL PROTECTED]> wrote:
> >>> "Andrew Pinski" <[EMAIL PROTECTED]> 25.11.07 19:45 >>>
> >On 11/25/07, Luca <[EMAIL PROTECTED]> wrote:
> >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer
On 11/25/07, Luca <[EMAIL PROTECTED]> wrote:
> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size
> to allow 64-bit pointers in 32-bit mode and viceversa
This is already there, try using __attribute__((mode(DI) )).
-- Pinski
-
To unsubscribe from this list: send the line "unsubs
>
> On Tue, Mar 29, 2005 at 05:37:06PM +0300, Denis Vlasenko wrote:
> > /*
> > * This looks horribly ugly, but the compiler can optimize it totally,
> > * as the count is constant.
> > */
> > static inline void * __constant_memcpy(void * to, const void * from, size_t
> > n)
> > {
> > i
On Tue, Jun 21, 2016 at 8:42 AM, Arnd Bergmann wrote:
> On Tuesday, June 21, 2016 10:36:53 AM CEST Joseph Myers wrote:
>> On Tue, 21 Jun 2016, Yury Norov wrote:
>>
>> > Signed-off-by: Yury Norov
>>
>> You're missing a patch description. What does "delouse" even mean? What
>> is the ABI peculiar
/358995.html.
It allows for faster access to midr_el1 than going through a trap and
does not exist if the set of cores are not the same.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/cpu.h |1 +
arch/arm64/include/asm/elf.h |6 ++
arch/arm64/kernel/cpuinfo.c | 22
/358995.html.
It allows for faster access to midr_el1 than going through a trap and
does not exist if the set of cores are not the same.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/cpu.h |1 +
arch/arm64/include/asm/elf.h |6 ++
arch/arm64/kernel/cpuinfo.c | 22
/358995.html.
It allows for faster access to midr_el1 than going through a trap and
does not exist if the set of cores are not the same.
Changes from v1:
Forgot to include the auxvec.h part.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/cpu.h |1 +
arch/arm64/include/asm/elf.h
gt; pins...@gmail.com wrote:
>> >
>> >>> On Sep 2, 2015, at 1:30 AM, Mark Rutland wrote:
>> >>>
>> >>> [...]
>> >>>
>> >>>>>>> On Sat, Aug 29, 2015 at 07:46:22PM +0100, Andrew Pinski wrote:
>>
is undefined behavior to use device memory with memcpy.
Thanks,
Andrew Pinski
>
> I tried AMD card (HD 6350) and NVidia (NVS 285) and both exhibit the same
> corruption. OpenGL doesn't work (it results in artifacts on the AMD card
> and lock-up on the NVidia card), but it's quite expected if even simple
> writing to the framebuffer doesn't work.
>
> Mikulas
On Fri, Aug 3, 2018 at 5:58 PM Mikulas Patocka wrote:
>
>
>
> On Fri, 3 Aug 2018, Richard Earnshaw (lists) wrote:
>
> > Whoa, hold on.
> >
> > Memcpy should never be used on device memory. Period. Memcpy doesn't
> > know anything about what size of access is needed for accessing a device.
> >
>
On Fri, Nov 2, 2018 at 8:12 AM Mathieu Desnoyers
wrote:
>
> Hi Richard,
>
> I stumbled on these articles:
>
> -
> https://medium.com/@jadr2ddude/a-big-little-problem-a-tale-of-big-little-gone-wrong-e7778ce744bb
> - https://www.mono-project.com/news/2016/09/12/arm64-icache/
>
> and discussed them
On Mon, Feb 22, 2021 at 1:17 AM Michael J. Baars
wrote:
>
> Hi,
>
> I just wrote this little program to demonstrate a possible flaw in both
> malloc and calloc.
>
> If I allocate a the simplest memory region from main(), one out of three
> optimization flags fail.
> If I allocate the same region
On Mon, Feb 22, 2021 at 1:37 AM Michael J. Baars
wrote:
>
> On Mon, 2021-02-22 at 01:29 -0800, Andrew Pinski wrote:
> > On Mon, Feb 22, 2021 at 1:17 AM Michael J. Baars
> > wrote:
> > > Hi,
> > >
> > > I just wrote this little program to demonstr
atch that before call do_notify_resume(will call do_signal)
>> in the int3 handler, set TS_COMPAT to status if this task is TIF_IA32.
>> Then after GDB call a function of inferior, it will still has TS_COMPAT.
>
> I'm not sure if I want to label this a gdb bug or not (m
On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas
wrote:
> On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote:
>> This patch adds full support of the ABI to the ARM64 target.
>
> This description is too short. Please describe what the ABI is, what are
> the commonal
On Fri, Sep 13, 2013 at 5:12 AM, Catalin Marinas
wrote:
> On Fri, Sep 13, 2013 at 07:18:48AM +0100, Andrew Pinski wrote:
>> On Wed, Sep 11, 2013 at 7:32 AM, Catalin Marinas
>> wrote:
>> > On Mon, Sep 09, 2013 at 10:32:59PM +0100, Andrew Pinski wrote:
>> >
>
in glibc is not
the one which is used by the kernel) I have not yet tested LTP for AARCH32 but
I have done simple testing of AARCH32 so an executable still runs. Each patch
has been tested seperately though ILP32 won't fully work until the last patch
has been added.
Thanks,
Andrew P
in glibc is not
the one which is used by the kernel) I have not yet tested LTP for AARCH32 but
I have done simple testing of AARCH32 so an executable still runs. Each patch
has been tested seperately though ILP32 won't fully work until the last patch
has been added.
Thanks,
Andrew P
Sometimes the compiler is set to default to ILP32 ABI so we want to make sure
the kernel can compile in that case.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/Makefile |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Makefile b/arch
Sometimes the compiler is set to default to ILP32 ABI so we want to make sure
the kernel can compile in that case.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/Makefile |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Makefile b/arch
Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. The same
reasoning why we check AARCH32 as we did for COMPAT_USE_64BIT_TIME_T.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h |3 +++
1 files changed, 3 insertions(+), 0 deletions
We want to split CONFIG_COMPAT so we can use the COMPAT interface in some cases
including
for compat binfmt.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch
World" with shard libraries.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/elf.h | 66 +++--
1 files changed, 56 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h
ind
With ARM64 ILP32 ABI, we want to use the non-compat siginfo as we want to
simplify signal handling for this new ABI. This patch just adds a new define
COMPAT_USE_NATIVE_SIGINFO and if it is true then read/write in the compat case
as it was the non-compat case.
Thanks,
Andrew Pinski
Signed
This patch adds the VDSO for ILP32. We need to use a different VDSO than LP64
since ILP32 uses ELF32 while LP64 uses ELF64.
After this patch, signal handling works mostly. In that signals go through
their action and then returned correctly.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
Defines the macros which allow the signal structures to be the same between
ILP32 and LP64.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/siginfo.h | 21 +
arch/arm64/include/uapi/asm/signal.h | 32
Define __SYSCALL_NONCOMPAT so we use the 64bit naming scheme for ILP32.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/unistd.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/uapi/asm/unistd.h
b/arch/arm64/include/uapi/asm
In ARM64, we want to allow the signal related structures to be same between the
32bit (ILP32) and the 64bit ABIs (LP64). We still want to use the generic
include files so we need some new defines that are used in UAPI; they default
to the same as it is before.
Thanks,
Andrew Pinski
Signed
This patch adds the thread bit for ILP32 and has is_compat_task return true in
that case. We don't set it yet though.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h | 32 ++--
arch/arm64/include/asm/thread_i
Since TIF_32BIT in ARM64 (with ILP32 added) is not always says if this is a
compat task, we need to have the input driver understand that and use
is_compat_task instead.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
drivers/input/input-compat.h |2 +-
1 files changed, 1
This patch changes CONFIG_COMPAT checks inside the arm64 which are AARCH32
specific.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/arch_timer.h |2 +-
arch/arm64/include/asm/elf.h| 23 ---
arch/arm64/include/asm/fpsimd.h
We want to split CONFIG_COMPAT so we can use the COMPAT interface in some cases
including
for compat binfmt.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/hwcap.h | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h
index 024c461..cb87f91 100644
--- a/arch/arm64/include/asm/hwcap.h
+++ b/arch/arm64
Since we want time_t and some other userland types to be the same between ILP32
and LP64, we define __kernel_long_t to be long long.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/Kbuild |1 -
arch/arm64/include/uapi/asm/posix_types.h | 12
We need to say to the userland API that bits per long is 32bits for ILP32.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/bitsperlong.h |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h
In the ARM64 ILP32 case, we want to say the syscalls that normally would pass
64bit as two arguments are now passing as one so want to use the 64bit naming
scheme.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
include/uapi/asm-generic/unistd.h |5 -
1 files changed, 4
This patch introduces is_a32_compat_task and is_a32_thread so it is easier to
say this is a a32 specific thread or a generic compat thread/task.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h | 31 +--
arch/arm64
This patch supports core dumping on ILP32. We need a few extra macros
(PR_REG_SIZE and PRSTATUS_SIZE) due to size differences of the register sets.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/elf.h | 22 --
arch/arm64/kernel/ptrace.c
This adds the documentation about the ILP32 ABI and what is difference between
it and the normal generic 32bit ABI.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
Documentation/arm64/ilp32.txt | 57 +
1 files changed, 57 insertions(+), 0
This patch adds the config option for ILP32.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 032c712..92577da 100644
--- a/arch/arm64/Kconfig
Some syscalls are still need to use the compat versions. So we need to have a
seperate syscall table for ILP32. This patch adds them including documentation
on why we need to use each one.
This list is based on the list from https://lkml.org/lkml/2013/9/11/478.
Thanks,
Andrew Pinski
Signed
If we have both ILP32 and AARCH32 compiled in, we need use the non compat start
thread for ILP32. We have to use TIF_32BIT_AARCH64 explicit due to header
depency issues.
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/processor.h |9 +
1 files
If the user decided to change the stack_t that was on the stack when returning
from the signal handler, the stack_t's padding for ILP32 might be not zero. So
we need to use the syscall version of restore_altstack (ilp32_sys_sigaltstack).
Thanks,
Andrew Pinski
Signed-off-by: Andrew P
case due to AARCH32
requiring 4k pages).
Thanks,
Andrew Pinski
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index 85f945c..c77fc0f 1
for core dumping for easier usage.
Andrew Pinski (24):
ARM64: Force LP64 to compile the kernel
ARM64: Rename COMPAT to AARCH32_EL0 in Kconfig
ARM64: Change some CONFIG_COMPAT over to use CONFIG_AARCH32_EL0
instead
ARM64:ILP32: Set kernel_long to long long so we can reuse most of the
Sometimes the compiler is set to default to ILP32 ABI so we want to make sure
the kernel can compile in that case.
Signed-off-by: Andrew Pinski
---
arch/arm64/Makefile |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index
We want to split CONFIG_COMPAT so we can use the COMPAT interface in some cases
including
for compat binfmt.
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index fd4e81a
In the ARM64 ILP32 case, we want to say the syscalls that normally would pass
64bit as two arguments are now passing as one so want to use the 64bit
naming scheme.
Signed-off-by: Andrew Pinski
---
include/uapi/asm-generic/unistd.h |6 +-
1 files changed, 5 insertions(+), 1 deletions
In ARM64, we want to allow the signal related structures to be same between the
32bit (ILP32) and the 64bit ABIs (LP64). We still want to use the generic
include files so we need some new defines that are used in UAPI; they
default to the same as it is before.
Signed-off-by: Andrew Pinski
This patch adds the functions which returns if the current task is an
ILP32 task and one returns if the thread is an ILP32 thread.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/arch
Since we want time_t and some other userland types to be the same between ILP32
and LP64, we define __kernel_long_t to be long long.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/posix_types.h |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch
We need to say to the userland API that bits per long is 32bits for ILP32.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/bitsperlong.h |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h
b/arch/arm64/include
Define __SYSCALL_NONCOMPAT so we use the 64bit naming scheme for ILP32.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/unistd.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/uapi/asm/unistd.h
b/arch/arm64/include/uapi/asm
With ARM64 ILP32 ABI, we want to use the non-compat
siginfo as we want to simplify signal handling for this new ABI.
This patch just adds a new define COMPAT_USE_NATIVE_SIGINFO and
if it is true then read/write in the compat case as it was the
non-compat case.
Signed-off-by: Andrew Pinski
This patch adds the config option for ILP32.
Signed-off-by: Andrew Pinski
---
arch/arm64/Kconfig |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 73c93dd..4ee4183 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64
If the user decided to change the stack_t that was on the stack when returning
from the signal handler, the stack_t's padding for ILP32 might be not zero.
So we need to use the syscall version of restore_altstack
(ilp32_sys_sigaltstack).
Signed-off-by: Andrew Pinski
---
arch/arm64/k
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h | 10 ++
arch/arm64/include/asm/hwcap.h |2 --
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index eca6eec..2f84d2c 100644
--- a
This patch supports core dumping on ILP32.
We need a few extra macros (COMPAT_PR_REG_SIZE and COMPAT_PRSTATUS_SIZE) due
to size differences of the register sets.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/elf.h | 23 +--
arch/arm64/kernel/ptrace.c | 12
Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index 2f84d2c..87cb50d
This patch adds the VDSO for ILP32. We need to use a different
VDSO than LP64 since ILP32 uses ELF32 while LP64 uses ELF64.
After this patch, signal handling works mostly. In that signals
go through their action and then returned correctly.
Signed-off-by: Andrew Pinski
---
arch/arm64/include
Defines the macros which allow the signal structures to be the same between
ILP32 and LP64.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/uapi/asm/siginfo.h | 33
arch/arm64/include/uapi/asm/signal.h | 34 +
2 files
If we have both ILP32 and AARCH32 compiled in, we need use the non compat start
thread for ILP32.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/processor.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/asm/processor.h
b/arch
This adds the documentation about the ILP32 ABI and what is difference between
it and the normal generic 32bit ABI.
Signed-off-by: Andrew Pinski
---
Documentation/arm64/ilp32.txt | 57 +
1 files changed, 57 insertions(+), 0 deletions(-)
create mode
On some targets (x86 [32bit and x32] and arm64 [aarch32 and ilp32]), there are
two compat elf abis. This adds a few more "#define * COMPAT_*" for compat
targets to define if needed.
Signed-off-by: Andrew Pinski
---
fs/compat_binfmt_elf.c | 17 +
1 files changed, 17
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/elf.h | 59 +++--
1 files changed, 50 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h
index 795dc9f..52083cd 100644
--- a/arch/arm64/include/asm
case due to AARCH32 requiring 4k pages).
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index 9082b27..eca6eec 100644
--- a/arch/arm64/in
This patch introduces is_a32_compat_task and is_a32_thread so it is easier to
say this is a a32 specific thread or a generic compat thread/task.
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/compat.h | 21 +
arch/arm64/include/asm/elf.h | 12
This patch changes CONFIG_COMPAT checks inside the arm64 which are AARCH32
specific
Signed-off-by: Andrew Pinski
---
arch/arm64/include/asm/arch_timer.h |2 +-
arch/arm64/include/asm/elf.h| 20 +---
arch/arm64/include/asm/fpsimd.h |2 +-
arch/arm64/include
Some syscalls are still need to use the compat versions.
So we need to have a seperate syscall table for ILP32.
This patch adds them including documentation on why we need to use each one.
This list is based on the list from https://lkml.org/lkml/2013/9/11/478.
Signed-off-by: Andrew Pinski
On Mon, Oct 6, 2014 at 5:05 PM, Rich Felker wrote:
> On Mon, Oct 06, 2014 at 04:48:52PM -0700, David Daney wrote:
>> On 10/06/2014 04:38 PM, Andy Lutomirski wrote:
>> >On 10/06/2014 02:58 PM, Rich Felker wrote:
>> >>On Mon, Oct 06, 2014 at 02:45:29PM -0700, David Daney wrote:
>> [...]
>> >>This is
On Mon, Oct 6, 2014 at 5:21 PM, Rich Felker wrote:
> On Mon, Oct 06, 2014 at 05:11:38PM -0700, Andrew Pinski wrote:
>> On Mon, Oct 6, 2014 at 5:05 PM, Rich Felker wrote:
>> > On Mon, Oct 06, 2014 at 04:48:52PM -0700, David Daney wrote:
>> >> On 10/06/2014 0
ZERO(1)
...
ENTRY(__kernel_clock_gettime)
.cfi_startproc
ZERO(1)
...
ENTRY(__kernel_clock_getres)
.cfi_startproc
ZERO(1)
Thanks,
Andrew Pinski
>
> Yury.
On Wed, May 4, 2016 at 7:24 PM, Zhangjian (Bamvor)
wrote:
> Hi,
>
>
> On 2016/5/5 7:23, Andrew Pinski wrote:
>>
>> On Wed, May 4, 2016 at 2:49 PM, Yury Norov
>> wrote:
>>>
>>> On Tue, May 03, 2016 at 08:41:25PM +0800, Zhangjian (Bamvor) wrote:
&g
On Fri, Apr 22, 2016 at 8:37 PM, Zhangjian (Bamvor)
wrote:
> Hi, Yury
>
>
> On 2016/4/6 6:44, Yury Norov wrote:
>>
>> There are about 20 failing tests of 782 in lite scenario.
>> float_bessel
>> float_exp_log
>> float_iperb
>> float_power
>> float_trigo
>> pipeio_1
>> pipeio_3
>> pipeio_5
>> pipei
On Wed, Apr 27, 2016 at 12:30 AM, Andrew Pinski wrote:
> On Fri, Apr 22, 2016 at 8:37 PM, Zhangjian (Bamvor)
> wrote:
>> Hi, Yury
>>
>>
>> On 2016/4/6 6:44, Yury Norov wrote:
>>>
>>> There are about 20 failing tests of 782 in lite scenario.
&g
On Fri, Nov 13, 2015 at 7:34 AM, Arnd Bergmann wrote:
> On Thursday 12 November 2015 14:47:18 Andreas Schwab wrote:
>> Arnd Bergmann writes:
>>
>> > On Thursday 12 November 2015 10:44:55 Andreas Schwab wrote:
>> >> Arnd Bergmann writes:
>> >>
>> >> > What do you mean with 32-bit off_t?
>> >>
>>
ror=implicit-function-declaration]
VM_WARN_ONCE(!pte_young(pte),
^
Thanks,
Andrew Pinski
>
> Signed-off-by: Catalin Marinas
> Cc: Will Deacon
> ---
> arch/arm64/include/asm/pgtable.h | 11 +++
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --gi
On Thu, Dec 17, 2015 at 12:10 PM, Arnd Bergmann wrote:
> On Thursday 17 December 2015 18:27:53 Catalin Marinas wrote:
>> On Wed, Dec 16, 2015 at 12:42:38AM +0300, Yury Norov wrote:
>
>> > +#define compat_sys_lookup_dcookie sys_lookup_dcookie
>> > +#define compat_sys_pread64 sys_pr
ember 2015 00:16:54 Yury Norov wrote:
>> > > > From: Andrew Pinski
>> > > >
>> > > > Add a separate syscall-table for ILP32, which dispatches either to
>> > > > native
>> > > > LP64 system call implementation or to compa
On Thu, Apr 7, 2016 at 5:18 AM, Adam Borowski wrote:
> On Wed, 6 Apr 2016, Geert Uytterhoeven wrote:
>> On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov
>> wrote:
>>> v6:
>>> - time_t, __kenel_off_t and other types turned to be 32-bit
>>>for compatibility reasons (after v5 discussion);
>
> Intr
On Thu, Nov 5, 2015 at 7:36 PM, Andreas Schwab wrote:
> Yury Norov writes:
>
>> v6:
>> - time_t, __kenel_off_t and other types turned to be 32-bit
>>for compatibility reasons (after v5 discussion);
>
> Are the updated glibc patches available somewhere?
Not in an useful form right now but i
On Wed, Jun 22, 2016 at 9:35 PM, Yury Norov wrote:
> On Tue, Jun 21, 2016 at 11:14:54AM +0100, Szabolcs Nagy wrote:
>> On 21/06/16 06:06, Yury Norov wrote:
>> > From: Andrew Pinski
>> >
>> > NOTE This is an ABI change for AARCH64.
>> > If you have s
On Thu, Jun 23, 2016 at 12:32 AM, Andreas Schwab wrote:
> Andrew Pinski writes:
>
>> So if you want aarch64 to be compatible with aarch32, you need to
>> define __WORDSIZE_TIME64_COMPAT32. If we don't want aarch64 and
>> aarch32 to be compatible at all, then we
On Thu, Jun 23, 2016 at 12:36 AM, Yury Norov wrote:
> On Thu, Jun 23, 2016 at 09:32:46AM +0200, Andreas Schwab wrote:
>> Andrew Pinski writes:
>>
>> > So if you want aarch64 to be compatible with aarch32, you need to
>> > define __WORDSIZE_TIME64_COMPAT
-0.19%
458.sjeng 0.22%
462.libquantum 0.00%
464.h264ref 11.19%
471.omnetpp11.80%
473.astar -0.29%
483.xalancbmk 8.87%
Score 8.12%
Thanks,
Andrew Pinski
>
> Changes:
> v3: https://lkml.org/lkml
For user space, we will be using
the SIMD registers which allows for not using any callee saved
registers and get better performance.
So basically this is my old patch which just patches in the prfm
to copy_template updated for the new name of the define and for
the nop not needed to be there any mor
On ThunderX T88 pass 1 and pass 2, there is no hardware prefetching so
we need to patch in explicit software prefetching instructions.
This speeds up copy_to_user and copy_from_user for large size.
The main use of large sizes is I/O read/writes.
Signed-off-by: Andrew Pinski
---
arch/arm64/lib
ts
within the same function, thereby properly annotating them.
* allows perf to identify function calls, allowing called functions to
be followed in the annotated view.
Signed-off-by: Andrew Pinski
---
tools/perf/util/annotate.c | 64 +++---
1 file changed,
On Fri, Jun 24, 2016 at 4:38 AM, Florian Weimer wrote:
> On 06/23/2016 09:56 AM, Andreas Schwab wrote:
>>
>> Andrew Pinski writes:
>>
>>> So the question becomes do we care enough about the incompatibles
>>> between AARCH32 and AARCH64 to fix this and
On many cores, udiv with a large value is slow, expand instead
the division out to be what GCC would have generated for the
divide by 1000.
On ThunderX, the speeds up gettimeofday by 5%.
Signed-off-by: Andrew Pinski
---
arch/arm64/kernel/vdso/gettimeofday.S | 20
1 files
1 - 100 of 114 matches
Mail list logo