Re: [PATCH][drm-next] drm/i915: make structure intel_sprite_plane_funcs static

2017-08-11 Thread Daniel Vetter
On Fri, Aug 11, 2017 at 02:49:38PM +0100, Colin King wrote: > From: Colin Ian King > > The structure intel_sprite_plane_funcs is local to the source > and does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol

[V5 1/2] phy: ralink-usb: add driver for Mediatek/Ralink

2017-08-11 Thread Harvey Hunt
From: John Crispin Add a driver to setup the USB phy on Mediatek/Ralink SoCs. The driver is trivial and only sets up power and host mode. Signed-off-by: John Crispin Signed-off-by: Harvey Hunt Cc: linux-kernel@vger.kernel.org Cc:

Re: [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel

2017-08-11 Thread Arnd Bergmann
On Fri, Aug 11, 2017 at 6:09 PM, Hans de Goede wrote: > On 11-08-17 18:02, Arnd Bergmann wrote: >> Can you clarify which ioctl interface they agreed to? Would they >> only keep the one that the proposed driver implements today, >> or the one we end up with after a full

Re: [PATCH v4 3/5] drm/tinydrm: add support for LEGO MINDSTORMS EV3 LCD

2017-08-11 Thread Noralf Trønnes
Den 09.08.2017 19.59, skrev Noralf Trønnes: Den 07.08.2017 19.39, skrev David Lechner: LEGO MINDSTORMS EV3 has an LCD with a ST7586 controller. This adds a new module for the ST7586 controller with parameters for the LEGO MINDSTORMS EV3 LCD display. Signed-off-by: David Lechner

Re: [PATCH v2 2/5] reset: socfpga: use the reset-simple driver

2017-08-11 Thread Philipp Zabel
Hi Alexandru, thank you for the comments. On Fri, 2017-08-11 at 09:28 -0700, Alexandru Gagniuc wrote: > Hi Phillip, > > On 08/11/2017 06:06 AM, Philipp Zabel wrote: > [snip] > > > @@ -113,8 +137,33 @@ static int reset_simple_probe(struct platform_device > > *pdev) > > > >  

Re: [PATCH V9 1/2] PCI: handle CRS returned by device after FLR

2017-08-11 Thread Sinan Kaya
On 8/10/2017 6:32 PM, Sinan Kaya wrote: >> Alex was concerned that pci_bus_read_dev_vendor_id() could return >> false ("no device here") with an ID value of ~0 for a functional VF >> [1]. >> >> I think that is indeed possible: >> >> - a VF that is ready will return 0x as both Vendor ID and

Re: [PATCH] Do not disable driver and bus shutdown hook when class shutdown hook is set.

2017-08-11 Thread Michal Suchánek
On Fri, 11 Aug 2017 12:28:57 -0300 Henrique de Moraes Holschuh wrote: > On Fri, 11 Aug 2017, Michal Suchánek wrote: > > On 2017-08-10 18:30, Jason Gunthorpe wrote: > > > On Thu, Aug 10, 2017 at 12:18:11PM +0200, Michal Suchánek wrote: > > > > > Existing bus implementations

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-11 Thread Sebastian Ott
On Fri, 11 Aug 2017, Sebastian Ott wrote: > * iommu_release_device must not release the struct device but the > structure it is embedded in: struct iommu_device (I'll send a patch > for that) --->8 >From 2839c92e038af47b8cb569f84d571878c54d1815 Mon Sep 17 00:00:00 2001 From: Sebastian Ott

Re: [PATCH v3 28/28] drm: vboxvideo: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:26:45PM +0200, Hans de Goede wrote: > Hi, > > On 11-08-17 14:33, Cihangir Akturk wrote: > > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > > and drm_*_unreference() helpers. > > > > drm_*_reference() and drm_*_unreference() functions are just >

Re: [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967

2017-08-11 Thread Alexandru Gagniuc
Hi Phillip, On 08/11/2017 06:06 AM, Philipp Zabel wrote: [snip] diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 52d5251660b9b..f7ba01a71daee 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -68,6 +68,16 @@ config RESET_PISTACHIO help This

Re: [v6 08/15] mm: zero struct pages during initialization

2017-08-11 Thread Pasha Tatashin
I believe this deserves much more detailed explanation why this is safe. What actually prevents any pfn walker from seeing an uninitialized struct page? Please make your assumptions explicit in the commit log so that we can check them independently. There is nothing prevents pfn walkers from

Re: [PATCH v3 25/28] drm/vgem: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:33:11PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

Re: [v6 04/15] mm: discard memblock data later

2017-08-11 Thread Michal Hocko
On Fri 11-08-17 11:49:15, Pasha Tatashin wrote: > >I guess this goes all the way down to > >Fixes: 7e18adb4f80b ("mm: meminit: initialise remaining struct pages in > >parallel with kswapd") > > I will add this to the patch. > > >>Signed-off-by: Pavel Tatashin >

[linux-next][PATCH v2] mm/slub.c: add a naive detection of double free or corruption

2017-08-11 Thread Alexander Popov
Add an assertion similar to "fasttop" check in GNU C Library allocator as a part of SLAB_FREELIST_HARDENED feature. An object added to a singly linked freelist should not point to itself. That helps to detect some double free errors (e.g. CVE-2017-2636) without slub_debug and KASAN.

[PATCH] fm10k: Fix misuse of net_ratelimit()

2017-08-11 Thread Joe Perches
Correct the backward logic using !net_ratelimit() Miscellanea: o Add a blank line before the error return label Signed-off-by: Joe Perches --- drivers/net/ethernet/intel/fm10k/fm10k_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] openvswitch: Remove unnecessary newlines from OVS_NLERR uses

2017-08-11 Thread Joe Stringer
On 11 August 2017 at 04:26, Joe Perches wrote: > OVS_NLERR already adds a newline so these just add blank > lines to the logging. > > Signed-off-by: Joe Perches Acked-by: Joe Stringer

Re: perf: multiple mmap of fd behavior on x86/ARM

2017-08-11 Thread Mark Rutland
On Fri, Aug 11, 2017 at 11:25:37AM -0400, Vince Weaver wrote: > On Fri, 11 Aug 2017, Mark Rutland wrote: > > > IIUC by 'rdpmc' you mean direct userspace counter access? > > > > Patches for that never made it upstream. Last I saw, there were no > > patches in a suitable state for review. > >

RE: [linux-devel] [PATCH 1/3] dts: usb3: Add configure-gfladj property to USB3 nod

2017-08-11 Thread Leo Li
> -Original Message- > From: linux-devel-boun...@gforge.freescale.net [mailto:linux-devel- > boun...@gforge.freescale.net] On Behalf Of yinbo@nxp.com > Sent: Friday, August 11, 2017 4:30 AM > To: linux-de...@gforge.freescale.net; Yinbo Zhu ; Rob > Herring

Re: [v6 04/15] mm: discard memblock data later

2017-08-11 Thread Pasha Tatashin
I will address your comment, and send out a new patch. Should I send it out separately from the series or should I keep it inside? I would post it separatelly. It doesn't depend on the rest. OK, I will post it separately. No it does not depend on the rest, but the reset depends on this. So,

[PATCH 2/2] of: Restrict DMA configuration

2017-08-11 Thread Robin Murphy
Moving DMA configuration to happen later at driver probe time had the unnoticed side-effect that we now perform DMA configuration for *every* device represented in DT, rather than only those explicitly created by the of_platform and PCI code. As Christoph points out, this is not really the best

[PATCH 1/2] of: Fix DMA mask generation

2017-08-11 Thread Robin Murphy
Historically, DMA masks have suffered some ambiguity between whether they represent the range of physical memory a device can access, or the address bits a device is capable of driving, particularly since on many platforms the two are equivalent. Whilst there are some stragglers left

Re: Linux 4.4.81

2017-08-11 Thread Greg KH
diff --git a/Makefile b/Makefile index 55adde24..d049e53a6960 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 80 +SUBLEVEL = 81 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/boot/dts/armada-388-gp.dts

Re: [PATCH v3 2/4] seccomp: Add SECCOMP_FILTER_FLAG_KILL_PROCESS

2017-08-11 Thread Tyler Hicks
On 08/09/2017 02:01 PM, Kees Cook wrote: > Right now, SECCOMP_RET_KILL kills the current thread. There have been > a few requests for RET_KILL to kill the entire process (the thread > group), but since seccomp's u32 return values are ABI, and ordered by > lowest value, with RET_KILL as 0, there

Re: [PATCH] ASoC: hdmi-codec: Use different name for playback streams

2017-08-11 Thread Brian Norris
Hi Jeffy, You need to be more careful about the addressee's of your patches. No one on To/CC is a maintainer or a sufficiently-targeted mailing list. I doubt any of the maintainers will read your patch. (I've added alsa-devel for you, but given my understanding of at least Mark's patchwork

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-11 Thread Rik van Riel
On Fri, 2017-08-11 at 09:36 -0700, Mike Kravetz wrote: > On 08/11/2017 08:23 AM, Rik van Riel wrote: > > On Thu, 2017-08-10 at 17:23 +0200, Michal Hocko wrote: > > > On Sun 06-08-17 10:04:25, Rik van Riel wrote: > > > [...] > > > > diff --git a/kernel/fork.c b/kernel/fork.c > > > > index

Re: perf: multiple mmap of fd behavior on x86/ARM

2017-08-11 Thread Mark Rutland
On Fri, Aug 11, 2017 at 12:51:12PM -0400, Vince Weaver wrote: > On Fri, 11 Aug 2017, Mark Rutland wrote: > > Just to check, how does x86 behave on each of those kernel releases? > > > > Many things have changed since v4.4. > > I'm fairly sure this test (well, the equivelent code in >

Re: [PATCH 3/3] iommu: prevent VMD child devices from being remapping targets

2017-08-11 Thread Bjorn Helgaas
On Mon, Aug 07, 2017 at 01:57:13PM -0600, Jon Derrick wrote: > VMD child devices must use the VMD endpoint's ID as the DMA source. > Because of this, there needs to be a way to link the parent VMD > endpoint's DMAR domain to the VMD child devices' DMAR domain such that > attaching and detaching

[PATCH] objtool: Fix objtool fallthrough detection with function padding

2017-08-11 Thread Josh Poimboeuf
When GCC adds NOP padding between functions, those NOPs aren't associated with a function symbol, which breaks objtool's detection of a function falling through to another function. Instead it shows confusing errors like: drivers/mtd/chips/cfi_util.o: warning: objtool: cfi_qry_mode_on()+0x8b:

Re: [PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-08-11 Thread Michael S. Tsirkin
On Fri, Aug 11, 2017 at 04:09:26PM +0200, Paolo Bonzini wrote: > On 10/08/2017 23:41, Michael S. Tsirkin wrote: > >>> Then we probably should fail probe if vq size is too small. > >> What does this mean? > > > > We must prevent driver from submitting s/g lists > vq size to device. > > What is

Re: [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel

2017-08-11 Thread Arnd Bergmann
On Fri, Aug 11, 2017 at 3:23 PM, Hans de Goede wrote: > The vboxguest driver introduces a new userspace API + ABI in the form > of ioctls on a character device. VirtualBox upstream not willing to > commit to keeping this ABI stable was one of the things which has > kept this

Re: [PATCH v3 06/28] drm/cirrus: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:32:52PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

Re: [PATCH v3 10/28] drm/hisilicon: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:32:56PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

Re: [v6 14/15] mm: optimize early system hash allocations

2017-08-11 Thread Pasha Tatashin
Clients can call alloc_large_system_hash() with flag: HASH_ZERO to specify that memory that was allocated for system hash needs to be zeroed, otherwise the memory does not need to be zeroed, and client will initialize it. If memory does not need to be zero'd, call the new

[PATCH] ASoC: Intel: Skylake: make skl_dsp_fw_ops const

2017-08-11 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- sound/soc/intel/skylake/bxt-sst.c | 2 +- sound/soc/intel/skylake/cnl-sst.c | 2 +- sound/soc/intel/skylake/skl-sst.c | 4 ++-- 3 files changed, 4

Re: [PATCH V2 2/2] pinctrl: qcom: spmi-gpio: Add dtest route for digital input

2017-08-11 Thread Bjorn Andersson
On Tue 18 Jul 23:30 PDT 2017, fengl...@codeaurora.org wrote: [..] > @@ -528,6 +547,20 @@ static int pmic_gpio_config_set(struct pinctrl_dev > *pctldev, unsigned int pin, > if (ret < 0) > return ret; > > + if (pad->dtest_buffer == 0) { > + val = 0; > + }

Re: Linux 3.18.64

2017-08-11 Thread Greg KH
diff --git a/Makefile b/Makefile index 5526edb8f0e8..02a30af3aad0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 63 +SUBLEVEL = 64 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/alpha/include/asm/word-at-a-time.h

Re: [PATCH v3] livepatch: introduce shadow variable API

2017-08-11 Thread Josh Poimboeuf
On Fri, Jul 28, 2017 at 01:25:22PM -0400, Joe Lawrence wrote: > Add exported API for livepatch modules: > > klp_shadow_get() > klp_shadow_attach() > klp_shadow_get_or_attach() > klp_shadow_update_or_attach() > klp_shadow_detach() > klp_shadow_detach_all() I like the API. > +Matching

Re: [PATCH] dvb-usb: Add memory free on error path in dw2102_probe()

2017-08-11 Thread Enrico Mioso
For me it's fine. Reviewed-By: Enrico Mioso On Thu, 10 Aug 2017, Anton Vasilyev wrote: Date: Thu, 10 Aug 2017 17:27:44 From: Anton Vasilyev To: Mauro Carvalho Chehab Cc: Anton Vasilyev , Jonathan McDowell

Re: [PATCH 2/3] pci: Generalize is_vmd behavior

2017-08-11 Thread Bjorn Helgaas
On Mon, Aug 07, 2017 at 01:57:12PM -0600, Jon Derrick wrote: > Generalize is_vmd behavior to remove dependency on domain number > checking in pci quirks. > > Signed-off-by: Jon Derrick > --- > arch/x86/include/asm/pci.h | 8 +++- > arch/x86/pci/common.c | 2

Re: [PATCH v6 4/7] mm: refactoring TLB gathering API

2017-08-11 Thread Nadav Amit
Peter Zijlstra wrote: > On Tue, Aug 01, 2017 at 05:08:15PM -0700, Nadav Amit wrote: >> From: Minchan Kim >> >> This patch is a preparatory patch for solving race problems caused by >> TLB batch. For that, we will increase/decrease TLB flush pending

Re: [PATCH] cgroup: remove unneeded checks

2017-08-11 Thread Tejun Heo
On Wed, Aug 09, 2017 at 01:25:21PM +0300, Dan Carpenter wrote: > "descendants" and "depth" are declared as int, so they can't be larger > than INT_MAX. Static checkers complain and it's slightly confusing for > humans as well so let's just remove these conditions. > > Signed-off-by: Dan

Re: [PATCH] drm/vc4: Fix leak of HDMI EDID

2017-08-11 Thread Stefan Wahren
> Eric Anholt hat am 8. August 2017 um 22:56 geschrieben: > > > We don't keep a pointer to it around anywhere, so it's our job to free > it. > > Cc: Stefan Wahren > Link: https://github.com/anholt/linux/issues/101 > Fixes: c8b75bca92cb ("drm/vc4: Add

Re: [PATCH 4.4 18/58] mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries

2017-08-11 Thread Ben Hutchings
On Wed, 2017-08-09 at 12:41 -0700, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Mel Gorman > > commit 3ea277194daaeaa84ce75180ec7c7a2075027a68 upstream. [...] > +/* > + * Reclaim unmaps

Re: [kernel-hardening] [PATCH v5 05/10] arm64/mm: Add support for XPFO

2017-08-11 Thread Laura Abbott
On 08/09/2017 01:07 PM, Tycho Andersen wrote: > From: Juerg Haefliger > > Enable support for eXclusive Page Frame Ownership (XPFO) for arm64 and > provide a hook for updating a single kernel page table entry (which is > required by the generic XPFO code). > > At the

Re: [PATCH v2 2/3] hwmon: (pmbus): Add POWER system power supply driver

2017-08-11 Thread Guenter Roeck
On Fri, Aug 11, 2017 at 09:30:59AM -0500, Eddie James wrote: > > > On 08/10/2017 08:18 PM, Guenter Roeck wrote: > >On Thu, Aug 10, 2017 at 05:19:45PM -0500, Eddie James wrote: > >>From: "Edward A. James" > >> > >>Add the driver to monitor POWER system power supplies with

Re: perf: multiple mmap of fd behavior on x86/ARM

2017-08-11 Thread Vince Weaver
On Fri, 11 Aug 2017, Mark Rutland wrote: > > This isn't some key thing that needs to be fixed, I was just curious about > > the behavior difference between x86 and ARM. > > Sure; likewise I'm curious. well I finally got a current git 64-bit kernel booted on the pi3. Challenge: USB known to

Re: [v6 04/15] mm: discard memblock data later

2017-08-11 Thread Pasha Tatashin
Hi Michal, This suggestion won't work, because there are arches without memblock support: tile, sh... So, I would still need to have: #ifdef CONFIG_MEMBLOCK in page_alloc, or define memblock_discard() stubs in nobootmem headfile. In either case it would become messier than what it is right

Re: [lkp-robot] [sched/fair] dca93994f6: unixbench.score -8.1% regression

2017-08-11 Thread Joel Fernandes
On Thu, Aug 10, 2017 at 7:47 PM, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -8.1% regression of unixbench.score due to commit: > > > commit: dca93994f61becdd8d224155643a44ba284970f6 ("sched/fair: Make PELT > signal more accurate") > url: >

[PATCH] ASoC: Intel: kbl: make snd_pcm_hw_constraint_list const

2017-08-11 Thread Bhumika Goyal
Make these const as they are only passed to the function snd_pcm_hw_constraint_list having the corresponding argument as const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- sound/soc/intel/boards/kbl_rt5663_max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel

2017-08-11 Thread Hans de Goede
Hi, On 11-08-17 18:02, Arnd Bergmann wrote: On Fri, Aug 11, 2017 at 3:23 PM, Hans de Goede wrote: The vboxguest driver introduces a new userspace API + ABI in the form of ioctls on a character device. VirtualBox upstream not willing to commit to keeping this ABI stable

Re: [tip:x86/platform] x86/hyper-v: Use hypercall for remote TLB flush

2017-08-11 Thread Linus Torvalds
On Fri, Aug 11, 2017 at 2:03 AM, Peter Zijlstra wrote: > > I'm sure we talked about using HAVE_RCU_TABLE_FREE for x86 (and yes that > would make it work again), but this was some years ago and I cannot > readily find those emails. I think the only time we really talked

Dear Recipient

2017-08-11 Thread Mr. Bernard Arnault
You have been chosen to benefit from Mr. Bernard Arnault Philanthropic Donation.Reply for more info via Email: firstchap...@surlapetitecote.com Regards, Mr. Bernard Arnault --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-11 Thread Mike Kravetz
On 08/11/2017 08:23 AM, Rik van Riel wrote: > On Thu, 2017-08-10 at 17:23 +0200, Michal Hocko wrote: >> On Sun 06-08-17 10:04:25, Rik van Riel wrote: >> [...] >>> diff --git a/kernel/fork.c b/kernel/fork.c >>> index 17921b0390b4..db1fb2802ecc 100644 >>> --- a/kernel/fork.c >>> +++ b/kernel/fork.c

Re: [RFC PATCH 2/2] bpf: Initialise mod[] in bpf_trace_printk

2017-08-11 Thread Daniel Borkmann
Hi James, On 08/09/2017 10:34 PM, Daniel Borkmann wrote: On 08/09/2017 09:39 AM, James Hogan wrote: [...] time (but please consider looking at the other patch which is certainly a more real issue). Sorry for the delay, started looking into that and whether we have some other options, I'll

[GIT PULL] clk/samsung updates for 4.14-rc1

2017-08-11 Thread Sylwester Nawrocki
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk.git tags/clk-v4.14-samsung for you to fetch changes up to

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-11 Thread Mike Kravetz
On 08/11/2017 09:59 AM, Rik van Riel wrote: > On Fri, 2017-08-11 at 09:36 -0700, Mike Kravetz wrote: >> On 08/11/2017 08:23 AM, Rik van Riel wrote: >>> On Thu, 2017-08-10 at 17:23 +0200, Michal Hocko wrote: On Sun 06-08-17 10:04:25, Rik van Riel wrote: [...] > diff --git

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-11 Thread Sebastian Ott
On Fri, 11 Aug 2017, Sebastian Ott wrote: > * That patch embedded a struct iommu_device within struct zpci_dev but > the iommu_device has a release function (via its class) - so when > the release function gets called it frees memory that was never allocated. > The fix is to not embedd struct

[PATCH v2 2/3] cpuacct: Introduce cgroup_account_cputime[_field]()

2017-08-11 Thread Tejun Heo
>From 1f88d33de13b02e2d6235c0d9451cd10c6e8210f Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 11 Aug 2017 10:24:12 -0700 Introduce cgroup_account_cputime[_field]() which wrap cpuacct_charge() and cgroup_account_field(). This doesn't introduce any functional changes and

Re: [PATCH v3 28/28] drm: vboxvideo: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 12:11 PM, Hans de Goede wrote: > Hi, > > On 11-08-17 18:04, Sean Paul wrote: >> >> On Fri, Aug 11, 2017 at 03:26:45PM +0200, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 11-08-17 14:33, Cihangir Akturk wrote: Use drm_*_get() and drm_*_put()

Re: [PATCH v3 RESEND] f2fs: support journalled quota

2017-08-11 Thread Jaegeuk Kim
On 08/11, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/8/11 9:51, Jaegeuk Kim wrote: > > Hi Chao, > > > > Do we have to add .get_inode_usage ? > > > > I hit a kernel panic on __dquot_transfer() -> check_idq() saying > > "BUG: unable to handle kernel paging request at 0xfff..." > > Could you

Re: [PATCH v4] arm64: allwinner: a64: Add initial NanoPi A64 support

2017-08-11 Thread Jagan Teki
On Fri, Aug 11, 2017 at 6:01 PM, Jagan Teki wrote: > From: Jagan Teki > > NanoPi A64 is a new board of high performance with low cost > designed by FriendlyElec., using the Allwinner A64 SOC. > > Nanopi A64 features > - Allwinner A64, 64-bit

RE: [linux-devel] [PATCH 1/3] dts: usb3: Add configure-gfladj property to USB3 nod

2017-08-11 Thread Sriram Dash
>From: linux-devel-boun...@gforge.freescale.net [mailto:linux-devel- >boun...@gforge.freescale.net] On Behalf Of yinbo@nxp.com >Subject: [linux-devel] [PATCH 1/3] dts: usb3: Add configure-gfladj property to >USB3 >nod > >From: "yinbo.zhu" > >Signed-off-by: yinbo.zhu

Re: [PATCH 2/2] of: Restrict DMA configuration

2017-08-11 Thread Christoph Hellwig
On Fri, Aug 11, 2017 at 05:29:57PM +0100, Robin Murphy wrote: > The good news is that DT already gives us the ammunition to do the right > thing - anything lacking a "dma-ranges" property should be considered > not to have a mapping of DMA address space from its children to its > parent, thus

[PATCH] ALSA: usb: caiaq: audio: Delete two error messages for a failed memory allocation in alloc_urbs()

2017-08-11 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 11 Aug 2017 19:39:06 +0200 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH 7/8] memory: mtk-smi: Rearrange some function position alphabetically

2017-08-11 Thread Robin Murphy
On 11/08/17 10:56, Yong Wu wrote: > Only adjust some code position in Soc numerical order, from mt2701, > mt2712 to mt8173. > > Besides, 3 minor changes: > 1) fix a coding style issue: > CHECK: Alignment should match open parenthesis > + writel(reg_val, > +

Re: [PATCH] USB: core: Avoid race of async_completed() w/ usbdev_release()

2017-08-11 Thread Alan Stern
On Thu, 10 Aug 2017, Douglas Anderson wrote: > While running reboot tests w/ a specific set of USB devices (and > slub_debug enabled), I found that once every few hours my device would > be crashed with a stack that looked like this: > > [ 14.012445] BUG: spinlock bad magic on CPU#0,

[PATCH v3] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-11 Thread Srinivas Pandruvada
For SoC to achieve its lowest power platform idle state a set of hardware preconditions must be met. These preconditions or constraints can be obtained by issuing a device specific method (_DSM) with function "1". Refer to the document provided in the link below. Here during initialization (from

Re: Linux 4.9.42

2017-08-11 Thread Greg KH
diff --git a/Makefile b/Makefile index 82eb3d1ee801..34d4d9f8a4b2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 41 +SUBLEVEL = 42 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index

Linux 4.9.42

2017-08-11 Thread Greg KH
I'm announcing the release of the 4.9.42 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

RE: [linux-devel] [PATCH 2/3] usb: dwc3 : Add support for USB snooping

2017-08-11 Thread Leo Li
> -Original Message- > From: linux-devel-boun...@gforge.freescale.net [mailto:linux-devel- > boun...@gforge.freescale.net] On Behalf Of yinbo@nxp.com > Sent: Friday, August 11, 2017 5:00 AM > To: linux-de...@gforge.freescale.net; Yinbo Zhu ; Rob > Herring

Re: [PATCH v2 2/2] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-11 Thread Srinivas Pandruvada
On Fri, 2017-08-11 at 14:43 +, mario.limoncie...@dell.com wrote: > > > > -Original Message- > > From: Srinivas Pandruvada [mailto:srinivas.pandruvada@linux.intel.c > > om] > > Sent: Thursday, August 10, 2017 5:54 PM > > To: Limonciello, Mario ;

Re: [tip:x86/platform] x86/hyper-v: Use hypercall for remote TLB flush

2017-08-11 Thread Peter Zijlstra
On Fri, Aug 11, 2017 at 09:16:29AM -0700, Linus Torvalds wrote: > On Fri, Aug 11, 2017 at 2:03 AM, Peter Zijlstra wrote: > > > > I'm sure we talked about using HAVE_RCU_TABLE_FREE for x86 (and yes that > > would make it work again), but this was some years ago and I cannot >

Linux 3.18.64

2017-08-11 Thread Greg KH
I'm announcing the release of the 3.18.64 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: unregister_netdevice: waiting for eth0 to become free. Usage count = 1

2017-08-11 Thread Cong Wang
Hi, On Thu, Aug 10, 2017 at 11:12 AM, John Stultz wrote: > On Wed, Aug 9, 2017 at 10:41 PM, Wei Wang wrote: >> Hi John, >> >> Is it possible to try the attached patch? > > Thanks so much for the quick turn around! > > So I dropped all the reverts you

Re: [PATCH v3 46/49] fs/btrfs: convert to bio_for_each_segment_all_sp()

2017-08-11 Thread kbuild test robot
Hi Ming, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc4 next-20170810] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967

2017-08-11 Thread Alexandru Gagniuc
Hi Philipp, On 08/11/2017 06:06 AM, Philipp Zabel wrote: [snip] diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 52d5251660b9b..f7ba01a71daee 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -68,6 +68,16 @@ config RESET_PISTACHIO help This

Re: [PATCH 1/2] of: Fix DMA mask generation

2017-08-11 Thread Christoph Hellwig
On Fri, Aug 11, 2017 at 05:29:56PM +0100, Robin Murphy wrote: > Historically, DMA masks have suffered some ambiguity between whether > they represent the range of physical memory a device can access, or the > address bits a device is capable of driving, particularly since on many > platforms the

[PATCH v2] netfilter: nf_nat_h323: fix logical-not-parentheses warning

2017-08-11 Thread Nick Desaulniers
Clang produces the following warning: net/ipv4/netfilter/nf_nat_h323.c:553:6: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses] if (!set_h225_addr(skb, protoff, data, dataoff, taddr, ^ add parentheses after the '!' to evaluate

Re: [PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-08-11 Thread Paolo Bonzini
On 11/08/2017 19:23, Michael S. Tsirkin wrote: > On Fri, Aug 11, 2017 at 04:09:26PM +0200, Paolo Bonzini wrote: >> On 10/08/2017 23:41, Michael S. Tsirkin wrote: > Then we probably should fail probe if vq size is too small. What does this mean? >>> >>> We must prevent driver from

[uio] panic in name_show()

2017-08-11 Thread Francesco Ruggeri
I have run into this panic while some devices were being hotunplugged, and I am able to easily reproduce it with the attached module, which creates a dummy uio device (in my case /sys/class/uio/uio74). The panic is the result of a race between uio_unregister_device(), which sets idev->info to

Re: [PATCH 2/3] pci: Generalize is_vmd behavior

2017-08-11 Thread Jon Derrick
On 08/11/2017 11:03 AM, Bjorn Helgaas wrote: > On Mon, Aug 07, 2017 at 01:57:12PM -0600, Jon Derrick wrote: >> Generalize is_vmd behavior to remove dependency on domain number >> checking in pci quirks. >> >> Signed-off-by: Jon Derrick >> --- >>

Re: [RFC PATCH 1/6] bsg: fix kernel panic resulting from missing allocation of a reply-buffer

2017-08-11 Thread Benjamin Block
On Fri, Aug 11, 2017 at 05:35:53PM +0200, Christoph Hellwig wrote: > On Fri, Aug 11, 2017 at 05:32:03PM +0200, Benjamin Block wrote: > > So when the bsg interface is used with something different than the > > bsg-lib request queue? > > Yes. > > > I haven't actually thought about that (presuming

Re: [v6 07/15] mm: defining memblock_virt_alloc_try_nid_raw

2017-08-11 Thread Pasha Tatashin
On 08/11/2017 08:39 AM, Michal Hocko wrote: On Mon 07-08-17 16:38:41, Pavel Tatashin wrote: A new variant of memblock_virt_alloc_* allocations: memblock_virt_alloc_try_nid_raw() - Does not zero the allocated memory - Does not panic if request cannot be satisfied OK, this looks good

Re: [PATCH v3 04/28] drm/ast: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:32:50PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

Re: [PATCH] selftests: memfd: Align STACK_SIZE for ARM AArch64 system

2017-08-11 Thread Shuah Khan
On 08/11/2017 09:55 AM, Sumit Semwal wrote: > Hello Orson, > > Thanks for the patch. > > On 10 August 2017 at 16:34, Orson Zhai wrote: >> The stack size should be 16 bytes aligned in arm64 system. The similar >> patch has been merged already. >> >>> >>> selftests:

Re: [PATCH V2 1/2] pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype

2017-08-11 Thread Bjorn Andersson
On Tue 18 Jul 23:30 PDT 2017, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > GPIO LV (low voltage)/MV (medium voltage) subtypes have different > features and register mappings than 4CH/8CH subtypes. Add support > for LV and MV subtypes. > > Signed-off-by:

Re: [tip:x86/asm] objtool: Track DRAP separately from callee-saved registers

2017-08-11 Thread Andy Lutomirski
On Fri, Aug 11, 2017 at 5:13 AM, tip-bot for Josh Poimboeuf wrote: > Commit-ID: bf4d1a83758368c842c94cab9661a75ca98bc848 > Gitweb: http://git.kernel.org/tip/bf4d1a83758368c842c94cab9661a75ca98bc848 > Author: Josh Poimboeuf > AuthorDate: Thu, 10 Aug

Re: [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967

2017-08-11 Thread Philipp Zabel
Hi Alexandru, On Fri, 2017-08-11 at 09:04 -0700, Alexandru Gagniuc wrote: > Hi Phillip, > > On 08/11/2017 06:06 AM, Philipp Zabel wrote: > [snip] > > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > index 52d5251660b9b..f7ba01a71daee 100644 > > --- a/drivers/reset/Kconfig > >

Re: perf: multiple mmap of fd behavior on x86/ARM

2017-08-11 Thread Vince Weaver
On Fri, 11 Aug 2017, Mark Rutland wrote: > IIRC, patches were sent back in 2014, but as I mentioned above, those > were far from suitable for upstream, even ignoring cases like > big.LITTLE. Said patches were never reworked and reposted. Here's the commit message in the perf_event_tests tree,

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-11 Thread Sebastian Ott
Hello Joerg, On Fri, 11 Aug 2017, Joerg Roedel wrote: > Hey Sebastian, > > On Thu, Aug 10, 2017 at 09:07:06PM +0200, Sebastian Ott wrote: > > With this patch pci hot-unplug fails with a use after free or refcounting > > issue - I'm currently trying to understand what's going on... > > Let me

Re: [PATCH 2/8] iommu/mediatek: Add mt2712 IOMMU support

2017-08-11 Thread Robin Murphy
On 11/08/17 10:56, Yong Wu wrote: > The M4U IP blocks in mt2712 is MTK's generation2 M4U which use the > Short-descriptor like mt8173, and most of the HW registers are the > same. > > The difference is that there are 2 M4U HWs in mt2712 while there's > only one in mt8173. The purpose of 2 M4U HWs

Re: [kernel-hardening] [PATCH v5 06/10] arm64/mm: Disable section mappings if XPFO is enabled

2017-08-11 Thread Laura Abbott
On 08/09/2017 01:07 PM, Tycho Andersen wrote: > From: Juerg Haefliger > > XPFO (eXclusive Page Frame Ownership) doesn't support section mappings > yet, so disable it if XPFO is turned on. > > Signed-off-by: Juerg Haefliger > Tested-by:

Re: [PATCH] netfilter: nf_nat_h323: fix logical-not-parentheses warning

2017-08-11 Thread Pablo Neira Ayuso
Hi Nick, On Mon, Jul 31, 2017 at 11:39:49AM -0700, Nick Desaulniers wrote: > Clang produces the following warning: [...] > Also, it's even cleaner to use the form: > > if (x) > > but then if the return codes change from treating 0 as success (unlikely), > then all call sites must be updated. >

Re: [RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel

2017-08-11 Thread Hans de Goede
Hi, On 11-08-17 18:32, Arnd Bergmann wrote: On Fri, Aug 11, 2017 at 6:09 PM, Hans de Goede wrote: On 11-08-17 18:02, Arnd Bergmann wrote: Can you clarify which ioctl interface they agreed to? Would they only keep the one that the proposed driver implements today, or the

[PATCH] NTB: make idt_89hpes_cfg const

2017-08-11 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/ntb/hw/idt/ntb_hw_idt.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c

Re: [PATCH v2] drm/i915: Return correct EDP voltage swing table for 0.85V

2017-08-11 Thread Rodrigo Vivi
On Fri, Aug 11, 2017 at 11:32 AM, Matthias Kaehlcke wrote: > El Mon, Jul 17, 2017 at 12:58:54PM -0700 Matthias Kaehlcke ha dit: > >> For 0.85V cnl_get_buf_trans_edp() returns the DP table, instead of EDP. >> Use the correct table. >> >> The error was pointed out by this clang

Re: [PATCH 3/3] iommu: prevent VMD child devices from being remapping targets

2017-08-11 Thread Jon Derrick
Hi Robin, thanks for the reply. On 08/11/2017 12:25 PM, Robin Murphy wrote: > On 07/08/17 20:57, Jon Derrick wrote: >> VMD child devices must use the VMD endpoint's ID as the DMA source. >> Because of this, there needs to be a way to link the parent VMD >> endpoint's DMAR domain to the VMD child

Re: [PATCH v3 13/28] drm/mediatek: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:01:40PM +0200, Philipp Zabel wrote: > On Fri, 2017-08-11 at 15:32 +0300, Cihangir Akturk wrote: > > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > > and drm_*_unreference() helpers. > > > > drm_*_reference() and drm_*_unreference() functions are

Re: [PATCH v3 20/28] drm/rockchip: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:33:06PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

Re: [PATCH v3 23/28] drm/udl: switch to drm_*_get(), drm_*_put() helpers

2017-08-11 Thread Sean Paul
On Fri, Aug 11, 2017 at 03:33:09PM +0300, Cihangir Akturk wrote: > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() > and drm_*_unreference() helpers. > > drm_*_reference() and drm_*_unreference() functions are just > compatibility alias for drm_*_get() and drm_*_put() and

  1   2   3   4   5   6   7   8   9   10   >