Re: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-11 Thread Vignesh R
23 PM, Ricardo Ribalda Delgado wrote: >>> Current code assumes that the direction is input if direction_input >>> function is set. >>> This might not be the case on GPIOs with programmable direction. >>> >>> Signed-off-by: Ricardo Ribalda Delgado >&g

Re: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-11 Thread Vignesh R
23 PM, Ricardo Ribalda Delgado wrote: >>> Current code assumes that the direction is input if direction_input >>> function is set. >>> This might not be the case on GPIOs with programmable direction. >>> >>> Signed-off-by: Ricardo Ribalda Delgado >&g

Re: [PATCH v1] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

2018-10-11 Thread mgautam
Hi, On 2018-10-11 04:06, Doug Anderson wrote: Hi, On Fri, Oct 5, 2018 at 2:09 AM Manu Gautam wrote: Tune1 register on sdm845 is used to update HSTX_TRIM with fused setting. Enable same by specifying update_tune1_with_efuse flag for sdm845, otherwise driver ends up programming tune2

Re: [PATCH v1] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

2018-10-11 Thread mgautam
Hi, On 2018-10-11 04:06, Doug Anderson wrote: Hi, On Fri, Oct 5, 2018 at 2:09 AM Manu Gautam wrote: Tune1 register on sdm845 is used to update HSTX_TRIM with fused setting. Enable same by specifying update_tune1_with_efuse flag for sdm845, otherwise driver ends up programming tune2

linux-next: manual merge of the xarray tree with the nnvdimm-fixes tree

2018-10-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xarray tree got a conflict in: fs/dax.c between commit: d7782145e1ad ("filesystem-dax: Fix dax_layout_busy_page() livelock") from the nvdimm-fixes tree and commit: 0995344c1493 ("dax: Convert dax_layout_busy_page to XArray") from the xarray

linux-next: manual merge of the xarray tree with the nnvdimm-fixes tree

2018-10-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xarray tree got a conflict in: fs/dax.c between commit: d7782145e1ad ("filesystem-dax: Fix dax_layout_busy_page() livelock") from the nvdimm-fixes tree and commit: 0995344c1493 ("dax: Convert dax_layout_busy_page to XArray") from the xarray

Re: Insanely high baud rates

2018-10-11 Thread H. Peter Anvin
On 10/11/18 2:40 PM, Theodore Y. Ts'o wrote: > On Thu, Oct 11, 2018 at 07:14:30AM -0700, h...@zytor.com wrote: >>> >>> I mean - what is the baud rate of a pty ? >> >> Whatever the master wants it to be... > > I think Alan's point is that it is highly unlikely you would be able > to push the

Re: Insanely high baud rates

2018-10-11 Thread H. Peter Anvin
On 10/11/18 2:40 PM, Theodore Y. Ts'o wrote: > On Thu, Oct 11, 2018 at 07:14:30AM -0700, h...@zytor.com wrote: >>> >>> I mean - what is the baud rate of a pty ? >> >> Whatever the master wants it to be... > > I think Alan's point is that it is highly unlikely you would be able > to push the

[PATCH] perf: Align cpu map events properly.

2018-10-11 Thread David Miller
The size of the resulting cpu map can be smaller than a multiple of sizeof(u64), resulting in SIGBUS on cpus like Sparc as the next event will not be aligned properly. Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event synthesize function") Signed-off-by: David S. Miller diff --git

[PATCH] perf: Align cpu map events properly.

2018-10-11 Thread David Miller
The size of the resulting cpu map can be smaller than a multiple of sizeof(u64), resulting in SIGBUS on cpus like Sparc as the next event will not be aligned properly. Fixes: 6c872901af07 ("perf cpu_map: Add cpu_map event synthesize function") Signed-off-by: David S. Miller diff --git

[PATCH v2] of: base: Change logic in of_alias_get_alias_list()

2018-10-11 Thread Michal Simek
Check compatible string first before setting up bit in bitmap to also cover cases that allocated bitfield is not big enough. Show warning about it but let driver to continue to work with allocated bitfield to keep at least some devices (included console which is commonly close to serial0) to work.

[PATCH v2] of: base: Change logic in of_alias_get_alias_list()

2018-10-11 Thread Michal Simek
Check compatible string first before setting up bit in bitmap to also cover cases that allocated bitfield is not big enough. Show warning about it but let driver to continue to work with allocated bitfield to keep at least some devices (included console which is commonly close to serial0) to work.

RE: [PATCH] stm class: increase pos if no free channels found

