Re: [driver-core PATCH v9 1/9] driver core: Establish order of operations for device_add and device_del via bitflag

2018-12-19 Thread Rafael J. Wysocki
On Thu, Dec 13, 2018 at 1:45 AM Alexander Duyck wrote: > > Add an additional bit flag to the device struct named "dead". > > This additional flag provides a guarantee that when a device_del is > executed on a given interface an async worker will not attempt to attach > the driver following the ear

Re: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-12-19 Thread Miquel Raynal
Hi Naga, + Martin Naga Sureshkumar Relli wrote on Tue, 18 Dec 2018 05:33:53 +: > Hi Miquel, > > > -Original Message- > > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > > Sent: Monday, December 17, 2018 10:11 PM > > To: Naga Sureshkumar Relli > > Cc: Boris Brezillon ; r..

Re: [PATCH v2] mm, page_alloc: Fix has_unmovable_pages for HugePages

2018-12-19 Thread Wei Yang
On Mon, Dec 17, 2018 at 11:51:13PM +0100, Oscar Salvador wrote: >v1 -> v2: > - Fix the logic for skipping pages by Michal > >--- >>From e346b151037d3c37feb10a981a4d2a25018acf81 Mon Sep 17 00:00:00 2001 >From: Oscar Salvador >Date: Mon, 17 Dec 2018 14:53:35 +0100 >Subject: [PATCH] mm, page_al

[GIT PULL] dma-mapping fix for 4.20

2018-12-19 Thread Christoph Hellwig
The following changes since commit 6531e115b7ab84f563fcd7f0d2d05ccf971aaaf9: Merge branch 'akpm' (patches from Andrew) (2018-12-14 15:35:30 -0800) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-4.20-4 for you to fetch changes up to

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Rafael J. Wysocki
On Wed, Dec 19, 2018 at 1:39 PM Daniel Vetter wrote: > > This is the much more correct fix for my earlier attempt at: > > https://lkml.org/lkml/2018/12/10/118 > > Short recap: > > - There's not actually a locking issue, it's just lockdep being a bit > too eager to complain about a possible deadl

Re: [PATCH 1/2] dt-bindings: interrupt-controller: New binding for Meson-G12A SoC

2018-12-19 Thread Rob Herring
On Mon, 3 Dec 2018 14:13:23 +0800, Xingyu Chen wrote: > Update the dt-binding document to support new compatible string for the > GPIO interrupt controller which found in Amlogic's Meson-G12A SoC. > > Signed-off-by: Xingyu Chen > Signed-off-by: Jianxin Pan > --- > .../bindings/interrupt-control

Re: [PATCH v1 03/12] dt-bindings: misc: Add bindings for HiSilicon usb hub and data role switch functionality on HiKey960

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 11:45:06AM +0800, Yu Chen wrote: > This patch adds binding documentation to support usb hub and usb > data role switch of Hisilicon HiKey&HiKey960 Board. > > Cc: Sergei Shtylyov > Cc: Rob Herring > Cc: Mark Rutland > Cc: John Stultz > Cc: Binghui Wang > Signed-off-by:

Re: [REGRESSION] imx_v6_v7_defconfig: undefined reference to `__hyp_stub_vectors'

2018-12-19 Thread Fabio Estevam
Hi Daniel, On Wed, Dec 19, 2018 at 11:32 AM Daniel Baluta wrote: > > On Wed, Dec 19, 2018 at 3:17 PM Daniel Baluta wrote: > > > > > > On Wed, 2018-12-19 at 12:42 +, Marcel Ziswiler wrote: > > > Hi there > > > > > > I noticed that at least today's and yesterdays -next won't build with > > > t

FROM IMFC EUROPE

2018-12-19 Thread IMFC EUROPE
Dear Sir, My name is Nancy.M Michael of the International Monetary and Financial Committee (IMFC) of the IMF. The IMF through an electronic random pick has chosen your name for compensation/payment. At the meeting of heads of international financial institutions held recently in Geneva Switzerl

[PATCH] kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled

2018-12-19 Thread Miroslav Benes
GCC 9 introduces a new option, -flive-patching. It disables certain optimizations which could make a compilation unsafe for later live patching of the running kernel. The option is used only if CONFIG_LIVEPATCH is enabled and $(CC) supports it. Signed-off-by: Miroslav Benes --- Makefile | 4 +++

Re: [PATCH v1 02/12] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 11:45:05AM +0800, Yu Chen wrote: > This patch adds binding documentation for supporting the hi3660 usb > phy on boards like the HiKey960. > > Cc: Rob Herring > Cc: Mark Rutland > Cc: John Stultz > Cc: Binghui Wang > Signed-off-by: Yu Chen > -- > v1: Fix some format err

Re: [v4] PCI: imx: make msi work without CONFIG_PCIEPORTBUS=y

2018-12-19 Thread Bjorn Helgaas
[+cc Sven, Trent, et al from related report: https://lore.kernel.org/linux-pci/20181218210444.5950-1-thesve...@googlemail.com] On Fri, Dec 14, 2018 at 06:44:15AM +, Richard Zhu wrote: > Assertion of the MSI Enable bit of RC's MSI CAP is mandatory required to > trigger MSI on i.MX6 PCIe. > This

Re: [PATCH] drm/bochs: add edid present check

2018-12-19 Thread Oleksandr Andrushchenko
Hello, Gerd! On 12/18/18 9:33 AM, Gerd Hoffmann wrote: Check first two header bytes before trying to read the edid blob, to avoid the log being spammed in case qemu has no edid support (old qemu or edid turned off). Fixes: 01f23459cf drm/bochs: add edid support. Signed-off-by: Gerd Hoffmann --

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-19 Thread Gerd Hoffmann
Hi, > > Sure this actually helps? It's below 4G in guest physical address > > space, so it can be backed by pages which are actually above 4G in host > > physical address space ... > > Yes, you are right here. This is why I wrote about the IOMMU > and other conditions. E.g. you can have a devi

Re: [PATCH v1 01/12] dt-bindings: usb: add support for dwc3 controller on HiSilicon SoCs

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 05:28:56PM +0800, Chen Yu wrote: > Hi, > > On 2018/12/3 16:59, Sergei Shtylyov wrote: > > On 03.12.2018 11:51, Chen Yu wrote: > > > This patch adds binding descriptions to support the dwc3 controller > on HiSilicon SoCs and boards like the HiKey960. > >

Re: [PATCH] usb: dwc2: gadget: fix ISOC frame overflow handling

2018-12-19 Thread Minas Harutyunyan
Hi John, On 12/18/2018 6:35 PM, John Keeping wrote: > Hi Minas, > > On Fri, 14 Dec 2018 09:00:08 + > Minas Harutyunyan wrote: >> First of all, sorry for delayed answer. >> Looks like similar issue seen by Andrzej Pietrasiewicz >> : "dwc2 isochronous transfers issues". Same >> feedback provid

Re: [RFC PATCH 07/10] dt-bindigs: sound: Add Allwinner suniv F1C100s Audio Codec

2018-12-19 Thread Rob Herring
On Mon, Dec 03, 2018 at 12:23:14AM +0300, Mesih Kilinc wrote: > Add compatible string for Allwinner suniv F1C100s audio codec. Typo in the subject. Otherwise, Reviewed-by: Rob Herring > > Signed-off-by: Mesih Kilinc > --- > Documentation/devicetree/bindings/sound/sun4i-codec.txt | 5 + >

Re: [RFC PATCH 03/10] dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA

2018-12-19 Thread Rob Herring
On Mon, 3 Dec 2018 00:23:10 +0300, Mesih Kilinc wrote: > Add compatible string for Allwinner suniv F1C100s DMA. > > Signed-off-by: Mesih Kilinc > --- > Documentation/devicetree/bindings/dma/sun4i-dma.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring

[PATCH] samples: Kconfig: readd BROKEN to SAMPLE_STATX

2018-12-19 Thread Anders Roxell
Commit c1cae12e6b4a ("vfs: Add a sample program for the new mount API") introduced a build error (regression) when building an allmodconfig kernel. Before that SAMPLE_STATX had a "depends on BROKEN", and it got removed in the patch. When building an allmodconfig kernel, option SAMPLE_VFS gets enab

Re: [PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-19 Thread Rob Herring
On Wed, Dec 19, 2018 at 6:33 AM james qian wang (Arm Technology China) wrote: > > Add DT bindings documentation for the ARM display processor D71 and later > IPs. > > Signed-off-by: James (Qian) Wang > --- > .../bindings/display/arm/arm,komeda.txt | 87 +++ > 1 file changed

Re: [alsa-devel] [PATCH v9 4/4] sound/usb: Use Media Controller API to share media resources

2018-12-19 Thread Takashi Iwai
On Tue, 18 Dec 2018 18:59:39 +0100, sh...@kernel.org wrote: > > From: Shuah Khan > > Media Device Allocator API to allows multiple drivers share a media device. > This API solves a very common use-case for media devices where one physical > device (an USB stick) provides both audio and video. Wh

Re: RT-Kernel boot stalls because of change in fs/dcache.c

2018-12-19 Thread Schrempf Frieder
Hi Sebastian, On 19.12.18 12:36, Sebastian Andrzej Siewior wrote: > On 2018-12-19 07:50:17 [+], Schrempf Frieder wrote: >> + linux-rt-users >> >> On 17.12.18 11:42, Frieder Schrempf wrote: >>> Hi, >>> >>> I have tried to boot a 4.14-Kernel with the RT-patches and >>> PREEMPT_RT_FULL on an i.MX

Re: [PATCH AUTOSEL 4.19 44/73] net: phy: Fix not to call phy_resume() if PHY is not attached

2018-12-19 Thread Sasha Levin
On Thu, Dec 13, 2018 at 04:48:07AM +, Yoshihiro Shimoda wrote: Hi, From: Sasha Levin, Sent: Thursday, December 13, 2018 1:28 PM From: Yoshihiro Shimoda [ Upstream commit ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a ] This upstream commit is also reverted on mainline as I mentioned other em

Re: [PATCH AUTOSEL 4.19 45/73] net: phy: micrel: add toggling phy reset if PHY is not attached

2018-12-19 Thread Sasha Levin
On Thu, Dec 13, 2018 at 04:44:41AM +, Yoshihiro Shimoda wrote: Hi, From: Sasha Levin , Sent: Thursday, December 13, 2018 1:28 PM From: Yoshihiro Shimoda [ Upstream commit 8c85f4b81296a530b8af2796c110fa482ac42d4f ] Since this upstream commit are reverted by the following commit, we shou

Re: [PATCH v9 04/39] component: alloc component_match without any comp to match

2018-12-19 Thread Daniel Vetter
On Thu, Dec 13, 2018 at 09:31:06AM +0530, Ramalingam C wrote: > If all the components associated to a component master is not added > to the component framework due to the HW capability or Kconfig > selection, component_match will be NULL at > component_master_add_with_match(). > > To avoid this,

Re: [PATCH v2 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 12:58, Valentin Schneider wrote: > > On 19/12/2018 08:32, Vincent Guittot wrote: > [...] > > This is another UC, asym packing is used at SMT level for now and we > > don't face this kind of problem, it has been also tested and DynamiQ > > configuration which is similar to SM

Re: [PATCH] ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities

2018-12-19 Thread Takashi Iwai
On Tue, 18 Dec 2018 18:52:16 +0100, Gustavo A. R. Silva wrote: > > ipcm->substream is indirectly controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > > sound/pci/emu10k1/emufx.c:1031

Re: [PATCH] ALSA: rme9652: Fix potential Spectre v1 vulnerability

2018-12-19 Thread Takashi Iwai
On Tue, 18 Dec 2018 18:18:34 +0100, Gustavo A. R. Silva wrote: > > info->channel is indirectly controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > > sound/pci/rme9652/hdsp.c:4100 sn

[PATCH 1/2] cgroup/cpuset: Update stale generate_sched_domains() comments

2018-12-19 Thread Juri Lelli
Commit fc560a26acce ("cpuset: replace cpuset->stack_list with cpuset_for_each_descendant_pre()") removed the local list (q) that was used to perform a top-down scan of all cpusets; however, comments mentioning it were not updated. Update comments to reflect current implementation. Signed-off-by:

[PATCH 2/2] sched/topology: Update init_sched_domains() comment

2018-12-19 Thread Juri Lelli
Holding hotplug lock is not a requirement anymore for callers of sched_ init_domains after commit 6acce3ef8452 ("sched: Remove get_online_cpus() usage"). Update the relative comment preceding init_sched_domains(). Signed-off-by: Juri Lelli --- kernel/sched/topology.c | 5 ++--- 1 file changed,

Re: [REGRESSION] imx_v6_v7_defconfig: undefined reference to `__hyp_stub_vectors'

