[PATCH v13 02/22] arc: mm: Add p?d_leaf() definitions

2019-10-24 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_leaf() functions/macros. For arc, we only have two levels, so only pmd_leaf() i

[PATCH 0/2] Enabling MSI for Microblaze

2019-10-24 Thread Michal Simek
Hi, these two patches come from discussion with Christoph, Bjorn, Palmer and Waiman. The first patch was suggestion by Christoph here https://lore.kernel.org/linux-riscv/20191008154604.ga7...@infradead.org/ The second part was discussed https://lore.kernel.org/linux-pci/mhng-5d9bcb53-225e-441f-86c

[PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Michal Simek
msi.h is generic for all architectures expect of x86 which has own version. Enabling MSI by including msi.h to architecture Kbuild is just additional step which doesn't need to be done. The patch was created based on request to enable MSI for Microblaze. Suggested-by: Christoph Hellwig Signed-off

Re: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Masahiro Yamada
On Thu, Oct 24, 2019 at 7:13 PM Michal Simek wrote: > > msi.h is generic for all architectures expect of x86 which has own version. Maybe a typo? "except" Anyway, the code looks good to me. Reviewed-by: Masahiro Yamada > Enabling MSI by including msi.h to architecture Kbuild is just additi

Re: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Paul Walmsley
On Thu, 24 Oct 2019, Michal Simek wrote: > msi.h is generic for all architectures expect of x86 which has own version. > Enabling MSI by including msi.h to architecture Kbuild is just additional > step which doesn't need to be done. > The patch was created based on request to enable MSI for Microb

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

2019-10-24 Thread Qian Cai
> On Oct 24, 2019, at 10:50 AM, Anshuman Khandual > wrote: > > Changes in V7: > > - Memory allocation and free routines for mapped pages have been droped > - Mapped pfns are derived from standard kernel text symbol per Matthew > - Moved debug_vm_pgtaable() after page_alloc_init_late() per Mi

Re: [PATCH 0/2] Enabling MSI for Microblaze

2019-10-24 Thread Waiman Long
On 10/24/19 6:13 AM, Michal Simek wrote: > Hi, > > these two patches come from discussion with Christoph, Bjorn, Palmer and > Waiman. The first patch was suggestion by Christoph here > https://lore.kernel.org/linux-riscv/20191008154604.ga7...@infradead.org/ > The second part was discussed > https:/

test !

2019-10-24 Thread Vineet Gupta
___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

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

2019-10-24 Thread Anshuman Khandual
On 10/24/2019 10:21 PM, Qian Cai wrote: > > >> On Oct 24, 2019, at 10:50 AM, Anshuman Khandual >> wrote: >> >> Changes in V7: >> >> - Memory allocation and free routines for mapped pages have been droped >> - Mapped pfns are derived from standard kernel text symbol per Matthew >> - Moved deb

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

2019-10-24 Thread Qian Cai
> On Oct 24, 2019, at 11:45 PM, Anshuman Khandual > wrote: > > Nothing specific. But just tested this with x86 defconfig with relevant > configs > which are required for this test. Not sure if it involved W=1. No, it will not. It needs to run like, make W=1 -j 64 2>/tmp/warns _

[PATCH v2 0/2] Enabling MSI for Microblaze

2019-10-24 Thread Michal Simek
Hi, these two patches come from discussion with Christoph, Bjorn, Palmer and Waiman. The first patch was suggestion by Christoph here https://lore.kernel.org/linux-riscv/20191008154604.ga7...@infradead.org/ The second part was discussed https://lore.kernel.org/linux-pci/mhng-5d9bcb53-225e-441f-86c

[PATCH v2 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Michal Simek
msi.h is generic for all architectures except of x86 which has own version. Enabling MSI by including msi.h to architecture Kbuild is just additional step which doesn't need to be done. The patch was created based on request to enable MSI for Microblaze. Suggested-by: Christoph Hellwig Signed-off

Re: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Michal Simek
On 24. 10. 19 16:44, Masahiro Yamada wrote: > On Thu, Oct 24, 2019 at 7:13 PM Michal Simek wrote: >> >> msi.h is generic for all architectures expect of x86 which has own version. > > Maybe a typo? "except" unfortunately yes. > > > Anyway, the code looks good to me. > > Reviewed-by: Masahir

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

2019-10-24 Thread Anshuman Khandual
On 10/25/2019 11:22 AM, Qian Cai wrote: > > >> On Oct 24, 2019, at 11:45 PM, Anshuman Khandual >> wrote: >> >> Nothing specific. But just tested this with x86 defconfig with relevant >> configs >> which are required for this test. Not sure if it involved W=1. > > No, it will not. It needs t