[PATCH V3 09/27] csky: VDSO and rt_sigreturn

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/vdso.h | 17 + arch/csky/abiv2/inc/abi/vdso.h | 24 arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c| 85 ++ 4 files changed, 138 insertions(+) create mode 1

[PATCH V3 08/27] csky: Process management and Signal

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv2/fpu.c | 281 + arch/csky/abiv2/inc/abi/fpu.h | 66 ++ arch/csky/include/asm/mmu_context.h | 148 ++ arch/csky/include/asm/processor.h | 120 +++ arch/csky/include/asm/

[PATCH V3 16/27] csky: SMP support

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/smp.h | 26 + arch/csky/kernel/smp.c | 234 2 files changed, 260 insertions(+) create mode 100644 arch/csky/include/asm/smp.h create mode 100644 arch/csky/kernel/smp.c diff --git a/arch/csky

[PATCH V3 10/27] csky: IRQ handling

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/irq.h | 8 +++ arch/csky/include/asm/irqflags.h | 49 arch/csky/kernel/irq.c | 21 + 3 files changed, 78 insertions(+) create mode 100644 arch/csky/include/asm/irq.h cre

[PATCH V3 15/27] csky: Debug and Ptrace GDB

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/bug.h | 26 +++ arch/csky/include/uapi/asm/ptrace.h | 103 arch/csky/kernel/dumpstack.c| 64 arch/csky/kernel/ptrace.c | 317 4 files changed, 510 insertions(+)

[PATCH V3 05/27] csky: System Call

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/syscall.h | 69 + arch/csky/include/asm/syscalls.h| 14 arch/csky/include/uapi/asm/unistd.h | 10 ++ arch/csky/kernel/syscall.c | 42 ++ arch/csky/kernel/syscall_

[PATCH V3 12/27] csky: ELF and module probe

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/elf.h | 149 arch/csky/kernel/module.c | 82 2 files changed, 231 insertions(+) create mode 100644 arch/csky/include/asm/elf.h create mode 100644 arch/csky/kernel/module.c

[PATCH V3 14/27] csky: User access

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/include/asm/uaccess.h | 398 arch/csky/lib/usercopy.c| 271 +++ 2 files changed, 669 insertions(+) create mode 100644 arch/csky/include/asm/uaccess.h create mode 100644 arch/csky/lib/us

[PATCH V3 19/27] dt-bindings: timer: gx6605s SOC timer

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt diff --git a/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.

[PATCH V3 01/27] csky: Build infrastructure

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/Kconfig | 231 + arch/csky/Kconfig.debug| 14 ++ arch/csky/Makefile | 93 + arch/csky/abiv1/Makefile | 8 ++ arch/csky/abiv2/Makefile

[PATCH V3 07/27] csky: MMU and page table management

2018-09-12 Thread Guo Ren
- abiv1 CPU (CK610) is VIPT cache and it doesn't support highmem. - abiv2 CPUs are all PIPT cache and they could support highmem. Here is our memory layout plan: Fixmap : 0xffc02000 – 0xf000 (4 MB - 12KB) Pkmap: 0xff80 – 0xffc0 (4 MB) Vmalloc :

[PATCH V3 23/27] clocksource: add gx6605s SOC system timer

2018-09-12 Thread Guo Ren
Changelog: - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/timer-gx6605s.c | 150 1 file changed, 150 insertions(+) create mode 100644

[PATCH V3 22/27] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt diff --git a/Documentation/devicetree/bindings/interrupt-contro

[PATCH V3 20/27] dt-bindings: timer: C-SKY Multi-processor timer

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt diff --git a/Documentation/devicetree/bindings/timer/csky,mptimer.txt b/Docume

[PATCH V3 04/27] csky: Exception handling

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/alignment.c | 331 + arch/csky/abiv1/inc/abi/entry.h | 159 arch/csky/abiv2/inc/abi/entry.h | 157 arch/csky/include/asm/traps.h | 39 arch/csky/include/asm/unistd.h | 3 +

[PATCH V3 06/27] csky: Cache and TLB routines

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/cacheflush.c | 50 arch/csky/abiv1/inc/abi/cacheflush.h | 41 +++ arch/csky/abiv1/inc/abi/tlb.h | 11 ++ arch/csky/abiv2/cacheflush.c | 54 + arch/csky/abiv2/inc/abi/cacheflush.h | 38 ++ arch/csk

[PATCH V3 03/27] csky: Kernel booting

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/kernel/head.S| 78 + arch/csky/kernel/setup.c | 150 + arch/csky/kernel/vmlinux.lds.S | 64 ++ 3 files changed, 292 insertions(+) create mode 100644 arch/csky/kernel/h

