Hi Eugeniy,
> -Original Message-
> From: Eugeniy Paltsev
> Sent: Wednesday, March 11, 2020 10:37 PM
> To: linux-snps-arc@lists.infradead.org; Vineet Gupta
> Cc: linux-ker...@vger.kernel.org; Alexey Brodkin ;
> Eugeniy Paltsev
>
> Subject: [PATCH] ARC: [plat-axs10x]: PGU: remove unused
Hi Greg,
> -Original Message-
> From: Greg KH
> Sent: Wednesday, March 11, 2020 8:22 PM
> To: Eugeniy Paltsev
> Cc: dri-de...@lists.freedesktop.org; Alexey Brodkin ;
> linux-snps-
> a...@lists.infradead.org; linux-ker...@vger.kernel.org; David Airlie
> ; Daniel Vetter
> ;
Hi David, Daniel!
The following changes since commit e3c3b6e66da1caeb39a504b03ddcdd3693e45254:
Merge tag 'exynos-drm-fixes-for-v5.6-rc5-v2' of
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
(2020-03-12 11:02:52 +1000)
are available in the Git repository at:
Filter out interlaced modes as they are not supported by ARC PGU
hardware.
Signed-off-by: Eugeniy Paltsev
---
drivers/gpu/drm/arc/arcpgu_crtc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c
b/drivers/gpu/drm/arc/arcpgu_crtc.c
index
On Wed, Mar 11, 2020 at 04:13:10PM +0300, Eugeniy Paltsev wrote:
> Filter out interlaced modes as they are not supported by ARC PGU
> hardware.
>
> Signed-off-by: Eugeniy Paltsev
> ---
> drivers/gpu/drm/arc/arcpgu_crtc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git
Force inlining of IOC related functions used in other cache
functions. This is preventive change.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/lib/cache.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c
index
Since version 3.0 ARC HS supports SL$ (L2 system level cache)
disable. So add support for SL$ disable/enable to code.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/cache.h | 7 +++
arch/arc/lib/cache.c | 114 ---
2 files changed, 114
Add support for 148.5MHz clock for HDMI PLL
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-pll.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-hsdk-pll.c b/drivers/clk/clk-hsdk-pll.c
index 0ea7af57a5b1..b4f8852201cb 100644
--- a/drivers/clk/clk-hsdk-pll.c
+++
Support setting PLL to bypass mode to support output frequency
equal to input one.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-pll.c | 61 +-
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/drivers/clk/clk-hsdk-pll.c
Bunch of updates for HSDK clock generation unit (CGU) driver.
Eugeniy Paltsev (3):
CLK: HSDK: CGU: check if PLL is bypassed first
CLK: HSDK: CGU: support PLL bypassing
CLK: HSDK: CGU: add support for 148.5MHz clock
drivers/clk/clk-hsdk-pll.c | 70 +-
1
If PLL is bypassed the EN (enable) bit has no effect on
output clock.
Signed-off-by: Eugeniy Paltsev
---
drivers/clk/clk-hsdk-pll.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/clk-hsdk-pll.c b/drivers/clk/clk-hsdk-pll.c
index
This adds tests which will validate architecture page table helpers and
other accessors in their compliance with expected generic MM semantics.
This will help various architectures in validating changes to existing
page table helpers or addition of new ones.
This test covers basic page table
Even though INITRAMFS_SOURCE kconfig option isn't set in most of
defconfigs it is used (set) extensively by various build systems.
Commit f26661e12765 ("initramfs: make initramfs compression choice
non-optional") has changed default compression mode. Previously we
compress initramfs using
Eugeniy Paltsev (2):
ARC: CACHE: add support for SL$ disable
ARC: CACHE: mark IOC helper functions as inlined_cachefunc
arch/arc/include/asm/cache.h | 7 +++
arch/arc/lib/cache.c | 118 ---
2 files changed, 116 insertions(+), 9 deletions(-)
--
As the driver of on-chip reset controller became available
we are ready to enable it.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/dts/hsdk.dts | 7 +++
configs/hsdk_defconfig | 1 +
2 files changed, 8 insertions(+)
diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts
index
As of today ARC uses generic __ALIGN_STR and __ALIGN symbol
definitions from "include/linux/linkage.h"
They are defined to ".align 4,0x90" which instructed the assembler
to use `0x90` as a fill byte when aligning functions declared with
ENTRY or similar macroses. This leads to generated weird
ARC have a tricky implemented ret_from_exception function.
It is written on ASM and can be called like regular function.
However it has another 'entry point' as it can be called as a
continuation of EV_Trap function.
As we declare "ret_from_exception" using ENTRY macro it may align
On 3/11/20 9:26 AM, Eugeniy Paltsev wrote:
> ARC have a tricky implemented ret_from_exception function.
> It is written on ASM and can be called like regular function.
> However it has another 'entry point' as it can be called as a
> continuation of EV_Trap function.
It is not really intended /
On 3/10/20 5:29 PM, Vineet Gupta via Libc-alpha wrote:
> Hi Alistair,
>
> On 3/4/20 5:26 PM, Alistair Francis wrote:
>> The semctl_syscall() function passes a union semun to the kernel. The
>> union includes struct semid_ds as a member. On 32-bit architectures the
>> Linux kernel provides a
ARC PGU is looking for encoder via endpoint mechanism and doesn't
use "encoder-slave" property for a long time. Let's drop unused
"encoder-slave" property from ARC PGU node in axs10x.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/boot/dts/axs10x_mb.dtsi | 1 -
1 file changed, 1 deletion(-)
diff
Before
--
| CPU: 1 PID: 29061 Comm: tst-dynarray-at Not tainted
5.6.0-rc1-2-g941fcc018ca6-dirty #12
|
| [ECR ]: 0x0009 =>
| [EFA ]: 0x
| [ERET ]: 0x2004aa6c
| @off 0x2aa6c in [/lib/libc-2.31.9000.so]
VMA: 0x2002 to 0x20122000
| [STAT32]: 0x80080a82 [IE U
On 3/11/20 9:26 AM, Eugeniy Paltsev wrote:
> As of today ARC uses generic __ALIGN_STR and __ALIGN symbol
> definitions from "include/linux/linkage.h"
> They are defined to ".align 4,0x90" which instructed the assembler
> to use `0x90` as a fill byte when aligning functions declared with
> ENTRY or
Hi,
The following tests fail invariably on ARC cross testing setup
FAIL: elf/tst-dlopen-self-container
FAIL: elf/tst-dlopen-tlsmodid-container
FAIL: elf/tst-ldconfig-bad-aux-cache
FAIL: elf/tst-ldconfig-ld_so_conf-update
FAIL: elf/tst-pldd
This is despite having ldconfig on target.
The issue
Hi Eugeniy.
On Wed, Mar 11, 2020 at 7:22 PM Eugeniy Paltsev
wrote:
>
> Even though INITRAMFS_SOURCE kconfig option isn't set in most of
> defconfigs it is used (set) extensively by various build systems.
> Commit f26661e12765 ("initramfs: make initramfs compression choice
> non-optional") has
>From: Vineet Gupta
>Sent: Wednesday, March 11, 2020 20:38
>To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org
>Cc: linux-ker...@vger.kernel.org; Alexey Brodkin
>Subject: Re: [PATCH 2/2] ARC: don't align ret_from_exception function
>
>On 3/11/20 9:26 AM, Eugeniy Paltsev wrote:
>> ARC have a
On 3/11/20 1:58 PM, Eugeniy Paltsev wrote:
>>
>> I would like to keep it aligned.
>>
>> ARC700 definitely has penalty for unaligned branch targets, so it will
>> definitely
>> suffer there.
>
> Do you know some exact numbers? I'm not an expert in ARC700 (fortunately =)
I don't remember the
There is a new fallthrough pseudo-keyword macro that can be used
to replace the various /* fallthrough */ style comments that are
used to indicate a case label code block is intended to fallthrough
to the next case label block.
See commit 294f69e662d1 ("compiler_attributes.h: Add 'fallthrough'
Hi Florian,
On 2/25/20 1:27 AM, Florian Weimer wrote:
> * Vineet Gupta:
>
>> +/* Override syscalls for asm-generic ABIs with 64-bit time. */
>> +#if __WORDSIZE == 32 && __TIMESIZE == 64
>> +
>> +# undef __NR_futex
>> +# define __NR_futex __NR_futex_time64
>> +
>> +# undef __NR_rt_sigtimedwait
On 3/5/20 12:02 PM, Eugeniy Paltsev wrote:
> To be able to run DSP-enabled userspace applications with AGU
> (address generation unit) extensions we additionally need to
> save and restore following registers at context switch:
> * AGU_AP*
> * AGU_OS*
> * AGU_MOD*
>
> Signed-off-by: Eugeniy
On 3/5/20 12:02 PM, Eugeniy Paltsev wrote:
> To be able to run DSP-enabled userspace applications we need to
> save and restore following DSP-related registers:
> At IRQ/exception entry/exit:
> * DSP_CTRL (save it and reset to value suitable for kernel)
> * ACC0_LO, ACC0_HI (we already save them
On 3/11/20 3:28 PM, DJ Delorie via Libc-alpha wrote:
> Vineet Gupta writes:
>>> $ make test-wrapper='>> to>/br/build/glibc-867196a7635/scripts/cross-test-ssh.sh root@192.168.0.20'
>>> xcheck
>>> subdirs=elf
>>
>> FWIW the original failures were here
>>
>> lock_fd = open (concat
Vineet Gupta via Libc-alpha writes:
> The issue is expected src-path for dso.
>
> | [pid 168] renameat(AT_FDCWD, "/usr/lib/tst-ldconfig-ld-mod.so", AT_FDCWD,
> | "/tmp/tst-ldconfig/libldconfig-ld-mod.so") = -1 EXDEV
> | (Invalid cross-device link)
>
> In cross setup, /usr/lib needs to
On 3/11/20 2:36 PM, DJ Delorie via Libc-alpha wrote:
> Vineet Gupta via Libc-alpha writes:
>> The issue is expected src-path for dso.
>>
>> | [pid 168] renameat(AT_FDCWD, "/usr/lib/tst-ldconfig-ld-mod.so", AT_FDCWD,
>> | "/tmp/tst-ldconfig/libldconfig-ld-mod.so") = -1 EXDEV
>> |
Vineet Gupta writes:
> No, I'm running this is a cross-compiled setup where the test artifacts are
> on a
> NFS mounted host. Here's the full strace for test
>
>
> $ strace_static -f
> ~/br/build/glibc-867196a7635/build/elf/tst-ldconfig-ld_so_conf-update
This is a manual run. Even with a cross
On 3/11/20 3:07 PM, DJ Delorie via Libc-alpha wrote:
> Vineet Gupta writes:
>> No, I'm running this is a cross-compiled setup where the test artifacts are
>> on a
>> NFS mounted host. Here's the full strace for test
>>
>>
>> $ strace_static -f
>>
Vineet Gupta writes:
> When you say containers is this linux cgroups or something at a higher
> level: does it need any specific distro container package. Please
> remember this is a constrained system built off of buildroot.
It should not require anything beyond what kernel/glibc provides - we
On 3/11/20 3:14 PM, Vineet Gupta wrote:
>> The containerized tests are (in this case) containerized because they
>> rely on setup files (like /etc/ld.so.conf) inside the container to run
>> the test. Otherwise you end up corrupting the host OS.
>>
>> The test infrastructure knows how to run
Vineet Gupta writes:
>> $ make test-wrapper='> to>/br/build/glibc-867196a7635/scripts/cross-test-ssh.sh root@192.168.0.20'
>> xcheck
>> subdirs=elf
>
> FWIW the original failures were here
>
> lock_fd = open (concat (pristine_root_path, "/lock.fd", NULL),
>O_CREAT | O_TRUNC |
>From: Vineet Gupta
>Sent: Thursday, March 12, 2020 00:10
>To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org
>Cc: linux-ker...@vger.kernel.org; Alexey Brodkin
>Subject: Re: [PATCH 2/2] ARC: don't align ret_from_exception function
>
>On 3/11/20 1:58 PM, Eugeniy Paltsev wrote:
>>>
>>> I would
On 3/11/20 3:56 PM, Vineet Gupta via Libc-alpha wrote:
>>> Did you run a full
>>> "make check" at least once, to build the initial testroot? It does a
>>> full "make install" into $build/testroot.pristine/ to use as the basis
>>> for the container's root.
>> I definitely did not do that - let me
40 matches
Mail list logo