2018-10-11 Thread Jin, Zhi
Hi Alexander, Any comments about this patch? BRs Zhi Jin > -Original Message- > From: Jin, Zhi > Sent: Thursday, September 06, 2018 3:22 PM > To: alexander.shish...@linux.intel.com > Cc: linux-kernel@vger.kernel.org; Jin, Zhi > Subject: [PATCH] stm class: increase pos if no free

RE: [PATCH] stm class: increase pos if no free channels found

2018-10-11 Thread Jin, Zhi
Hi Alexander, Any comments about this patch? BRs Zhi Jin > -Original Message- > From: Jin, Zhi > Sent: Thursday, September 06, 2018 3:22 PM > To: alexander.shish...@linux.intel.com > Cc: linux-kernel@vger.kernel.org; Jin, Zhi > Subject: [PATCH] stm class: increase pos if no free

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Jann Horn
On Fri, Oct 12, 2018 at 7:29 AM Juergen Gross wrote: > On 12/10/2018 05:21, Jann Horn wrote: > > +cc xen maintainers and kvm folks > > > > On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) > > wrote: > >> Android needs to mremap large regions of memory during memory management > >> related

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Jann Horn
On Fri, Oct 12, 2018 at 7:29 AM Juergen Gross wrote: > On 12/10/2018 05:21, Jann Horn wrote: > > +cc xen maintainers and kvm folks > > > > On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) > > wrote: > >> Android needs to mremap large regions of memory during memory management > >> related

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Juergen Gross
On 12/10/2018 05:21, Jann Horn wrote: > +cc xen maintainers and kvm folks > > On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) > wrote: >> Android needs to mremap large regions of memory during memory management >> related operations. The mremap system call can be really slow if THP is >>

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Juergen Gross
On 12/10/2018 05:21, Jann Horn wrote: > +cc xen maintainers and kvm folks > > On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) > wrote: >> Android needs to mremap large regions of memory during memory management >> related operations. The mremap system call can be really slow if THP is >>

linux-next: build warning after merge of the scsi-mkp tree

2018-10-11 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (x86_64 allmodconfig) produced this warning: ./usr/include/scsi/scsi_bsg_ufs.h:45: found __[us]{8,16,32,64} type without #include Introduced by commits a851b2bd3632 ("scsi: uapi: ufs: Make utp_upiu_req visible to user

linux-next: build warning after merge of the scsi-mkp tree

2018-10-11 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (x86_64 allmodconfig) produced this warning: ./usr/include/scsi/scsi_bsg_ufs.h:45: found __[us]{8,16,32,64} type without #include Introduced by commits a851b2bd3632 ("scsi: uapi: ufs: Make utp_upiu_req visible to user

[PATCH V8 15/21] csky: Debug and Ptrace GDB

2018-10-11 Thread Guo Ren
This patch adds arch ptrace implementation, stack dump and bug.h. Signed-off-by: Guo Ren --- arch/csky/include/asm/bug.h | 26 +++ arch/csky/include/uapi/asm/ptrace.h | 104 arch/csky/kernel/dumpstack.c| 66 arch/csky/kernel/ptrace.c | 314

[PATCH V8 15/21] csky: Debug and Ptrace GDB

2018-10-11 Thread Guo Ren
This patch adds arch ptrace implementation, stack dump and bug.h. Signed-off-by: Guo Ren --- arch/csky/include/asm/bug.h | 26 +++ arch/csky/include/uapi/asm/ptrace.h | 104 arch/csky/kernel/dumpstack.c| 66 arch/csky/kernel/ptrace.c | 314

[PATCH V8 16/21] csky: SMP support

2018-10-11 Thread Guo Ren
This patch adds boot, ipi, hotplug code for SMP. Changelog: - remove set_ipi_irq_mapping callback. - Convert the cpumask to an interrupt-controller specific representation in driver's code, and not the SMP code's. - csky: remove irq_mapping from smp.c There are some feedbacks from

[PATCH V8 16/21] csky: SMP support

2018-10-11 Thread Guo Ren
This patch adds boot, ipi, hotplug code for SMP. Changelog: - remove set_ipi_irq_mapping callback. - Convert the cpumask to an interrupt-controller specific representation in driver's code, and not the SMP code's. - csky: remove irq_mapping from smp.c There are some feedbacks from

[PATCH V8 14/21] csky: User access

2018-10-11 Thread Guo Ren
This patch adds "user access from kernel" codes. Signed-off-by: Guo Ren --- arch/csky/include/asm/uaccess.h | 416 arch/csky/lib/usercopy.c| 262 + 2 files changed, 678 insertions(+) create mode 100644

[PATCH V8 14/21] csky: User access

