Re: [PATCH] net/core/neighbour: tell kmemleak about hash tables

2019-01-08 Thread Konstantin Khlebnikov
On 08.01.2019 14:59, Eric Dumazet wrote: On 01/08/2019 01:30 AM, Konstantin Khlebnikov wrote: This fixes false-positive kmemleak reports about leaked neighbour entries: unreferenced object 0x8885c6e4d0a8 (size 1024): size 1024 object : should have been allocated by kzalloc(), right

Re: [PATCH] net: nvidia: forcedeth: Fix two possible concurrency use-after-free bugs

2019-01-08 Thread Zhu Yanjun
在 2019/1/8 20:45, Jia-Ju Bai 写道: In drivers/net/ethernet/nvidia/forcedeth.c, the functions nv_start_xmit() and nv_start_xmit_optimized() can be concurrently executed with nv_poll_controller(). nv_start_xmit line 2321: prev_tx_ctx->skb = skb; nv_start_xmit_optimized line 2479:

Re: [PATCH v4 1/2] kobject: use pr_warn to replace printk

2019-01-08 Thread YU Bo
Hi, On Tue, Jan 08, 2019 at 10:39:57AM +0100, Rafael J. Wysocki wrote: On Tue, Jan 8, 2019 at 4:11 AM Bo YU wrote: This is a fix to replace printk with pr_warn You call it a "fix", but what exactly is wrong with the code as is? Is there any differentions between pr_* and printk? If they

[PATCH] powerpc: build virtex dtb

2019-01-08 Thread Corentin Labbe
I wanted to test the virtex440-ml507 qemu machine and found that the dtb for it was not builded. All powerpc DTB are only built when CONFIG_OF_ALL_DTBS is set which depend on COMPILE_TEST. This patchs adds build of virtex dtbs depending on CONFIG_XILINX_VIRTEX440_GENERIC_BOARD option.

[PATCH] net: nvidia: forcedeth: Fix two possible concurrency use-after-free bugs

2019-01-08 Thread Jia-Ju Bai
In drivers/net/ethernet/nvidia/forcedeth.c, the functions nv_start_xmit() and nv_start_xmit_optimized() can be concurrently executed with nv_poll_controller(). nv_start_xmit line 2321: prev_tx_ctx->skb = skb; nv_start_xmit_optimized line 2479: prev_tx_ctx->skb = skb; nv_poll_controller

Re: [PATCH 1/1] epoll: remove wrong assert that ep_poll_callback is always called with irqs off

2019-01-08 Thread Roman Penyaev
On 2019-01-08 11:01, Roman Penyaev wrote: That was wrong assumption that all drivers disable irqs before waking up a wait queue. Even assert line is removed the whole logic stays correct: epoll always locks rwlock with irqs disabled and by itself does not call from interrupts, thus it is up

[PATCH V2 2/2] phy: bcm-ns-usb2: support updated DT binding with the CRU syscon

2019-01-08 Thread Rafał Miłecki
From: Rafał Miłecki This adds support for the "syscon-cru" DT property which simply requires using regmap to access CRU registers. The old binding has been deprecated and stays as a fallback method. Signed-off-by: Rafał Miłecki --- V2: Add bcm_ns_usb2_(read|write) & use

[PATCH V2 1/2] dt-bindings: bcm-ns-usb2-phy: rework binding to use CRU syscon

2019-01-08 Thread Rafał Miłecki
From: Rafał Miłecki USB 2.0 PHY is a hardware block that happens to use two registers from the CRU block to setup a single PLL. It's not part of the CRU or DMU and so its binding shouldn't cover the whole DMU. The correct way of handling this is to reference CRU block node using a syscon.

Re: [PATCH 2/2] arm64: dts: qcom: sdm845: Add Q6V5 ADSP node

2019-01-08 Thread Rohit Kumar
Thanks Bjorn for review. On 1/4/2019 5:20 AM, Bjorn Andersson wrote: On Thu 20 Dec 05:39 PST 2018, Rohit kumar wrote: This patch adds Q6V5 ADSP remoteproc node for SDM845 SoCs. Thanks Rohit, nice to see these things on the list! Signed-off-by: Rohit kumar ---

[PATCH] drm/atmel-hlcdc: prevent divide by zero