2018-12-19 Thread Daniel Baluta
> > Has anybody seen that as well and knows what is going on? > > Hmm, works for me. > > Using linux-next, master branch. HEAD commit: > > commit 02fc169594e96f7c51c4f23114e12b7a18e85a0a (HEAD -> master, tag: > next-20181219, origin/master, origin/HEAD) > Author: S

Re: [PATCH v2 3/3] sched/fair: fix unnecessary increase of balance interval

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 12:16, Valentin Schneider wrote: > > On 19/12/2018 08:27, Vincent Guittot wrote: > [...] > >> Wouldn't LBF_ALL_PINNED cover all relevant cases? It's set at the very top > >> of the 'if (busiest->nr_running > 1)' block and cleared whenever we find > >> at least one task we co

Re: [patch] futex: Cure exit race

2018-12-19 Thread Thomas Gleixner
On 2018-12-18 10:31, Thomas Gleixner wrote: On Wed, 12 Dec 2018, Peter Zijlstra wrote: On Mon, Dec 10, 2018 at 06:43:51PM +0100, Thomas Gleixner wrote: @@ -806,6 +806,8 @@ void __noreturn do_exit(long code) * task into the wait for ever nirwana as well. */

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 02:18:25PM +0100, Daniel Vetter wrote: > On Wed, Dec 19, 2018 at 01:49:30PM +0100, Greg Kroah-Hartman wrote: > > On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote: > > > --- a/include/linux/device.h > > > +++ b/include/linux/device.h > > > @@ -327,6 +327,7 @@ str

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-19 Thread Vincent Guittot
On Wed, 19 Dec 2018 at 11:43, Ulf Hansson wrote: > > On Wed, 19 Dec 2018 at 11:34, Vincent Guittot > wrote: > > > > On Wed, 19 Dec 2018 at 11:21, Ulf Hansson wrote: > > > > > > > > > > > > > > > diff --git a/drivers/base/power/runtime.c > > > > > > b/drivers/base/power/runtime.c > > > > > > in

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-19 Thread Jan Kara
On Wed 19-12-18 10:42:54, Dave Chinner wrote: > On Tue, Dec 18, 2018 at 11:33:06AM +0100, Jan Kara wrote: > > On Mon 17-12-18 08:58:19, Dave Chinner wrote: > > > On Fri, Dec 14, 2018 at 04:43:21PM +0100, Jan Kara wrote: > > > > Yes, for filesystem it is too late. But the plan we figured back in >