2018-10-11 Thread Guo Ren
This patch adds "user access from kernel" codes. Signed-off-by: Guo Ren --- arch/csky/include/asm/uaccess.h | 416 arch/csky/lib/usercopy.c| 262 + 2 files changed, 678 insertions(+) create mode 100644

[PATCH V8 12/21] csky: ELF and module probe

2018-10-11 Thread Guo Ren
This patch adds ELF definition and module relocate codes. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/elf.h | 26 arch/csky/abiv2/inc/abi/elf.h | 43 arch/csky/include/asm/elf.h | 85 +++ arch/csky/kernel/module.c

[PATCH V8 12/21] csky: ELF and module probe

2018-10-11 Thread Guo Ren
This patch adds ELF definition and module relocate codes. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/elf.h | 26 arch/csky/abiv2/inc/abi/elf.h | 43 arch/csky/include/asm/elf.h | 85 +++ arch/csky/kernel/module.c

[PATCH V8 08/21] csky: Process management and Signal

2018-10-11 Thread Guo Ren
This patch adds files related to task_switch, sigcontext, signal. Changelog: - abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code. Use FPE_FLTUNK instead. - abiv2/fpu.c: Use force_sig_fault instead. Signed-off-by: Guo Ren --- arch/csky/abiv2/fpu.c | 275

[PATCH V8 08/21] csky: Process management and Signal

2018-10-11 Thread Guo Ren
This patch adds files related to task_switch, sigcontext, signal. Changelog: - abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code. Use FPE_FLTUNK instead. - abiv2/fpu.c: Use force_sig_fault instead. Signed-off-by: Guo Ren --- arch/csky/abiv2/fpu.c | 275

[PATCH V8 06/21] csky: Cache and TLB routines

2018-10-11 Thread Guo Ren
This patch adds cache and tlb sync codes for abiv1 & abiv2. Changelog: - fixup module compile error for EXPORT_SYMBOL(cache_wbinv_range). - tlb.h & cacheflush.h: fix flush_cache_range and tlb_start_vma of abiv1 in flush_cache_range(vma, ...). cache_wbinv_range() couldn't deal with

[PATCH V8 11/21] csky: Atomic operations

2018-10-11 Thread Guo Ren
This patch adds atomic, cmpxchg, spinlock files. Changlog: - SMP supported - ticklock supported - queue-rwlock supported Signed-off-by: Guo Ren Cc: Peter Zijlstra Cc: Andrea Parri --- arch/csky/include/asm/atomic.h | 212 + arch/csky/include/asm/cmpxchg.h

[PATCH V8 10/21] csky: IRQ handling

2018-10-11 Thread Guo Ren
This patch adds IRQ handling files. Changelog: - Use CONFIG_GENERIC_IRQ_MULTI_HANDLER Signed-off-by: Guo Ren Cc: Thomas Gleixner --- arch/csky/include/asm/irqflags.h | 49 arch/csky/kernel/irq.c | 22 ++ 2 files changed, 71

[PATCH V8 06/21] csky: Cache and TLB routines

2018-10-11 Thread Guo Ren
This patch adds cache and tlb sync codes for abiv1 & abiv2. Changelog: - fixup module compile error for EXPORT_SYMBOL(cache_wbinv_range). - tlb.h & cacheflush.h: fix flush_cache_range and tlb_start_vma of abiv1 in flush_cache_range(vma, ...). cache_wbinv_range() couldn't deal with

[PATCH V8 11/21] csky: Atomic operations

2018-10-11 Thread Guo Ren
This patch adds atomic, cmpxchg, spinlock files. Changlog: - SMP supported - ticklock supported - queue-rwlock supported Signed-off-by: Guo Ren Cc: Peter Zijlstra Cc: Andrea Parri --- arch/csky/include/asm/atomic.h | 212 + arch/csky/include/asm/cmpxchg.h

[PATCH V8 10/21] csky: IRQ handling

2018-10-11 Thread Guo Ren
This patch adds IRQ handling files. Changelog: - Use CONFIG_GENERIC_IRQ_MULTI_HANDLER Signed-off-by: Guo Ren Cc: Thomas Gleixner --- arch/csky/include/asm/irqflags.h | 49 arch/csky/kernel/irq.c | 22 ++ 2 files changed, 71

[PATCH V8 09/21] csky: VDSO and rt_sigreturn

2018-10-11 Thread Guo Ren
This patch adds files related to VDSO and our VDSO only support rt_sigreturn. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/vdso.h | 17 + arch/csky/abiv2/inc/abi/vdso.h | 23 +++ arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c| 86

[PATCH V8 07/21] csky: MMU and page table management