2019-01-08 Thread Peter Rosin
While trying to temporarily hide a plane, one thing that was attempted was to call (from libdrm) drmModeSetPlane(fd, plane_id, crtc_id, fb_id, 0, 0, 0, 0, 0, 0, 0, 0, 0); This call causes a pair of "Division by zero in kernel." messages. Kill those messages, but

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 04:28:53PM +0530, Naresh Kamboju wrote: > On Mon, 7 Jan 2019 at 18:04, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.20.1 release. > > There are 145 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.14 000/101] 4.14.92-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 08:59:12PM -0800, Guenter Roeck wrote: > On 1/7/19 4:31 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.92 release. > > There are 101 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH 2/2] rtc: Add Cadence RTC driver

2019-01-08 Thread Jan Kotas
This patch adds a driver for Cadence RTC controller. It can be enabled with RTC_DRV_CADENCE Kconfig option. It supports waking system from sleep modes. Signed-off-by: Jan Kotas --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-cadence.c | 404

[PATCH 1/2] dt-bindings: rtc: Add bindings for Cadence RTC

2019-01-08 Thread Jan Kotas
This patch adds a DT binding documentation for Cadence RTC controller. Signed-off-by: Jan Kotas --- Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/cdns,rtc.txt diff --git

[PATCH 0/2] rtc: Add a driver for Cadence RTC

2019-01-08 Thread Jan Kotas
This patchset adds a driver support for Cadence RTC IP. It supports time, date and wakeups from sleep. Jan Kotas (2): dt-bindings: rtc: Add bindings for Cadence RTC rtc: Add Cadence RTC driver Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++ drivers/rtc/Kconfig

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 01:30:37PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.20.1 release. > There are 145 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

Re: [PATCH 4.19 000/170] 4.19.14-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 01:30:27PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.14 release. > There are 170 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

Re: [PATCH 4.9 00/71] 4.9.149-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 01:18:22PM +0100, Greg Kroah-Hartman wrote: > On Mon, Jan 07, 2019 at 01:32:29PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.149 release. > > There are 71 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.14 000/101] 4.14.92-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 01:31:48PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.92 release. > There are 101 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

Re: [PATCH 4.9 00/71] 4.9.149-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 01:32:29PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.149 release. > There are 71 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

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 10:33:10AM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 08, 2019 at 08:45:18AM +0100, Greg Kroah-Hartman wrote: > > On Mon, Jan 07, 2019 at 01:17:49PM -0800, Guenter Roeck wrote: > > > On Mon, Jan 07, 2019 at 01:30:37PM +0100, Greg Kroah-Hartman wrote: > > > > This is the

Re: [PATCH] arm64: trap illegal translations in __virt_to_phys()

2019-01-08 Thread Mark Rutland
On Tue, Jan 08, 2019 at 11:24:43AM +0800, Miles Chen wrote: > On Mon, 2019-01-07 at 15:00 +, Mark Rutland wrote: > > On Mon, Jan 07, 2019 at 07:21:20PM +0800, Miles Chen wrote: > > > Current __virt_to_phys() only print warning messages for non-linear > > > addresses. It's hard to catch all

Re: [PATCH v4 0/5] IRQ affinity support in PLIC driver

2019-01-08 Thread Anup Patel
On Thu, Dec 27, 2018 at 4:48 PM Anup Patel wrote: > > This patchset primarily adds IRQ affinity support in PLIC driver and > other improvements. > > It gives mechanism for explicitly route external interrupts to particular > CPUs using smp_affinity attribute of each Linux IRQs. Also, we can now >

Re: [PATCH v2 3/3] drivers: platform: goldfish: goldfish_sync: add a driver

2019-01-08 Thread Greg KH
On Mon, Jan 07, 2019 at 10:50:39AM -0800, r...@google.com wrote: > From: Roman Kiryanov > > The Goldfish sync driver is designed to provide a interface > between the underlying host's sync device and the kernel's > fence sync framework. > > Signed-off-by: Roman Kiryanov > --- > Changes in v2:

[PATCH v3 3/3] clk: mediatek: Mark bus and DRAM related clocks as critical

2019-01-08 Thread matthias . bgg
From: Jasper Mattsson Currently, DRAM-related clocks are not marked with CLK_IS_CRITICAL for MT6797. This causes memory corruption when the system is booted without clk_ignore_unused. This patch marks MUX ddrphycfg_sel as well as gates infra_dramc_f26m and infra_dramc_b_f26m as CLK_IS_CRITICAL.

[PATCH v3 2/3] clk: mediatek: Add flags to mtk_gate

2019-01-08 Thread matthias . bgg
From: Jasper Mattsson This is required to mark gates as CLK_IS_CRITICAL. Signed-off-by: Jasper Mattsson Acked-by: Mars Cheng Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-gate.c | 4 +++- drivers/clk/mediatek/clk-gate.h | 3 ++- drivers/clk/mediatek/clk-mtk.c | 2 +-

