Re: [PATCH 4/5] ARC: add support for DSP-enabled userspace applications

2020-03-04 Thread Eugeniy Paltsev
Hi Vineet, >From: Vineet Gupta >Sent: Tuesday, January 7, 2020 21:25 >To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org >Cc: linux-ker...@vger.kernel.org; Alexey Brodkin >Subject: Re: [PATCH 4/5] ARC: add support for DSP-enabled userspace >applications >> +/* >> + * As we save new and

Re: [PATCH 4/5] ARC: add support for DSP-enabled userspace applications

2020-03-04 Thread Vineet Gupta
On 3/4/20 3:51 AM, Eugeniy Paltsev wrote: >>> +"r" (_saveto), \ >>> +"r" (_readfrom), \ >>> +"I" (_aux), \ >>> +"I"

Re: [PATCH V14] mm/debug: Add tests validating architecture page table helpers

2020-03-04 Thread Anshuman Khandual
exactly sure what did you mean here, but the kernel has all lockdep > enabled and did not flag anything here. As the patch has been dropped from Linux next (next-20200304) perhaps in order to fold back the __pa_symbol() fix [1], so I am planning to respin the original patch once mor

Re: [PATCH V14] mm/debug: Add tests validating architecture page table helpers

2020-03-04 Thread Anshuman Khandual
>>>> >>>> AFAIU, you are not taking an interrupt here. You are stuck in the >>>> pte_update(), most likely due to nested locks. Try with LOCKDEP ? >>> >>> Not exactly sure what did you mean here, but the kernel has all lockdep >>> ena

[PATCH 0/2] mm/vma: some new flags

2020-03-04 Thread Anshuman Khandual
The motivation here is to consolidate VMA flag combinations commonly used across platforms and reduce code duplication while making it uncluttered in general. This first introduces a default VM_DATA_DEFAULT_FLAGS which platforms can easily fall back on without requiring to define any similar data

[PATCH 1/2] mm/vma: Define a default value for VM_DATA_DEFAULT_FLAGS

2020-03-04 Thread Anshuman Khandual
There are many platforms with exact same value for VM_DATA_DEFAULT_FLAGS This creates a default value for VM_DATA_DEFAULT_FLAGS in line with the existing VM_STACK_DEFAULT_FLAGS. While here, also define some more macros with standard VMA access flag combinations that are used frequently across many

Re: [PATCH V14] mm/debug: Add tests validating architecture page table helpers

2020-03-04 Thread Christophe Leroy
? Not exactly sure what did you mean here, but the kernel has all lockdep enabled and did not flag anything here. As the patch has been dropped from Linux next (next-20200304) perhaps in order to fold back the __pa_symbol() fix [1], so I am planning to respin the original patch once more as V15 while

Re: [PATCH V14] mm/debug: Add tests validating architecture page table helpers

2020-03-04 Thread Qian Cai
> On Mar 4, 2020, at 1:49 AM, Christophe Leroy wrote: > > AFAIU, you are not taking an interrupt here. You are stuck in the > pte_update(), most likely due to nested locks. Try with LOCKDEP ? Not exactly sure what did you mean here, but the kernel has all lockdep enabled and did not flag