2018-10-11 Thread Guo Ren
This patch adds files related to memory management and here is our memory-layout: Fixmap : 0xffc02000 – 0xf000 (4 MB - 12KB) Pkmap: 0xff80 – 0xffc0 (4 MB) Vmalloc : 0xf020 – 0xff00 (238 MB) Lowmem : 0x8000 – 0xc000

[PATCH V8 13/21] csky: Library functions

2018-10-11 Thread Guo Ren
This patch adds string optimize codes and some auxiliary code. Changelog: - Use bt instead of jbt in asm, jbt will cause relocation problem. - remove kernel/platform.c Signed-off-by: Chen Linfei Signed-off-by: Mao Han Signed-off-by: Guo Ren --- arch/csky/abiv1/bswapdi.c| 12 ++

[PATCH V8 09/21] csky: VDSO and rt_sigreturn

2018-10-11 Thread Guo Ren
This patch adds files related to VDSO and our VDSO only support rt_sigreturn. Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/vdso.h | 17 + arch/csky/abiv2/inc/abi/vdso.h | 23 +++ arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c| 86

[PATCH V8 07/21] csky: MMU and page table management

2018-10-11 Thread Guo Ren
This patch adds files related to memory management and here is our memory-layout: Fixmap : 0xffc02000 – 0xf000 (4 MB - 12KB) Pkmap: 0xff80 – 0xffc0 (4 MB) Vmalloc : 0xf020 – 0xff00 (238 MB) Lowmem : 0x8000 – 0xc000

[PATCH V8 13/21] csky: Library functions

2018-10-11 Thread Guo Ren
This patch adds string optimize codes and some auxiliary code. Changelog: - Use bt instead of jbt in asm, jbt will cause relocation problem. - remove kernel/platform.c Signed-off-by: Chen Linfei Signed-off-by: Mao Han Signed-off-by: Guo Ren --- arch/csky/abiv1/bswapdi.c| 12 ++

[PATCH V8 04/21] csky: Exception handling and mm-fault

2018-10-11 Thread Guo Ren
This patch adds exception handling code, cpuinfo and mm-fault code. Signed-off-by: Guo Ren --- arch/csky/abiv1/alignment.c | 323 arch/csky/abiv1/inc/abi/entry.h | 160 arch/csky/abiv2/inc/abi/entry.h | 156

[PATCH V8 05/21] csky: System Call

2018-10-11 Thread Guo Ren
This patch adds files related to syscall. Signed-off-by: Guo Ren --- arch/csky/include/asm/syscall.h | 71 + arch/csky/include/asm/syscalls.h| 15 arch/csky/include/uapi/asm/unistd.h | 10 ++ arch/csky/kernel/syscall.c | 43

[PATCH V8 05/21] csky: System Call

2018-10-11 Thread Guo Ren
This patch adds files related to syscall. Signed-off-by: Guo Ren --- arch/csky/include/asm/syscall.h | 71 + arch/csky/include/asm/syscalls.h| 15 arch/csky/include/uapi/asm/unistd.h | 10 ++ arch/csky/kernel/syscall.c | 43

[PATCH V8 04/21] csky: Exception handling and mm-fault

2018-10-11 Thread Guo Ren
This patch adds exception handling code, cpuinfo and mm-fault code. Signed-off-by: Guo Ren --- arch/csky/abiv1/alignment.c | 323 arch/csky/abiv1/inc/abi/entry.h | 160 arch/csky/abiv2/inc/abi/entry.h | 156

[PATCH V8 03/21] csky: Kernel booting

2018-10-11 Thread Guo Ren
This patch add boot code. Thx boot params is all in dtb and it's the only way to let kernel get bootloader param information. Changelog: - Use built-in dtb when dtb param is NULL. - Add dummy console for allmodconfig. Signed-off-by: Guo Ren --- arch/csky/kernel/head.S| 77

[PATCH V8 03/21] csky: Kernel booting

2018-10-11 Thread Guo Ren
This patch add boot code. Thx boot params is all in dtb and it's the only way to let kernel get bootloader param information. Changelog: - Use built-in dtb when dtb param is NULL. - Add dummy console for allmodconfig. Signed-off-by: Guo Ren --- arch/csky/kernel/head.S| 77

[PATCH V8 00/21] C-SKY(csky) Linux Kernel Port

2018-10-11 Thread Guo Ren
This is the 8th version patchset to add the Linux kernel port for C-SKY(csky) based on linux-4.19-rc3. In this patchset, we fixup make allmodconfig and remove one callback in smp.c with irqchip's feedback. Here is the LTP test report for this patchset: (and add "V12 C-SKY(csky) Linux Kernel