[PATCH] regulator: Fix trivial language typos

2019-01-08 Thread Krzysztof Kozlowski
Fix few trivial language typos in core and drivers. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 2 +- drivers/regulator/Kconfig| 8 drivers/regulator/core.c | 16

[PATCH] power: supply: charger-manager: Fix trivial language typos

2019-01-08 Thread Krzysztof Kozlowski
Fix few trivial language typos. Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/charger-manager.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c index

[PATCH v3 0/3] Mark clocks as critical for MT6797

2019-01-08 Thread matthias . bgg
From: Matthias Brugger Jasper send this series some month ago. As there was no reaction from his side, I'll do a friendly take-over. I tested the patches on my Helios X20 boards and they fix the issue. I didn't add a Tested-by tag as I added my Signed-off-by. Changes since v2

[PATCH v3 1/3] clk: mediatek: Add MUX_FLAGS macro

2019-01-08 Thread matthias . bgg
From: Jasper Mattsson This is required to mark outputs of certain MUXes as CLK_IS_CRITICAL. Signed-off-by: Jasper Mattsson Acked-by: Mars Cheng Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mtk.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH] dt-bindings: soc: qcom: Fix trivial language typos

2019-01-08 Thread Krzysztof Kozlowski
Fix few trivial language typos in bindings. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt | 2 +- Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v5 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-01-08 Thread kbuild test robot
Hi Mason, Thank you for the patch! Yet something to improve: [auto build test ERROR on spi/for-next] [also build test ERROR on v5.0-rc1 next-20190108] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v5 2/2] dt-bindings: spi: Document Renesas R-Car RPC-IF controller bindings

2019-01-08 Thread Marek Vasut
On 1/8/19 5:17 AM, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/spi/spi-renesas-rpc.txt| 37 > ++ > 1 file changed, 37 insertions(+) > create mode 100644

Re: [PATCH 4.14 090/101] MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 09:54:53AM +, Sudip Mukherjee wrote: > On Tue, Jan 8, 2019 at 7:38 AM Greg Kroah-Hartman > wrote: > > > > On Mon, Jan 07, 2019 at 09:17:22PM +, Sudip Mukherjee wrote: > > > Hi Greg, > > > > > > On Mon, Jan 7, 2019 at 1:14 PM Greg Kroah-Hartman > > > wrote: > > > >

Re: [alsa-devel] [PATCH v1 3/3] ASoC: soc-core: fix platform name vs. of_node assignement

2019-01-08 Thread Jon Hunter
On 08/01/2019 10:50, Jon Hunter wrote: > Hi Kuninori, > > On 08/01/2019 02:25, Kuninori Morimoto wrote: >> >> Hi Jon >> >>> I have been looking at this again recently. I see this issue occurring >>> all the time when the sound drivers are built as kernel modules and >>> probing the sound card

RE: [PATCH v1] dmaengine: imx-sdma: refine to load context only once

2019-01-08 Thread Robin Gong
Hi Vinod, I have sent v2 after rebase. Please have a try. > -Original Message- > From: Vinod Koul > Sent: 2019年1月4日 23:15 > To: Robin Gong > Cc: dan.j.willi...@intel.com; ker...@pengutronix.de; > dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org; dl-linux-imx > >

Re: [PATCH v2 8/8] RISC-V: Assign hwcap only according to current cpu.

2019-01-08 Thread Anup Patel
On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > Currently, we set hwcap based on first valid cpu from > DT. This may not be correct always as that CPU might not > be current booting cpu. > > Set hwcap based on the current cpu instead of first > valid CPU from DT. > > Signed-off-by: Atish

[PATCH v2] dmaengine: imx-sdma: refine to load context only once

2019-01-08 Thread Robin Gong
The context loaded only one time before channel running,but currently sdma_config_channel() and dma_prep_* duplicated with sdma_load_context(), so refine it to load context only one time before channel running and reload after the channel terminated. Signed-off-by: Robin Gong ---

Re: [PATCH v2 7/8] RISC-V: Check and continue in case of an invalid cpuid.

2019-01-08 Thread Anup Patel
Prefer, commit prefix "irqchip/irq-sifive-plic:" instead of "RISC-V:" On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > riscv_hartid_to_cpuid can return invalid cpuid for a hart > that is present in DT but was never brought up. > > Print the appropriate warning message and continue. > >

Re: [PATCH] net/core/neighbour: tell kmemleak about hash tables