Re: KMSAN: kernel-infoleak in copy_page_to_iter (2)

2018-12-19 Thread Jens Axboe
On 12/19/18 3:23 AM, Alexander Potapenko wrote: > On Thu, Sep 13, 2018 at 11:23 AM Alexander Potapenko > wrote: >> >> On Thu, Sep 13, 2018 at 11:18 AM syzbot >> wrote: >>> >>> Hello, >>> >>> syzbot found the following crash on: >>> >>> HEAD commit:123906095e30 kmsan: introduce kmsan_interrup

/proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
Hi All, Compiled the vanila kernel 4.20.0-rc6 build, and was trying to get module information, but /proc/modules is not showing any output ( both on arm64 and x86_64 ) root@ubuntu:~# uname -a Linux ubuntu 4.20.0-rc6-00082-g65e08c5e8631 #7 SMP PREEMPT Fri Dec 14 15:54:30 IST 2018 aarch64 aarch64 a

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-19 Thread Oleksandr Andrushchenko
On 12/19/18 3:14 PM, Gerd Hoffmann wrote: Hi, +    mapping = xen_obj->base.filp->f_mapping; +    mapping_set_gfp_mask(mapping, GFP_USER | __GFP_DMA32); Let's see if I understand what you're doing: Here you say that the pages should be DMA accessible for devices that can only see 4GB. Yes,

Re: [PATCH] HID: debug: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-19 Thread Jiri Kosina
On Fri, 30 Nov 2018, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > drivers/hid/hid-debug.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) > > diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c >

[PATCH v3 1/1] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2018-12-19 Thread Dongli Zhang
The xenstore 'ring-page-order' is used globally for each blkback queue and therefore should be read from xenstore only once. However, it is obtained in read_per_ring_refs() which might be called multiple times during the initialization of each blkback queue. If the blkfront is malicious and the 'r

Re: [WIP PATCH 06/15] drm/i915: Keep malloc references to MST ports

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 04:52:24PM -0500, Lyude Paul wrote: > On Fri, 2018-12-14 at 10:32 +0100, Daniel Vetter wrote: > > On Thu, Dec 13, 2018 at 08:25:35PM -0500, Lyude Paul wrote: > > > So that the ports stay around until we've destroyed the connectors, in > > > order to ensure that we don't pass

Re: [PATCH 4.19 00/44] 4.19.11-stable review

2018-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 18, 2018 at 01:26:00PM -0700, shuah wrote: > On 12/18/18 9:39 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.11 release. > > There are 44 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 4.19 00/44] 4.19.11-stable review

2018-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 18, 2018 at 03:10:25PM -0600, Dan Rue wrote: > On Tue, Dec 18, 2018 at 05:39:12PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.11 release. > > There are 44 patches in this series, all will be posted as a response > > to this one. If any

Re: [PATCH] scsi/mvsas/mv_init.c: Use dma_zalloc_coherent