[PATCH V8 02/21] csky: defconfig

2018-10-11 Thread Guo Ren
This patch adds csky defconfig. Signed-off-by: Guo Ren --- arch/csky/configs/defconfig | 61 + 1 file changed, 61 insertions(+) create mode 100644 arch/csky/configs/defconfig diff --git a/arch/csky/configs/defconfig b/arch/csky/configs/defconfig new

[PATCH V8 00/21] C-SKY(csky) Linux Kernel Port

2018-10-11 Thread Guo Ren
This is the 8th version patchset to add the Linux kernel port for C-SKY(csky) based on linux-4.19-rc3. In this patchset, we fixup make allmodconfig and remove one callback in smp.c with irqchip's feedback. Here is the LTP test report for this patchset: (and add "V12 C-SKY(csky) Linux Kernel

[PATCH V8 02/21] csky: defconfig

2018-10-11 Thread Guo Ren
This patch adds csky defconfig. Signed-off-by: Guo Ren --- arch/csky/configs/defconfig | 61 + 1 file changed, 61 insertions(+) create mode 100644 arch/csky/configs/defconfig diff --git a/arch/csky/configs/defconfig b/arch/csky/configs/defconfig new

[PATCH V8 01/21] csky: Build infrastructure

2018-10-11 Thread Guo Ren
This patch adds Makefile, Kconfig for build infrastructure. Changelog: - make allmodconfig is OK. - Use BUILTIN_DTB as string, remove bool define for compile. - Add xor.h in asm/Kbuild - Add compat.h in asm/Kbuild. - Add select DMA_DIRECT_OPS in Kconfig. - remove kernel/platform.c in

[PATCH V8 01/21] csky: Build infrastructure

2018-10-11 Thread Guo Ren
This patch adds Makefile, Kconfig for build infrastructure. Changelog: - make allmodconfig is OK. - Use BUILTIN_DTB as string, remove bool define for compile. - Add xor.h in asm/Kbuild - Add compat.h in asm/Kbuild. - Add select DMA_DIRECT_OPS in Kconfig. - remove kernel/platform.c in

Re: [PATCH 4.4 00/27] 4.4.161-stable review

2018-10-11 Thread Naresh Kamboju
st-vsyscall-mode-native * kselftest-vsyscall-mode-none Summary kernel: 4.4.161-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.161-rc1-hikey-20181011-301 git commit: d3ba9c3a1b2509d2b14941baee1cd504d5ab0a07 git describe: 4.4.161-rc1-hikey-201810

Re: [PATCH 4.4 00/27] 4.4.161-stable review

2018-10-11 Thread Naresh Kamboju
st-vsyscall-mode-native * kselftest-vsyscall-mode-none Summary kernel: 4.4.161-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.161-rc1-hikey-20181011-301 git commit: d3ba9c3a1b2509d2b14941baee1cd504d5ab0a07 git describe: 4.4.161-rc1-hikey-201810

Re: [PATCH 4.9 00/35] 4.9.133-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.133 release. > There are 35 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.9 00/35] 4.9.133-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.133 release. > There are 35 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 00/45] 4.14.76-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:16, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.76 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 00/45] 4.14.76-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:16, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.76 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH v2 2/2] dt-bindings: uniphier: move cache-uniphier.txt to vendor directory

2018-10-11 Thread Masahiro Yamada
Now, the Socionext vendor directory is available at Documentation/devicetree/bindings/arm/socionext/ Move cache-uniphier.txt over to it. Signed-off-by: Masahiro Yamada --- Changes in v2: - New patch .../devicetree/bindings/arm/{uniphier => socionext}/cache-uniphier.txt| 0 1 file

[PATCH v2 1/2] dt-bindings: uniphier: add bindings for UniPhier SoC family

2018-10-11 Thread Masahiro Yamada
Document the list of SoCs and boards of UniPhier platform. Signed-off-by: Masahiro Yamada --- Changes in v2: Changes suggested by Rob. - Move the file to Documentation/devicetree/bindings/arm/socionext/uniphier.txt - Group boards by each SoC Previous posts: v1:

[PATCH v2 2/2] dt-bindings: uniphier: move cache-uniphier.txt to vendor directory

2018-10-11 Thread Masahiro Yamada
Now, the Socionext vendor directory is available at Documentation/devicetree/bindings/arm/socionext/ Move cache-uniphier.txt over to it. Signed-off-by: Masahiro Yamada --- Changes in v2: - New patch .../devicetree/bindings/arm/{uniphier => socionext}/cache-uniphier.txt| 0 1 file

[PATCH v2 1/2] dt-bindings: uniphier: add bindings for UniPhier SoC family