2019-01-08 Thread Eric Dumazet
On 01/08/2019 01:30 AM, Konstantin Khlebnikov wrote: > This fixes false-positive kmemleak reports about leaked neighbour entries: > > unreferenced object 0x8885c6e4d0a8 (size 1024): size 1024 object : should have been allocated by kzalloc(), right ? > comm "softirq", pid 0, jiffies

Re: [PATCH v6 07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

2019-01-08 Thread Zhang Rui
On 一, 2019-01-07 at 12:19 +0100, Rafael J. Wysocki wrote: > On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya wrote: > > > > > > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built > > without > > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > > satisfied implicitly

Re: [PATCH v2 6/8] RISC-V: Add required checks during clock source init

2019-01-08 Thread Anup Patel
Few nit changes.. Prefer, "clocksource/drivers/riscv:" prefix instead of "RISC-V:" for this patch. On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > Currently, clocksource registration happens for an invalid cpu > for non-smp kernels. This lead to kernel panic as cpu hotplug > registration

Re: [PATCH v3] mm: Create the new vm_fault_t type

2019-01-08 Thread Souptick Joarder
On Tue, Jan 8, 2019 at 4:14 AM Andrew Morton wrote: > > On Mon, 7 Jan 2019 11:47:12 +0530 Souptick Joarder > wrote: > > > > Do I need to make any further improvement for this patch ? > > > > If no further comment, can we get this patch in queue for 5.0-rcX ? > > I stopped paying attention a

Re: [PATCH 11/11] KVM/MMU: Flush tlb in the kvm_age_rmapp()

2019-01-08 Thread Paolo Bonzini
On 08/01/19 04:42, Tianyu Lan wrote: > From my understanding, this means to move the flush in the > kvm_mmu_notifier_clear_flush_young() > to kvm_age_hva() and do flush in kvm_age_hva() when young is >0 and "flush" > parameter is true, right? Yes. Paolo

Re: [PATCH v2 5/8] RISC-V: Compare cpuid with NR_CPUS before mapping.

2019-01-08 Thread Anup Patel
On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > We should never have a cpuid greater that NR_CPUS. Compare > with NR_CPUS before creating the mapping between logical > and physical CPU ids. This is also mandatory as NR_CPUS > check is removed from riscv_of_processor_hartid. > >

Re: INFO: task hung in generic_file_write_iter

2019-01-08 Thread Dmitry Vyukov
On Tue, Jan 8, 2019 at 12:24 PM Jan Kara wrote: > > On Tue 08-01-19 19:04:06, Tetsuo Handa wrote: > > On 2019/01/03 2:26, Jan Kara wrote: > > > On Thu 03-01-19 01:07:25, Tetsuo Handa wrote: > > >> On 2019/01/02 23:40, Jan Kara wrote: > > >>> I had a look into this and the only good explanation

Re: [PATCH v2 4/8] RISC-V: Allow hartid-to-cpuid function to fail.

2019-01-08 Thread Anup Patel
On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > It is perfectly okay to call riscv_hartid_to_cpuid for a > hartid that is not mapped with an CPU id. It can happen > if the calling functions retrieves the hartid from DT. > However, that hartid was never brought online by the firmware > or

Re: [PATCH v2 3/8] RISC-V: Remove NR_CPUs check during hartid search from DT

2019-01-08 Thread Anup Patel
On Tue, Jan 8, 2019 at 3:08 PM Atish Patra wrote: > > In non-smp configuration, hartid can be higher that NR_CPUS. > riscv_of_processor_hartid should not be compared to hartid to > NR_CPUS in that case. Moreover, this function checks all the > DT properties of a hart node. NR_CPUS comparison

Re: [PATCH 2/2] memcg: do not report racy no-eligible OOM tasks

2019-01-08 Thread Michal Hocko
On Tue 08-01-19 19:39:58, Tetsuo Handa wrote: > On 2019/01/08 17:14, Michal Hocko wrote: > >>> diff --git a/mm/memcontrol.c b/mm/memcontrol.c > >>> index af7f18b32389..90eb2e2093e7 100644 > >>> --- a/mm/memcontrol.c > >>> +++ b/mm/memcontrol.c > >>> @@ -1387,10 +1387,22 @@ static bool

Re: [PATCH v2 0/3] add support for power off check in suspend

2019-01-08 Thread Rafael J. Wysocki
On Tue, Jan 8, 2019 at 11:56 AM wrote: > > From: Claudiu Beznea > > Hi, > > AT91 platforms support a power saving mode where SoC's power is cut off (we > call > it backup mode). The resume is done with the help of bootloaders. But still the contents of RAM are preserved? That would require at

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Vokáč Michal
On 29.12.2018 00:25, Rob Herring wrote: > On Tue, Dec 18, 2018 at 02:42:11PM +, Vokáč Michal wrote: >> These are i.MX6S/DL based SBCs embedded in various Y Soft products. >> All share the same board design but have slightly different HW >> configuration. >> >> Ursa >> - i.MX6S SoC, 512MB RAM

Re: [RFC PATCH V3 0/5] Hi:

2019-01-08 Thread Jason Wang
On 2019/1/7 下午10:11, Michael S. Tsirkin wrote: On Sun, Jan 06, 2019 at 11:15:20PM -0800, Dan Williams wrote: On Sun, Jan 6, 2019 at 8:17 PM Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 11:53:41AM +0800, Jason Wang wrote: On 2019/1/7 上午11:28, Michael S. Tsirkin wrote: On Mon, Jan 07,

RE: [PATCH 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem

2019-01-08 Thread Vishal Sagar
Hi Rob, Thanks for the review. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, June 13, 2018 1:34 AM > To: Vishal Sagar > Cc: Hyun Kwon ; laurent.pinch...@ideasonboard.com; > michal.si...@xilinx.com; linux-me...@vger.kernel.org; >

Re: [PATCH 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2019-01-08 Thread Vishal Sagar
Hi Hyun Thanks for the review. > -Original Message- > From: Hyun Kwon > Sent: Thursday, June 01, 2018 6:46 AM > To: Vishal Sagar > Cc: Hyun Kwon ; laurent.pinch...@ideasonboard.com; > michal.si...@xilinx.com; linux-me...@vger.kernel.org; > devicet...@vger.kernel.org;

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Vokáč Michal
On 28.12.2018 19:20, Fabio Estevam wrote: > On Tue, Dec 18, 2018 at 12:42 PM Vokáč Michal wrote: > >> + { >> + pinctrl-names = "default"; >> + pinctrl-0 = <_enet>; >> + phy-mode = "rgmii-id"; >> + phy-reset-gpios = < 25 GPIO_ACTIVE_HIGH>; > > Are you sure this is active

Re: [PATCH V7 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support

2019-01-08 Thread Martin Kepplinger
On 08.01.19 10:14, Anson Huang wrote: > The accelerometer's power supply could be controllable on some > platforms, such as i.MX6Q-SABRESD board, the mma8451's power supplies > are controlled by a GPIO fixed regulator, need to make sure the > regulators are enabled before any communication with

Re: [PATCH] powerpc/irq: drop arch_early_irq_init()

2019-01-08 Thread Christophe Leroy
Oops, forgot to actually copy Thomas. Le 08/01/2019 à 12:37, Christophe Leroy a écrit : arch_early_irq_init() does nothing different than the weak arch_early_irq_init() in kernel/softirq.c Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS") Cc: Thomas Gleixner Signed-off-by: Christophe

[PATCH] powerpc/irq: drop arch_early_irq_init()

2019-01-08 Thread Christophe Leroy
arch_early_irq_init() does nothing different than the weak arch_early_irq_init() in kernel/softirq.c Fixes: 089fb442f301 ("powerpc: Use ARCH_IRQ_INIT_FLAGS") Cc: Thomas Gleixner Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/irq.c | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-08 Thread Jiri Kosina
On Tue, 8 Jan 2019, Bernd Petrovitsch wrote: > Shouldn't the application use e.g. mlock()/ to guarantee no page > faults in the first place? Calling mincore() on pages you've just mlock()ed is sort of pointless though. -- Jiri Kosina SUSE Labs

Re: kernel BUG at mm/huge_memory.c:LINE!

2019-01-08 Thread Kirill A. Shutemov
On Mon, Jan 07, 2019 at 07:57:38PM +0300, Konstantin Khlebnikov wrote: > On 03.01.2019 13:43, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:    4cd1b60def51 Add linux-next specific files for 20190102 > > git tree:   linux-next > > console output:

[PATCH v2 03/15] drm/bochs: atomic: add atomic_flush+atomic_enable callbacks.

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, step one. Add atomic crtc helper callbacks. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c

[PATCH v2 01/15] drm/bochs: encoder cleanup

2019-01-08 Thread Gerd Hoffmann
Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 26 -- 1 file changed, 26 deletions(-) diff --git

[PATCH v2 02/15] drm/bochs: split bochs_hw_setmode

2019-01-08 Thread Gerd Hoffmann
Create a separate bochs_hw_setformat function to configure the framebuffer format (actually just the byteorder). Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 5 +++-- drivers/gpu/drm/bochs/bochs_hw.c | 19 ---

[PATCH v2 04/15] drm/bochs: atomic: add mode_set_nofb callback.

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, step two. Add mode_set_nofb crtc helper callback. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c

[PATCH v2 15/15] drm/bochs: reserve bo for pin/unpin

2019-01-08 Thread Gerd Hoffmann
The buffer object must be reserved before calling ttm_bo_validate for pinning/unpinning. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_mm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c index

[PATCH v2 07/15] drm/bochs: atomic: use atomic page_flip helper

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, step five. Use atomic page_flip helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git

[PATCH v2 14/15] drm/bochs: move remaining fb bits to kms

2019-01-08 Thread Gerd Hoffmann
bochs_fbdev.c is almost empty now. Move the remaining framebuffer bits over to bochs_kms.c. Pure code motion. No functional change. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_fbdev.c | 29 -

[PATCH v2 11/15] drm/bochs: add basic prime support

2019-01-08 Thread Gerd Hoffmann
Generic framebuffer emulation needs this. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 11 +++ drivers/gpu/drm/bochs/bochs_drv.c | 15 +- drivers/gpu/drm/bochs/bochs_mm.c | 63 +++ 3

[PATCH v2 06/15] drm/bochs: atomic: use atomic set_config helper

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, step four. Use atomic set_config helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c

[PATCH v2 10/15] drm/bochs: drop unused gpu_addr arg from bochs_bo_pin()

2019-01-08 Thread Gerd Hoffmann
It's always NULL, so just remove it. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 2 +- drivers/gpu/drm/bochs/bochs_fbdev.c | 2 +- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- drivers/gpu/drm/bochs/bochs_mm.c| 11 +--

[PATCH v2 05/15] drm/bochs: atomic: switch planes to atomic, wire up helpers.

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, step three. Wire up atomic helpers. Switch planes to atomic. We are late to the party, the transitional helpers are gone, so this can't be splitted into smaller steps any more. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko ---

[PATCH v2 12/15] drm/bochs: switch to generic drm fbdev emulation

2019-01-08 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_drv.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index a9c7140e3b..350e34cf2c 100644 --- a/drivers/gpu/drm/bochs/bochs_drv.c +++

[PATCH v2 13/15] drm/bochs: drop old fbdev emulation code

2019-01-08 Thread Gerd Hoffmann
Not needed any more, bochs uses the generic emulation now. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 9 --- drivers/gpu/drm/bochs/bochs_drv.c | 6 -- drivers/gpu/drm/bochs/bochs_fbdev.c | 137

[PATCH v2 08/15] drm/bochs: atomic: set DRIVER_ATOMIC

2019-01-08 Thread Gerd Hoffmann
Conversion to atomic modesetting, final step. Set the DRIVER_ATOMIC flag. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c

[PATCH v2 09/15] drm/bochs: remove old bochs_crtc_* functions

2019-01-08 Thread Gerd Hoffmann
Remove the old, now unused crtc callbacks. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 81 --- 1 file changed, 81 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c

Re: INFO: task hung in generic_file_write_iter

2019-01-08 Thread Jan Kara
On Tue 08-01-19 19:04:06, Tetsuo Handa wrote: > On 2019/01/03 2:26, Jan Kara wrote: > > On Thu 03-01-19 01:07:25, Tetsuo Handa wrote: > >> On 2019/01/02 23:40, Jan Kara wrote: > >>> I had a look into this and the only good explanation for this I have is > >>> that sb->s_blocksize is different from

Re: [PATCH] vhost/vsock: fix vhost vsock cid hashing inconsistent

2019-01-08 Thread Stefan Hajnoczi
On Tue, Jan 08, 2019 at 04:07:03PM +0800, Zha Bin wrote: > The vsock core only supports 32bit CID, but the Virtio-vsock spec define > CID (dst_cid and src_cid) as u64 and the upper 32bits is reserved as > zero. This inconsistency causes one bug in vhost vsock driver. The > scenarios is: > > 0.

Re: [PATCH v2] platform/chrome: Add cros_ec_readmem() helpers for I2C/SPI based ECs

2019-01-08 Thread kbuild test robot
Hi Moritz, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.0-rc1 next-20190108] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 4.19 000/170] 4.19.14-stable review

2019-01-08 Thread Naresh Kamboju
On Mon, 7 Jan 2019 at 18:16, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.14 release. > There are 170 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] arch: unexport asm/shmparam.h for all architectures

2019-01-08 Thread Stafford Horne
Hi Masahiro, On Tue, Jan 08, 2019 at 08:38:27AM +0900, Masahiro Yamada wrote: > Most architectures do not export shmparam.h to user-space. > > $ find arch -name shmparam.h | sort > arch/alpha/include/asm/shmparam.h > arch/arc/include/asm/shmparam.h > arch/arm64/include/asm/shmparam.h >

[PATCH 1/1] mm/vmalloc: Make vmalloc_32_user() align base kernel virtual address to SHMLBA

2019-01-08 Thread Roman Penyaev
This patch repeats the original one from David S. Miller: 2dca6999eed5 ("mm, perf_event: Make vmalloc_user() align base kernel virtual address to SHMLBA") but for missed vmalloc_32_user() case, which also requires correct alignment of virtual address on kernel side to avoid D-caches aliases.

Re: CFS scheduler: spin_lock usage causes dead lock when smp_apic_timer_interrupt occurs

2019-01-08 Thread Sebastian Andrzej Siewior
On 2019-01-08 10:06:25 [+0100], Peter Zijlstra wrote: > Much appreciated; I queued it as the below. thank you, queued, too. Sebastian

Re: New IIO/counter driver

2019-01-08 Thread Fabrice Gasnier
On 1/8/19 11:57 AM, Benjamin Gaignard wrote: > Le mar. 8 janv. 2019 à 01:46, William Breathitt Gray > a écrit : >> >> On Mon, Jan 07, 2019 at 02:45:37PM +0100, Patrick Havelange wrote: >>> Hello, >>> >>> I'm in the process of adding a new IIO/counter driver, however I also saw >>> that there was

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-08 Thread Naresh Kamboju
On Mon, 7 Jan 2019 at 18:04, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.1 release. > There are 145 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: New IIO/counter driver

2019-01-08 Thread Benjamin Gaignard
Le mar. 8 janv. 2019 à 01:46, William Breathitt Gray a écrit : > > On Mon, Jan 07, 2019 at 02:45:37PM +0100, Patrick Havelange wrote: > > Hello, > > > > I'm in the process of adding a new IIO/counter driver, however I also saw > > that there was a work in progress to have a separate counter

Re: [PATCH 4/4] drm/vmwgfx: unwind spaghetti code in vmw_dma_select_mode

2019-01-08 Thread Thomas Hellstrom
On Sat, 2019-01-05 at 09:01 +0100, Christoph Hellwig wrote: > Just use a simple if/else chain to select the DMA mode. > > Signed-off-by: Christoph Hellwig Reviewed-by: Thomas Hellstrom > --- > drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 25 ++--- > 1 file changed, 6

[PATCH v2 2/3] regulator: core: add helper to check if regulator is disabled in suspend

2019-01-08 Thread Claudiu.Beznea
From: Claudiu Beznea Add helper to check if regulator will be disabled in suspend. Signed-off-by: Claudiu Beznea --- drivers/regulator/core.c | 17 + include/linux/regulator/consumer.h | 7 +++ 2 files changed, 24 insertions(+) diff --git

[PATCH v2 3/3] ARM: at91: pm: add support for .off_in_suspend

2019-01-08 Thread Claudiu.Beznea
From: Claudiu Beznea Add support to check if platform is off in suspend. The check is based on pm_data.mode and CPU's regulator which will be turn off in suspend. Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 61 + 1 file changed,

[PATCH v2 1/3] PM / Suspend: Add support to check if platform's power is off in suspend

2019-01-08 Thread Claudiu.Beznea
From: Claudiu Beznea Add support to check if platform's power will be cut off in suspend. This will help drivers shared by multiple platforms to take only the necessary actions while suspending/resuming (some platform may not need to save/restore all the registers if platforms remains powered

[PATCH v2 0/3] add support for power off check in suspend

2019-01-08 Thread Claudiu.Beznea
From: Claudiu Beznea Hi, AT91 platforms support a power saving mode where SoC's power is cut off (we call it backup mode). The resume is done with the help of bootloaders. To be able to suspend/resume Linux to/from this mode all the drivers suspend/resume callbacks should save/restore the

Re: [PATCH 2/4] drm/vmwgfx: remove CONFIG_INTEL_IOMMU ifdefs

2019-01-08 Thread Thomas Hellstrom
Hi, On Sat, 2019-01-05 at 09:01 +0100, Christoph Hellwig wrote: ... > intel_iommu_enabled is defined as always false for > !CONFIG_INTEL_IOMMU, > so remove the ifdefs around it. > > Signed-off-by: Christoph Hellwig > --- > > -#if !defined(CONFIG_SWIOTLB) && !defined(CONFIG_INTEL_IOMMU) > -

Re: [PATCH 2/5 v8] regulator: fixed/gpio: Pull inversion/OD into gpiolib

2019-01-08 Thread Marek Szyprowski
Hi Linus, On 2019-01-07 17:27, Linus Walleij wrote: > This pushes the handling of inversion semantics and open drain > settings to the GPIO descriptor and gpiolib. All affected board > files are also augmented. > > This is especially nice since we don't have to have any > confusing flags passed

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-08 Thread Sibi Sankar
Hi Brian/Bjorn, Thanks for the review! On 2019-01-05 07:24, Brian Norris wrote: Hi again, On Thu, Jan 03, 2019 at 04:11:58PM -0800, Brian Norris wrote: On Thu, Jan 03, 2019 at 04:01:45PM -0800, Bjorn Andersson wrote: > I share your concern about this, but I came to suggest this as the >

Re: [PATCH v4 10/13] x86: perf/core: use PERF_PMU_CAP_NO_EXCLUDE for exclude incapable PMUs

2019-01-08 Thread Peter Zijlstra
On Mon, Jan 07, 2019 at 04:27:27PM +, Andrew Murray wrote: > For drivers that do not support context exclusion let's advertise the > PERF_PMU_CAP_NOEXCLUDE capability. This ensures that perf will > prevent us from handling events where any exclusion flags are set. > Let's also remove the now

Re: [PATCH v4 11/13] x86: perf/core: use PERF_PMU_CAP_NO_EXCLUDE for exclude incapable PMUs

2019-01-08 Thread Peter Zijlstra
On Mon, Jan 07, 2019 at 04:27:28PM +, Andrew Murray wrote: This patch has the exact same subject as the previous one.. that seems sub-optimal.

Re: [alsa-devel] [PATCH v1 3/3] ASoC: soc-core: fix platform name vs. of_node assignement

2019-01-08 Thread Jon Hunter
Hi Kuninori, On 08/01/2019 02:25, Kuninori Morimoto wrote: > > Hi Jon > >> I have been looking at this again recently. I see this issue occurring >> all the time when the sound drivers are built as kernel modules and >> probing the sound card is deferred until the codec driver has been loaded.

Re: [PATCH 2/2] EDAC: add ARM Cortex A15 L2 internal asynchronous error detection driver

2019-01-08 Thread Borislav Petkov
+ James and leaving in the rest for reference. So the first thing to figure out here is how generic is this and if so, to make it a cortex_a15_edac.c driver which contains all the RAS functionality for A15. Definitely not an EDAC driver per functional unit but rather per vendor or even ARM core.

Re: [PATCH 2/2] memcg: do not report racy no-eligible OOM tasks

2019-01-08 Thread Tetsuo Handa
On 2019/01/08 17:14, Michal Hocko wrote: >>> diff --git a/mm/memcontrol.c b/mm/memcontrol.c >>> index af7f18b32389..90eb2e2093e7 100644 >>> --- a/mm/memcontrol.c >>> +++ b/mm/memcontrol.c >>> @@ -1387,10 +1387,22 @@ static bool mem_cgroup_out_of_memory(struct >>> mem_cgroup *memcg, gfp_t

Re: [PATCH v2 4/5] qcom: spmi-gpio: add support for hierarchical IRQ chip

2019-01-08 Thread Brian Masney
On Mon, Jan 07, 2019 at 01:55:42PM -0800, Stephen Boyd wrote: > > + ret = pmic_gpio_domain_translate(domain, fwspec, , ); > > + if (ret) > > + return ret; > > + > > + for (i = 0; i < nr_irqs; i++) > > + irq_domain_set_info(domain, virq + i, hwirq + i,

Re: [PATCH v5 10/15] KVM: s390: add functions to (un)register GISC with GISA

2019-01-08 Thread Cornelia Huck
On Mon, 7 Jan 2019 18:38:02 +0100 Michael Mueller wrote: > On 04.01.19 14:19, Cornelia Huck wrote: > > On Wed, 2 Jan 2019 18:29:00 +0100 > > Pierre Morel wrote: > > > >> On 19/12/2018 20:17, Michael Mueller wrote: > >>> Add the IAM (Interruption Alert Mask) to the architecture specific >

<    8   9   10   11   12   13   14   15   >