[PATCH] iio: accel: mma9551_core: prevent using uninitialized variable

2018-12-10 Thread Martin Kepplinger
mma9551_gpio_config()'s switch statement sets the uninitialized pol_mask variable but doesn't have default settings. Said function can therefore be called in a way to use the uninitialized variable (at least in case enum mma9551_gpio_pin is extended with unhandled values). While things should be

Re: next/master boot bisection: Oops in nouveau driver on jetson-tk1

2018-12-10 Thread Mark Brown
On Mon, Dec 10, 2018 at 10:00:08AM +, Guillaume Tucker wrote: > On 08/12/2018 00:08, Lyude Paul wrote: > > uh > > didn't we fix this weeks ago? with "drm/nouveau: tegra: Call > > nouveau_drm_device_init()" > > Yes here's the fix from Thierry: > >

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-10 Thread Richard Henderson
On 12/10/18 6:03 AM, Catalin Marinas wrote: >> However, it won't be too long before someone implements support for >> ARMv8.2-LVA, at which point, without changes to mandatory pointer tagging, we >> will only have 3 authentication bits: [54:52]. This seems useless and easily >> brute-force-able.

[PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-10 Thread Rafael David Tinoco
On 32-bit systems, zsmalloc uses HIGHMEM and, when PAE is enabled, the physical frame number might be so big that zsmalloc obj encoding (to location) will break, causing: BUG: KASAN: null-ptr-deref in zs_map_object+0xa4/0x2bc Read of size 4 at addr by task mkfs.ext4/623 CPU: 2 PID: 623

Re: [PATCH] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-10 Thread kbuild test robot
/commits/Matti-Vaittinen/regmap-regmap-irq-gpio-max77620-add-level-irq-support/20181210-212928 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: x86_64-randconfig-x011-201849 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce

Re: [RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Valentin Schneider
Hi, On 10/12/2018 14:07, Peter Zijlstra wrote: [...] > --- > kernel/cpu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernel/cpu.c b/kernel/cpu.c > index 91d5c38eb7e5..e1ee8caf28b5 100644 > --- a/kernel/cpu.c > +++ b/kernel/cpu.c > @@ -313,6 +313,8 @@ void cpus_write_unlock(void)

Re: [PATCH 2/4] kernel.h: Add non_block_start/end()

2018-12-10 Thread Michal Hocko
I do not see any scheduler guys Cced and it would be really great to get their opinion here. On Mon 10-12-18 11:36:39, Daniel Vetter wrote: > In some special cases we must not block, but there's not a > spinlock, preempt-off, irqs-off or similar critical section already > that arms the

Re: [PATCH v5 24/25] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-12-10 Thread Oleg Nesterov
On 12/10, Dmitry V. Levin wrote: > > +struct ptrace_syscall_info { > + __u8 op;/* PTRACE_SYSCALL_INFO_* */ > + __u8 __pad0[3]; > + __u32 arch; > + __u64 instruction_pointer; > + __u64 stack_pointer; > + __u64 frame_pointer; > + union { > + struct { >

Re: [RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 08:52:28AM -0500, Qian Cai wrote: > Booting this Huawei TaiShan 2280 arm64 server generated this lockdep > warning. > > [0.00] lockdep_assert_cpus_held+0x50/0x60 > [0.00] static_key_enable_cpuslocked+0x30/0xe8 > [0.00]

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-12-10 Thread Faiz Abbas
Hi, On 10/12/18 7:15 PM, Ulf Hansson wrote: > On Mon, 10 Dec 2018 at 14:23, Faiz Abbas wrote: >> >> Hi Uffe, >> >> On 05/12/18 7:20 PM, Ulf Hansson wrote: >>> On Fri, 30 Nov 2018 at 06:53, Faiz Abbas wrote: Hi Kishon, On 30/11/18 10:10 AM, Kishon Vijay Abraham I wrote: >

Re: [PATCH] printk: Add caller information to printk() output.

2018-12-10 Thread Tetsuo Handa
On 2018/12/10 22:09, Petr Mladek wrote: >> +#ifdef CONFIG_PRINTK_FROM >> +#define PREFIX_FROM_MAX 16 >> +#define PREFIX_MAX (32 + PREFIX_FROM_MAX) >> +#define LOG_LINE_MAX(1024 - 32) > > This looks suspicious. We either need to limit LOG_LINE_MAX > by the real

Create a dedicated mailing list for regressions

2018-12-10 Thread Thorsten Leemhuis
Hi Dave (assuming you are still behind postmas...@vger.kernel.org these days)! What do you need from me to create the mailing list linux-regressi...@vger.kernel.org, to create a dedicated place for CCing regression reports and discussing regression tracking as whole? Creating such a list was one

[PATCH v3 4/7] dma-debug: Make leak-like behaviour apparent

2018-12-10 Thread Robin Murphy
Now that we can dynamically allocate DMA debug entries to cope with drivers maintaining excessively large numbers of live mappings, a driver which *does* actually have a bug leaking mappings (and is not unloaded) will no longer trigger the "DMA-API: debugging out of memory - disabling" message

[PATCH v3 3/7] dma-debug: Dynamically expand the dma_debug_entry pool

2018-12-10 Thread Robin Murphy
Certain drivers such as large multi-queue network adapters can use pools of mapped DMA buffers larger than the default dma_debug_entry pool of 65536 entries, with the result that merely probing such a device can cause DMA debug to disable itself during boot unless explicitly given an appropriate

[PATCH v3 6/7] dma/debug: Remove dma_debug_resize_entries()

2018-12-10 Thread Robin Murphy
With the only caller now gone, we can clean up this part of dma-debug's exposed internals and make way to tweak the allocation behaviour. Reviewed-by: Christoph Hellwig Signed-off-by: Robin Murphy --- v3: Add Christoph's review tag include/linux/dma-debug.h | 7 -- kernel/dma/debug.c

[PATCH v3 2/7] dma-debug: Expose nr_total_entries in debugfs

2018-12-10 Thread Robin Murphy
Expose nr_total_entries in debugfs, so that {num,min}_free_entries become even more meaningful to users interested in current/maximum utilisation. This becomes even more relevant once nr_total_entries may change at runtime beyond just the existing AMD GART debug code. Reviewed-by: Christoph

[PATCH v3 5/7] x86/dma/amd-gart: Stop resizing dma_debug_entry pool

2018-12-10 Thread Robin Murphy
dma-debug is now capable of adding new entries to its pool on-demand if the initial preallocation was insufficient, so the IOMMU_LEAK logic no longer needs to explicitly change the pool size. This does lose it the ability to save a couple of megabytes of RAM by reducing the pool size below its

[PATCH v3 1/7] dma-debug: Use pr_fmt()

2018-12-10 Thread Robin Murphy
Use pr_fmt() to generate the "DMA-API: " prefix consistently. This results in it being added to a couple of pr_*() messages which were missing it before, and for the err_printk() calls moves it to the actual start of the message instead of somewhere in the middle. Reviewed-by: Christoph Hellwig

[PATCH v3 7/7] dma-debug: Batch dma_debug_entry allocation

2018-12-10 Thread Robin Murphy
DMA debug entries are one of those things which aren't that useful individually - we will always want some larger quantity of them - and which we don't really need to manage the exact number of - we only care about having 'enough'. In that regard, the current behaviour of creating them one-by-one

[PATCH v3 0/7] dma-debug cleanup and dynamic allocation

2018-12-10 Thread Robin Murphy
Hi all, Here's some assorted cleanup and improvements to dma-debug which grew out of the problem that certain drivers use very large numbers of DMA mappings, and knowing when to override "dma_debug_entries=..." and what value to override it with can be a less-than-obvious task for users. The

[PATCH v5 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
This patch adds support to device tree based quirks based on device tree compatible string. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-common.c | 12 drivers/irqchip/irq-gic-common.h | 3 +++ drivers/irqchip/irq-gic-v3.c | 7 +++ 3 files changed, 22

[PATCH v5 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. Its been more than 2+ years of wait for this to be fixed, which has no hopes to be fixed. This change was introduced for the "lead device" on msm8996 platform. It looks like all publicly available msm8996 and other Qualcomm SoCs have

[PATCH v5 4/4] arm64: dts: add msm8996 compatible to gicv3

2018-12-10 Thread Srinivas Kandagatla
Add compatible to gicv3 node to enable quirk required to restrict writing to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor. With this quirk MSM8996 can at least boot out of mainline, which can help community to work with boards based on MSM8996. Without this patch Qualcomm

[PATCH v5 1/4] dt-bindings/gic-v3: Add msm8996 compatible string

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. There are many devices out there with this restriction in place and there has been no update to this firmware since last few years, making those devices totally unusable for upstream development. IIDR register value conflicts with

[PATCH v5 0/4] irqchip/gic-v3: Add support to DT based quirk for msm8996

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. There are many devices out there with this restriction in place and there has been no update to this firmware since last few years, making those devices totally unusable for upstream development. My previous attempts to add quirk

Re: linux-next: Signed-off-by missing for commits in the net-next tree

2018-12-10 Thread Sabrina Dubroca
2018-12-10, 14:35:00 +0100, Andrew Lunn wrote: > > The problem here is the '--' delimiter, Andrew should have either > > used nothing or something else. > > I picked -- because it was not --- ! > > Anyway, lesson learned. But i kind of expect it will happen again to > others, since the

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Nishanth Menon
On 19:03-20181210, Faiz Abbas wrote: > > I think you can rely on the author to tell you when something is> actually > > ready to be merged (and you can tell him/her to remind you). > > Yes. I will ping Nishanth once the bindings are in next. In addition, when you are rea

Re: [PATCH v2 2/4] i2c: Add Actions Semiconductor Owl family S700 I2C support

2018-12-10 Thread Manivannan Sadhasivam
On Mon, Nov 26, 2018 at 07:58:19PM +0100, Parthiban Nallathambi wrote: > Add S700 to the list of devices supported by Owl I2C driver. > > Add Actions Semiconductor Owl family S900 I2C driver. S700 ;-) > > Signed-off-by: Parthiban Nallathambi With the change in subject, Reviewed-by:

[RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Qian Cai
Booting this Huawei TaiShan 2280 arm64 server generated this lockdep warning. [0.00] lockdep_assert_cpus_held+0x50/0x60 [0.00] static_key_enable_cpuslocked+0x30/0xe8 [0.00] arch_timer_check_ool_workaround+0x128/0x2d0 [0.00] arch_timer_acpi_init+0x274/0x6ac [

Re: [PATCH v2 4/4] arm64: dts: actions: s700-cubieboard7: Enable I2C0 and I2C1

2018-12-10 Thread Manivannan Sadhasivam
Hi Parthiban, On Mon, Nov 26, 2018 at 07:58:21PM +0100, Parthiban Nallathambi wrote: > Add pinctrl definitions for Actions Semiconductor S700 I2C controllers. > Pinctrl definitions are only available for I2C0, I2C1 and I2C2. > Enable I2C0 (PMIC), I2C1 (gyro, touchscreen) in cubieboard7. > >

Re: [REPOST PATCH v6 0/4] kgdb: Fix kgdb_roundup_cpus()

2018-12-10 Thread Catalin Marinas
Hi Doug, On Fri, Dec 07, 2018 at 10:40:24AM -0800, Doug Anderson wrote: > On Fri, Dec 7, 2018 at 9:42 AM Catalin Marinas > wrote: > > On Tue, Dec 04, 2018 at 07:38:24PM -0800, Douglas Anderson wrote: > > > Douglas Anderson (4): > > > kgdb: Remove irq flags from roundup > > > kgdb: Fix

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Nishanth Menon
On 18:10-20181210, Sekhar Nori wrote: > > I think you can rely on the author to tell you when something is > actually ready to be merged (and you can tell him/her to remind you). > > For the review itself, doing it by having a look at the dependencies > mentioned in the

Re: [PATCH v2 3/4] arm64: dts: actions: s700: Add I2C controller nodes

2018-12-10 Thread Manivannan Sadhasivam
On Mon, Nov 26, 2018 at 07:58:20PM +0100, Parthiban Nallathambi wrote: > Add I2C controller nodes for Actions Semiconductor S700 SoC. > > Signed-off-by: Parthiban Nallathambi Ideally, dts patches should come before driver. Reviewed-by: Manivannan Sadhasivam Cheers, Mani > --- >

Re: [PATCH] USB: quirks: add NO_LPM quirk for Logitech Flare|Meetup|Brio|Rally

2018-12-10 Thread Mathias Nyman
On 08.12.2018 00:18, Kyle Williams wrote: On Tue, Dec 04, 2018 at 04:36:18PM -0500, Alan Stern wrote: On Tue, 4 Dec 2018, Kyle Williams wrote: Description: Some USB device / host controller combinations seem to have problems with Link Power management. In particular it is described that the

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-12-10 Thread Ulf Hansson
On Mon, 10 Dec 2018 at 14:23, Faiz Abbas wrote: > > Hi Uffe, > > On 05/12/18 7:20 PM, Ulf Hansson wrote: > > On Fri, 30 Nov 2018 at 06:53, Faiz Abbas wrote: > >> > >> Hi Kishon, > >> > >> On 30/11/18 10:10 AM, Kishon Vijay Abraham I wrote: > >>> Hi Faiz, > >>> > >>> On 30/11/18 12:35 AM, Faiz

[PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2018-12-10 Thread Corentin Labbe
When playing with a virtual SPARC machine with qemu, I found that the IDE emulated device was not probing with the ata/pata_oldpiix driver. But with the old ide/piix, it was probed. This is due to this PCI devid was not migrated from the old ide/piix. Signed-off-by: Corentin Labbe ---

Re: [PATCH V2 00/10] unify the interface of the proportional-share policy in blkio/io

2018-12-10 Thread Angelo Ruocco
2018-11-30 19:53 GMT+01:00, Paolo Valente : > > >> Il giorno 30 nov 2018, alle ore 19:42, Tejun Heo ha >> scritto: >> >> Hello, Paolo. >> >> On Fri, Nov 30, 2018 at 07:23:24PM +0100, Paolo Valente wrote: Then we understood that exactly the same happens with throttling, in case the

Re: [PATCH v2 1/4] dt-bindings: i2c: Add S700 support for Actions Semi Soc's

2018-12-10 Thread Manivannan Sadhasivam
On Mon, Nov 26, 2018 at 07:58:18PM +0100, Parthiban Nallathambi wrote: > Add s700 compatible string to Actions Semi SoC dt-bindings. > > Signed-off-by: Parthiban Nallathambi > --- > Documentation/devicetree/bindings/i2c/i2c-owl.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Hi

2018-12-10 Thread Adams
היי, שמי אדמס, אני רוצה ליצור ידידות טובה איתך. נא לדבר אנגלית?

Re: [PATCH] perf auxtrace: Alter addr_filter__entire_dso() to work if there are no symbols

2018-12-10 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 10, 2018 at 03:17:05PM +0200, Adrian Hunter escreveu: > On 27/11/18 2:42 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 27, 2018 at 10:46:34AM +0200, Adrian Hunter escreveu: > >> addr_filter__entire_dso() uses the first and last symbols from a dso, > >> and so does not work when

Re: [PATCH v6] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call

2018-12-10 Thread Dmitry V. Levin
On Mon, Dec 10, 2018 at 02:28:07PM +0100, Oleg Nesterov wrote: > On 12/07, Dmitry V. Levin wrote: > > > > Please make either v5 or v6 edition of this fix, or any similar fix, > > into v4.20. > > IIUC, v5 above means > > [PATCH v5 23/25] powerpc/ptrace: replace ptrace_report_syscall() with

Re: linux-next: Signed-off-by missing for commits in the net-next tree

2018-12-10 Thread Andrew Lunn
> The problem here is the '--' delimiter, Andrew should have either > used nothing or something else. I picked -- because it was not --- ! Anyway, lesson learned. But i kind of expect it will happen again to others, since the "Submitting Patches" documentation just mentions --- and does not say

Re: [PATCH] ARC: Remove 0x prefix from unit-address of node names

2018-12-10 Thread Alexey Brodkin
Hi Rob, On Mon, 2018-12-10 at 07:30 -0600, Rob Herring wrote: > On Sat, Dec 8, 2018 at 1:01 AM Alexey Brodkin > wrote: > > Done automatically with help of: > > --->8 > > sed -i 's/@0x/@/g' arch/arc/boot/dts/*.dts* > >

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Faiz Abbas
Hi, On 10/12/18 6:10 PM, Sekhar Nori wrote: > Hi Nishanth, > > On 10/12/18 5:36 PM, Nishanth Menon wrote: >> On 13:33-20181210, Sekhar Nori wrote: >>> On 08/12/18 9:24 PM, Nishanth Menon wrote: >>>> On 14:12-20181207, Faiz Abbas wrote: >>&

Re: [PATCH v5 13/25] m68k: add asm/syscall.h

2018-12-10 Thread Dmitry V. Levin
Hi Geert, On Mon, Dec 10, 2018 at 02:06:28PM +0100, Geert Uytterhoeven wrote: > On Mon, Dec 10, 2018 at 1:41 PM Dmitry V. Levin wrote: > > On Mon, Dec 10, 2018 at 09:45:42AM +0100, Geert Uytterhoeven wrote: > > > On Mon, Dec 10, 2018 at 5:30 AM Dmitry V. Levin wrote: > > > > syscall_get_*

Re: [PATCH] ARC: Remove 0x prefix from unit-address of node names

2018-12-10 Thread Rob Herring
On Sat, Dec 8, 2018 at 1:01 AM Alexey Brodkin wrote: > > Done automatically with help of: > --->8 > sed -i 's/@0x/@/g' arch/arc/boot/dts/*.dts* > --->8 > > Inspired by [1] and the like. > > [1]

Re: [PATCH] selftests/vm/gup_benchmark.c: match gup struct to kernel

2018-12-10 Thread Kirill A. Shutemov
On Fri, Dec 07, 2018 at 06:06:45PM -0800, Alison Schofield wrote: > An expansion field was added to the kernel copy of this structure for > future use. See mm/gup_benchmark.c. > > Add the same expansion field here, so that the IOCTL command decodes > correctly. Otherwise, it fails with EINVAL. >

Re: [PATCH 1/4] mm: Check if mmu notifier callbacks are allowed to fail

2018-12-10 Thread Michal Hocko
On Mon 10-12-18 11:36:38, Daniel Vetter wrote: > Just a bit of paranoia, since if we start pushing this deep into > callchains it's hard to spot all places where an mmu notifier > implementation might fail when it's not allowed to. > > Inspired by some confusion we had discussing i915 mmu

Re: [patch for-4.20] Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask"

2018-12-10 Thread Kirill A. Shutemov
On Fri, Dec 07, 2018 at 03:05:28PM -0800, David Rientjes wrote: > > > Secondly, prior to 89c83fb539f9, alloc_pages_vma() implemented a somewhat > > > different policy for hugepage allocations, which were allocated through > > > alloc_hugepage_vma(). For hugepage allocations, if the allocating

Re: [PATCH v6] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call

2018-12-10 Thread Oleg Nesterov
On 12/07, Dmitry V. Levin wrote: > > Please make either v5 or v6 edition of this fix, or any similar fix, > into v4.20. IIUC, v5 above means [PATCH v5 23/25] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call you sent in another series... > long

Re: [PATCH 1/2] arm64: dts: ti: k3-am654: Add Support for MMC/SD

2018-12-10 Thread Faiz Abbas
Hi Nishanth, On 08/12/18 9:15 PM, Nishanth Menon wrote: > On 10:56-20181208, Vignesh R wrote: >> >> >> On 07/12/18 2:12 PM, Faiz Abbas wrote: >>> There are two MMC host controller instances present on the TI's >>> Am654 SOCs. Add device tree nodes for the same. >>> >>> Signed-off-by: Faiz Abbas

: I need your urgent respons.

2018-12-10 Thread Mr. Cobo Suleman
Dear Friend, I know that this mail will come to you as a surprise as we have never met before,I need your Urgent assistance in transferring the sum of $18 mllion US Dollars immediately to your Private account.The money has been here in our Bank lying dormant for years now without anybody coming

[PATCH] ARM: dts: am33xx: Remove unnecessary properties

2018-12-10 Thread Felix Brack
Remove the unnecessary properties #address-cells and #size-cells of node pinmux as there are no child-nodes with property reg. Signed-off-by: Felix Brack --- arch/arm/boot/dts/am33xx.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi

Re: [PATCH 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-10 Thread Michal Hocko
On Mon 10-12-18 14:07:12, Mikhail Zaslonko wrote: > If memory end is not aligned with the sparse memory section boundary, the > mapping of such a section is only partly initialized. It would be great to mention how you can end up in the situation like this(a user provided memmap or a strange HW).

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-12-10 Thread Faiz Abbas
Hi Uffe, On 05/12/18 7:20 PM, Ulf Hansson wrote: > On Fri, 30 Nov 2018 at 06:53, Faiz Abbas wrote: >> >> Hi Kishon, >> >> On 30/11/18 10:10 AM, Kishon Vijay Abraham I wrote: >>> Hi Faiz, >>> >>> On 30/11/18 12:35 AM, Faiz Abbas wrote: Errata i929 in certain OMAP5/DRA7XX/AM57XX silicon

[PATCH 0/2] arm64: meson-gxm: Add support for the Mali T820 GPU

2018-12-10 Thread Neil Armstrong
This patchset adds : - Optional reset properties in the midgard bindings - Mali T820 Node in Amlogic Meson GXM DTSI Christian Hewitt (1): arm64: dts: meson-gxm: Add Mali-T820 node Neil Armstrong (1): dt-bindings: gpu: mali-midgard: Add resets property .../bindings/gpu/arm,mali-midgard.txt

[PATCH 2/2] arm64: dts: meson-gxm: Add Mali-T820 node

2018-12-10 Thread Neil Armstrong
From: Christian Hewitt The Amlogic Meson GXM SoC embeds an ARM Mali T820 GPU. This patch adds the node with all the needed properties to power on the GPU. This has been tested with the work-in-progress PanFrost project aiming support for ARM Mali Midgard and later GPUs. Signed-off-by:

[PATCH 1/2] dt-bindings: gpu: mali-midgard: Add resets property

2018-12-10 Thread Neil Armstrong
The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-12-10 Thread Roman Kagan
On Mon, Dec 10, 2018 at 01:54:18PM +0100, Vitaly Kuznetsov wrote: > Roman Kagan writes: > > Just noticed that the patch seems to assume that "direct" timers are > > allowed to use any vectors including 0-15. I guess this is incorrect, > > and instead stimer_set_config should error out on direct

Re: [PATCH 1/1] usb: dwc2: disable power_down on Amlogic devices

2018-12-10 Thread Brad Harper
On 10/12/2018 6:01 am, Martin Blumenstingl wrote: Disable power_down by setting the parameter to DWC2_POWER_DOWN_PARAM_NONE. This fixes a problem on various Amlogic Meson SoCs where USB devices are only recognized when plugged in before booting Linux. A hot-plugged USB device was not detected

Re: [PATCH v4 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
On 10/12/18 10:55, Marc Zyngier wrote: +void gic_enable_of_quirks(const struct device_node *np, + const struct gic_quirk *quirks, void *data) +{ + for (; quirks->desc; quirks++) { So you expect quirks->desc to be NULL at some point, just like for any other

Re: [PATCH] perf auxtrace: Alter addr_filter__entire_dso() to work if there are no symbols

2018-12-10 Thread Adrian Hunter
On 27/11/18 2:42 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 27, 2018 at 10:46:34AM +0200, Adrian Hunter escreveu: >> addr_filter__entire_dso() uses the first and last symbols from a dso, >> and so does not work when there are no symbols. Alter it to filter the >> whole file instead. > >

Re: [PATCH] kvm/arm: return 0 when the number of objects is not lessthan min

2018-12-10 Thread Christoffer Dall
On Thu, Dec 06, 2018 at 09:56:30AM +0800, peng.h...@zte.com.cn wrote: > >On Wed, Dec 05, 2018 at 09:15:51AM +0800, Peng Hao wrote: > >> Return 0 when there is enough kvm_mmu_memory_cache object. > >> > >> Signed-off-by: Peng Hao > >> --- > >> virt/kvm/arm/mmu.c | 2 +- > >> 1 file changed, 1

Re: [PATCHv2 0/2] Fixups for LDT remap placement change

2018-12-10 Thread Kirill A. Shutemov
On Fri, Nov 30, 2018 at 08:23:26PM +, Kirill A. Shutemov wrote: > There's a couple fixes for the recent LDT remap placement change. Ping? -- Kirill A. Shutemov

Re: [PATCH] printk: Add caller information to printk() output.

2018-12-10 Thread Petr Mladek
On Wed 2018-12-05 19:42:22, Tetsuo Handa wrote: > From: Tetsuo Handa > Date: Wed, 5 Dec 2018 16:53:08 +0900 > Subject: [PATCH v3] printk: Add caller information to printk() output. > > Sometimes we want to print a series of printk() messages to consoles > without being disturbed by concurrent

[PATCH 0/1] Initialize struct pages for the full section

2018-12-10 Thread Mikhail Zaslonko
This patch refers to the older thread: https://marc.info/?t=15365830641=1=2 As suggested by Michal Hocko, instead of adjusting memory_hotplug paths, I have changed memmap_init_zone() to initialize struct pages beyond the zone end (if zone end is not aligned with the section boundary).

[PATCH 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-10 Thread Mikhail Zaslonko
If memory end is not aligned with the sparse memory section boundary, the mapping of such a section is only partly initialized. This may lead to VM_BUG_ON due to uninitialized struct page access from is_mem_section_removable() or test_pages_in_a_zone() function triggered by memory_hotplug sysfs

Re: [PATCH v5 13/25] m68k: add asm/syscall.h

2018-12-10 Thread Geert Uytterhoeven
Hi Dmitry, On Mon, Dec 10, 2018 at 1:41 PM Dmitry V. Levin wrote: > On Mon, Dec 10, 2018 at 09:45:42AM +0100, Geert Uytterhoeven wrote: > > On Mon, Dec 10, 2018 at 5:30 AM Dmitry V. Levin wrote: > > > syscall_get_* functions are required to be implemented on all > > > architectures in order to

Re: WARNING in xfrm_policy_inexact_gc_tree

2018-12-10 Thread Florian Westphal
syzbot wrote: > > HEAD commit:74c4a24df7ca Add linux-next specific files for 20181207 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17bbea7d40 > kernel config: https://syzkaller.appspot.com/x/.config?x=6e9413388bf37bed > dashboard link:

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-12-10 Thread Vitaly Kuznetsov
Roman Kagan writes: > On Mon, Nov 26, 2018 at 04:47:31PM +0100, Vitaly Kuznetsov wrote: >> Turns out Hyper-V on KVM (as of 2016) will only use synthetic timers >> if direct mode is available. With direct mode we notify the guest by >> asserting APIC irq instead of sending a SynIC message. >> >>

Re: [PATCH v5 19/25] xtensa: define syscall_get_* functions

2018-12-10 Thread Dmitry V. Levin
Hi, On Sun, Dec 09, 2018 at 09:02:50PM -0800, Max Filippov wrote: > Hello, > > On Sun, Dec 9, 2018 at 8:30 PM Dmitry V. Levin wrote: > > syscall_get_* functions are required to be implemented on all > > architectures in order to extend the generic ptrace API with > > PTRACE_GET_SYSCALL_INFO

hi

2018-12-10 Thread Sherri Gallagher
Please get back to me My name is Sgt.Sherri Gallagher?

Re: [PATCH v3 04/12] soc: mediatek: add new flow for mtcmos power.

2018-12-10 Thread Nicolas Boichat
On Mon, Dec 10, 2018 at 3:33 PM Weiyi Lu wrote: > > From: Owen Chen > > Both MT8183 & MT6765 add more bus protect node than previous project, > therefore we add two more register for setup bus protect, which reside > at INFRA_CFG & SMI_COMMON. > > With the following change > 1. bus protect need

[PATCH v9 3/8] arm64: untag user addresses in access_ok and __uaccess_mask_ptr

2018-12-10 Thread Andrey Konovalov
copy_from_user (and a few other similar functions) are used to copy data from user memory into the kernel memory or vice versa. Since a user can provided a tagged pointer to one of the syscalls that use copy_from_user, we need to correctly handle such pointers. Do this by untagging user pointers

[PATCH v9 6/8] fs, arm64: untag user address in copy_mount_options

2018-12-10 Thread Andrey Konovalov
In copy_mount_options a user address is being subtracted from TASK_SIZE. If the address is lower than TASK_SIZE, the size is calculated to not allow the exact_copy_from_user() call to cross TASK_SIZE boundary. However if the address is tagged, then the size will be calculated incorrectly. Untag

[PATCH v9 2/8] uaccess: add untagged_addr definition for other arches

2018-12-10 Thread Andrey Konovalov
To allow arm64 syscalls accept tagged pointers from userspace, we must untag them when they are passed to the kernel. Since untagging is done in generic parts of the kernel, the untagged_addr macro needs to be defined for all architectures. Define it as a noop for other architectures besides

[PATCH v9 5/8] lib, arm64: untag addrs passed to strncpy_from_user and strnlen_user

2018-12-10 Thread Andrey Konovalov
strncpy_from_user and strnlen_user accept user addresses as arguments, and do not go through the same path as copy_from_user and others, so here we need to handle the case of tagged user addresses separately. Untag user pointers passed to these functions. Signed-off-by: Andrey Konovalov ---

[PATCH v9 1/8] arm64: add type casts to untagged_addr macro

2018-12-10 Thread Andrey Konovalov
This patch makes the untagged_addr macro accept all kinds of address types (void *, unsigned long, etc.) and allows not to specify type casts in each place where it is used. This is done by using __typeof__. Acked-by: Catalin Marinas Signed-off-by: Andrey Konovalov ---

[PATCH v9 4/8] mm, arm64: untag user addresses in mm/gup.c

2018-12-10 Thread Andrey Konovalov
mm/gup.c provides a kernel interface that accepts user addresses and manipulates user pages directly (for example get_user_pages, that is used by the futex syscall). Since a user can provided tagged addresses, we need to handle such case. Add untagging to gup.c functions that use user addresses

[PATCH v9 8/8] selftests, arm64: add a selftest for passing tagged pointers to kernel

2018-12-10 Thread Andrey Konovalov
This patch adds a simple test, that calls the uname syscall with a tagged user pointer as an argument. Without the kernel accepting tagged user pointers the test fails with EFAULT. Signed-off-by: Andrey Konovalov --- tools/testing/selftests/arm64/.gitignore | 1 +

[PATCH v9 7/8] arm64: update Documentation/arm64/tagged-pointers.txt

2018-12-10 Thread Andrey Konovalov
Document the changes in Documentation/arm64/tagged-pointers.txt. Signed-off-by: Andrey Konovalov --- Documentation/arm64/tagged-pointers.txt | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Documentation/arm64/tagged-pointers.txt

[PATCH v9 0/8] arm64: untag user pointers passed to the kernel

2018-12-10 Thread Andrey Konovalov
arm64 has a feature called Top Byte Ignore, which allows to embed pointer tags into the top byte of each pointer. Userspace programs (such as HWASan, a memory debugging tool [1]) might use this feature and pass tagged user pointers to the kernel through syscalls or other interfaces. Right now the

Re: [PATCH][drm-next] drm/selftest: fix spelling mistake "dimention" -> "dimenstion"

2018-12-10 Thread Thomas Hellstrom
On Mon, 2018-12-10 at 09:26 +, Colin King wrote: Reviewed-by: Thomas Hellstrom I'll take this in the next pull request unless I'm told otherwise. /Thomas > From: Colin Ian King > > There is a spelling mistake in a pr_err message, fix this. > > Signed-off-by: Colin Ian King > --- >

Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-10 Thread Avi Kivity
On 10/12/2018 14.48, Goldwyn Rodrigues wrote: On 13:19 09/12, Avi Kivity wrote: I have an application that receives spurious EIO when running with RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The application uses AIO+DIO, and errors were seen on both xfs and ext4.

Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-10 Thread Goldwyn Rodrigues
On 13:19 09/12, Avi Kivity wrote: > I have an application that receives spurious EIO when running with > RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The > application uses AIO+DIO, and errors were seen on both xfs and ext4. > > > I suspect the following code: > > >

Re: INFO: rcu detected stall in xfrm_hash_rebuild

2018-12-10 Thread Florian Westphal
syzbot wrote: > Hello, > > syzbot found the following crash on: [..] > Workqueue: events xfrm_hash_rebuild Ignoring this report for a second -- I think it makes sense to see if we can just remove the entire hash table rebuild/resize code. After recent tree conversion, we could probably make

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Sekhar Nori
Hi Nishanth, On 10/12/18 5:36 PM, Nishanth Menon wrote: > On 13:33-20181210, Sekhar Nori wrote: >> On 08/12/18 9:24 PM, Nishanth Menon wrote: >>> On 14:12-20181207, Faiz Abbas wrote: >>> >>>> + >>>> + { >>>> + status

[PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-10 Thread Pawel Laszczak
This patch aim at documenting USB related dt-bindings for the Cadence USBSS-DRD controller. Signed-off-by: Pawel Laszczak --- .../devicetree/bindings/usb/cdns3-usb.txt | 31 +++ 1 file changed, 31 insertions(+) create mode 100644

Re: [PATCH] clk: sunxi-ng: a64: Allow parent change for VE clock

2018-12-10 Thread Maxime Ripard
On Sat, Dec 08, 2018 at 07:02:22PM +0100, Jernej Skrabec wrote: > Cedrus driver wants to set VE clock higher than it's possible without > changing parent rate. > > Allow changing parent rate for VE clock, so clock rate can be set > freely. > > Signed-off-by: Jernej Skrabec Acked-by: Maxime

Re: [PATCH v5 13/25] m68k: add asm/syscall.h

2018-12-10 Thread Dmitry V. Levin
Hi Geert, On Mon, Dec 10, 2018 at 09:45:42AM +0100, Geert Uytterhoeven wrote: > Hi Dmitry, > > On Mon, Dec 10, 2018 at 5:30 AM Dmitry V. Levin wrote: > > syscall_get_* functions are required to be implemented on all > > architectures in order to extend the generic ptrace API with > >

[PATCH v1 0/2] Introduced new Cadence USBSS DRD Driver.

2018-12-10 Thread Pawel Laszczak
This patch set introduce new Cadence USBSS DRD driver to linux kernel. The Cadence USBSS DRD Driver s a highly configurable IP Core which can be instantiated as Dual-Role Device (DRD), Peripheral Only and Host Only (XHCI) configurations. The current driver has been validated with FPGA burned. We

Re: [V3, 4/4] media: platform: dwc: Add MIPI CSI-2 controller driver

2018-12-10 Thread Eugen.Hristev
On 19.10.2018 15:52, Luis Oliveira wrote: > Add the Synopsys MIPI CSI-2 controller driver. This > controller driver is divided in platform dependent functions > and core functions. It also includes a platform for future > DesignWare drivers. > > Signed-off-by: Luis Oliveira > --- > Changelog >

Re: [PATCH 0/5] Add support for STM32F4 SPI

2018-12-10 Thread Amelie DELAUNAY
Hi Cezary, On 12/9/18 2:53 PM, cezary.gapin...@gmail.com wrote: > From: Cezary Gapinski > > This series of patches adds support for first generation of SPI interface > for STM32F4 family. > First of all, thanks for adding STM32F4 SPI support. > This version of driver is mostly different to

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-10 Thread Michal Hocko
On Fri 07-12-18 16:56:27, Michal Hocko wrote: > On Fri 07-12-18 22:27:13, Pingfan Liu wrote: > [...] > > diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c > > index 1308f54..4dc497d 100644 > > --- a/arch/x86/mm/numa.c > > +++ b/arch/x86/mm/numa.c > > @@ -754,18 +754,23 @@ void __init

Re: [PATCH] opp: Add API for getting voltage from supplies

2018-12-10 Thread Nick Fan
On Tue, 2018-12-04 at 13:51 +0530, Viresh Kumar wrote: > On 04-12-18, 14:59, Nick Fan wrote: > > Add API to get voltage for multiple supplies from opp table > > And who needs to use this new API ? It would be better to add the user in the > same series to make sure this really gets used. This

Re: [PATCH v3 02/12] clk: mediatek: add new clkmux register API

2018-12-10 Thread Nicolas Boichat
On Mon, Dec 10, 2018 at 3:33 PM Weiyi Lu wrote: > > From: Owen Chen > > On both MT8183 & MT6765, there add "set/clr" register for > each clkmux setting, and one update register to trigger value change. > It is designed to prevent read-modify-write racing issue. > The sw design need to add a new

Re: [GIT PULL] Thunderbolt changes for v4.21

2018-12-10 Thread Greg Kroah-Hartman
On Mon, Dec 10, 2018 at 12:23:03PM +0200, Mika Westerberg wrote: > Hi Greg, > > This includes automatic enabling of IOMMU based DMA protection from > possibly malicious devices connected through Thunderbolt ports. In > addition we make sure PCIe ATS (Address Translation Service) is not > enabled

Re: [PATCH net] sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event

2018-12-10 Thread Neil Horman
On Mon, Dec 10, 2018 at 06:00:52PM +0800, Xin Long wrote: > syzbot reported a kernel-infoleak, which is caused by an uninitialized > field(sin6_flowinfo) of addr->a.v6 in sctp_inet6addr_event(). > The call trace is as below: > > BUG: KMSAN: kernel-infoleak in _copy_to_user+0x19a/0x230

[PATCH] powerpc/mm: define an empty slice_init_new_context_exec()

2018-12-10 Thread Christophe Leroy
Define slice_init_new_context_exec() at all time to avoid Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/slice.h | 14 +- arch/powerpc/mm/mmu_context_nohash.c | 2 -- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/include/asm/slice.h

Re: [PATCH net] sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event

2018-12-10 Thread Marcelo Ricardo Leitner
On Mon, Dec 10, 2018 at 06:00:52PM +0800, Xin Long wrote: > syzbot reported a kernel-infoleak, which is caused by an uninitialized > field(sin6_flowinfo) of addr->a.v6 in sctp_inet6addr_event(). > The call trace is as below: > > BUG: KMSAN: kernel-infoleak in _copy_to_user+0x19a/0x230

<    5   6   7   8   9   10   11   12   13   >