2018-10-11 Thread Masahiro Yamada
Document the list of SoCs and boards of UniPhier platform. Signed-off-by: Masahiro Yamada --- Changes in v2: Changes suggested by Rob. - Move the file to Documentation/devicetree/bindings/arm/socionext/uniphier.txt - Group boards by each SoC Previous posts: v1:

Re: [PATCH 4.18 00/44] 4.18.14-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.14 release. > There are 44 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.18 00/44] 4.18.14-stable review

2018-10-11 Thread Naresh Kamboju
On Thu, 11 Oct 2018 at 21:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.14 release. > There are 44 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH V2 4/5] arm64/mm: Enable HugeTLB migration

2018-10-11 Thread Anshuman Khandual
Let arm64 subscribe to generic HugeTLB page migration framework. Right now this only works on the following PMD and PUD level HugeTLB page sizes with various kernel base page size combinations. CONT PTEPMDCONT PMDPUD ------ 4K: NA

[PATCH V2 2/5] mm/hugetlb: Distinguish between migratability and movability

2018-10-11 Thread Anshuman Khandual
During huge page allocation it's migratability is checked to determine if it should be placed under movable zones with GFP_HIGHUSER_MOVABLE. But the movability aspect of the huge page could depend on other factors than just migratability. Movability in itself is a distinct property which should

[PATCH V2 3/5] mm/hugetlb: Enable arch specific huge page size support for migration

2018-10-11 Thread Anshuman Khandual
Architectures like arm64 have HugeTLB page sizes which are different than generic sizes at PMD, PUD, PGD level and implemented via contiguous bits. At present these special size HugeTLB pages cannot be identified through macros like (PMD|PUD|PGDIR)_SHIFT and hence chosen not be migrated. Enabling

[PATCH V2 5/5] arm64/mm: Enable HugeTLB migration for contiguous bit HugeTLB pages

2018-10-11 Thread Anshuman Khandual
Let arm64 subscribe to the previously added framework in which architecture can inform whether a given huge page size is supported for migration. This just overrides the default function arch_hugetlb_migration_supported() and enables migration for all possible HugeTLB page sizes on arm64. With

[PATCH V2 4/5] arm64/mm: Enable HugeTLB migration

2018-10-11 Thread Anshuman Khandual
Let arm64 subscribe to generic HugeTLB page migration framework. Right now this only works on the following PMD and PUD level HugeTLB page sizes with various kernel base page size combinations. CONT PTEPMDCONT PMDPUD ------ 4K: NA

[PATCH V2 2/5] mm/hugetlb: Distinguish between migratability and movability

2018-10-11 Thread Anshuman Khandual
During huge page allocation it's migratability is checked to determine if it should be placed under movable zones with GFP_HIGHUSER_MOVABLE. But the movability aspect of the huge page could depend on other factors than just migratability. Movability in itself is a distinct property which should

[PATCH V2 3/5] mm/hugetlb: Enable arch specific huge page size support for migration

2018-10-11 Thread Anshuman Khandual
Architectures like arm64 have HugeTLB page sizes which are different than generic sizes at PMD, PUD, PGD level and implemented via contiguous bits. At present these special size HugeTLB pages cannot be identified through macros like (PMD|PUD|PGDIR)_SHIFT and hence chosen not be migrated. Enabling

[PATCH V2 5/5] arm64/mm: Enable HugeTLB migration for contiguous bit HugeTLB pages

2018-10-11 Thread Anshuman Khandual
Let arm64 subscribe to the previously added framework in which architecture can inform whether a given huge page size is supported for migration. This just overrides the default function arch_hugetlb_migration_supported() and enables migration for all possible HugeTLB page sizes on arm64. With

[PATCH V2 0/5] arm64/mm: Enable HugeTLB migration

2018-10-11 Thread Anshuman Khandual
This patch series enables HugeTLB migration support for all supported huge page sizes at all levels including contiguous bit implementation. Following HugeTLB migration support matrix has been enabled with this patch series. All permutations have been tested except for the 16GB. CONT PTE

[PATCH V2 0/5] arm64/mm: Enable HugeTLB migration

2018-10-11 Thread Anshuman Khandual
This patch series enables HugeTLB migration support for all supported huge page sizes at all levels including contiguous bit implementation. Following HugeTLB migration support matrix has been enabled with this patch series. All permutations have been tested except for the 16GB. CONT PTE

[PATCH V2 1/5] mm/hugetlb: Enable PUD level huge page migration

