On 4/20/21 12:07 AM, Arnd Bergmann wrote:
> On Tue, Apr 20, 2021 at 5:10 AM Matthew Wilcox wrote:
>> On Tue, Apr 20, 2021 at 02:48:17AM +0000, Vineet Gupta wrote:
>>>> 32-bit architectures which expect 8-byte alignment for 8-byte integers
>>>> and need 64-bit D
Hi Matthew,
On 4/16/21 7:45 PM, Matthew Wilcox wrote:
> Replacement patch to fix compiler warning.
>
> From: "Matthew Wilcox (Oracle)"
> Date: Fri, 16 Apr 2021 16:34:55 -0400
> Subject: [PATCH 1/2] mm: Fix struct page layout on 32-bit systems
> To: bro...@redhat.com
> Cc:
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote:
> s/unconditonally/unconditionally/
> s/gaurantees/guarantees/
>
> Signed-off-by: Bhaskar Chowdhury
And this one too.
Thx,
-Vineet
> ---
> arch/arc/kernel/signal.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
On 3/22/21 5:51 AM, Bhaskar Chowdhury wrote:
> s/defintion/definition/
> s/succeded/succeeded/
> s/commiting/committing/
> s/interrutps/interrupts/
>
> Signed-off-by: Bhaskar Chowdhury
I've squashed all your 3 patches into one (no reason to break them out)
and queued for 5.13.
Thx,
-Vineet
>
On 3/31/21 11:44 PM, Anshuman Khandual wrote:
> HAVE_ARCH_TRANSPARENT_HUGEPAGE has duplicate definitions on platforms that
> subscribe it. Drop these reduntant definitions and instead just select it
> on applicable platforms.
Acked-by: Vineet Gupta#arc
Thx,
-Vineet
aner.
Acked-by: Vineet Gupta#arc
Thx,
-Vineet
On 3/16/21 6:52 PM, Kefeng Wang wrote:
> mem_init_print_info() is called in mem_init() on each architecture,
> and pass NULL argument, so using void argument and move it into mm_init().
>
> Acked-by: Dave Hansen
> Signed-off-by: Kefeng Wang
Acked-by: Vineet Gupta
Thx,
-Vineet
On 3/1/21 4:05 AM, Wang Qing wrote:
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
Acked-by: Vineet Gupta
Do you want me to pick this up via ARC tree ?
Thx,
-Vineet
ackslashes instead.
Signed-off-by: Alexey Dobriyan
Acked-by: Vineet Gupta#arch/arc bits
Thx,
-Vineet
---
arch/arc/include/asm/cacheflush.h | 2 +-
drivers/net/ethernet/mellanox/mlxsw/item.h | 2 +-
include/linux/once.h | 2 +-
include/media/drv-intf/exy
On 2/10/21 3:28 PM, Kees Cook wrote:
As started by commit 05a5f51ca566 ("Documentation: Replace lkml.org
links with lore"), replace lkml.org links with lore to better use a
single source that's more likely to stay available long-term.
Signed-off-by: Kees Cook
Acked-by: Vineet Gupt
t;
> Suggested-by: Christoph Hellwig
> Suggested-by: Linus Torvalds
> Signed-off-by: Viresh Kumar
Acked-by: Vineet Gupta
I presume this doesn't need to go through ARC tree.
-Vineet
> ---
> arch/arc/Kconfig | 1 -
> arch/arc/Makefile | 2 --
> ar
xes
Randy Dunlap (1):
arch/arc: add copy_user_page() to to fix build error
on ARC
Vineet Gupta (3):
include/soc: remove headers for EZChip NPS
ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
ARC: [hsdk]: Enable FPU_SAVE_RESTORE
arch/arc/include/
On 1/8/21 9:45 AM, Petr Mladek wrote:
> On Thu 2021-01-07 11:38:36, Linus Torvalds wrote:
>> On Thu, Jan 7, 2021 at 11:15 AM Greg Kroah-Hartman
>> wrote:
>>> Linus, can you take this directly, or is this going through some other
>>> tree?
>> I was _assuming_ that I'd get it through the normal
On 1/7/21 7:48 PM, Sergey Senozhatsky wrote:
On (21/01/07 09:58), Vineet Gupta wrote:
On 1/7/21 9:04 AM, Petr Mladek wrote:
On Thu 2021-01-07 08:43:16, Vineet Gupta wrote:
Hi John,
On 1/7/21 1:02 AM, John Ogness wrote:
Hi Vineet,
On 2021-01-06, Vineet Gupta wrote:
This breaks ARC booting
On 1/7/21 9:04 AM, Petr Mladek wrote:
On Thu 2021-01-07 08:43:16, Vineet Gupta wrote:
Hi John,
On 1/7/21 1:02 AM, John Ogness wrote:
Hi Vineet,
On 2021-01-06, Vineet Gupta wrote:
This breaks ARC booting (no output on console).
Could you provide the kernel boot arguments that you use
Hi John,
On 1/7/21 1:02 AM, John Ogness wrote:
Hi Vineet,
On 2021-01-06, Vineet Gupta wrote:
This breaks ARC booting (no output on console).
Could you provide the kernel boot arguments that you use? This series is
partly about addressing users that have used boot arguments
sors/linux/issues/34
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/entry.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S
index 1f5308abf36d..1743506081da 100644
--- a/arch/arc/kernel/entry.S
+++ b/arch/arc/kernel/entry.S
@@ -30
+CC Buildroot folks
Hi Petr,
On 11/11/20 5:54 AM, Petr Mladek wrote:
stdin, stdout, and stderr standard I/O stream are created for the init
process. They are not available when there is no console registered
for /dev/console. It might lead to a crash when the init process
tries to use them,
claration of function 'copy_user_page';
> did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration]
>
> Reported-by: kernel test robot
> Signed-off-by: Randy Dunlap
> Cc: Vineet Gupta
> Cc: linux-snps-...@lists.infradead.org
> Cc: Dan Williams
> #Acked-by:
Hi Linus,
Happy New Year. Sorry for the delayed merge window material - holidays
got in the way.
Things are quieter on upstreaming front as we are mostly focusing on
ARCv3/ARC64 port.
Please pull.
Thx,
-Vineet
--->
The following changes since commit
The following commit has been merged into the irq/irqchip-next branch of
irqchip:
Commit-ID: 04e7f423f4a96ad492fd51bf2234b8982400ab5f
Gitweb:
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/04e7f423f4a96ad492fd51bf2234b8982400ab5f
Author:Vineet Gupta
On 11/5/20 1:22 PM, Vineet Gupta wrote:
> NPS platform has been removed from ARC port and there are no in-tree
> users of it now. So RIP !
>
> Cc: Thomas Gleixner
> Cc: Jason Cooper
> Cc: Marc Zyngier
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Vineet Gupta
P
The following commit has been merged into the timers/core branch of tip:
Commit-ID: b6ea209ef124dad4045772a759e2aecd191534c0
Gitweb:
https://git.kernel.org/tip/b6ea209ef124dad4045772a759e2aecd191534c0
Author:Vineet Gupta
AuthorDate:Thu, 05 Nov 2020 13:22:08 -08:00
Hi Masahiro San,
On 11/21/20 11:36 AM, Masahiro Yamada wrote:
>
>
> Masahiro Yamada (6):
>ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
>ARC: build: add uImage.lzma to the top-level target
>ARC: build: add boot_targets to PHONY
>ARC: build: move symlink creation to
ove unecessary operation and value
Vineet Gupta (2):
ARC: stack unwinding: don't assume non-current task is sleeping
ARC: stack unwinding: reorganize how initial register state setup
arch/arc/include/asm/bitops.h | 4 +---
arch/arc/kernel/stacktrace.c |
Hi Mike,
On 11/1/20 9:04 AM, Mike Rapoport wrote:
> From: Mike Rapoport
>
> Currently ARC uses DISCONTIGMEM to cope with sparse physical memory address
> space on systems with 2 memory banks. While DISCONTIGMEM avoids wasting
> memory on unpopulated memory map, it adds both memory and CPU
On 11/9/20 5:21 AM, Flavio Suligoi wrote:
> Signed-off-by: Flavio Suligoi
Thx, applied to for-curr !
-Vineet
> ---
> arch/arc/mm/tlb.c | 24
> 1 file changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
> index
On 11/9/20 2:29 AM, Greg Kroah-Hartman wrote:
> On Sat, Nov 07, 2020 at 03:10:06PM +0100, Greg Kroah-Hartman wrote:
>> On Fri, Nov 06, 2020 at 08:27:44PM +0000, Vineet Gupta wrote:
>>> Hi Stable Team,
>>>
>>> On 10/19/20 7:19 PM, Vineet G
Hi Stable Team,
On 10/19/20 7:19 PM, Vineet Gupta wrote:
> This reverts commit 00fdec98d9881bf5173af09aebd353ab3b9ac729.
> (but only from 5.2 and prior kernels)
>
> The original commit was a preventive fix based on code-review and was
> auto-picked for stable back-port (for
On 10/21/20 2:12 PM, Gustavo Pimentel wrote:
> The 1-bit shift rotation to the left on x variable located on
> 4 last if statement can be removed because the computed value is will
> not be used afront.
All of constant_fls() is anyhow optimized away at compile time, so this
won't affect any
Most architectures currently check this in their get_wchan() implementation
(ARC doesn't hence this patch). However doing this in core code shows
the semantics better so move the check one level up (eventually remove
the boiler-plate code from arches)
Signed-off-by: Vineet Gupta
# tools
NPS platform has been removed from ARC port and there are no in-tree
user of it now . So RIP !
Signed-off-by: Vineet Gupta
---
include/soc/nps/common.h | 172 ---
include/soc/nps/mtm.h| 59 --
2 files changed, 231 deletions(-)
delete mode
NPS platform has been removed from ARC port and there are no in-tree
users of it now. So RIP !
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Vineet Gupta
---
drivers/irqchip/Kconfig | 7 --
drivers/irqchip/Makefile| 1
NPS platform has been removed from ARC port and there are no in-tree
users of it now. So RIP !
Cc: Daniel Lezcano
Cc: Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Vineet Gupta
---
drivers/clocksource/Kconfig | 10 --
drivers/clocksource/Makefile| 1 -
drivers
This series removes any drivers associated with EZChip NPS platform
which was removed from ARC in 5.10-rc1.
Vineet Gupta (3):
drivers/clocksource: Remove EZChip NPS clocksource driver
drivers/irqchip: Remove EZChip NPS interrupt controller
include/soc: remove headers for EZChip NPS
ARC fixes for 5.10-rc3
- Unbork HSDKv1 platform (won't boot) due to memory map issue
- Prevent stack unwinder from infinite looping
----
Vineet Gupta (2):
ARC: stack unwinding: avoid indefinite looping
ARC: [plat-hsdk] Re
ivery like
> task_work with TWA_SIGNAL does today.
Nice, thx for explaining that.
>
> Updated version below:
>
>
> commit 3c6239647d95d03d1436bc826a004791c3f04617
> Author: Jens Axboe
> Date: Mon Oct 12 07:15:37 2020 -0600
>
> arc: add support for TIF_NOTIFY_
Hi Naresh,
On 10/30/20 3:29 AM, Naresh Kamboju wrote:
> arc defconfig build failed on linux next 20201030 with gcc-8 and gcc-9.
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arc
> CROSS_COMPILE=arc-elf32- HOSTCC=gcc CC="sccache arc-elf32-gcc" O=build
> uImage
> #
>
ested, all the gory details can be found at Link below.
Link: https://github.com/foss-for-synopsys-dwc-arc-processors/linux/issues/32
Cc: David Hildenbrand
Cc: linux...@kvack.org
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/head.S| 17 -
arch/arc/plat-hsdk/platf
the excessive looping and breaks the loop.
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/stacktrace.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c
index bf40e06f3fb8..0fed32b95923 100644
--- a/arch/arc/kernel
Hi Geert,
On 10/26/20 2:48 AM, Geert Uytterhoeven wrote:
> On Mon, Oct 26, 2020 at 10:46 AM Geert Uytterhoeven
> wrote:
>> Below is the list of build error/warning regressions/improvements in
>> v5.10-rc1[1] compared to v5.9[2].
>>
>> Summarized:
>> - build errors: +3/-7
>> - build warnings:
c6c8fccf9790b:
ARC: perf: redo the pct irq missing in device-tree handling (2020-10-22
10:57:58
-0700)
Urgent perf ARC fix
----
Vineet Gupta (1):
ARC: perf: red
and prior
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/entry.S | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S
index ea00c8a17f07..60406ec62eb8 100644
--- a/arch/arc/kernel/entry.S
+++ b/arch/arc/kernel/entry.S
arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER
Randy Dunlap (1):
arc: include/asm: fix typos of "themselves"
Vineet Gupta (1):
ARC: [plat-eznps]: Drop support for EZChip NPS platform
Zhen Lei (1):
ARC: [dts] fix the
quot;)
> Reported-by: kernel test robot
> Signed-off-by: Randy Dunlap
> Cc: Vineet Gupta
> Cc: linux-snps-...@lists.infradead.org
> Cc: Dan Williams
> ---
> Vineet, This patch fixes the build error but is it correct for ARC?
Yep this looks good. Nothing special needs to
On 10/5/20 8:30 PM, Randy Dunlap wrote:
> From: Randy Dunlap
>
> Fix copy/paste spello of "themselves" in 3 places.
>
> Signed-off-by: Randy Dunlap
> Cc: Vineet Gupta
> Cc: linux-snps-...@lists.infradead.org
Thx for the fix Randy. Added to for-curr.
-Vineet
On 10/5/20 9:12 AM, Mike Rapoport wrote:
> From: Mike Rapoport
>
> When a secondary CPU fails to come up, there is a missing space in the
> log:
>
> Timeout: CPU1 FAILED to comeup !!!
>
> Fix it.
>
> Signed-off-by: Mike Rapoport
Thx for the fix Mike. Added to for-curr.
-Vineet
> ---
Hi Naresh,
On 9/23/20 9:20 PM, Naresh Kamboju wrote:
> arc:allmodconfig build failed with gcc-8, gcc-9 and gcc-10 on Linus's
> mainline tree.
>
> Build log:
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=arc
> CROSS_COMPILE=arc-elf32- HOSTCC=gcc CC="sccache arc-elf32-gcc"
On 9/24/20 12:17 AM, Zhen Lei wrote:
> xxx/arc/boot/dts/axs101.dt.yaml: dw-apb-ictl@e0012000: $nodename:0: \
> 'dw-apb-ictl@e0012000' does not match '^interrupt-controller(@[0-9a-f,]+)*$'
> From schema: xxx/interrupt-controller/snps,dw-apb-ictl.yaml
>
> The node name of the interrupt controller
On 9/14/20 4:46 AM, Necip Fazil Yildiran wrote:
> When ARC_SOC_HSDK is enabled and RESET_CONTROLLER is disabled, it results
> in the following Kbuild warning:
>
> WARNING: unmet direct dependencies detected for RESET_HSDK
> Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y] && (ARC_SOC_HSDK
NPS customers are no longer doing active development, as evident from
rand config build failures reported in recent times, so drop support
for NPS platform.
Signed-off-by: Vineet Gupta
---
MAINTAINERS | 7 -
arch/arc/Makefile | 5 -
arch/arc
ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
Mike Rapoport (1):
arc: fix memory initialization for systems with two memory banks
Randy Dunlap (1):
ARC: pgalloc.h: delete a duplicated word + other fixes
Vineet Gupta (4):
ARC: perf: don't bail setup if pct irq missing in dev
On 9/1/20 7:15 AM, Nicholas Piggin wrote:
> Cc: Vineet Gupta
> Cc: linux-snps-...@lists.infradead.org
> Signed-off-by: Nicholas Piggin
Acked-by: Vineet Gupta#arch/arc
Thx,
-Vineet
> ---
>
> Please ack or nack if you object to this being mered via
> Arnd's tree.
>
On 9/1/20 4:36 AM, Stephen Rothwell wrote:
> Hi Mike,
>
> On Tue, 1 Sep 2020 12:13:08 +0300 Mike Rapoport wrote:
>> On Tue, Sep 01, 2020 at 06:49:28PM +1000, Stephen Rothwell wrote:
>>> In commit
>>>
>>> 7000c9462d1b ("arc: fix memory initialization for systems with two memory
>>> banks")
>>>
Hi Mike,
On 8/28/20 9:39 AM, Mike Rapoport wrote:
> From: Mike Rapoport
>
> Rework if memory map initialization broke initialization of ARC systems
> with two memory banks. Before these changes, memblock was not aware of
> nodes configuration and the memory map was always allocated from the
>
CTOP_AUX_IACK from platform header
Reported-by: kernel test robot
Reported-by: Sebastian Andrzej Siewior
Link: https://lkml.kernel.org/r/20200824095831.5lpkmkafelnvl...@linutronix.de
Signed-off-by: Vineet Gupta
---
arch/arc/plat-eznps/include/plat/ctop.h | 1 -
include/soc/nps/common.h
Reported-by: kernel test robot
Reported-by: Sebastian Andrzej Siewior
Link:
http://lists.infradead.org/pipermail/linux-snps-arc/2020-August/004032.html
Signed-off-by: Vineet Gupta
---
arch/arc/plat-eznps/include/plat/ctop.h | 1 -
include/soc/nps/common.h| 6 ++
2 files
Hi Sebastian,
On 8/24/20 12:35 PM, Sebastian Andrzej Siewior wrote:
> On 2020-08-24 18:21:21 [+], Vineet Gupta wrote:
>>>>>> {standard input}:5973: Error: operand out of range (512 is not between
>>>>>> -512 and 511)
>>>>
>>
>&g
On 8/24/20 11:21 AM, Vineet Gupta wrote:
>> and the assembler does not like that.
>> After the removal CONFIG_ARC_PLAT_EZNPS I got to stage 2:
>> |drivers/irqchip/irq-eznps.c:80:16: error: 'CTOP_AUX_IACK' undeclared (first
>> use in this function)
>> | 80 |
+CC Ofer
On 8/24/20 2:58 AM, Sebastian Andrzej Siewior wrote:
> On 2020-08-24 10:17:19 [+0800], kernel test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> master
>> head: d012a7190fc1fd72ed48911e77ca97ba4521bccd
>> commit:
On 7/30/20 12:50 AM, Herbert Xu wrote:
> On Thu, Jul 30, 2020 at 10:47:16AM +0300, Andy Shevchenko wrote:
>> We may ask Synopsys folks to look at this as well.
>> Vineet, any ideas if we may unify ATOMIC64_INIT() across the architectures?
> I don't think there is any technical difficulty. The
h below, you can remove above as well...
>
From 672e0f78a94892794057a5a7542d85b71c1369c4 Mon Sep 17 00:00:00 2001
From: Vineet Gupta
Date: Mon, 27 Jul 2020 21:12:42 -0700
Subject: [PATCH] ARM: mm: check_and_switch_context() doesn't use @tsk arg
Signed-off-by: Vineet Gupta
-
On 7/27/20 8:33 PM, Nicholas Piggin wrote:
> Many of these are no-ops on many architectures, so extend mmu_context.h
> to cover MMU and NOMMU, and split the NOMMU bits out to nommu_context.h
>
> -static inline void switch_mm(struct mm_struct *prev,
> - struct mm_struct *next,
On 7/27/20 8:33 PM, Nicholas Piggin wrote:
> /*
> - * Called at the time of execve() to get a new ASID
> - * Note the subtlety here: get_new_mmu_context() behaves differently here
> - * vs. in switch_mm(). Here it always returns a new ASID, because mm has
> - * an unallocated "initial" value,
Current code inadventely bails if hardware supports sampling/overflow
interrupts, but the irq is missing from device tree. This need not be as
we can still do simple counting based perf stat.
This unborks perf on HSDK-4xD
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/perf_event.c | 14
On 7/21/20 1:59 PM, Randy Dunlap wrote:
> Drop the repeated word "to".
> Change "Thay" to "That".
> Add a closing right parenthesis.
>
> Signed-off-by: Randy Dunlap
> Cc: Vineet Gupta
> Cc: linux-snps-...@lists.infradead.org
Thx Randy. Adde
Cv2: support loop buffer (LPB) disabling
Vineet Gupta (5):
ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
ARC: [arcompact] fix bitrot with 2 levels of interrupt
ARC: elf: use right ELF_ARCH
ARCv2: boot log: detect newer/upconing HS3x/HS4x releases
ARC: bu
On 6/18/20 12:50 PM, Eugeniy Paltsev wrote:
> Hi Vineet,
>
> could you also peek this patch to for-curr as we don't have any disagreement
> about it?
>
> I'll respin the rest of the patches later. Thanks.
> ---
> Eugeniy Paltsev
Added !
-Vineet
On 6/5/20 3:47 AM, Alexey Brodkin wrote:
> Hi Eugeniy,
>
> A couple of minor notes below.
>
>> -Original Message-
>> From: Eugeniy Paltsev
>> Sent: Thursday, June 4, 2020 8:39 PM
>> To: linux-snps-...@lists.infradead.org; Vineet Gupta
>> Cc: li
On 6/4/20 10:39 AM, Eugeniy Paltsev wrote:
> Changes v1->v2:
> * Fallback to ISA default mcpu flag if custom one isn't supported by
>compiler.
> * Drop HSDK custom Kconfig options (choose between HSDK and HSDK-4xD) as
>we don't need it (at least for now). Instead we select
On 6/4/20 10:39 AM, Eugeniy Paltsev wrote:
> Kernel builds set their own default -mcpu for a given ISA build.
> But that gets in the way of "custom" -mcpu flags from propagating
> into kernel build.
>
> This will also be used in next patches for HSDK-4xD board support which
> uses a different
+CC Rob H (it seems the CC in patch didn't go thru)
On 5/29/20 4:55 AM, Eugeniy Paltsev wrote:
> This initial port adds support of ARC HS4x/HS4xD Development Kit board with
> some
> basic features such serial port, USB, SD/MMC, SPI flash, Ethernet and others.
>
> The HSDK-4xD board has much in
On 5/29/20 4:55 AM, Eugeniy Paltsev wrote:
> On HS cores, loop buffer (LPB) is programmable in runtime and can
> be optionally disabled.
>
> Signed-off-by: Eugeniy Paltsev
LGTM.
-Vineet
On 5/29/20 4:55 AM, Eugeniy Paltsev wrote:
> By default we set -mcpu=xxx compiler flag depending on the CPU ISA
> version. It's good starting point, however that may be not enough
> as for some platforms we may want to use some specific 'mcpu'
> options for better optimization or to workaround HW
ression
ARC: guard dsp early init against non ARCv2
Masahiro Yamada (2):
arc: ptrace: hard-code "arc" instead of UTS_MACHINE
arc: remove #ifndef CONFIG_AS_CFI_SIGNAL_FRAME
Vineet Gupta (3):
ARC: entry: comment
ARC: [plat-eznps]: Restrict to CONFIG_ISA_AR
On 5/8/20 4:21 AM, Andy Shevchenko wrote:
> Yeah, I have locally something like this and I didn't dare to upstream because
> there is an issue. We have this information per DMA controller, while we
> actually need this on per DMA channel basis.
>
> Above will work only for synthesized DMA with all
On 4/29/20 10:12 AM, Eugeniy Paltsev wrote:
> Hi Vineet,
>
>> From: Vineet Gupta
>> Sent: Tuesday, April 28, 2020 22:46
>> To: Eugeniy Paltsev; linux-snps-...@lists.infradead.org
>> Cc: Alexey Brodkin; linux-kernel@vger.kernel.org
>> Subject: Re: [PATCH] A
On 4/28/20 11:50 AM, Eugeniy Paltsev wrote:
> As of today we guard early DSP init code with
> ARC_AUX_DSP_BUILD (0x7A) BCR check to verify that we have
> CPU with DSP configured. However that's not enough as in
> ARCv1 CPU the same BCR (0x7A) is used for checking MUL/MAC
> instructions presence.
>
(or point to wiki etc) that starting
with 5.x kernel,any nsim uart config needs to change of they are using the
defconfigs.
-Vineet
From: Eugeniy Paltsev
Sent: Tuesday, October 22, 2019 11:18 AM
To: Vineet Gupta; Eugeniy Paltsev; linux-snps
On 10/18/19 5:15 AM, Eugeniy Paltsev wrote:
> Starting from nSIM 2019.06 is possible to use DW UART
> instead of ARC UART. That allows us to merge
> "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp"
> mith minor changes which were done in previous commits.
>
> We eliminate
On 10/18/19 5:15 AM, Eugeniy Paltsev wrote:
> Starting from nSIM 2019.06 is possible to use DW UART
> instead of ARC UART. That allows us to merge
> "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp"
> mith some minor changes.
>
> We eliminate nsim_hs_defconfig and
this too if Andrew thinks otherwise
[1] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006263.html
[2] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006277.html
[3] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006307.html
---
Vineet Gupta (5
empty stubs for __pud_free_tlb, which is anyhow
called only from pud_free_tlb()
Acked-by: Kirill A. Shutemov
Acked-by: Linus Torvalds
Signed-off-by: Vineet Gupta
---
include/asm-generic/4level-fixup.h | 1 -
include/asm-generic/pgtable-nopud.h | 2 +-
include/asm-generic/tlb.h | 2
old new delta
| pud_clear_bad 20 - -20
| p4d_clear_bad 20 - -20
| Total: Before=4136930, After=4136890, chg -1.00%
Acked-by: Kirill A. Shutemov
Signed-off-by: Vineet Gupta
---
include/asm
(-104)
| function old new delta
| free_pgd_range 552 422-130
| Total: Before=4137172, After=4137042, chg -1.00%
Acked-by: Kirill A. Shutemov
Acked-by: Linus Torvalds
Signed-off-by: Vineet Gupta
---
include/asm
+18
| Total: Before=4137148, After=4137276, chg 0.00%
Acked-by: Kirill A. Shutemov
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/pgtable.h | 1 -
arch/arc/mm/fault.c| 10 --
arch/arc/mm/highmem.c | 4 +++-
3 files changed, 11 insertions(+), 4 deletions(-)
d
.
In this patch we can, but see next patch for example where we can't
Acked-by: Kirill A. Shutemov
Signed-off-by: Vineet Gupta
---
include/asm-generic/pgtable-nopmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/pgtable-nopmd.h
b/include/asm-generic/pgtable
On 10/15/19 2:48 PM, Linus Torvalds wrote:
> On Tue, Oct 15, 2019 at 12:19 PM Vineet Gupta
> wrote:
>> This is a non-functional change anyways since ARC has software page walker
>> with 2 lookup levels (pgd -> pte)
>
> Could we encourage other architectures to do the
://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006263.html
[2] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006277.html
---
Vineet Gupta (5):
ARC: mm: remove __ARCH_USE_5LEVEL_HACK
asm-generic/tlb: stub out pud_free_tlb() if nopud ...
asm-generic/tlb: stub out p4d_free_tlb
| free_pgd_range 656 552-104
| Total: Before=4137276, After=4137172, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/4level-fixup.h | 1 -
include/asm-generic/pgtable-nopud.h | 2 +-
include/asm-generic/tlb.h | 2 --
3 files changed, 1
(-112)
| function old new delta
| free_pgd_range 422 310-112
| Total: Before=4137042, After=4136930, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/pgtable-nopmd.h | 2 +-
1 file changed, 1
(-104)
| function old new delta
| free_pgd_range 552 422-130
| Total: Before=4137172, After=4137042, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/5level-fixup.h | 1 -
include/asm-generic
20 - -20
| p4d_clear_bad 20 - -20
| Total: Before=4136930, After=4136890, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/pgtable.h | 11 +++
mm/pgtable-generic.c | 8
2 files changed, 19
bad 2 20 +18
| Total: Before=4137148, After=4137276, chg 0.00%
Cc: Kirill A. Shutemov
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/pgtable.h | 1 -
arch/arc/mm/fault.c| 10 --
arch/arc/mm/highmem.c | 4 +++-
3 files changed, 11 insertions(+)
On 10/14/19 11:25 AM, Linus Torvalds wrote:
> On Mon, Oct 14, 2019 at 11:02 AM Vineet Gupta wrote:
>>
>> I suppose we could but
>>
>> (a) It would be asymmetric with the __p{u,4}d_free_tlb() changes in [1] and
>> [2].
>
> Your patch is already assymm
On 10/14/19 10:41 AM, Linus Torvalds wrote:
> On Fri, Oct 11, 2019 at 3:38 PM Vineet Gupta
> wrote:
>>
>> This is inine with similar patches for nopud [1] and nop4d [2] cases.
>
> I don't think your patch is wrong, but wouldn't it be easier and
> clea
136890, chg -1.00%
[1] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006266.html
[2] http://lists.infradead.org/pipermail/linux-snps-arc/2019-October/006265.html
Signed-off-by: Vineet Gupta
---
include/asm-generic/tlb.h | 4
1 file changed, 4 insertions(+)
diff
Hi Kirill,
On 10/10/19 1:56 AM, Kirill A. Shutemov wrote:
> On Wed, Oct 09, 2019 at 10:26:55PM +0000, Vineet Gupta wrote:
>>
>> This series elides extraneous generate code for folded p4d/pud.
>> This came up when trying to remove __ARCH_USE_5LEVEL_HACK from ARC por
: 0/1 up/down: 0/-104 (-104)
| function old new delta
| free_pgd_range 656 552-104
| Total: Before=4137276, After=4137172, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/4level-fixup.h | 2
20 - -20
| p4d_clear_bad 20 - -20
| Total: Before=4137104, After=4137082, chg -1.00%
Signed-off-by: Vineet Gupta
---
include/asm-generic/pgtable.h | 11 +++
mm/pgtable-generic.c | 4
2 files changed, 15
1 - 100 of 3575 matches
Mail list logo