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

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

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

2018-12-19 Thread Daniel Baluta
ster 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] 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) \ > >

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 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

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

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

[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

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.

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

/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

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

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: [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 @@

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 > > > > > >

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 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

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

2018-12-19 Thread Daniel Baluta
n 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: Stephen Rothwell > Dat

[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: [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

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: > >

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

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 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

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

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

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.

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

[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

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

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: [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

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] 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

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: [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. >

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

[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

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

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 > > >

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 Board. > > Cc: Sergei Shtylyov > Cc: Rob Herring > Cc: Mark Rutland > Cc: John Stultz > Cc: Binghui Wang > Signed-off-by: Yu Chen

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

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 > --- >

[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

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,

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 ;

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

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

2018-12-19 Thread Wei Yang
On Wed, Dec 19, 2018 at 02:25:28PM +, Wei Yang wrote: >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

GFS2: Pull request (merge window)

2018-12-19 Thread Bob Peterson
Hi Linus, Please consider pulling the following changes for the GFS2 file system. Regards, Bob Peterson The following changes since commit 40e020c129cfc991e8ab4736d2665351ffd1468d: Linux 4.20-rc6 (2018-12-09 15:31:00 -0800)

pull-request: wireless-drivers 2018-12-19

2018-12-19 Thread Kalle Valo
Hi Dave, this a pull request to net tree for 4.20, more info below. Really sorry for sending a late request like this but I have been busy with other stuff and this just got delayed. These are pretty important fixes so I hope there's still time to get them to 4.20. But if there's not time,

Re: [PATCH 3/4] iommu/of: Don't call iommu_ops->add_device directly

2018-12-19 Thread Joerg Roedel
Hi Marek, thanks for the report! On Wed, Dec 19, 2018 at 10:54:18AM +0100, Marek Szyprowski wrote: > On 2018-12-11 16:05, Joerg Roedel wrote: > > From: Joerg Roedel > > > > Make sure to invoke this call-back through the proper > > function of the IOMMU-API. > > > > Signed-off-by: Joerg Roedel

Re: [PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 9:44 PM Ingo Molnar wrote: > > > * Masahiro Yamada wrote: > > > This series reverts the in-kernel workarounds for inlining issues. > > > > The commit description of 77b0bf55bc67 mentioned > > "We also hope that GCC will eventually get fixed,..." > > > > Now, GCC provides

Re: [RFC BUG] pci: Freescale i.MX6 PCIe controller: revert mainline regression

2018-12-19 Thread Sven Van Asbroeck
Thank you Trent ! This patch was intended as a bug report, rather than an actual solution to be merged. I chose this format so people could easily verify the change in behaviour, just by applying the patch locally. On Tue, Dec 18, 2018 at 6:06 PM Trent Piepho wrote: > > > It's actually commit

Re: A weird problem of Realtek r8168 after resume from S3

2018-12-19 Thread Chris Chiu
On Wed, Dec 19, 2018 at 2:22 AM Heiner Kallweit wrote: > > On 18.12.2018 14:25, Chris Chiu wrote: > > On Tue, Dec 18, 2018 at 3:08 AM Heiner Kallweit > > wrote: > >> > >> On 17.12.2018 14:25, Chris Chiu wrote: > >>> On Fri, Dec 14, 2018 at 3:37 PM Heiner Kallweit > >>> wrote: > > On

Re: [PATCH v3 2/3] drm/msm/dpu: Integrate interconnect API in MDSS

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where

Re: remove exofs, the T10 OSD code and block/scsi bidi support V3

2018-12-19 Thread Christoph Hellwig
On Mon, Nov 26, 2018 at 07:11:10PM +0200, Boaz Harrosh wrote: > On 11/11/18 15:32, Christoph Hellwig wrote: > > The only real user of the T10 OSD protocol, the pNFS object layout > > driver never went to the point of having shipping products, and we > > removed it 1.5 years ago. Exofs is just a

Re: [PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-12-19 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes

Re: [PATCH 01/14] drm/bochs: encoder cleanup

2018-12-19 Thread Oleksandr Andrushchenko
Hi, Gerd! On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_kms.c | 26 -- 1 file changed, 26 deletions(-) diff

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Sean Christopherson
On Wed, Dec 19, 2018 at 09:36:16AM +, Jethro Beekman wrote: > On 2018-12-19 14:41, Jarkko Sakkinen wrote: > >On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: > >>One weird thing is the departure from the normal mmap behavior that the > >>memory mapping persists even if the

[GIT PULL] KVM fixes for 4.20-rc8 (or final)

2018-12-19 Thread Paolo Bonzini
Linus, The following changes since commit 7566ec393f4161572ba6f11ad5171fd5d59b0fbd: Linux 4.20-rc7 (2018-12-16 15:46:55 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCH v2] scripts: add a tool to produce a compile_commands.json file

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 8:40 AM Tom Roeder wrote: > > The LLVM/Clang project provides many tools for analyzing C source code. > Many of these tools are based on LibTooling > (https://clang.llvm.org/docs/LibTooling.html), which depends on a > database of compiler flags. The standard container for

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Dr. Greg
On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: Good morning, I everyone is weathering the pre-holiday season well. > On 2018-12-19 13:28, Jarkko Sakkinen wrote: > > * @eclave_fd: file handle to the enclave address space > > * @attribute_fd:file handle of the

Re: [PATCH resend] openrisc: Fix broken paths to arch/or32

2018-12-19 Thread Stafford Horne
On Mon, Dec 03, 2018 at 01:20:47PM +0100, Geert Uytterhoeven wrote: > OpenRISC was mainlined as "openrisc", not "or32". > vmlinux.lds is generated from vmlinux.lds.S. > > Signed-off-by: Geert Uytterhoeven Thanks, Sorry for the delay. I will queue this up. -Stafford > --- >

Re: [PATCH] ppp: Move PFC decompression to PPP generic layer

2018-12-19 Thread Guillaume Nault
On Wed, Dec 19, 2018 at 02:08:08AM +0200, Sam Protsenko wrote: > Extract "Protocol" field decompression code from transport protocols to > PPP generic layer, where it actually belongs. As a consequence, this > patch fixes incorrect place of PFC decompression in L2TP driver (when > it's not

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-12-19 Thread Christoph Hellwig
On Wed, Dec 19, 2018 at 05:18:35PM +0900, Tomasz Figa wrote: > The existing code that deals with dma_alloc_attrs() without > DMA_ATTR_NON_CONSISTENT would just call dma_get_sgtable_attrs() like > here: I know. And dma_get_sgtable_attrs is fundamentally flawed and we need to kill this interface

Re: [PATCH 3/4] iommu/of: Don't call iommu_ops->add_device directly

2018-12-19 Thread Marek Szyprowski
Hi Joerg, On 2018-12-19 15:34, Joerg Roedel wrote: > Hi Marek, > > thanks for the report! > > On Wed, Dec 19, 2018 at 10:54:18AM +0100, Marek Szyprowski wrote: >> On 2018-12-11 16:05, Joerg Roedel wrote: >>> From: Joerg Roedel >>> >>> Make sure to invoke this call-back through the proper >>>

Re: [PATCH v6 3/4] thermal: tegra: parse sensor id before sensor register

2018-12-19 Thread Eduardo Valentin
On Wed, Dec 19, 2018 at 11:00:10AM +0800, Wei Ni wrote: > > > On 19/12/2018 9:24 AM, Eduardo Valentin wrote: > > On Fri, Dec 14, 2018 at 05:49:52PM +0800, Wei Ni wrote: > >> Since different platforms may not support all 4 > >> sensors, so the sensor registration may be failed. > >> Add codes to

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

2018-12-19 Thread Valentin Schneider
On 19/12/2018 13:39, Vincent Guittot wrote: [...] >> I used that setup out of convenience for myself, but AFAICT that use-case >> just stresses that issue. > > After looking at you UC in details, your problem comes from the wl=1 > for cpu0 whereas there is no running task. > But wl!=0 without

Re: [PATCH 00/27] kconfig: remove all reduce/shift conflicts, refactor lexer, fix various issues

2018-12-19 Thread Masahiro Yamada
On Tue, Dec 11, 2018 at 8:04 PM Masahiro Yamada wrote: > > > When I tryed to change something, I was often hit by annoying > shift/reduce conflicts in the parser. > > The lexer and parser are too cluttered. > > So, I decided to clean-up now. > > - Fix all shift/reduce conflicts in the parser >

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

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 02:26:22PM +0100, Daniel Vetter wrote: > 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: > > > > ---

Re: [PATCH 0/7] tracing: Hist trigger var-ref cleanup and comments

2018-12-19 Thread Tom Zanussi
Hi Namhyung, On Wed, 2018-12-19 at 20:45 +0900, Namhyung Kim wrote: > Hi Tom, > > On Tue, Dec 18, 2018 at 02:33:19PM -0600, Tom Zanussi wrote: > > From: Tom Zanussi > > > > Hi, > > > > This patchset is a standalone series broken out of the v8 version > > of > > the 'tracing: Hist trigger

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

2018-12-19 Thread Harsh Shandilya
On 18 December 2018 10:09:12 PM IST, 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 these being applied, please >let me know. >

Re: [PATCH v3 0/3] Make STM32 interrupt controller use hwspinlock

2018-12-19 Thread Alexandre Torgue
Hi Marc, On 12/18/18 4:39 PM, Marc Zyngier wrote: On 17/12/2018 14:22, Benjamin Gaignard wrote: This series allow to protect STM32 interrupt controller configuration registers with a hwspinlock to avoid conflicting accesses between processors. version 3: - with bindings patch version 2: -

Re: [PATCH 3/7] tracing: Use var_refs[] for hist trigger reference checking

2018-12-19 Thread Tom Zanussi
Hi Masami, On Wed, 2018-12-19 at 21:22 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 18 Dec 2018 14:33:22 -0600 > Tom Zanussi wrote: > > > From: Tom Zanussi > > > > Since all the variable reference hist_fields are collected into > > hist_data->var_refs[] array, there's no need to go

Re: [PATCH v5 1/2] scsi: hisi_sas: Add support for DIF feature for v2 hw

2018-12-19 Thread John Garry
On 19/12/2018 04:35, Martin K. Petersen wrote: John, From: Xiang Chen For v3 hw, we support DIF operation for SAS, but not SATA. In addition, DIF CRC16 is supported. This patchset adds the SW support for the described features. The main components are as follows: - Get protection mask

Re: [PATCH 0/7] tracing: Hist trigger var-ref cleanup and comments

2018-12-19 Thread Tom Zanussi
On Wed, 2018-12-19 at 21:27 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 18 Dec 2018 14:33:19 -0600 > Tom Zanussi wrote: > > > From: Tom Zanussi > > > > Hi, > > > > This patchset is a standalone series broken out of the v8 version > > of > > the 'tracing: Hist trigger snapshot and

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

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 02:42:45PM +0100, Daniel Vetter wrote: > 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

Re: /proc/modules not showing any output

2018-12-19 Thread Greg KH
On Wed, Dec 19, 2018 at 06:52:39PM +0530, Praveen Kumar wrote: > 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

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 15:59, Valentin Schneider wrote: > > > > On 19/12/2018 13:39, Vincent Guittot wrote: > [...] > >> I used that setup out of convenience for myself, but AFAICT that use-case > >> just stresses that issue. > > > > After looking at you UC in details, your problem comes from the

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

2018-12-19 Thread Sven Van Asbroeck
This patch seems to fix the regression on my board: i.MX6 with a tg3-based pcie NIC: CPU identified as i.MX6Q, silicon rev 1.5 tg3 :03:00.0 eth0: Tigon3 [partno(BCM57780) rev 57780001] (PCI Express) Tested-by: Sven Van Asbroeck On Wed, Dec 19, 2018 at 12:25 AM Richard Zhu wrote: > >

Re: [PATCH 02/14] drm/bochs: split bochs_hw_setmode

2018-12-19 Thread Oleksandr Andrushchenko
Hi, Gerd! On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Create a separate bochs_hw_setformat function to configure the framebuffer format (actually just the byteorder). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h | 5 +++-- drivers/gpu/drm/bochs/bochs_hw.c | 19

[GIT PULL] Btrfs updates for 4.21

2018-12-19 Thread David Sterba
Hi, I've planned to merge a few more patches to the 1st pull branch that belong to a core change mentioned below as 'delayed refs reserve'. There are review comments that I think should be addressed, so the patches are postponed. Technically they're fixes and I presume it's ok to take them in

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

2018-12-19 Thread Valentin Schneider
On 19/12/2018 15:05, Vincent Guittot wrote: [...] >> True, I had a look at the trace and there doesn't seem to be any running >> task on that CPU. That's a separate matter however - the rounding issues >> can happen regardless of the wl values. > > But it means that the rounding fix +1 works and

[WRONG] KVM: arm/arm64: vgic: fix off-by-one bug in vgic_get_irq()

2018-12-19 Thread Gustavo A. R. Silva
Hi Marc, This is wrong: commit 6022fcc0e87a0eb5e9a72b15ed70dd29ebcb7343 The above is not my original patch and it should not be tagged for stable, as it introduces the same kind of bug I intended to fix: array_index_nospec() can now return kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS and this

Re: [PATCH 3/3] arm64/sve: Disentangle from

2018-12-19 Thread Szabolcs Nagy
On 18/12/2018 12:14, Dave Martin wrote: > On Sat, Dec 15, 2018 at 05:20:29PM +0800, kbuild test robot wrote: >> Hi Dave, >> >> Thank you for the patch! Perhaps something to improve: >> >> [auto build test WARNING on arm64/for-next/core] >> [also build test WARNING on v4.20-rc6 next-20181214] >>

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

2018-12-19 Thread Marcel Ziswiler
On Wed, 2018-12-19 at 12:20 -0200, Fabio Estevam wrote: > Hi Daniel, > > On Wed, Dec 19, 2018 at 11:32 AM Daniel Baluta < > daniel.bal...@gmail.com> wrote: > > On Wed, Dec 19, 2018 at 3:17 PM Daniel Baluta < > > daniel.bal...@nxp.com> wrote: > > > > > > On Wed, 2018-12-19 at 12:42 +, Marcel

Re: [PATCH v2] media: uvcvideo: Fix 'type' check leading to overflow

2018-12-19 Thread Alistair Strachan
On Wed, Dec 19, 2018 at 12:16 AM Laurent Pinchart wrote: > > Hi Alistair, > > Thank you for the patch. > > On Wednesday, 19 December 2018 03:32:48 EET Alistair Strachan wrote: > > From: Laurent Pinchart > > Are you sure you don't want to keep authorship ? I've merely reviewed v1 and > proposed

Re: [PATCH v8 2/2] PCI: amlogic: Add the Amlogic Meson PCIe controller driver

2018-12-19 Thread Lorenzo Pieralisi
On Wed, Dec 19, 2018 at 07:13:47PM +0800, Hanjie Lin wrote: > > > On 2018/12/19 6:47, Bjorn Helgaas wrote: > > On Tue, Dec 18, 2018 at 04:04:46PM +0800, Hanjie Lin wrote: > >> From: Yue Wang > >> > >> The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > >> PCI core. This

Re: [PATCH] cifs: handle allocation failures early

2018-12-19 Thread Aurélien Aptel
Reviewed-by: Aurelien Aptel -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

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

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 19, 2018 at 08:31:25PM +0530, Harsh Shandilya wrote: > On 18 December 2018 10:09:12 PM IST, 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.

Re: [PATCH] arc: remove redundant kernel-space generic-y

2018-12-19 Thread Masahiro Yamada
Hi Vineet, On Mon, Dec 17, 2018 at 2:07 PM Vineet Gupta wrote: > > On 12/16/18 6:17 AM, Masahiro Yamada wrote: > > This commit removes redundant generic-y defines in > > arch/arc/include/asm/Kbuild. > > > > It is redundant to define generic-y when arch-specific implementation > > exists in

[PATCH] arch/x86/kernel/topology: Make DEBUG_HOTPLUG_CPU0 pr_info more descriptive

2018-12-19 Thread Juri Lelli
DEBUG_HOTPLUG_CPU0 debug feature offlines a CPU as early as possible allowing userspace to boot up without that CPU (so that it is possible to check for unwanted dependencies towards the offlined CPU). After doing so it emits a "CPU %u is now offline" pr_info, which is not enough descriptive of

Re: [PATCH] ASoC: xlnx: change license header format style

2018-12-19 Thread Christoph Hellwig
On Wed, Dec 19, 2018 at 03:10:40PM +0530, Maruthi Srinivas Bayyavarapu wrote: > Changed License header from C to C++ style comment block. Why this completely pointless uglification that goes counter to the common style all over the kernel?

[PATCH v2 1/3] stm class: Fix a module refcount leak in policy creation error path

2018-12-19 Thread Alexander Shishkin
Commit c7fd62bc69d0 ("stm class: Introduce framing protocol drivers") adds a bug into the error path of policy creation, that would do a module_put() on a wrong module, if one tried to create a policy for an stm device which already has a policy, using a different protocol. IOW, | mkdir

[PATCH v2 0/3] stm class/intel_th: Fixes for v4.20

2018-12-19 Thread Alexander Shishkin
tags/intel_th-fixes-for-greg-20181219 for you to fetch changes up to 28b39d95ea6f6b4ad8f6516cab135e85c577ebea: intel_th: msu: Fix an off-by-one in attribute store (2018-12-19 13:43:53 +0200) stm class/intel_th: Fixes for v4.20

[PATCH v2 3/3] intel_th: msu: Fix an off-by-one in attribute store

2018-12-19 Thread Alexander Shishkin
The 'nr_pages' attribute of the 'msc' subdevices parses a comma-separated list of window sizes, passed from userspace. However, there is a bug in the string parsing logic wherein it doesn't exclude the comma character from the range of characters as it consumes them. This leads to an out-of-bounds

[PATCH v2 2/3] stm class: Add a reference to the SyS-T document

2018-12-19 Thread Alexander Shishkin
Commit 4cb3653df0cd ("stm class: Document the MIPI SyS-T protocol usage") added a document describing the SyS-T protocol usage, but forgot to add it to the directory index. Fix that. Signed-off-by: Alexander Shishkin Fixes: 4cb3653df0cd ("stm class: Document the MIPI SyS-T protocol usage") ---

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 16:11, Valentin Schneider wrote: > > On 19/12/2018 15:05, Vincent Guittot wrote: > [...] > >> True, I had a look at the trace and there doesn't seem to be any running > >> task on that CPU. That's a separate matter however - the rounding issues > >> can happen regardless of

<    1   2   3   4   5   6   7   8   9   10   >