[PATCH V3 18/27] dt-bindings: csky CPU Bindings

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt diff --git a/Documentation/devicetree/bindings/csky/cpus.txt b/Documentation/devicetree

[PATCH V4 00/27] C-SKY(csky) Linux Kernel Port

2018-09-12 Thread Guo Ren
This is the 3th version patchset to add the Linux kernel port for C-SKY(csky). Thanks to everyone who provided feedback on the previous version. This patchset adds architecture support to Linux for C-SKY's 32-bit embedded CPU cores and the patches are based on linux-4.18.4 There are two ABI versi

[PATCH V3 02/27] csky: defconfig

2018-09-12 Thread Guo Ren
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 file mode 100644 index 000..7

[PATCH V3 13/27] csky: Library functions

2018-09-12 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/bswapdi.c| 18 ++ arch/csky/abiv1/bswapsi.c| 14 ++ arch/csky/abiv1/inc/abi/string.h | 13 ++ arch/csky/abiv1/memcpy.S | 344 +++ arch/csky/abiv1/memset.c | 37 + arch/csky/abiv1

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2018 at 09:03:55AM -0400, Jerome Glisse wrote: > On Wed, Sep 12, 2018 at 02:49:21PM +0800, Peter Xu wrote: > > Add an extra check on page dirty bit in change_pte_range() since there > > might be case where PTE dirty bit is unset but it's actually dirtied. > > One example is when a h

general protection fault in lockref_get

2018-09-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c1b097f27bf Add linux-next specific files for 20180912 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1333df0140 kernel config: https://syzkaller.appspot.com/x/.config?x=5980033172920ec0

general protection fault in reconfigure_super

2018-09-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c1b097f27bf Add linux-next specific files for 20180912 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=175570c640 kernel config: https://syzkaller.appspot.com/x/.config?x=5980033172920ec0

KASAN: use-after-free Read in mqueue_get_tree

2018-09-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c1b097f27bf Add linux-next specific files for 20180912 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14e6101a40 kernel config: https://syzkaller.appspot.com/x/.config?x=5980033172920ec0

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Michal Hocko
On Wed 12-09-18 22:57:43, Balbir Singh wrote: > On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > > On Wed 12-09-18 14:56:45, Arun KS wrote: > > > When free pages are done with pageblock_order, time spend on > > > coalescing pages by buddy allocator can be reduced. With > > > section

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Alexandre Belloni wrote: > On 12/09/2018 12:43:52+0100, Lee Jones wrote: > > > > But ... we can't have it both ways. *Either* it's a true MFD, in > > > > which case it can/should have 2 separate compatible strings which can > > > > be specified directly from the DT. *Or* it'

Re: [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks

2018-09-12 Thread Will Deacon
Hi all, [+ more people from get_maintainers.pl] On Wed, Sep 05, 2018 at 03:34:41PM +0100, Will Deacon wrote: > This is a resend of: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/593559.html > > now based on 4.19-rc2. > > The Debian folks have observed a failure in the 3

general protection fault in mqueue_get_tree

2018-09-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c1b097f27bf Add linux-next specific files for 20180912 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1667ea5640 kernel config: https://syzkaller.appspot.com/x/.config?x=5980033172920ec0

KASAN: slab-out-of-bounds Read in mqueue_get_tree

2018-09-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c1b097f27bf Add linux-next specific files for 20180912 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10ce508140 kernel config: https://syzkaller.appspot.com/x/.config?x=5980033172920ec0

Re: [PATCH v5 06/27] arm64: Delay daif masking for user return

2018-09-12 Thread Julien Thierry
Hi James, On 12/09/18 11:31, James Morse wrote: Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: Masking daif flags is done very early before returning to EL0. Only toggle the interrupt masking while in the vector entry and mask daif once in kernel_exit. I had an earlier version that did

Re: [PATCH v2 1/1] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-09-12 Thread Andrew Lunn
> static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) > { > struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); > struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; > struct gpio_desc *desc; > + struct mvebu_pwm *counter; > unsigned long flags; > i

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-09-12 Thread Florian Weimer
On 09/09/2018 10:05 PM, Thomas Gleixner wrote: See the patch below. It's integrating TAI without slowing down everything and it definitely does not result in indirect calls. On a HSW it slows down clock_gettime() by ~0.5ns. On a SKL I get a speedup by ~0.5ns. On a AMD Epyc server it's 1.2ns spee

Re: [PATCH v5 05/27] arm64: Use daifflag_restore after bp_hardening