2018-12-19 Thread Sabyasachi Gupta
On Sat, Dec 1, 2018 at 6:40 PM Sabyasachi Gupta wrote: > > On Wed, Nov 21, 2018 at 7:18 PM Sabyasachi Gupta > wrote: > > > > Replace dma_alloc_coherent + memset with dma_zalloc_coherent > > > > Signed-off-by: Sabyasachi Gupta > > Any comment on this patch? Any comment on this patch? > > > ---

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 01:49:30PM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote: > > --- a/include/linux/device.h > > +++ b/include/linux/device.h > > @@ -327,6 +327,7 @@ struct driver_attribute { > > #define DRIVER_ATTR_WO(_name) \ > > struc

Re: [REGRESSION] imx_v6_v7_defconfig: undefined reference to `__hyp_stub_vectors'

2018-12-19 Thread Daniel Baluta
me. Using linux-next, master branch. HEAD commit: commit 02fc169594e96f7c51c4f23114e12b7a18e85a0a (HEAD -> master, tag: next-20181219, origin/master, origin/HEAD) Author: Stephen Rothwell Date: Wed Dec 19 18:42:46 2018 +1100 Add linux-next specific files for 20181219 Signed-off-by: Stephen Rothwell Using gcc version 7.3.0 (GCC).

Re: [PATCH 7/7] drm: Complete remove drm_mode_object dependency

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:36AM -0200, Shayenne Moura wrote: > This patch finalizes the KMS cleanup task dependency from drm_display_mode > It removes the use of drm_mode_object from drm_display_mode struct > and it removes the use of base.id and base.type. > > Signed-off-by: Shayenne Moura I

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-19 Thread Gerd Hoffmann
Hi, > > > +    mapping = xen_obj->base.filp->f_mapping; > > > +    mapping_set_gfp_mask(mapping, GFP_USER | __GFP_DMA32); > > Let's see if I understand what you're doing: > > > > Here you say that the pages should be DMA accessible for devices that can > > only see 4GB. > > Yes, your understa

Re: [PATCH 6/7] drm: meson: Delete base.id prints

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:30AM -0200, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > > objects in meson files. It removes dependency from drm_mode_object. > > Signed-off-by: Shayenne Moura > --- > drivers/gpu/drm/meson/meson_dw_hdm

Re: [PATCH 5/7] drm: sti: Delete base.id prints

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:25AM -0200, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > > objects in sti files. It removes dependency from drm_mode_object. > > Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter > --- > driver

Re: [PATCH 4/7] drm: i915: Delete base.id prints

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:21AM -0200, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > > objects in i915 files. It removes dependency from drm_mode_object. > > Signed-off-by: Shayenne Moura Again I think better to switch to DRM_MODE_

[PATCH v2 0/3] drm/bridge: various small lvds-encoder things

2018-12-19 Thread Peter Rosin
From: Peter Rosin Hi! I'm not sure if I should have added the texas chips to the lvds_encoder_match list in the driver, right next to the thine,thc63lvdm83d entry, but ended up not doing that. That can always be added later, it needed... Changes since v1: - fork out the bindings for the texas c

Re: [PATCH 2/7] drm: Remove use of drm_mode_object

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:10AM -0200, Shayenne Moura wrote: > This patch removes the drm_mode_object prints, evaluation and use from > drm_display_mode objects used in drm files. It removes dependency from > drm_mode_object. > > Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter > --

Re: [PATCH] scsi/dpt_i2o.c: Use dma_zalloc_coherent

2018-12-19 Thread Sabyasachi Gupta
On Sat, Dec 1, 2018 at 6:45 PM Sabyasachi Gupta wrote: > > On Sat, Nov 17, 2018 at 6:17 PM Sabyasachi Gupta > wrote: > > > > Replaced dma_alloc_coherent + memset with dma_zalloc_coherent > > > > Signed-off-by: Sabyasachi Gupta > > Any comment on this patch? Any comment on this patch? > > > ---

[PATCH v2 3/3] drm/bridge: add pwdn-gpios support to the lvds-encoder

2018-12-19 Thread Peter Rosin
From: Peter Rosin Optionally power down the LVDS-encoder when it is not in use. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/

Re: [PATCH 3/7] drm: omapdrm: Delete base.id prints

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:15AM -0200, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > > objects in omapdrm files. It removes dependency from drm_mode_object. > > Signed-off-by: Shayenne Moura Same comment as for msm, I think better

[PATCH v2 2/3] dt-bindings: display: bridge: lvds-transmitter: cleanup example

2018-12-19 Thread Peter Rosin
From: Peter Rosin Drop #address-cells and #size-cells from the root node in the example, they are unused. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH v2 1/3] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter

2018-12-19 Thread Peter Rosin
From: Peter Rosin DS90C185 has a shutdown pin which does not fit in the lvds-transmitter binding, which is meant to be generic. The sister chip DS90C187 is similar to DS90C185, describe it here as well. Signed-off-by: Peter Rosin --- .../bindings/display/bridge/lvds-transmitter.txt | 8 +--

Re: [PATCH 57/63] perf beauty mmap: Print PROT_READ before PROT_EXEC to match strace output

2018-12-19 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 19, 2018 at 06:15:00PM +0900, Namhyung Kim escreveu: > On Tue, Dec 18, 2018 at 07:07:27PM -0300, Arnaldo Carvalho de Melo wrote: > > Helps with comparing 'strace' and 'perf trace' output, for mutual > > regression testing. > > +++ b/tools/perf/trace/beauty/mmap.c > > @@ -17,8 +17,8 @

Re: [PATCH 1/7] drm: msm: Delete base.id prints

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 11:38:03AM -0200, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > objects in msm files. It removes dependency from drm_mode_object. > > Signed-off-by: Shayenne Moura I think switching these over to the DRM_MODE_FMT and DRM_MODE_ARG like d

Re: [PATCH 4/7] drm: i915: Delete base.id prints

2018-12-19 Thread Jani Nikula
On Tue, 18 Dec 2018, Shayenne Moura wrote: > This patch removes base.id prints from drm_display_mode > > objects in i915 files. It removes dependency from drm_mode_object. As said, this could expand on the *why*. With that fixed, Reviewed-by: Jani Nikula as well as ac

Re: [PATCH] HID: i2c-hid: Ignore input report if there's no data present on Elan touchpanels

2018-12-19 Thread Jiri Kosina
On Fri, 14 Dec 2018, Kai-Heng Feng wrote: > While using Elan touchpads, the message floods: > [ 136.138487] i2c_hid i2c-DELL08D6:00: i2c_hid_get_input: incomplete report > (14/65535) > > Though the message flood is annoying, the device it self works without > any issue. I suspect that the devic

Re: [PATCH 0/7] drm: KMS cleanup remove drm_mode_object dependency

2018-12-19 Thread Jani Nikula
On Tue, 18 Dec 2018, Shayenne Moura wrote: > This patch serie removes drm_mode_object dependency from > drm_display_mode struct. This is part of KMS cleanup. For future reference: Please use git-send-email or fix the mail threading otherwise. Patches 1-7 should be in reply to the cover letter

Re: [PATCH 0/3] irq/core: Fix and expand the irq affinity descriptor

2018-12-19 Thread Sumit Saxena
On Wed, Dec 19, 2018 at 4:23 PM Thomas Gleixner wrote: > > On Tue, 4 Dec 2018, Dou Liyang wrote: > > > Now, Spreading the interrupt affinity info by a cpumask pointer is not > > enough, meets a problem[1] and hard to expand in the future. > > > > Fix it by: > > > > +-

Re: [PATCH v10 13/27] drivers: firmware: psci: Support hierarchical CPU idle states

2018-12-19 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 13:11, Daniel Lezcano wrote: > > On 29/11/2018 18:46, Ulf Hansson wrote: > > From: Lina Iyer > > > > Currently CPU's idle states are represented in a flattened model, via the > > "cpu-idle-states" binding from within the CPU's device nodes. > > > > Support the hierarchical

Re: [PATCH 2/3] dt-bindings: display: bridge: lvds-transmitter: add pwdn-gpios

2018-12-19 Thread Peter Rosin
On 2018-12-19 12:38, Laurent Pinchart wrote: > Hello, > > On Wednesday, 19 December 2018 11:57:32 EET Peter Rosin wrote: >> On 2018-12-19 10:12, Andrzej Hajda wrote: >>> On 19.12.2018 00:19, Peter Rosin wrote: Add optional property to specify a power-down GPIO. The pwdn-gpios name is alr

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2018-12-19 Thread Dave Martin
On Tue, Dec 18, 2018 at 05:59:38PM +, Catalin Marinas wrote: > On Tue, Dec 18, 2018 at 04:03:38PM +0100, Andrey Konovalov wrote: > > On Wed, Dec 12, 2018 at 4:02 PM Catalin Marinas > > wrote: > > > The summary of our internal discussions (mostly between kernel > > > developers) is that we can

[PATCH 04/10] PCI: keystone: Add separate functions for configuring MSI and legacy interrupt

2018-12-19 Thread Kishon Vijay Abraham I
ks_pcie_get_irq_controller_info() was used to configure both MSI and legacy interrupt. This will prevent MSI or legacy interrupt specific intializations. Add separate functions to configure MSI and legacy interrupts. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keysto

Re: [PATCH 35/63] perf trace: Allow specifying a set of events to add in perfconfig

2018-12-19 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 19, 2018 at 05:40:24PM +0900, Namhyung Kim escreveu: > On Tue, Dec 18, 2018 at 07:07:05PM -0300, Arnaldo Carvalho de Melo wrote: > > + if (!strcmp(var, "trace.add_events")) { > > + struct trace *trace = arg; > > + struct option o = OPT_CALLBACK('e', "event", &trace

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote: > --- a/include/linux/device.h > +++ b/include/linux/device.h > @@ -327,6 +327,7 @@ struct driver_attribute { > #define DRIVER_ATTR_WO(_name) \ > struct driver_attribute driver_attr_##_name = __ATTR_WO(_name) > > + > extern in

Re: [WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 04:27:58PM -0500, Lyude Paul wrote: > On Fri, 2018-12-14 at 10:29 +0100, Daniel Vetter wrote: > > On Thu, Dec 13, 2018 at 08:25:32PM -0500, Lyude Paul wrote: > > > The current way of handling refcounting in the DP MST helpers is really > > > confusing and probably just plain

Re: [PATCH] mm: skip checking poison pattern for page_to_nid()

2018-12-19 Thread Qian Cai
On 12/19/18 5:20 AM, Michal Hocko wrote: > On Tue 18-12-18 20:57:32, Qian Cai wrote: > [...] >> diff --git a/include/linux/mm.h b/include/linux/mm.h >> index 5411de93a363..f083f366ea90 100644 >> --- a/include/linux/mm.h >> +++ b/include/linux/mm.h >> @@ -985,9 +985,7 @@ extern int page_to_nid(const

Re: [PATCH v2] Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth

2018-12-19 Thread Marcel Holtmann
Hi Pawel, > This patch adds the device ID for the BCM 4329 combo module used > in the Samsung Aries based phones (Galaxy S and it's variants). > > ``` > [ 11.508980] Bluetooth: hci0: BCM: chip id 41 > [ 11.518975] Bluetooth: hci0: BCM: features 0x04 > [ 11.550132] Bluetooth: hci0: BCM4329B1

Re: [PATCH v3] Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

2018-12-19 Thread Marcel Holtmann
Hi Pawel, > The Broadcom controller on aries S5PV210 boards sends out a couple of > unknown packets after the firmware is loaded. This will cause > logging of errors such as: > Bluetooth: hci0: Frame reassembly failed (-84) > > This is probably also the case with other boards, as there are

Re: [LKP] 5404a7f1c2 [ 90.902541] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2018-12-19 Thread Matthew Wilcox
On Wed, Dec 19, 2018 at 06:03:45PM +0800, Rong Chen wrote: > On 12/18/2018 08:17 PM, Matthew Wilcox wrote: > > On Tue, Dec 18, 2018 at 08:20:28AM +0800, kernel test robot wrote: > > > Greetings, > > > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > > > > http

[PATCH 08/10] PCI: keystone: Use Keystone specific msi_irq_chip

2018-12-19 Thread Kishon Vijay Abraham I
Use Keystone specific msi_irq_chip to configure the MSI controller logic in the PCIe keystone wrapper instead of using the default Designware msi_irq chip (dw_pci_msi_bottom_irq_chip) with callback functions for configuring the Keystone MSI controller. This will help to remove Keystone specific cal

Re: [PATCH] checkpatch.pl: Improve WARNING on Kconfig help

2018-12-19 Thread Igor Stoppa
On 19/12/2018 14:29, Joe Perches wrote: On Wed, 2018-12-19 at 11:59 +, Andy Whitcroft wrote: On Wed, Dec 19, 2018 at 02:44:36AM -0800, Joe Perches wrote: To cover both cases perhaps: "please ensure that this config symbols is described fully (less than $min_conf_desc_

[PATCH 06/10] PCI: keystone: Cleanup ks_pcie_msi_irq_handler and ks_pcie_legacy_irq_handler

2018-12-19 Thread Kishon Vijay Abraham I
Both ks_pcie_msi_irq_handler() and ks_pcie_legacy_irq_handler() invokes ks_pcie_handle_msi_irq() and ks_pcie_handle_legacy_irq() respectively for handling the interrupts. Having two functions for handling the interrupt was used when keystone PCIe driver was implemented using two files. But with co

Re: [PATCH v6 0/7] spi: add support for octal mode

2018-12-19 Thread Vignesh R
Hi, On 19/12/18 3:41 PM, Yogesh Narayan Gaur wrote: > Add support for octal mode IO data transfer. > Micron flash, mt35xu512aba, supports octal mode data transfer and > NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). > > Patch series > * Add support for octal mode flags an

