[PATCH v4 1/3] dt-bindings: mailbox: Introduce Hi3660 controller binding

2017-12-19 Thread Kaihua Zhong
From: Leo Yan Introduce a binding for the Hi3660 mailbox controller, the mailbox is used within application processor (AP), communication processor (CP), HIFI and MCU, etc. Signed-off-by: Leo Yan --- .../bindings/mailbox/hisilicon,hi3660-mailbox.txt |

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 12:13 PM, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>>

RE: [PATCH v2 6/6] phy: renesas: rcar-gen3-usb2: add gpio handling

2017-12-19 Thread Yoshihiro Shimoda
Hi Rob, > From: Rob Herring, Sent: Tuesday, December 19, 2017 9:10 AM > > On Sun, Dec 17, 2017 at 11:16 PM, Yoshihiro Shimoda > wrote: > > Hi Rob, > > > > Thank you for your comments! > > > >> From: Rob Herring, Sent: Sunday, December 17, 2017 3:05 AM > >> > >>

[PATCH] bug.h: Work around GCC PR82365 in BUG()

2017-12-19 Thread Arnd Bergmann
Looking at functions with large stack frames across all architectures led me discovering that BUG() suffers from the same problem as fortify_panic(), which I've added a workaround for already. In short, variables that go out of scope by calling a noreturn function or __builtin_unreachable() keep