2018-09-12 Thread Julien Thierry
On 12/09/18 13:28, James Morse wrote: On 12/09/18 12:11, Julien Thierry wrote: On 12/09/18 11:32, James Morse wrote: On 28/08/18 16:51, Julien Thierry wrote: For EL0 entries requiring bp_hardening, daif status is kept at DAIF_PROCCTX_NOIRQ until after hardening has been done. Then interrupts

Nyt Cloud resonates with EU thinking of ensuring fair profits to workmakers.

2018-09-12 Thread Email
https://e24.no/nyheter/eu-vedtok-omstridt-direktiv-om-opphavsrett/24438959 Norwegian News today writes of EU, and a copyright directive that ensures workmakers get their profits, from images, audio, art etc. Indeed the Fair Pay project I started is resonating with this, and we want a full OS.

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2018 at 02:49:21PM +0800, Peter Xu wrote: > Add an extra check on page dirty bit in change_pte_range() since there > might be case where PTE dirty bit is unset but it's actually dirtied. > One example is when a huge PMD is splitted after written: the dirty bit > will be set on the c

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-12 Thread Gerald Schaefer
On Mon, 10 Sep 2018 15:17:54 +0200 Michal Hocko wrote: > [Cc Pavel] > > On Mon 10-09-18 14:35:27, Mikhail Zaslonko wrote: > > If memory end is not aligned with the linux memory section boundary, such > > a section is only partly initialized. This may lead to VM_BUG_ON due to > > uninitialized st

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Balbir Singh
On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > On Wed 12-09-18 14:56:45, Arun KS wrote: > > When free pages are done with pageblock_order, time spend on > > coalescing pages by buddy allocator can be reduced. With > > section size of 256MB, hot add latency of a single section > > s

Re: [PATCH v4 08/16] sched/core: uclamp: propagate parent clamps

2018-09-12 Thread Patrick Bellasi
On 08-Sep 20:02, Suren Baghdasaryan wrote: > On Tue, Aug 28, 2018 at 6:53 AM, Patrick Bellasi > wrote: [...] > > + cpu.util.min.effective > > +A read-only single value file which exists on non-root cgroups and > > +reports minimum utilization clamp value currently enforced on a

CITI FINANCE BANK OF GEORGIA

2018-09-12 Thread Mr.Patrick Davis
CERTIFIED AND APPROVED THE PAYMENT OF ($10,500,000.00 ) Attention This is to alert you that we received your fund worth the sum $10,500,000.00 from the Bank of USA ,we apologies for the delay of your payment and all the inconveniences we might put you through, Meanwhile we were having som

[PATCH stable] x86/tsc: Prevent result truncation on 32 bit

2018-09-12 Thread Thomas Gleixner
Subject: x86/tsc: Prevent result truncation on 32 bit From: Chuanhua Lei Date: Thu Sep 6 18:03:23 2018 +0800 From: Chuanhua Lei Commit 17f6bac2249356c795339e03a0742cd79be3cab8 upstream. Loops per jiffy is calculated by multiplying tsc_khz with 1e3 and then dividing it by HZ. Both tsc_khz

Re: [PATCH 02/11] dts: hisilicon: Update coresight bindings for hardware ports

2018-09-12 Thread Suzuki K Poulose
Hi Leo, On 12/09/18 11:47, leo@linaro.org wrote: On Tue, Sep 11, 2018 at 11:17:03AM +0100, Suzuki K Poulose wrote: Switch to updated coresight bindings for hw ports. As Shawn suggested, please change subject as "arm64: dts: hi6220: " Sure, will do. Cc: xuw...@hisilicon.com Cc: li

Re: [PATCH v5 02/27] arm64: cpufeature: Use alternatives for VHE cpu_enable

2018-09-12 Thread Suzuki K Poulose
On 12/09/18 11:28, James Morse wrote: Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: The cpu_enable callback for VHE feature requires all alternatives to have been applied. This prevents applying VHE alternative separately from the rest. Use an alternative depending on VHE feature to know

Re: [PATCH RFC] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-12 Thread Michal Hocko
On Tue 11-09-18 08:27:30, Roman Gushchin wrote: > On Tue, Sep 11, 2018 at 02:11:41PM +0200, Michal Hocko wrote: > > On Mon 10-09-18 14:56:22, Roman Gushchin wrote: > > > The memcg OOM killer is never invoked due to a failed high-order > > > allocation, however the MEMCG_OOM event can be easily rais

Re: [PATCH v5 05/27] arm64: Use daifflag_restore after bp_hardening

2018-09-12 Thread James Morse
Hi Julien, On 12/09/18 12:11, Julien Thierry wrote: > On 12/09/18 11:32, James Morse wrote: >> On 28/08/18 16:51, Julien Thierry wrote: >>> For EL0 entries requiring bp_hardening, daif status is kept at >>> DAIF_PROCCTX_NOIRQ until after hardening has been done. Then interrupts >>> are enabled thr