[PATCH 03/10] PCI: keystone: Modify legacy_irq_handler to check the IRQ_STATUS of INTA/B/C/D

2018-12-19 Thread Kishon Vijay Abraham I
The legacy interrupt handler directly checks the IRQ_STATUS register corresponding to a interrupt line inorder to invoke generic_handle_irq. While this is okay for K2G platform which has separate interrupt line for each of the 4 legacy interrupts, AM654 which uses the same PCIe wrapper has a singl

[PATCH 01/10] PCI: keystone: Cleanup interrupt related macros

2018-12-19 Thread Kishon Vijay Abraham I
No functional change. Change both MSI interrupt and legacy interrupt related macros to take an additional argument in order to return the correct register offset. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 26 +++ 1 file changed, 13

[PATCH 07/10] PCI: dwc: Add support to use non default msi_irq_chip

2018-12-19 Thread Kishon Vijay Abraham I
Platforms using Designware IP uses dw_pci_msi_bottom_irq_chip for configuring the MSI controller logic within the Designware IP. However certain platforms like Keystone (K2G) which uses Desingware IP has it's own MSI controller logic. For handling such platforms, the irqchip ops uses msi_irq_ack, m

[PATCH 09/10] PCI: dwc: Remove Keystone specific dw_pcie_host_ops