Re: [PATCH v5 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-19 Thread Philippe Ombredanne
Tim, On Tue, Dec 19, 2017 at 12:12 PM, Hans Verkuil wrote: > On 16/12/17 19:00, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> >> Cc: Hans Verkuil >> Signed-off-by: Tim Harvey >> --- /dev/null >> +++

[PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Wang Dongsheng
of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. LD vmlinux.o MODPOST vmlinux.o .../phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe': ...: undefined reference to `of_usb_get_dr_mode_by_phy' make:

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 20:42:36 +0900 KOBAYASHI Yoshitake wrote: > On 2017/12/07 0:08, Boris Brezillon wrote: > > On Wed, 6 Dec 2017 23:04:57 +0900 > > KOBAYASHI Yoshitake wrote: > > > >> This patch enables support to read

Re: [RFC PATCH 0/3] mm: unclutter THP migration

2017-12-19 Thread Michal Hocko
Are there any more comments here? It seems the initial reaction wasn't all that bad and so I would like to post this with RFC dropped. On Fri 08-12-17 17:15:56, Michal Hocko wrote: > On Thu 07-12-17 15:34:01, Michal Hocko wrote: > > On Thu 07-12-17 22:10:47, Zi Yan wrote: > [...] > > > I agree

Re: [PATCH V4 14/26] pch_gbe: deprecate pci_get_bus_and_slot()

2017-12-19 Thread Sinan Kaya
On 12/19/2017 5:45 AM, Andy Shevchenko wrote: > On Tue, 2017-12-19 at 00:37 -0500, Sinan Kaya wrote: >> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as >> where a PCI device is present. This restricts the device drivers to be >> reused for other domain numbers. >> >> Getting

Re: BUG: unable to handle kernel paging request in lock_release

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:22 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: [PATCH] CIFS: SMBD: fix configurations with INFINIBAND=m

2017-12-19 Thread Jean Delvare
On Tue, 19 Dec 2017 11:12:57 +0100, Arnd Bergmann wrote: > A built-in SMB file system cannot link against a modular > infiniband core module: > > fs/cifs/smbdirect.o: In function `smbd_destroy_rdma_work': > smbdirect.c:(.text+0x28e3): undefined reference to `ib_drain_qp' >

Re: [PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 14:39:23, Kemi Wang wrote: > The type s8 used for vm_diff_nodestat[] as local cpu counters has the > limitation of global counters update frequency, especially for those > monotone increasing type of counters like NUMA counters with more and more > cpus/nodes. This patch extends

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Paolo Bonzini
On 19/12/2017 13:25, Vitaly Kuznetsov wrote: > >> At this point in time, I don't think you can just blithely change the >> virtual VMCS layout and revision number. Existing VMs using the old >> layout and revision number must continue to work on versions of kvm >> past this point. You could tie

Re: [PATCH v2 5/5] mm: Rename zone_statistics() to numa_statistics()

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 14:39:26, Kemi Wang wrote: > Since the functionality of zone_statistics() updates numa counters, but > numa statistics has been separated from zone statistics framework. Thus, > the function name makes people confused. So, change the name to > numa_statistics() as well as its call

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-19 Thread Michal Hocko
On Mon 18-12-17 16:01:31, Shakeel Butt wrote: > The memory controller in cgroup v1 provides the memory+swap (memsw) > interface to account to the combined usage of memory and swap of the > jobs. The memsw interface allows the users to limit or view the > consistent memory usage of their jobs

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Jarkko Sakkinen
James, Javier, thank you for sorting this out. I'll just have couple of minor comments on the patch. On Mon, Dec 18, 2017 at 01:22:28PM +0100, Javier Martinez Canillas wrote: > + u32 vendor, intfcaps, intmask, clkrun_val; Could these split into four lines (one declaration per line)? >

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Jarkko Sakkinen
On Mon, Dec 18, 2017 at 06:26:35PM +, James Ettle wrote: > The keyboard and touchpad work OK with the patch quoted below and the earlier > two applied, i.e. the three patches with signatures: > > 667dcc75be864ff4c17cf58891853b7393bba3e2 > db3248e8a036c39141c8f7e9f1cf5c5ae6815f76 >

Re: BUG: unable to handle kernel NULL pointer dereference in __list_del_entry_valid

2017-12-19 Thread Michal Hocko
Can we silence this duplicates [1] please? [1] http://lkml.kernel.org/r/001a1140f57806ebef05608b2...@google.com On Tue 19-12-17 04:47:01, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 6084b576dca2e898f5c101baef151f7bfdbb606d >

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Jarkko Sakkinen
On Mon, Dec 18, 2017 at 01:19:02PM -0700, Jason Gunthorpe wrote: > On Mon, Dec 18, 2017 at 07:34:29PM +, Shaikh, Azhar wrote: > > > >IIUC, if CLKRUN_EN is enabled, then all the devices attached to the > > >LPC bus have to support the CLKRUN protocol. My guess is that on > > >some Braswell

Re: [PATCH v5 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-19 Thread Hans Verkuil
On 16/12/17 19:00, Tim Harvey wrote: > Add support for the TDA1997x HDMI receivers. > > Cc: Hans Verkuil > Signed-off-by: Tim Harvey > --- > v5: > - uppercase string constants > - use v4l2_hdmi_rx_coloriemtry to fill format > - fix

Re: RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call

2017-12-19 Thread Leon Romanovsky
On Tue, Dec 19, 2017 at 04:40:42PM +0530, Devesh Sharma wrote: > However delayed ack but still..thanks for supplying this fix. > > Acked-by: Devesh Sharma > Devesh, What should we do in order to stop you to answer in top-posting format? Thanks > > On Wed, Dec 13,

Re: [PATCH] drm/bridge: analogix_dp: Use relaxed MMIO accessors

2017-12-19 Thread Marc Zyngier
On 19/12/17 08:53, Andrzej Hajda wrote: > On 18.12.2017 12:39, Marc Zyngier wrote: >> The analogix DP bridge is entierely driven via MMIO accesses, and >> does not do any DMA that requires coherency with the CPU. Yet, the >> driver uses the non-relaxed accessors, forcing strong barriers to >> be

Re: [PATCH] On ppc64le we HAVE_RELIABLE_STACKTRACE

2017-12-19 Thread Torsten Duwe
On Mon, Dec 18, 2017 at 12:56:22PM -0600, Josh Poimboeuf wrote: > On Mon, Dec 18, 2017 at 03:33:34PM +1000, Nicholas Piggin wrote: > > On Sun, 17 Dec 2017 20:58:54 -0600 > > Josh Poimboeuf wrote: > > > > > On Fri, Dec 15, 2017 at 07:40:09PM +1000, Nicholas Piggin wrote: > >

Re: [PATCH] bug.h: Work around GCC PR82365 in BUG()

2017-12-19 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Dec 19, 2017 at 12:39 PM, Arnd Bergmann wrote: > The name barrier_before_unreachable() is a bit suboptimal here, > as it fails to describe the fact that it is needed for both > __builtin_unreachable() and for calling noreturn functions. Any other > suggestions

RE: [patch 11/16] x86/ldt: Force access bit for CS/SS

2017-12-19 Thread David Laight
From: Andy Lutomirski > Sent: 12 December 2017 19:27 ... > > Why is the iret exception unrecoverable anyway? Does anybody even know? > > > > Weird microcode shit aside, a fault on IRET will return to kernel code with > kernel GS, and then the > next time we enter the kernel we're backwards. We

Re: [PATCH 0/2] arm64 SMMUv3 PMU driver with IORT support

2017-12-19 Thread Marc Zyngier
On 19/12/17 06:55, Linu Cherian wrote: > Hi Marc, > > On Mon Dec 18, 2017 at 03:39:22PM +, Marc Zyngier wrote: >> Thanks for putting me in the loop Robin. >> >> On 18/12/17 14:48, Robin Murphy wrote: >>> On 10/12/17 02:35, Linu Cherian wrote: Hi, On Fri Aug 04, 2017 at

Re: [PATCH V5] mmc:host:sdhci-pci:Addition of Arasan PCI Controller with integrated phy.

2017-12-19 Thread Adrian Hunter
On 12/12/17 19:02, Atul Garg wrote: > The Arasan Controller is based on a FPGA platform and has integrated phy > with specific registers used during initialization and > management of different modes. The phy and the controller are integrated > and registers are very specific to Arasan. > >

Re: INFO: task hung in bpf_exit_net

2017-12-19 Thread Dmitry Vyukov
On Tue, Dec 19, 2017 at 1:36 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 7ceb97a071e80f1b5e4cd5a36de135612a836388 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >

Re: powerpc64 kernel panic if you disable CONFIG_PPC_TRANSACTIONAL_MEM?

2017-12-19 Thread Michael Ellerman
Rob Landley writes: > I just added a ppc64 target to https://github.com/landley/mkroot which > means I built 4.14 with the attached miniconfig and ran it with the > attached qemu command line, and it works fine as is but if you remove > the transactional mem line from the

Re: [PATCH v2] writeback: synchronize sync(2) against cgroup writeback membership switches

2017-12-19 Thread Jan Kara
On Wed 13-12-17 07:39:30, Tejun Heo wrote: > Hello, > > On Wed, Dec 13, 2017 at 12:00:04PM +0100, Jan Kara wrote: > > OK, but this effectively prevents writeback from sync_inodes_sb() to ever > > make inode switch wbs. Cannot that be abused in some way like making sure > > writeback of our memcg

Re: BUG: unable to handle kernel NULL pointer dereference in __list_del_entry_valid

2017-12-19 Thread Dmitry Vyukov
On Tue, Dec 19, 2017 at 2:03 PM, Michal Hocko wrote: > Can we silence this duplicates [1] please? > > [1] http://lkml.kernel.org/r/001a1140f57806ebef05608b2...@google.com Hi Michal, What exactly do you mean? These 2 are the same email with the same Message-ID just on

[PATCH v2] net: arc_emac: fix arc_emac_rx() error paths

2017-12-19 Thread Alexander Kochetkov
arc_emac_rx() has some issues found by code review. In case netdev_alloc_skb_ip_align() or dma_map_single() failure rx fifo entry will not be returned to EMAC. In case dma_map_single() failure previously allocated skb became lost to driver. At the same time address of newly allocated skb will

[PATCH v2] mm/vmalloc: Replace opencoded 4-level page walkers

2017-12-19 Thread Chris Wilson
Rather than open-code the intricacies of walking the 4-level page tables, use the generic page table walker apply_to_page_range() instead. The important change is that it now cleans up after an unsuccessful insertion and propagates the correct error. The current failure may lead to a WARN if we

Re: RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call

2017-12-19 Thread Devesh Sharma
However delayed ack but still..thanks for supplying this fix. Acked-by: Devesh Sharma On Wed, Dec 13, 2017 at 11:07 PM, Jason Gunthorpe wrote: > On Tue, Nov 14, 2017 at 06:20:56PM +0530, Arvind Yadav wrote: >> The bnxt_qplib_disable_nq() call is

[PATCH v4 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-19 Thread Kaihua Zhong
Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. It supports 32 mailbox channels and every channel can only be used for single transferring direction. Once the channel is enabled, it needs to specify the destination interrupt and acknowledge

[PATCH v4 3/3] dts: arm64: Add mailbox binding for hi3660

2017-12-19 Thread Kaihua Zhong
Add DT binding for mailbox driver. Signed-off-by: Leo Yan Signed-off-by: Ruyi Wang Signed-off-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v4 0/3] Add support for Hi3660 mailbox driver

2017-12-19 Thread Kaihua Zhong
From: Leo Yan Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. This patch series is to implement an initial version for Hi3660 mailbox driver with "automatic acknowledge" mode. The patch set have been verified with Hi3660 stub

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-19 Thread KOBAYASHI Yoshitake
On 2017/12/07 0:08, Boris Brezillon wrote: > On Wed, 6 Dec 2017 23:04:57 +0900 > KOBAYASHI Yoshitake wrote: > >> This patch enables support to read the ECC strength and size from the >> NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is >>

Re: [PATCH v2 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2017-12-19 Thread Sakari Ailus
Hi Yong, On Thu, Jul 27, 2017 at 01:01:36PM +0800, Yong Deng wrote: > Add binding documentation for Allwinner V3s CSI. > > Signed-off-by: Yong Deng DT bindings should precede the driver. > --- > .../devicetree/bindings/media/sun6i-csi.txt| 49 >

Re: [PATCH -next v3 2/2] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 21:01:47 +0900 KOBAYASHI Yoshitake wrote: > Thanks for reviewing the patches and taht is a good news for me about > nand_exec_op(). > I'll change this patch as you suggested. > I would like to make sure the following one. > > >> @@ -70,6

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 12:56:24 +0100 Boris Brezillon wrote: > On Tue, 19 Dec 2017 20:42:36 +0900 > KOBAYASHI Yoshitake wrote: > > > On 2017/12/07 0:08, Boris Brezillon wrote: > > > On Wed, 6 Dec 2017 23:04:57 +0900 > > >

Re: BUG: unable to handle kernel paging request in do_futex

2017-12-19 Thread Dmitry Vyukov
On Thu, Dec 14, 2017 at 6:02 PM, Thomas Gleixner wrote: > On Thu, 14 Dec 2017, Andrey Ryabinin wrote: >> On 12/14/2017 06:31 PM, Thomas Gleixner wrote: >> > On Thu, 30 Nov 2017, syzbot wrote: >> >> BUG: unable to handle kernel paging request at c314149f >> > >> >

Re: BUG: unable to handle kernel paging request in lock_acquire

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:33 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: BUG: unable to handle kernel paging request in copy_user_handle_tail

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:23 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > d127129e85a020879f334154300ddd3f7ec21c1e > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: BUG: unable to handle kernel paging request in __get_user_4

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:23 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2017-12-19 Thread Daniel Vetter
On Thu, Dec 14, 2017 at 04:36:49PM +0100, Max Staudt wrote: > On 12/13/2017 10:35 PM, Daniel Vetter wrote: > > Using drm directly would allow you to flush the contents without the fake > > (and tbh, really expensive on most drivers) copy op. If you insist on > > using fbdev for this stuff, then at

Re: r8169 regression: UDP packets dropped intermittantly

2017-12-19 Thread Michal Kubecek
On Tue, Dec 19, 2017 at 04:15:32PM +1030, Jonathan Woithe wrote: > This clearly indicates that not every card using the r8169 driver is > vulnerable to the problem. It also explains why Holger was unable to > reproduce the result on his system: the PCIe cards do not appear to suffer > from the

Re: [PATCH RFC 2/7] KVM: nVMX: modify vmcs12 fields to match Hyper-V enlightened VMCS

2017-12-19 Thread Vitaly Kuznetsov
Jim Mattson writes: > At this point in time, I don't think you can just blithely change the > virtual VMCS layout and revision number. Existing VMs using the old > layout and revision number must continue to work on versions of kvm > past this point. You could tie the layout

[PATCH v20 1/7] xbitmap: Introduce xbitmap

2017-12-19 Thread Wei Wang
From: Matthew Wilcox The eXtensible Bitmap is a sparse bitmap representation which is efficient for set bits which tend to cluster. It supports up to 'unsigned long' worth of bits, and this commit adds the bare bones -- xb_set_bit(), xb_clear_bit() and xb_test_bit().

[PATCH v20 7/7] virtio-balloon: don't report free pages when page poisoning is enabled

2017-12-19 Thread Wei Wang
The guest free pages should not be discarded by the live migration thread when page poisoning is enabled with PAGE_POISONING_NO_SANITY=n, because skipping the transfer of such poisoned free pages will trigger false positive when new pages are allocated and checked on the destination. This patch

[PATCH v20 3/7] xbitmap: add more operations

2017-12-19 Thread Wei Wang
This patch adds support to find next 1 or 0 bit in a xbmitmap range and clear a range of bits. More possible optimizations to add in the future: 1) xb_set_bit_range: set a range of bits. 2) when searching a bit, if the bit is not found in the slot, move on to the next slot directly. 3) add tags

Re: [PATCH] NFS: allow name_to_handle_at() to work for Amazon EFS.

2017-12-19 Thread Jan Kara
On Fri 08-12-17 13:17:31, NeilBrown wrote: > On Thu, Dec 07 2017, Amir Goldstein wrote: > > > On Thu, Dec 7, 2017 at 5:20 AM, NeilBrown wrote: > >> On Wed, Dec 06 2017, Linus Torvalds wrote: > >> > >>> On Thu, Nov 30, 2017 at 12:56 PM, NeilBrown wrote: > >

Re: [PATCH RFC 0/7] KVM: nVMX: enlightened VMCS initial implementation

2017-12-19 Thread Paolo Bonzini
On 18/12/2017 18:17, Vitaly Kuznetsov wrote: > The original author of these patches does no longer work at Red Hat, I > agreed to take this over and send upstream. Here is his original > description: > > "Makes KVM implement the enlightened VMCS feature per Hyper-V TLFS 5.0b. > I've measured

Re: [PATCH v2 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 12:40:16, David Laight wrote: > From: Edward Napierala > > Sent: 14 December 2017 14:55 > > > > On 1214T1415, Michal Hocko wrote: > > > On Thu 14-12-17 12:44:17, Edward Napierala wrote: > > > > Regarding the name - how about adopting MAP_EXCL? It was introduced in > > > > FreeBSD,

Re: [PATCH v9 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-19 Thread Fabio Estevam
Hi Sakari, On Tue, Dec 19, 2017 at 7:22 AM, Sakari Ailus wrote: > On Mon, Dec 11, 2017 at 09:31:46AM +0800, Wenyou Yang wrote: >> The ov7740 (color) image sensor is a high performance VGA CMOS >> image snesor, which supports for output formats: RAW RGB and YUV >> and image

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Jarkko Sakkinen
On Mon, Dec 18, 2017 at 10:55:02AM -0700, Jason Gunthorpe wrote: > On Mon, Dec 18, 2017 at 01:29:01PM +0100, Javier Martinez Canillas wrote: > > On 12/18/2017 01:22 PM, Javier Martinez Canillas wrote: > > > > [snip] > > > > > > > > James, > > > > > > Can you please test the following

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-19 Thread Mauro Carvalho Chehab
Em Sun, 17 Dec 2017 16:28:44 -0800 Joe Perches escreveu: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work >

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Javier Martinez Canillas
On 12/19/2017 02:10 PM, Jarkko Sakkinen wrote: > On Tue, Dec 19, 2017 at 12:34:46AM +0100, Javier Martinez Canillas wrote: >> Hello Jason, >> >> On 12/18/2017 09:19 PM, Jason Gunthorpe wrote: >>> On Mon, Dec 18, 2017 at 07:34:29PM +, Shaikh, Azhar wrote: >>> > IIUC, if CLKRUN_EN is

Re: [PATCH v6] mfd: syscon: Add hardware spinlock support

2017-12-19 Thread Baolin Wang
On 19 December 2017 at 17:21, Mark Brown wrote: > On Tue, Dec 19, 2017 at 02:55:47PM +0800, Baolin Wang wrote: > >> Um, why regmap doesn't accept a zero lock-id, that because regmap will >> reguest hwlock depending on the 'regmap_config->hwlock_id' is not >> zero, if regmap

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: > On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Make the PM core avoid invoking the "late" and "noirq" system-wide >> suspend (or

RE: Linux Kernel handling AXI DECERR/SLVERR

2017-12-19 Thread Bharat Kumar Gogada
Hi, > When Linux is booted on ARM64 platform and an access to peripheral > returns DECERR or SLVERR on AXI. > > In the above error cases how would Linux kernel handle these faults ? > Will it hang/recover ? I believe that on contemporary CPUs these will result in an SError. As SErrors are

Re: [PATCH v2] PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit

2017-12-19 Thread Lorenzo Pieralisi
On Tue, Dec 19, 2017 at 03:25:41PM +0530, Kishon Vijay Abraham I wrote: > ->get_msi() now checks MSI_EN bit in the MSI CAPABILITY register to > find whether the host supports MSI instead of using the > MSI ADDRESS in the MSI CAPABILITY register. > > This fixes the issue with the following

Re: Linux Kernel handling AXI DECERR/SLVERR

2017-12-19 Thread Mark Rutland
On Tue, Dec 19, 2017 at 11:28:49AM +, Bharat Kumar Gogada wrote: > In our case the peripheral returns SLVERR first time and we see the following > print but kernel do not hang. > [ 231.484186] Unhandled fault: synchronous external abort (0x92000210) at > 0x007f9241f880 > Bus error > >

Re: [PATCH linux-next] mqueue: fix IPC namespace use-after-free

2017-12-19 Thread Al Viro
On Tue, Dec 19, 2017 at 11:14:40AM +0100, Giuseppe Scrivano wrote: > mqueue_evict_inode() doesn't access the ipc namespace if it was > already freed. It can happen if in a new IPC namespace the inode was > created without a prior mq_open() which creates the vfsmount used to > access the

Re: BUG: unable to handle kernel paging request in __switch_to

2017-12-19 Thread Dmitry Vyukov
On Fri, Dec 15, 2017 at 5:44 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Fri, Dec 15, 2017 at 2:02 AM, Dmitry Vyukov wrote: >> > On Fri, Dec 15, 2017 at 10:58 AM, Wanpeng Li wrote: >> >> 2017-12-15

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

2017-12-19 Thread Dmitry Vyukov
On Tue, Dec 19, 2017 at 11:52 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 6084b576dca2e898f5c101baef151f7bfdbb606d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >

Re: [PATCH v2 3/3] media: MAINTAINERS: add entries for Allwinner V3s CSI

2017-12-19 Thread Sakari Ailus
On Thu, Jul 27, 2017 at 01:01:37PM +0800, Yong Deng wrote: > Signed-off-by: Yong Deng > --- > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 9826a91..b91fa27 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS >

RE: [PATCH] phy: rcar: fix gen3-usb2 build error

2017-12-19 Thread Yoshihiro Shimoda
Hi Wang-san, > From: Wang Dongsheng, Sent: Tuesday, December 19, 2017 8:37 PM > > of_usb_get_dr_mode_by_phy is implemented in usb/common/common.c. > So the PHY_RCAR_GEN3_USB2 must depend on USB_SUPPORT/USB_COMMON. > > LD vmlinux.o > MODPOST vmlinux.o > .../phy-rcar-gen3-usb2.o: In

Re: [PATCH v5 0/6] Add support for Hexagon q6v5-wcss integrated core

2017-12-19 Thread Sricharan R
Hi Bjorn, On 11/14/2017 4:23 PM, Sricharan R wrote: > IPQ8074 has an integrated Hexagon dsp core Q6v5 and a wireless lan > (Lithium) IP. This series adds the remoteproc driver to reset, load > and boot Q6 firmware. > > The first patch is to make the mdt_loader authenticate > the firmware only if

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-19 Thread jacopo mondi
Hi Laurent, a few more details on subdevice management On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > [snip] > > > +static int ceu_sensor_bound(struct v4l2_async_notifier *notifier, > > + struct v4l2_subdev

Re: [PATCH -next v3 2/2] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2017-12-19 Thread KOBAYASHI Yoshitake
Thanks for reviewing the patches and taht is a good news for me about nand_exec_op(). I'll change this patch as you suggested. I would like to make sure the following one. >> @@ -70,6 +155,10 @@ static int toshiba_nand_init(struct nand_chip *chip) >> if (nand_is_slc(chip)) >>

Re: BUG: unable to handle kernel paging request in wait_lapic_expire

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:28 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > d127129e85a020879f334154300ddd3f7ec21c1e > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: BUG: unable to handle kernel paging request in try_to_wake_up

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:27 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 5bef2980adef8a6032d4f4709aebe9486181052f > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: BUG: unable to handle kernel paging request in ttwu_do_wakeup

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:24 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: BUG: unable to handle kernel paging request in delayed_put_task_struct

2017-12-19 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:24 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 5bef2980adef8a6032d4f4709aebe9486181052f > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: [PATCH v2 1/5] mm: migrate NUMA stats from per-zone to per-node

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 14:39:22, Kemi Wang wrote: > There is not really any use to get NUMA stats separated by zone, and > current per-zone NUMA stats is only consumed in /proc/zoneinfo. For code > cleanup purpose, we move NUMA stats from per-zone to per-node and reuse the > existed per-cpu

[PATCH v20 6/7] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-12-19 Thread Wei Wang
Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_VQ feature indicates the support of reporting hints of guest free pages to host via virtio-balloon. Host requests the guest to report free pages by sending a new cmd id to the guest via the free_page_report_cmd_id configuration register. When the

[PATCH v20 2/7] xbitmap: potential improvement

2017-12-19 Thread Wei Wang
This patch made some changes to the original xbitmap implementation from the linux-dax tree: - xb_set_bit: delete the new inserted radix_tree_node when failing to get the per cpu ida bitmap, this avoids the kind of memory leak of the unused radix tree node left in the tree. - xb_preload:

[PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-12-19 Thread Wei Wang
Add a new feature, VIRTIO_BALLOON_F_SG, which enables the transfer of balloon (i.e. inflated/deflated) pages using scatter-gather lists to the host. The implementation of the previous virtio-balloon is not very efficient, because the balloon pages are transferred to the host by one array each

[PATCH v20 0/7] Virtio-balloon Enhancement

2017-12-19 Thread Wei Wang
This patch series enhances the existing virtio-balloon with the following new features: 1) fast ballooning: transfer ballooned pages between the guest and host in chunks using sgs, instead of one array each time; and 2) free page block reporting: a new virtqueue to report guest free pages to the

[PATCH v20 5/7] mm: support reporting free page blocks

2017-12-19 Thread Wei Wang
This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after zone->lock is released, so it is the caller's responsibility to either detect or prevent the use of such pages. One use example of

Re: INFO: task hung in cleanup_net

2017-12-19 Thread Dmitry Vyukov
On Tue, Dec 19, 2017 at 1:33 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > e40fd8d6b4d9f59b160faa1736f78fc07533ff37 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >

Re: [PATCH v4 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-19 Thread Mauro Carvalho Chehab
Em Sun, 17 Dec 2017 19:47:25 +0100 "Maciej S. Szmigiero" escreveu: > This patch adds support for analog part of Medion 95700 in the cxusb > driver. > > What works: > * Video capture at various sizes with sequential fields, > * Input switching (TV Tuner, Composite,

Re: [PATCH v9 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-19 Thread Sakari Ailus
On Tue, Dec 19, 2017 at 10:50:44AM -0200, Fabio Estevam wrote: > Hi Sakari, > > On Tue, Dec 19, 2017 at 7:22 AM, Sakari Ailus wrote: > > On Mon, Dec 11, 2017 at 09:31:46AM +0800, Wenyou Yang wrote: > >> The ov7740 (color) image sensor is a high performance VGA CMOS > >>

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Javier Martinez Canillas
Hello Jarkko, On 12/19/2017 01:59 PM, Jarkko Sakkinen wrote: > James, Javier, thank you for sorting this out. I'll just have couple of > minor comments on the patch. > > On Mon, Dec 18, 2017 at 01:22:28PM +0100, Javier Martinez Canillas wrote: >> +u32 vendor, intfcaps, intmask, clkrun_val; >

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-19 Thread Jarkko Sakkinen
On Tue, Dec 19, 2017 at 12:34:46AM +0100, Javier Martinez Canillas wrote: > Hello Jason, > > On 12/18/2017 09:19 PM, Jason Gunthorpe wrote: > > On Mon, Dec 18, 2017 at 07:34:29PM +, Shaikh, Azhar wrote: > > > >>> IIUC, if CLKRUN_EN is enabled, then all the devices attached to the > >>> LPC

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Ulf Hansson
On 19 December 2017 at 12:13, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>>

[tip:x86/urgent] x86/stacktrace: Make zombie stack traces reliable

2017-12-19 Thread tip-bot for Josh Poimboeuf
Commit-ID: 6454b3bdd138dfc640deb5e7b9a0668fca2d55dd Gitweb: https://git.kernel.org/tip/6454b3bdd138dfc640deb5e7b9a0668fca2d55dd Author: Josh Poimboeuf AuthorDate: Mon, 18 Dec 2017 15:13:44 -0600 Committer: Ingo Molnar CommitDate: Tue, 19 Dec 2017

Applied "ASoC: rt5514-spi: only enable wakeup when fully initialized" to the asoc tree

2017-12-19 Thread Mark Brown
The patch ASoC: rt5514-spi: only enable wakeup when fully initialized has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH 2/2] PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures

2017-12-19 Thread Lorenzo Pieralisi
On Thu, Dec 07, 2017 at 11:15:20AM +0100, Geert Uytterhoeven wrote: > rcar_pcie_parse_request_of_pci_ranges() can fail and return an error > code, but this is not checked nor handled. > > Fix this by adding the missing error handling. > > Fixes: 5d2917d469faab72 ("PCI: rcar: Convert to DT

RE: [PATCH v9 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-19 Thread Wenyou.Yang
Hi Sakari, > -Original Message- > From: Sakari Ailus [mailto:sakari.ai...@iki.fi] > Sent: 2017年12月19日 17:23 > To: Wenyou Yang - A41535 > Cc: Mauro Carvalho Chehab ; Rob Herring > ; Mark Rutland

Re: BUG: unable to handle kernel paging request in kvm_cpu_has_pending_timer

2017-12-19 Thread Dmitry Vyukov
On Mon, Dec 4, 2017 at 1:25 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler:

Re: [PATCH V4 02/26] powerpc/PCI: deprecate pci_get_bus_and_slot()

2017-12-19 Thread Sinan Kaya
On 12/19/2017 5:29 AM, Michael Ellerman wrote: > Sinan Kaya writes: > >> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as >> where a PCI device is present. This restricts the device drivers to be >> reused for other domain numbers. >> >> Getting ready

Re: [PATCH] hw: Fix permissions for OCRDMA_RESET_STATS

2017-12-19 Thread Leon Romanovsky
On Tue, Dec 19, 2017 at 03:59:30PM +0530, Selvin Xavier wrote: > On Wed, Aug 16, 2017 at 12:01 AM, Leon Romanovsky wrote: > > On Tue, Aug 08, 2017 at 06:56:37PM +0300, Anton Vasilyev wrote: > >> Debugfs file reset_stats is created with S_IRUSR permissions, > >> but

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 14:39:24, Kemi Wang wrote: > We have seen significant overhead in cache bouncing caused by NUMA counters > update in multi-threaded page allocation. See 'commit 1d90ca897cb0 ("mm: > update NUMA counter threshold size")' for more details. > > This patch updates NUMA counters to a

RE: [PATCH v2 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-19 Thread David Laight
From: Edward Napierala > Sent: 14 December 2017 14:55 > > On 1214T1415, Michal Hocko wrote: > > On Thu 14-12-17 12:44:17, Edward Napierala wrote: > > > Regarding the name - how about adopting MAP_EXCL? It was introduced in > > > FreeBSD, > > > and seems to do exactly this; quoting mmap(2): > > >

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-19 Thread Michal Hocko
On Tue 19-12-17 14:39:25, Kemi Wang wrote: > To avoid deviation, this patch uses node_page_state_snapshot instead of > node_page_state for node page stats query. > e.g. cat /proc/zoneinfo > cat /sys/devices/system/node/node*/vmstat > cat /sys/devices/system/node/node*/numastat > > As it

Re: [PATCH 2/9] ASoC: Intel: Kconfig: Simplify-clarify ACPI/PCI dependencies

2017-12-19 Thread Pierre-Louis Bossart
- depends on SND_DMA_SGBUF + depends on SND_DMA_SGBUF && ACPI depends on DMADEVICES Perhaps depends on DMADEVICES && ACPI to be in align with below? config SND_SOC_INTEL_BAYTRAIL tristate "Intel ASoC SST driver for Baytrail (legacy)" - depends on

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-19 Thread Laurent Pinchart
Hi Jacopo, (CC'ing Sakari) On Tuesday, 19 December 2017 13:57:42 EET jacopo mondi wrote: > On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > [snip] > > > >> +static int ceu_sensor_bound(struct v4l2_async_notifier

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Ulf Hansson
On 19 December 2017 at 12:19, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 12:13 PM, Rafael J. Wysocki wrote: >> On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >>> On 10 December 2017 at 01:00, Rafael J. Wysocki

  1   2   3   4   5   6   7   8   9   10   >