Re: [PATCH v5 04/27] arm64: daifflags: Use irqflags functions for daifflags

2018-09-12 Thread James Morse
Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: > Some of the work done in daifflags save/restore is already provided > by irqflags functions. Daifflags should always be a superset of irqflags > (it handles irq status + status of other flags). Modifying behaviour of > irqflags should alter the

Re: [PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support

2018-09-12 Thread Mark Brown
On Wed, Sep 12, 2018 at 08:19:54PM +0800, Cheng-Yi Chiang wrote: > max98927 codec driver will support reset-gpio binding so it can toggle > reset line in its probe function. All GPIO properties are supposed to end -gpios even if there can only ever be a single GPIO. signature.asc Description: PG

Re: get_arg_page() && ptr_size accounting

2018-09-12 Thread Oleg Nesterov
On 09/11, Kees Cook wrote: > > Oh, I like this patch! This is much cleaner. it's pity. cause this means I will have to actually test this change and (worse) write the changelog ;) > > @@ -410,11 +365,6 @@ static int bprm_mm_init(struct linux_binprm *bprm) > > if (!mm) > >

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-12 Thread Michal Hocko
On Tue 11-09-18 16:06:23, Zaslonko Mikhail wrote: [...] > > Well, I am afraid this is not the proper solution. We are relying on the > > full pageblock worth of initialized struct pages at many other place. We > > used to do that in the past because we have initialized the full > > section but this

[PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-09-12 Thread Cheng-Yi Chiang
Toggle reset line in max98927_i2c_probe. Use a list to store max98927 instances so we do not toggle reset line again if more than one instances share the same reset line. Signed-off-by: Cheng-Yi Chiang --- sound/soc/codecs/max98927.c | 78 + sound/soc/

Re: [PATCH 08/27] clk: sunxi-ng: Add support for H6 DE3 clocks

2018-09-12 Thread Chen-Yu Tsai
On Wed, Sep 5, 2018 at 1:46 AM Jernej Škrabec wrote: > > Dne torek, 04. september 2018 ob 11:04:21 CEST je Chen-Yu Tsai napisal(a): > > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec > wrote: > > > Support for mixer0, mixer1, writeback and rotation units is added. > > > > > > Signed-off-by: Jernej

[PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support

2018-09-12 Thread Cheng-Yi Chiang
max98927 codec driver will support reset-gpio binding so it can toggle reset line in its probe function. Signed-off-by: Cheng-Yi Chiang --- Documentation/devicetree/bindings/sound/max9892x.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/max9892x

RE: [PATCH 1/2] platform/x86: dell-smbios-wmi: Correct a memory leak

2018-09-12 Thread Mario.Limonciello
Darren, > -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Monday, September 10, 2018 3:52 PM > To: Limonciello, Mario > Cc: Andy Shevchenko; LKML; platform-driver-...@vger.kernel.org; > sta...@vger.kernel.org > Subject: Re: [PATCH 1/2] platform/x86: dell-smbios

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Alexandre Belloni
On 12/09/2018 12:43:52+0100, Lee Jones wrote: > > > But ... we can't have it both ways. *Either* it's a true MFD, in > > > which case it can/should have 2 separate compatible strings which can > > > be specified directly from the DT. *Or* it's not an MFD. In the > > > latter case, which I think

Re: [PATCH] drivers: pci: remove set but unused variable

2018-09-12 Thread Bjorn Helgaas
On Tue, Sep 11, 2018 at 04:39:08PM -1000, Joshua Abraham wrote: > This patch removes a set but unused variable in quirks.c. > > Fixes warning: > variable ‘mmio_sys_info’ set but not used [-Wunused-but-set-variable] > > Signed-off-by: Joshua Abraham Applied to pci/misc for v4.20, thanks! > ---

Re: [PATCH] mm, thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-09-12 Thread Michal Hocko
On Tue 11-09-18 13:30:20, David Rientjes wrote: > On Tue, 11 Sep 2018, Michal Hocko wrote: [...] > > hugepage specific MPOL flags sounds like yet another step into even more > > cluttered API and semantic, I am afraid. Why should this be any > > different from regular page allocations? You are gett

Re: [PATCH v5 02/27] arm64: cpufeature: Use alternatives for VHE cpu_enable

2018-09-12 Thread Julien Thierry
Hi James, On 12/09/18 11:28, James Morse wrote: Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: The cpu_enable callback for VHE feature requires all alternatives to have been applied. This prevents applying VHE alternative separately from the rest. Use an alternative depending on VHE feat

RE: [PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-12 Thread Thomas Gleixner
On Tue, 11 Sep 2018, Schaufler, Casey wrote: > How about this? Take Jiri's patch as written. You get everything except checks > on the security blobs and any "magic" that my safesidechannel module did. I > will propose a follow on patch that fixes the SELinux code to eliminate the > locking > issu

[PATCH v2 7/7] regulator: bd718xx: rename bd71837 to 718xx

2018-09-12 Thread Matti Vaittinen
rename bd71837-regulator.c to bd718x7-regulator.c to reflect the fact that also BD71847 is now supported by the driver. Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 2 +- drivers/regulator/Makefile | 2 +-

[PATCH v2 6/7] regulator: bd718XX use pickable ranges

2018-09-12 Thread Matti Vaittinen
Few regulators in BD71837 and BD71847 can output voltages from different voltage ranges. Register interface is arranged so that used range is selected by toggling bits which are not next to actual voltage selection bits. Then the voltage inside selected range is determined by voltage selection bits

[PATCH v2 5/7] regulator/mfd: bd718xx: rename bd71837/bd71847 common instances

2018-09-12 Thread Matti Vaittinen
Rename parts of code that support both BD71837 and BD71847 to BD718XX. Signed-off-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- drivers/mfd/rohm-bd718x7.c| 98 +-- drivers/regulator/bd71837-regulator.c | 24 - include/linux/mfd/rohm-bd71

[PATCH v2 4/7] regulator: Support regulators where voltage ranges are selectable

2018-09-12 Thread Matti Vaittinen
For example ROHM BD71837 and ROHM BD71847 Power management ICs have regulators which provide multiple linear ranges. Ranges can be selected by individual non contagious bit in vsel register. Add regmap helper functions for selecting ranges. Signed-off-by: Matti Vaittinen --- drivers/regulator/co

Re: [REGRESSION] Commit 5745392e0c2b ("PCI: Apply the new generic I/O management on PCI IO hosts") breaks PCI for legacy virtio devices with kvmtool on arm64

2018-09-12 Thread Andrew Murray
On Fri, Sep 07, 2018 at 06:41:40PM +0100, Will Deacon wrote: > Hi all, > > I'm seeing a regression in Linux guests since 4.17 under kvmtool, where > legacy virtio devices using the PCI transport fail to probe. Legacy virtio > PCI devices must be accessed via "I/O space" (e.g. BAR0, which is > IORE

[PATCH v2 3/7] mfd: dt bindings: add BD71847 device-tree binding documentation

2018-09-12 Thread Matti Vaittinen
Add ROHM BD71847 Power Management IC MFD binding information to device-tree binding documents. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 17 + 1 file changed, 9 insertions(+)

[PATCH v2 2/7] regulator: dt bindings: add BD71847 device-tree binding documentation

2018-09-12 Thread Matti Vaittinen
Add ROHM BD71847 Power Management IC regulator binding information to device-tree binding documents. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- .../devicetree/bindings/regulator/rohm,bd71837-regulator.txt | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff

Re: [PATCH v3 02/13] mfd: wcd9335: add support to wcd9335 core

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Srinivas Kandagatla wrote: > On 12/09/18 11:59, Lee Jones wrote: > > > On 12/09/18 09:58, Lee Jones wrote: > > > > > > > +static const struct mfd_cell wcd9335_devices[] = { > > > > > > > + { .name = "wcd9335-codec", }, > > > > > > > +}; > > > > > > Are there more devices to com

[PATCH v2 1/7] regulator: Support ROHM BD71847 power management IC

2018-09-12 Thread Matti Vaittinen
BD71847 is reduced version of BD71837. DVS bucks 3 and 4 are removed as is LDO7. Voltage ranges of some regulators are expanded. Add initial support for BD71847 with BD71837 driver. Signed-off-by: Matti Vaittinen --- drivers/mfd/rohm-bd718x7.c| 68 +-- drivers/regulator/bd71837-re

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Alexandre Belloni wrote: > On 12/09/2018 11:54:07+0100, Lee Jones wrote: > > On Wed, 12 Sep 2018, Geert Uytterhoeven wrote: > > > On Wed, Sep 12, 2018 at 10:41 AM Lee Jones wrote: > > > > On Wed, 12 Sep 2018, Alexandre Belloni wrote: > > > > > On 11/09/2018 23:54:40+0100, Lee

[PATCH v2 0/7] regulator/mfd/dt_bindings: bd718x7: Support ROHM bd71847

2018-09-12 Thread Matti Vaittinen
instead of plain voltage selection bits. Changelog v2 - Dropped first patch (voltage monitoring fix) and "rebased" on top of next-20180912 because first patch was already applied. - Fixed two commit message typos. Fixes based on comments from Lee Jones - removed PMIC revision check. - store

Re: [PATCH] dt-bindings: power: Introduce suspend states supported properties

2018-09-12 Thread Sudeep Holla
On 12/09/18 12:19, Keerthy wrote: > > > On Wednesday 12 September 2018 04:32 PM, Sudeep Holla wrote: >> >> >> On 12/09/18 05:09, Keerthy wrote: >>> Introuduce linux generic suspend states supported properties. >>> It is convenient for the generic suspend path to have >>> the knowledge of the s

Re: [PATCH] dt-bindings: power: Introduce suspend states supported properties

2018-09-12 Thread Keerthy
On Wednesday 12 September 2018 04:32 PM, Sudeep Holla wrote: > > > On 12/09/18 05:09, Keerthy wrote: >> Introuduce linux generic suspend states supported properties. >> It is convenient for the generic suspend path to have >> the knowledge of the suspend states supported based on the >> device

Re: [PATCH v3 0/2] rtc: abx80x: add basic watchdog support

2018-09-12 Thread Alexandre Belloni
On 11/09/2018 11:28:24-0600, Jeremy Gebben wrote: > This patch series adds watchdog support for abracon RTC chips which > include basic watchdog functionality. > > Thank you for reviewing. > > Changes in v3 (all in patch 2): > * fix CONFIG_WATCHDOG dependency again (hopefully correctly this time)

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Alexandre Belloni
On 12/09/2018 11:54:07+0100, Lee Jones wrote: > On Wed, 12 Sep 2018, Geert Uytterhoeven wrote: > > On Wed, Sep 12, 2018 at 10:41 AM Lee Jones wrote: > > > On Wed, 12 Sep 2018, Alexandre Belloni wrote: > > > > On 11/09/2018 23:54:40+0100, Lee Jones wrote: > > > > > > > http://ww1.microchip.com/down

Re: [PATCH v5 05/27] arm64: Use daifflag_restore after bp_hardening

2018-09-12 Thread Julien Thierry
Hi James, On 12/09/18 11:32, James Morse wrote: Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: For EL0 entries requiring bp_hardening, daif status is kept at DAIF_PROCCTX_NOIRQ until after hardening has been done. Then interrupts are enabled through local_irq_enable(). Before using local

Re: [PATCH] s390/tape: fix spelling mistake "partion" -> "partition"

2018-09-12 Thread Martin Schwidefsky
On Tue, 11 Sep 2018 09:18:58 +0100 Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in message text > > Signed-off-by: Colin Ian King > --- > drivers/s390/char/tape_3590.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/s390/char/

Re: [PATCH v3 02/13] mfd: wcd9335: add support to wcd9335 core

2018-09-12 Thread Srinivas Kandagatla
On 12/09/18 11:59, Lee Jones wrote: On 12/09/18 09:58, Lee Jones wrote: +static const struct mfd_cell wcd9335_devices[] = { + { .name = "wcd9335-codec", }, +}; Are there more devices to come? Yes, that is the plan, we are kind of limited in hardware setup to test few things like soun

Re: [PATCH] dt-bindings: power: Introduce suspend states supported properties

2018-09-12 Thread Sudeep Holla
On 12/09/18 05:09, Keerthy wrote: > Introuduce linux generic suspend states supported properties. > It is convenient for the generic suspend path to have > the knowledge of the suspend states supported based on the > device tree properties based on which it can either be suspended > or safely ba

Re: [PATCH v3 02/13] mfd: wcd9335: add support to wcd9335 core

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Srinivas Kandagatla wrote: > > > On 12/09/18 09:58, Lee Jones wrote: > > > > > +static const struct mfd_cell wcd9335_devices[] = { > > > > > + { .name = "wcd9335-codec", }, > > > > > +}; > > > > Are there more devices to come? > > > > > > > Yes, that is the plan, we are

Re: [PATCH 4/4] sched/numa: Do not move imbalanced load purely on the basis of an idle CPU

2018-09-12 Thread Mel Gorman
On Wed, Sep 12, 2018 at 11:57:42AM +0200, Ingo Molnar wrote: > > * Mel Gorman [2018-09-10 10:41:47]: > > > > > On Fri, Sep 07, 2018 at 01:37:39PM +0100, Mel Gorman wrote: > > > > > Srikar's patch here: > > > > > > > > > > > > > > > http://lkml.kernel.org/r/1533276841-16341-4-git-send-email-sr

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Geert Uytterhoeven wrote: > On Wed, Sep 12, 2018 at 10:41 AM Lee Jones wrote: > > On Wed, 12 Sep 2018, Alexandre Belloni wrote: > > > On 11/09/2018 23:54:40+0100, Lee Jones wrote: > > > > > > http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-6438-32-bit-ARM926-Embedded-Mic

Re: [PATCH 4/4] sched/numa: Do not move imbalanced load purely on the basis of an idle CPU

2018-09-12 Thread Mel Gorman
g. With Kernel B, we lose almost as much as we gain depending on the thread count but the data presented is very limited. I can correlate though that the Haswll results make some sense. The baseline here is my patch and it's comparing against yours 2 socket Haswell machine 1 JVM -- 1-3.5% ga

Re: [PATCH] ACPI/PPTT: Handle architecturally unknown cache types

2018-09-12 Thread Sudeep Holla
On 11/09/18 21:38, Jeffrey Hugo wrote: > On 9/11/2018 2:16 PM, Jeremy Linton wrote: >> Hi Jeffrey, >> >> (+Sudeep) >> [..] >> >> If you look at the next line of code following this comment its going >> to update the cache type for fully populated PPTT nodes. Although with >> the suggested chan

Re: [PATCH 02/11] dts: hisilicon: Update coresight bindings for hardware ports

2018-09-12 Thread leo . yan
On Tue, Sep 11, 2018 at 11:17:03AM +0100, Suzuki K Poulose wrote: > Switch to updated coresight bindings for hw ports. As Shawn suggested, please change subject as "arm64: dts: hi6220: " > Cc: xuw...@hisilicon.com > Cc: lipengche...@huawei.com > Cc: Mathieu Poirier > Signed-off-by: Suzuki K

Re: [PATCH 4/4] sched/numa: Do not move imbalanced load purely on the basis of an idle CPU

2018-09-12 Thread Srikar Dronamraju
* Peter Zijlstra [2018-09-12 11:36:21]: > On Wed, Sep 12, 2018 at 12:24:10PM +0530, Srikar Dronamraju wrote: > > > Kernel A = 4.18+ 13 sched patches part of v4.19-rc1. > > Kernel B = Kernel A + 6 patches > > (http://lore.kernel.org/lkml/1533276841-16341-1-git-send-email-sri...@linux.vnet.ibm.co

Re: [PATCH 1/8] regulator: bd71837: Disable voltage monitoring for LDO3/4

2018-09-12 Thread Lee Jones
On Wed, 12 Sep 2018, Mark Brown wrote: > On Wed, Sep 12, 2018 at 11:53:15AM +0300, Matti Vaittinen wrote: > > On Wed, Sep 12, 2018 at 09:42:51AM +0100, Lee Jones wrote: > > > On Wed, 12 Sep 2018, Matti Vaittinen wrote: > > > > > I m not sure if it is relevant but I think this was already applied

Re: [PATCH] ARM: dts: at91: sama5d4: add labels to soc dtsi for derivative boards

2018-09-12 Thread Alexandre Belloni
On 07/09/2018 16:38:09+0300, Eugen Hristev wrote: > This adds labels to commonly used device-tree nodes so that derivative > boards can avoid ahb/apb hierarchy. > > Signed-off-by: Eugen Hristev > --- > > Hello, > > This was already done for SoC sama5d3 and sam9x5, in commit: > "fc37204432d" ("A

Re: [PATCH] ARM: dts: at91: sama5d2_ptc_ek: fix nand pinctrl

2018-09-12 Thread Alexandre Belloni
On 07/09/2018 10:18:51+0200, Ludovic Desroches wrote: > The drive strength has to be set to medium otherwise some data > corruption may happen. > > Signed-off-by: Ludovic Desroches > --- > > Hi, > > This fix depends on the support of the drive-strength for the atmel pio4 > pinctroller. It has b

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Michal Hocko
On Wed 12-09-18 14:56:45, Arun KS wrote: > When free pages are done with pageblock_order, time spend on > coalescing pages by buddy allocator can be reduced. With > section size of 256MB, hot add latency of a single section > shows improvement from 50-60 ms to less than 1 ms, hence > improving the

Re: [PATCH] ACPI/PPTT: Handle architecturally unknown cache types

2018-09-12 Thread Sudeep Holla
On 11/09/18 21:16, Jeremy Linton wrote: > Hi Jeffrey, > > (+Sudeep) > Thanks for looping me in. > > If you look at the next line of code following this comment its going to > update the cache type for fully populated PPTT nodes. Although with the > suggested change its only going to activat

Re: [PATCH] fat: Relax checks for sector size and media type

2018-09-12 Thread OGAWA Hirofumi
Pali Rohár writes: >> If there is real user to use that, I'm ok though (of course, need >> serious tests). However, FAT would be for exchange data with other >> devices, and there is "cluster per sector", and spec recommends sector >> size == device sector size. So I suspect this format is not us

Re: [PATCH v3 0/3] pinctrl: msm interrupt and muxing fixes

2018-09-12 Thread Niklas Cassel
Hello Stephen, I'm getting this warning on dragonboard 820c (msm8996) when booting linux-next: [3.211575] WARNING: CPU: 1 PID: 1 at drivers/pinctrl/qcom/pinctrl-msm.c:164 msm_pinmux_set_mux+0xc8/0x150 [3.212127] l28: ramp_delay not set [3.215146] Modules linked in: [3.215168] CPU

Re: [PATCH v3 3/3] docs: core-api: add memory allocation guide

2018-09-12 Thread Mike Rapoport
On Tue, Sep 11, 2018 at 11:55:55AM -0600, Jonathan Corbet wrote: > Sorry for being so slow to get to this...it fell into a dark crack in my > rickety email folder hierarchy. I do have one question... > > On Fri, 17 Aug 2018 17:47:16 +0300 > Mike Rapoport wrote: > > > +``GFP_HIGHUSER_MOVABLE

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-12 Thread Kirill A. Shutemov
On Wed, Sep 12, 2018 at 02:49:21PM +0800, Peter Xu wrote: > Add an extra check on page dirty bit in change_pte_range() since there > might be case where PTE dirty bit is unset but it's actually dirtied. > One example is when a huge PMD is splitted after written: the dirty bit > will be set on the c

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
Hi Suren, On 08-Sep 16:47, Suren Baghdasaryan wrote: [...] > > + * A clamp group is not free if there is at least one SE which is sing a > > clamp > > typo in the sentence Right, s/is sing/is using/ +1 [...] > > +static int > > +uclamp_group_find(int clamp_id, unsigned int clamp_value) > >

Re: [PATCH v5 05/27] arm64: Use daifflag_restore after bp_hardening

2018-09-12 Thread James Morse
Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: > For EL0 entries requiring bp_hardening, daif status is kept at > DAIF_PROCCTX_NOIRQ until after hardening has been done. Then interrupts > are enabled through local_irq_enable(). > > Before using local_irq_* functions, daifflags should be prop

Re: [PATCH v5 06/27] arm64: Delay daif masking for user return

2018-09-12 Thread James Morse
Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: > Masking daif flags is done very early before returning to EL0. > > Only toggle the interrupt masking while in the vector entry and mask daif > once in kernel_exit. I had an earlier version that did this, but it showed up as a performance prob

Re: [PATCH 04/11] dts: qcom: Update coresight bindings for hardware ports

2018-09-12 Thread Suzuki K Poulose
Hi Leo, On 12/09/18 11:17, leo@linaro.org wrote: Hi Suzuki, On Tue, Sep 11, 2018 at 11:17:05AM +0100, Suzuki K Poulose wrote: Switch to updated coresight bindings for hw ports Cc: Andy Gross Cc: David Brown Cc: Ivan T. Ivanov Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose ---

Re: [PATCH 3/3] ASoC: qdsp6: q6asm-dai: Add support to compress offload

2018-09-12 Thread Srinivas Kandagatla
Thanks for the review, On 04/09/18 14:55, Vinod wrote: On 03-09-18, 13:34, Srinivas Kandagatla wrote: +static void compress_event_handler(uint32_t opcode, uint32_t token, + uint32_t *payload, void *priv) +{ + struct q6asm_dai_rtd *prtd = priv; + str

Re: [PATCH v5 03/27] arm64: alternative: Apply alternatives early in boot process

2018-09-12 Thread James Morse
Hi Julien, On 28/08/18 16:51, Julien Thierry wrote: > From: Daniel Thompson > > Currently alternatives are applied very late in the boot process (and > a long time after we enable scheduling). Some alternative sequences, > such as those that alter the way CPU context is stored, must be applied >

Re: [PATCH 4/4] sched/numa: Do not move imbalanced load purely on the basis of an idle CPU

2018-09-12 Thread Srikar Dronamraju
> > Running SPECJbb2005. Higher bops are better. > > > > Kernel A = 4.18+ 13 sched patches part of v4.19-rc1. > > Kernel B = Kernel A + 6 patches > > (http://lore.kernel.org/lkml/1533276841-16341-1-git-send-email-sri...@linux.vnet.ibm.com) > > Kernel C = Kernel B - (Avoid task migration for small

<    1   2   3   4   5   6   7   8   >