Re: [ext4] 079f9927c7: ltp.mmap16.fail

2019-05-28 Thread Theodore Ts'o
On Wed, May 29, 2019 at 10:52:56AM +0800, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: 079f9927c7bfa026d963db1455197159ebe5b534 ("ext4: gracefully handle > ext4_break_layouts() failure during truncate") > https://git.kernel.org/cgit/linux/kernel/

kernel BUG at mm/swap_state.c:170!

2019-05-28 Thread Mikhail Gavrilov
Hi folks. I am observed kernel panic after update to git tag 5.2-rc2. This crash happens at memory pressing when swap being used. Unfortunately in journalctl saved only this: May 29 08:02:02 localhost.localdomain kernel: page:e9095823 refcount:1 mapcount:1 mapping:8f3ffeb36949 index:0

Re: [PATCH] x86/fpu: Use fault_in_pages_writeable() for pre-faulting

2019-05-28 Thread Andrew Morton
On Sun, 26 May 2019 19:33:25 +0200 Sebastian Andrzej Siewior wrote: > From: Hugh Dickins > > Since commit > >d9c9ce34ed5c8 ("x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() > fails") Please add this as a Fixes: d9c9ce34ed5c8 ("x86/fpu: Fault-in user stack if copy_fpstate_to

Re: [PATCH] perf: Fix oops when kthread execs user process

2019-05-28 Thread Michael Ellerman
Will Deacon writes: > On Tue, May 28, 2019 at 04:01:03PM +0200, Peter Zijlstra wrote: >> On Tue, May 28, 2019 at 08:31:29PM +0800, Young Xiao wrote: >> > When a kthread calls call_usermodehelper() the steps are: >> > 1. allocate current->mm >> > 2. load_elf_binary() >> > 3. populate current-

[PATCH v8 3/3] i2c-ocores: sifive: add polling mode workaround for FU540-C000 SoC.

2019-05-28 Thread Sagar Shrikant Kadam
The i2c-ocore driver already has a polling mode interface.But it needs a workaround for FU540 Chipset on HiFive unleashed board (RevA00). There is an erratum in FU540 chip that prevents interrupt driven i2c transfers from working, and also the I2C controller's interrupt bit cannot be cleared if set

[PATCH v8 1/3] dt-bindings: i2c: extend existing opencore bindings.

2019-05-28 Thread Sagar Shrikant Kadam
Reformatted compatibility strings to one valid combination on each line. Add FU540-C000 specific device tree bindings to already available i2-ocores file. This device is available on HiFive Unleashed Rev A00 board. Move interrupt under optional property list as this can be optional. The FU540-C000

[PATCH v8 2/3] i2c-ocores: sifive: add support for i2c device on FU540-c000 SoC.

2019-05-28 Thread Sagar Shrikant Kadam
Update device id table for Opencore's I2C master based re-implementation used in FU540-c000 chipset on HiFive Unleashed platform. Device ID's include Sifive, soc-specific device for chip specific tweaks and sifive IP block specific device for generic programming model. Signed-off-by: Sagar Shrika

[PATCH v8 3/3] i2c-ocores: sifive: add polling mode workaround for FU540-C000 SoC.

2019-05-28 Thread Sagar Shrikant Kadam
The i2c-ocore driver already has a polling mode interface.But it needs a workaround for FU540 Chipset on HiFive unleashed board (RevA00). There is an erratum in FU540 chip that prevents interrupt driven i2c transfers from working, and also the I2C controller's interrupt bit cannot be cleared if set

[PATCH v8 0/3] Extend dt bindings to support I2C on sifive devices and a fix broken IRQ in polling mode.

2019-05-28 Thread Sagar Shrikant Kadam
The patch is based on mainline v5.2-rc1 and extends DT-bindings for Opencore based I2C IP block reimplemented in FU540 SoC, available on HiFive unleashed board (Rev A00), and also provides a workaround for broken IRQ which affects the already available I2C polling mode interface in mainline, for

Re: [PATCH net-next 1/5] timecounter: Add helper for reconstructing partial timestamps

2019-05-28 Thread Richard Cochran
On Tue, May 28, 2019 at 07:14:22PM -0700, John Stultz wrote: > Hrm. Is this actually generic? Would it make more sense to have the > specific implementations with this quirk implement this in their > read() handler? If not, why? Strongly agree that this workaround should stay in the driver. After

Re: [PATCH net-next 3/5] net: dsa: mv88e6xxx: Let taggers specify a can_timestamp function

2019-05-28 Thread Richard Cochran
On Wed, May 29, 2019 at 02:56:25AM +0300, Vladimir Oltean wrote: > The newly introduced function is called on both the RX and TX paths. NAK on this patch. > The boolean returned by port_txtstamp should only return false if the > driver tried to timestamp the skb but failed. So you say. > Curr

[PATCH] amd64-agp: fix arbitrary kernel memory writes

2019-05-28 Thread Young Xiao
pg_start is copied from userspace on AGPIOC_BIND and AGPIOC_UNBIND ioctl cmds of agp_ioctl() and passed to agpioc_bind_wrap(). As said in the comment, (pg_start + mem->page_count) may wrap in case of AGPIOC_BIND, and it is not checked at all in case of AGPIOC_UNBIND. As a result, user with suffic

Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver

2019-05-28 Thread Richard Cochran
On Wed, May 29, 2019 at 02:56:22AM +0300, Vladimir Oltean wrote: > Not all is rosy, though. You can sure say that again! > PTP timestamping will only work when the ports are bridged. Otherwise, > the metadata follow-up frames holding RX timestamps won't be received > because they will be blocked

[RFC PATCH v3] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-05-28 Thread Chris Chiu
We have 3 laptops which connect the wifi by the same RTL8723BU. The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. They have the same problem with the in-kernel rtl8xxxu driver, the iperf (as a client to an ethernet-connected server) gets ~1Mbps. Nevertheless, the signal strength is

Re: [RFC 1/7] mm: introduce MADV_COOL

2019-05-28 Thread Michal Hocko
On Wed 29-05-19 10:40:33, Hillf Danton wrote: > > On Wed, 29 May 2019 00:11:15 +0800 Michal Hocko wrote: > > On Tue 28-05-19 23:38:11, Hillf Danton wrote: > > > > > > In short, I prefer to skip IO mapping since any kind of address range > > > can be expected from userspace, and it may probably co

Re: [PATCH v5 0/2] Fix issues with vmalloc flush flag

2019-05-28 Thread Edgecombe, Rick P
On Tue, 2019-05-28 at 17:23 -0700, David Miller wrote: > From: Rick Edgecombe > Date: Mon, 27 May 2019 14:10:56 -0700 > > > These two patches address issues with the recently added > > VM_FLUSH_RESET_PERMS vmalloc flag. > > > > Patch 1 addresses an issue that could cause a crash after other > >

RE: [PATCH RESEND 2/5] ARM: dts: imx7d-sdb: Assign corresponding power supply for LDOs

2019-05-28 Thread Anson Huang
Hi, Leonard > -Original Message- > From: Leonard Crestez > Sent: Wednesday, May 29, 2019 3:24 AM > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > devicet...@vger.kernel.org; linux-

linux-next: Tree for May 29

2019-05-28 Thread Stephen Rothwell
Hi all, Changes since 20190528: New tree: s390-fixes The akpm-current tree still had its build failure due to an interaction with the ftrace tree for which I reverted 2 commits. Non-merge commits (relative to Linus' tree): 2617 2837 files changed, 98532 insertions(+), 49203 dele

Re: [PATCH] extcon: arizona: Correct error handling on regmap_update_bits_check

2019-05-28 Thread Chanwoo Choi
Hi, On 19. 5. 29. 오전 1:50, Charles Keepax wrote: > Ensure the case when regmap_update_bits_check fails and the change > variable is not updated is handled correctly. > > Signed-off-by: Charles Keepax > --- > drivers/extcon/extcon-arizona.c | 22 +- > 1 file changed, 13 inser

[PATCH v7 1/3] x86/Kconfig: Add new config symbol to unify conditional definition of hv_irq_callback_count

2019-05-28 Thread Zhao Yakui
Add a special Kconfig symbol X86_HV_CALLBACK_VECTOR so that the guests using the hypervisor interrupt callback counter can select and thus enable that counter. Select it when xen or hyperv support is enabled. No functional changes. Signed-off-by: Zhao Yakui Reviewed-by: Borislav Petkov Reviewed-

[PATCH v7 3/3] x86/acrn: Use HYPERVISOR_CALLBACK_VECTOR for ACRN guest upcall vector

2019-05-28 Thread Zhao Yakui
Linux kernel uses the HYPERVISOR_CALLBACK_VECTOR for hypervisor upcall vector. It is already used for Xen and HyperV. After the ACRN hypervisor is detected, it will also use this defined vector to notify the ACRN guest. Co-developed-by: Jason Chen CJ Signed-off-by: Jason Chen CJ Signed-off-by: Z

[PATCH v7 2/3] x86: Add the support of Linux guest on ACRN hypervisor

2019-05-28 Thread Zhao Yakui
ACRN is an open-source hypervisor maintained by Linux Foundation. It is built for embedded IOT with small footprint and real-time features. Add the ACRN guest support so that it allows linux to be booted under the ACRN hypervisor. Following this patch it will setup the upcall notification vector, e

[PATCH v7 0/3] x86: Add the support of ACRN guest under x86

2019-05-28 Thread Zhao Yakui
ACRN is a flexible, lightweight reference hypervisor, built with real-time and safety-criticality in mind, optimized to streamline embedded development through an open source platform. It is built for embedded IOT with small footprint and real-time features. More details can be found in https://pro

Re: [PATCH V2 09/12] soc/tegra: pmc: add pmc wake support for tegra210

2019-05-28 Thread JC Kuo
Hi Sowjanya, usleep_range() in tegra210_pmc_irq_set_wake() should be replaced with udelay() because caller irq_set_irq_wake() acquired spinlock and made this context atomic. Thanks, JC On 5/29/19 7:08 AM, Sowjanya Komatineni wrote: This patch implements PMC wakeup sequence for Tegra210 and

[PATCH] vmalloc: Don't use flush flag when no exec perm

2019-05-28 Thread Rick Edgecombe
The addition of VM_FLUSH_RESET_PERMS for BPF JIT allocations was bisected to prevent boot on an UltraSparc III machine. It was found that sometime shortly after the TLB flush this flag does on vfree of the BPF program, the machine hung. Further investigation showed that before any of the changes fo

Re: [PATCH 1/1] drm/panel: truly: Add additional delay after pulling down reset gpio

2019-05-28 Thread Vivek Gautam
On 5/28/2019 2:13 PM, Marc Gonzalez wrote: On 27/05/2019 12:26, Vivek Gautam wrote: MTP SDM845 panel seems to need additional delay to bring panel to a workable state. Running modetest without this change displays blurry artifacts. Signed-off-by: Vivek Gautam --- drivers/gpu/drm/panel/pa

Re: [PATCH] wd719x: pass GFP_ATOMIC instead of GFP_KERNEL

2019-05-28 Thread Christoph Hellwig
On Wed, May 29, 2019 at 07:05:40AM +0530, Hariprasad Kelam wrote: > wd719x_chip_init is getting called in interrupt disabled > mode(spin_lock_irqsave) , so we need to GFP_ATOMIC instead > of GFP_KERNEL. > > Issue identified by coccicheck I don't think request_firmware is any more happy being call

[PATCH 1/1] scsi: esas2r: esas2r_init: check return value

2019-05-28 Thread Xidong Wang
In esas2r_resume(), the return value of pci_enable_device() is not checked before pdev is used. Signed-off-by: Xidong Wang --- drivers/scsi/esas2r/esas2r_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index 950

Re: [GIT PULL] pin control fixes for v5.2

2019-05-28 Thread Linus Walleij
On Tue, May 28, 2019 at 6:44 PM Linus Torvalds wrote: > On Tue, May 28, 2019 at 1:44 AM Linus Walleij > wrote: > > > > The outstanding commits are the Intel fixes [..] > > Heh. Swedism? "Outstanding" in English means "exceptionally good". I > suspect you meant commits that "står ut", which trans

Re: linux-next: Tree for May 28 (platform/olpc/olpc-xo175-ec)

2019-05-28 Thread Lubomir Rintel
On Tue, 2019-05-28 at 11:05 -0700, Randy Dunlap wrote: > On 5/27/19 9:58 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190524: > > > > on x86, there are some issues with drivers/platform/olpc/olpc-xo175-ec.c: > > a. when CONFIG_SPI is not set/enabled: > > WARNING: unmet direc

Re: [PATCH v4 00/30] coresight: Support for ACPI bindings

2019-05-28 Thread Leo Yan
On Tue, May 28, 2019 at 08:51:26AM -0600, Mathieu Poirier wrote: > Good day, > > On Tue, May 28, 2019 at 01:19:24PM +0800, Leo Yan wrote: > > Hi Suzuki, > > > > On Wed, May 22, 2019 at 11:34:33AM +0100, Suzuki K Poulose wrote: > > > This series adds the support for CoreSight devices on ACPI based

Re: [PATCH] net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT

2019-05-28 Thread Rasmus Villemoes
On 28/05/2019 15.44, Andrew Lunn wrote: > On Tue, May 28, 2019 at 01:17:10PM +, Rasmus Villemoes wrote: >> Currently, the upper half of a 4-byte STATS_TYPE_PORT statistic ends >> up in bits 47:32 of the return value, instead of bits 31:16 as they >> should. >> >> Signed-off-by: Rasmus Villemoes

Re: [RFC][PATCH 00/14 v2] function_graph: Rewrite to allow multiple users

2019-05-28 Thread Masami Hiramatsu
On Wed, 22 May 2019 10:40:27 -0400 Steven Rostedt wrote: > On Wed, 22 May 2019 23:19:55 +0900 > Masami Hiramatsu wrote: > > > > void *fgraph_reserve_data(int size_in_bytes) > > > > > > Allows the entry function to reserve up to 4 words of data on > > > the shadow stack. On success, a

[PATCH] ARM: dts: imx7d-sdb: Make SW2's voltage fixed

2019-05-28 Thread Anson . Huang
From: Anson Huang On i.MX7D SDB board, SW2 supplies a lot of peripheral devices, its voltage should be fixed at 1.8V. The commit 43967d9b5a7c ("ARM: dts: imx7d-sdb: Assign corresponding power supply for LDOs") assigns SW2 as the supplier of vdd1p0d, and when its comsumers pcie-phy/mipi-phy try to

Re: [PATCH net-next] net: link_watch: prevent starvation when processing linkwatch wq

2019-05-28 Thread David Miller
From: Yunsheng Lin Date: Mon, 27 May 2019 09:47:54 +0800 > When user has configured a large number of virtual netdev, such > as 4K vlans, the carrier on/off operation of the real netdev > will also cause it's virtual netdev's link state to be processed > in linkwatch. Currently, the processing is

[PATCH] usb: phy: mxs: Disable external charger detect in mxs_phy_hw_init()

2019-05-28 Thread Andrey Smirnov
Since this driver already handles changer detction state, copy the workaround code currently residing in arch/arm/mach-imx/anatop.c into this drier to consolidate the places modifying it. Signed-off-by: Andrey Smirnov Cc: Chris Healy Cc: Felipe Balbi Cc: Shawn Guo Cc: Fabio Estevam Cc: NXP Li

<    5   6   7   8   9   10