2018-12-19 Thread Kishon Vijay Abraham I
Now that Keystone started using it's own msi_irq_chip, remove Keystone specific callback function defined in dw_pcie_host_ops. Signed-off-by: Kishon Vijay Abraham I --- .../pci/controller/dwc/pcie-designware-host.c | 45 ++- drivers/pci/controller/dwc/pcie-designware.h | 5 ---

[PATCH 05/10] PCI: keystone: Use hwirq to get the IRQ number offset

2018-12-19 Thread Kishon Vijay Abraham I
ks_pcie_msi_irq_handler() uses 'virq' to get the IRQ number offset. This offset is used to get the correct MSI_IRQ_STATUS register corresponding to the IRQ line that raised the interrupt. There is no guarantee that 'virq' assigned for consecutive hardware IRQ will be contiguous. And this might get

[PATCH 10/10] PCI: dwc: Do not write to MSI control registers if the platform doesn't use it

2018-12-19 Thread Kishon Vijay Abraham I
Platforms which populate msi_host_init, has it's own MSI controller logic. Writing to MSI control registers on platforms which doesn't use Designware's MSI controller logic might have side effects. To be safe, do not write to MSI control registers if the platform uses it's own MSI controller logic

[PATCH 02/10] PCI: keystone: Use "dummy_irq_chip" instead of new irqchip for legacy interrupt handling