2018-10-11 Thread Anshuman Khandual
Architectures like arm64 have PUD level HugeTLB pages for certain configs (1GB huge page is PUD based on ARM64_4K_PAGES base page size) that can be enabled for migration. It can be achieved through checking for PUD_SHIFT order based HugeTLB pages during migration. Signed-off-by: Anshuman Khandual

[PATCH V2 1/5] mm/hugetlb: Enable PUD level huge page migration

2018-10-11 Thread Anshuman Khandual
Architectures like arm64 have PUD level HugeTLB pages for certain configs (1GB huge page is PUD based on ARM64_4K_PAGES base page size) that can be enabled for migration. It can be achieved through checking for PUD_SHIFT order based HugeTLB pages during migration. Signed-off-by: Anshuman Khandual

Re: [PATCH v4 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-11 Thread John Hubbard
On 10/11/18 6:23 PM, John Hubbard wrote: > On 10/11/18 6:20 AM, Jason Gunthorpe wrote: >> On Thu, Oct 11, 2018 at 10:49:29AM +0200, Jan Kara wrote: >> This is a real worry. If someone uses a mistaken put_page() then how will that bug manifest at runtime? Under what set of circumstances

Re: [PATCH v4 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-11 Thread John Hubbard
On 10/11/18 6:23 PM, John Hubbard wrote: > On 10/11/18 6:20 AM, Jason Gunthorpe wrote: >> On Thu, Oct 11, 2018 at 10:49:29AM +0200, Jan Kara wrote: >> This is a real worry. If someone uses a mistaken put_page() then how will that bug manifest at runtime? Under what set of circumstances

Re: [PATCH 0/4] Add clock support for Hi3670 SoC

2018-10-11 Thread Manivannan Sadhasivam
On Thu, Sep 20, 2018 at 11:00:59PM -0700, Manivannan Sadhasivam wrote: > This patchset adds clock support for Hi3670 SoC from HiSilicon utilizing > the HiSi common clock code. While adding clock support, let's remove the > fixed clock for UART and source SoC clock on HiKey970 board. > > This

Re: [PATCH 0/4] Add clock support for Hi3670 SoC

2018-10-11 Thread Manivannan Sadhasivam
On Thu, Sep 20, 2018 at 11:00:59PM -0700, Manivannan Sadhasivam wrote: > This patchset adds clock support for Hi3670 SoC from HiSilicon utilizing > the HiSi common clock code. While adding clock support, let's remove the > fixed clock for UART and source SoC clock on HiKey970 board. > > This

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Jann Horn
+cc xen maintainers and kvm folks On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) wrote: > Android needs to mremap large regions of memory during memory management > related operations. The mremap system call can be really slow if THP is > not enabled. The bottleneck is move_page_tables,

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-11 Thread Jann Horn
+cc xen maintainers and kvm folks On Fri, Oct 12, 2018 at 4:40 AM Joel Fernandes (Google) wrote: > Android needs to mremap large regions of memory during memory management > related operations. The mremap system call can be really slow if THP is > not enabled. The bottleneck is move_page_tables,

Re: [PATCH V11 1/8] irqchip: add C-SKY SMP interrupt controller

2018-10-11 Thread Guo Ren
Hi Marc, On Tue, Oct 09, 2018 at 04:11:05PM +0100, Marc Zyngier wrote: > On 09/10/18 15:41, Guo Ren wrote: > > - Irq-csky-mpintc is C-SKY smp system interrupt controller and it > >could support 16 soft irqs, 16 private irqs, and 992 max common > >irqs. > > > >Changelog: > > - Convert

Re: [PATCH V11 1/8] irqchip: add C-SKY SMP interrupt controller

2018-10-11 Thread Guo Ren
Hi Marc, On Tue, Oct 09, 2018 at 04:11:05PM +0100, Marc Zyngier wrote: > On 09/10/18 15:41, Guo Ren wrote: > > - Irq-csky-mpintc is C-SKY smp system interrupt controller and it > >could support 16 soft irqs, 16 private irqs, and 992 max common > >irqs. > > > >Changelog: > > - Convert

[PATCH -next] misc: mic: scif: remove set but not used variables 'src_dma_addr, dst_dma_addr'

2018-10-11 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/misc/mic/scif/scif_dma.c: In function 'scif_rma_list_dma_copy_wrapper': drivers/misc/mic/scif/scif_dma.c:1558:27: warning: variable 'dst_dma_addr' set but not used [-Wunused-but-set-variable] drivers/misc/mic/scif/scif_dma.c:1558:13:

[PATCH -next] misc: mic: scif: remove set but not used variables 'src_dma_addr, dst_dma_addr'

2018-10-11 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/misc/mic/scif/scif_dma.c: In function 'scif_rma_list_dma_copy_wrapper': drivers/misc/mic/scif/scif_dma.c:1558:27: warning: variable 'dst_dma_addr' set but not used [-Wunused-but-set-variable] drivers/misc/mic/scif/scif_dma.c:1558:13:

Re: [RFC][PATCH] x86: ptrace: Add function argument access API

2018-10-11 Thread Steven Rostedt
On Thu, 11 Oct 2018 23:00:21 -0400 Steven Rostedt wrote: > A while ago I posted an RFC patchset for dynamic function based > events. But Masami pointed out that this could be done with kprobes > with minimal changes. He posted a patch set back in March >

Re: [RFC][PATCH] x86: ptrace: Add function argument access API

2018-10-11 Thread Steven Rostedt
On Thu, 11 Oct 2018 23:00:21 -0400 Steven Rostedt wrote: > A while ago I posted an RFC patchset for dynamic function based > events. But Masami pointed out that this could be done with kprobes > with minimal changes. He posted a patch set back in March >

[RFC][PATCH] x86: ptrace: Add function argument access API

2018-10-11 Thread Steven Rostedt
[ A while ago I posted an RFC patchset for dynamic function based events. But Masami pointed out that this could be done with kprobes with minimal changes. He posted a patch set back in March http://lkml.kernel.org/r/152049860385.7289.14079393589900496424.stgit@devbox I've pulled this

[RFC][PATCH] x86: ptrace: Add function argument access API

2018-10-11 Thread Steven Rostedt
[ A while ago I posted an RFC patchset for dynamic function based events. But Masami pointed out that this could be done with kprobes with minimal changes. He posted a patch set back in March http://lkml.kernel.org/r/152049860385.7289.14079393589900496424.stgit@devbox I've pulled this

Re: [PATCH] mtd: spi-nor: Add support for SPI boot flash access for AMD Family 16h

2018-10-11 Thread kbuild test robot
Hi Brett, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mtd/spi-nor/next] [also build test WARNING on v4.19-rc7 next-20181011] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH] mtd: spi-nor: Add support for SPI boot flash access for AMD Family 16h

2018-10-11 Thread kbuild test robot
Hi Brett, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mtd/spi-nor/next] [also build test WARNING on v4.19-rc7 next-20181011] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