2018-12-19 Thread Kishon Vijay Abraham I
Instead of creating a new irqchip with empty callback functions, use dummy_irq_chip. Since there is nothing to do in the irqchip callback functions, use handle_simple_irq instead of handle_level_irq. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 24 ++-

[PATCH 00/10] PCI: DWC/Keystone: MSI configuration cleanup

2018-12-19 Thread Kishon Vijay Abraham I
This series tries to address the comments discussed in [1] w.r.t removing Keystone specific callbacks defined in dw_pcie_host_ops. This series also tries to cleanup the Keystone interrupt handling part. This series is created on top of git://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.

[REGRESSION] imx_v6_v7_defconfig: undefined reference to `__hyp_stub_vectors'

2018-12-19 Thread Marcel Ziswiler
Hi there I noticed that at least today's and yesterdays -next won't build with the imx_v6_v7_defconfig giving the following error: LD arch/arm/boot/compressed/vmlinux arch/arm/boot/compressed/head.o: In function `restart': (.text+0xa8): undefined reference to `__hyp_stub_vectors' (.text+0x

Re: linux-next: build warnings after merge of the wireless-drivers-next tree

2018-12-19 Thread Kalle Valo
"Grumbach, Emmanuel" writes: >> >> Stephen Rothwell writes: >> >> > On Fri, 30 Nov 2018 12:05:55 +1100 Stephen Rothwell >> wrote: >> >> >> >> After merging the wireless-drivers-next tree, today's linux-next >> >> build >> >> (x86_64 allmodconfig) produced these warnings: >> >> >> >> drivers/n

[PATCH v2 1/1] ARM: sti: remove pen_release and boot_lock

2018-12-19 Thread patrice.chotard
From: Patrice Chotard The pen_release implementation was created for Versatile platforms to work around boot loaders that did not differentiate between the various different secondary CPUs on this ARM development platform. This should not be true of modern platforms where we send IPIs to specific

[PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Daniel Vetter
This is the much more correct fix for my earlier attempt at: https://lkml.org/lkml/2018/12/10/118 Short recap: - There's not actually a locking issue, it's just lockdep being a bit too eager to complain about a possible deadlock. - Contrary to what I claimed the real problem is recursion on

Re: [PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-12-19 Thread Mark Brown
On Tue, Dec 18, 2018 at 05:51:12PM +0200, Roger Quadros wrote: > We could combine control and debug into one iomap and use > 2 regmap ranges. But this is really working around the > regmap_mmio limitation of not being able to use more than one ioremaps. > Mark, any suggestions? If they're separa

Re: [PATCH] hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable.

2018-12-19 Thread Greg KH
On Wed, Dec 19, 2018 at 05:34:32PM +0530, Buland Singh wrote: > On 12/19/18 3:16 PM, Greg KH wrote: > > On Wed, Dec 19, 2018 at 02:55:02PM +0530, Buland Singh wrote: > > > The kernel command parameter 'hpet_mmap' never takes effect due to missing > > > '=' character in the __setup() code of hpet_mm

[PATCH v2] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-19 Thread Anup Patel
The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currently, execption table section (loadable section) is after BSS section (non-loadable section) in the R

[PATCH v2 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Adjusted the position of KOMEDA by alphabetical order Signed-off-by: James (Qian) Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 254b7b267731..e48c2e5fd29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1124,6 +1124,15 @@ S:

[PATCH v2 8/9] drm/doc: Add initial komeda driver documentation

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Some editing changes according to Randy Dunlap's comments Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 488 +++ 2 files changed, 489 insertions(+) create mode 100644 Documentation/gpu/komeda-kms

[PATCH v2 6/9] drm/komeda: Add komeda_framebuffer

2018-12-19 Thread james qian wang (Arm Technology China)
komeda_framebuffer is for extending drm_framebuffer to add komeda own attributes and komeda specific fb handling. Signed-off-by: James (Qian) Wang --- drivers/gpu/drm/arm/display/komeda/Makefile | 3 +- .../arm/display/komeda/komeda_framebuffer.c | 165 ++ .../arm/display/k

[PATCH v2 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-19 Thread james qian wang (Arm Technology China)
Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs komeda_kms is for connecting DRM-KMS and komeda_dev, like reporti

Re: [GIT PULL 1/3] stm class: Fix a module refcount leak in policy creation error path

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 01:45:17PM +0200, Alexander Shishkin wrote: > Greg Kroah-Hartman writes: > > > On Fri, Dec 14, 2018 at 05:53:45PM +0200, Alexander Shishkin wrote: > >> Commit ccddbbf4ef27 ("stm class: Introduce framing protocol drivers") > > > > I don't see that commit id in Linus's tree,

<    2   3   4   5   6   7   8   9   10   >