[for-next][PATCH] trace_uprobe: support reference counter in fd-based uprobe

2018-10-11 Thread Steven Rostedt
Added for the 4.20/5.0 queue. -- Steve git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: a6ca88b241d5e929e6e60b12ad8cd288f0ffa256 Song Liu (1): trace_uprobe: support reference counter in fd-based uprobe include/linux/trace_events.h

[for-next][PATCH] trace_uprobe: support reference counter in fd-based uprobe

2018-10-11 Thread Steven Rostedt
Added for the 4.20/5.0 queue. -- Steve git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: a6ca88b241d5e929e6e60b12ad8cd288f0ffa256 Song Liu (1): trace_uprobe: support reference counter in fd-based uprobe include/linux/trace_events.h

RE: [PATCH v2 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-10-11 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: Tudor Ambarus [mailto:tudor.amba...@microchip.com] > Sent: Thursday, October 11, 2018 9:33 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; linux-...@vger.kernel.org > Cc: marek.va...@gmail.com; cyrille.pitc...@wedev4u.fr; >

RE: [PATCH v2 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-10-11 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: Tudor Ambarus [mailto:tudor.amba...@microchip.com] > Sent: Thursday, October 11, 2018 9:33 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; linux-...@vger.kernel.org > Cc: marek.va...@gmail.com; cyrille.pitc...@wedev4u.fr; >

[PATCH v3 2/2] mtd: spi-nor: add entry for mt35xu512aba flash

2018-10-11 Thread Yogesh Narayan Gaur
Add entry for mt35xu512aba Micron NOR flash. This flash is having uniform sector erase size of 128KB, have support of FSR(flag status register), flash size is 64MB and supports 4-byte commands. Signed-off-by: Yogesh Gaur Reviewed-by: Tudor Ambarus --- Changes for v3: - Modified flash node style

[PATCH v3 1/2] mtd: spi-nor: add macros related to MICRON flash

2018-10-11 Thread Yogesh Narayan Gaur
Some MICRON related macros in spi-nor domain were ST. Rename entries related to STMicroelectronics under macro SNOR_MFR_ST. Added entry of MFR Id for Micron flashes, 0x002C. Signed-off-by: Yogesh Gaur Reviewed-by: Tudor Ambarus --- Changes for v3: - None Changes for v2: - None

  1   2   3   4   5   6   7   8   9   10   >