Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Jan Fajerski
On Fri, Apr 21, 2017 at 10:22:16AM +0800, Yan, Zheng wrote: On 20 Apr 2017, at 20:40, Alexander Graf wrote: The file open flags (O_foo) are platform specific and should never go out to an interface that is not local to the system. Unfortunately these flags have leaked out onto the wire in th

Re: [PATCH 2/6] locking: Introduce range reader/writer lock

2017-04-21 Thread Laurent Dufour
On 20/04/2017 18:01, Davidlohr Bueso wrote: >>> +int range_read_trylock(struct range_rwlock_tree *tree, struct >>> range_rwlock *lock) >>> +{ >>> +int ret = true; >>> +unsigned long flags; >>> +struct interval_tree_node *node; >>> + >>> +spin_lock_irqsave(&tree->lock, flags); >>> +

[PATCH] PCI: imx6: fix spelling mistake: "contol" -> "control"

2017-04-21 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in dev_err message Signed-off-by: Colin Ian King --- drivers/pci/dwc/pci-imx6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/dwc/pci-imx6.c b/drivers/pci/dwc/pci-imx6.c index 102edcf1e261..129717ae5022

Re: your mail

2017-04-21 Thread Michal Hocko
On Fri 21-04-17 13:38:28, Joonsoo Kim wrote: > On Thu, Apr 20, 2017 at 09:28:20AM +0200, Michal Hocko wrote: > > On Thu 20-04-17 10:27:55, Joonsoo Kim wrote: > > > On Mon, Apr 17, 2017 at 10:15:15AM +0200, Michal Hocko wrote: > > [...] > > > > Which pfn walkers you have in mind? > > > > > > For ex

Re: [PATCH 3.18 000/124] 3.18.50-stable review

2017-04-21 Thread Greg Kroah-Hartman
On Thu, Apr 20, 2017 at 01:37:56PM -0700, kernelci.org bot wrote: > stable-rc/linux-3.18.y boot: 283 boots: 3 failed, 262 passed with 18 offline > (v3.18.49-125-g7379419992fb) Yeah, thanks for adding 3.18 back to the builds! I'm guessing this is all ok... thanks, greg k-h

Re: [PATCH] platform/x86: INT33FE: add i2c dependency

2017-04-21 Thread Hans de Goede
Hi, On 20-04-17 14:51, Tobias Regnery wrote: With CONFIG_I2C=m and CONFIG_INTEL_CHT_INT33FE=y we see the following link errors: drivers/built-in.o: In function 'cht_int33fe_remove': intel_cht_int33fe.c:(.text+0x391f6e): undefined reference to 'i2c_unregister_device' intel_cht_int33fe.c:(.text+

Re: [PATCH -mm -v9 1/3] mm, THP, swap: Delay splitting THP during swap out

2017-04-21 Thread Huang, Ying
Balbir Singh writes: > On Wed, 2017-04-19 at 15:06 +0800, Huang, Ying wrote: >> From: Huang Ying >> >> In this patch, splitting huge page is delayed from almost the first >> step of swapping out to after allocating the swap space for the >> THP (Transparent Huge Page) and adding the THP into th

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Alexander Graf
> Am 21.04.2017 um 08:59 schrieb Jan Fajerski : > >> On Fri, Apr 21, 2017 at 10:22:16AM +0800, Yan, Zheng wrote: >> >>> On 20 Apr 2017, at 20:40, Alexander Graf wrote: >>> >>> The file open flags (O_foo) are platform specific and should never go >>> out to an interface that is not local to th

Re: [PATCH 3/4] nfs: remove the objlayout driver

2017-04-21 Thread Valentin Rothberg
Hi Christoph, I just came across this patch in linux-next commit 6d22323b2e9f. scripts/checkkconfigsymbols.py reports that there is a leftover reference on PNFS_OBJLAYOUT in fs/exofs/Kconfig.ore line 10 (depends on EXOFS_FS || PNFS_OBJLAYOUT). I assume that this reference can safely be removed now

Re: powerpc KVM build break in linux-next (was Re: [PATCH tip/core/rcu 40/40] srcu: Parallelize callback handling)

2017-04-21 Thread Paolo Bonzini
On 21/04/2017 06:17, Paul E. McKenney wrote: >> Thanks, this looks perfect to me, and if you're happy to put it on top >> of your tree that would limit the breakage to a smaller history window, >> so that would be ideal. >> >> Tested-by: Michael Ellerman > Thank you, Michael! > > Paolo, does th

Re: [PATCH net-next] net: dsa: Remove redundant NULL dst check

2017-04-21 Thread Juergen Borleis
Hi Florian, On Friday 21 April 2017 00:47:22 Florian Fainelli wrote: > tag_lan9303.c does check for a NULL dst but that's already checked by > dsa_switch_rcv() one layer above. > > Signed-off-by: Florian Fainelli > --- > net/dsa/tag_lan9303.c | 5 - > 1 file changed, 5 deletions(-) > > diff

Re: [PATCH V5 5/7] ARM: sun8i: Use - instead of @ for DT OPP entries

2017-04-21 Thread Maxime Ripard
On Thu, Apr 20, 2017 at 04:25:09PM +0530, Viresh Kumar wrote: > Compiling the DT file with W=1, DTC warns like follows: > > Warning (unit_address_vs_reg): Node /opp_table0/opp@10 has a > unit name, but no reg property > > Fix this by replacing '@' with '-' as the OPP nodes will never have

Re: [PATCH v3] Staging: most: use __func__ instead of the function name

2017-04-21 Thread Chandra Annamaneni
Third Reminder. Please review. -- Chandra On Sun, 9 Apr 2017, chandrasekhar annamaneni wrote: > > Second reminder, please review. > > Thanks. > Chandra > > > On Fri, Mar 17, 2017 at 12:49 PM, Chandra Annamaneni > wrote: > > Change video.c to use %s, __func__ instead of function nam

Re: [PATCH RESEND] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS

2017-04-21 Thread Masahiro Yamada
2017-04-21 4:42 GMT+09:00 Matthias Kaehlcke : > From: Michael Davidson > > Add -no-integrated-as to KBUILD_AFLAGS and KBUILD_CFLAGS > for clang. > > Signed-off-by: Michael Davidson > Signed-off-by: Matthias Kaehlcke Michael sent this to the kbuild ML, so you need not re-send it with your addit

[PATCH 2/2 v3 resend] dt-bindings: display: imx: entry for AUS mode

2017-04-21 Thread Martin Kaiser
Allow setting the AUS mode for a display from the device tree. Use an optional boolean property. AUS mode can be set only on imx21 and compatible chipsets. Signed-off-by: Martin Kaiser Acked-by: Rob Herring --- re-sending v3, rebased against current linux-next it seems this got lost along the wa

RE: [PATCH V8 4/5] PCI/ASPM: save power on values during bridge init

2017-04-21 Thread Patel, Mayurkumar
Hi Bjorn/Kaya, > >On 4/17/2017 12:38 PM, Bjorn Helgaas wrote: >>> Like you said, what do we do by default is the question. Should we opt >>> for safe like we are doing, or try to save some power. >> I think safety is paramount. Every user should be able to boot safely >> without any kernel param

[PATCH 1/2 v3 resend] video: fbdev: imxfb: support AUS mode

2017-04-21 Thread Martin Kaiser
Some displays require setting AUS mode in the LDCD AUS Mode Control Register to work with the imxfb driver. Like the value of the Panel Configuration Register, the AUS mode setting depends on the display mode. Allow setting AUS mode from the device tree by adding a boolean property. Make this prop

Re: [PATCH v6 0/6] add support for AXP20X and AXP22X battery power supply driver

2017-04-21 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 09:34:15AM +0200, Quentin Schulz wrote: > This is a series for AXP20X and AXP22X battery power supply without the > support for changing constant charge current from the DT. The patches for > supporting the constant charge current from DT are ready and will be sent > once th

Re: Linux 4.4.63

2017-04-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 0309acc34472..ec52973043f6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 62 +SUBLEVEL = 63 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d5cfa937d622..8b0424a

Linux 4.9.24

2017-04-21 Thread Greg KH
I'm announcing the release of the 4.9.24 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:

Linux 4.4.63

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

[tip:x86/asm] x86/ftrace: Fix ebp in ftrace_regs_caller that screws up unwinder

2017-04-21 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: dc912c303517b01960dcee6875a78b2999f7c098 Gitweb: http://git.kernel.org/tip/dc912c303517b01960dcee6875a78b2999f7c098 Author: Steven Rostedt (VMware) AuthorDate: Thu, 20 Apr 2017 17:22:36 -0400 Committer: Thomas Gleixner CommitDate: Fri, 21 Apr 2017 09:48:16 +0200 x86/ftrace:

Re: [PATCH 1/7] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS

2017-04-21 Thread Masahiro Yamada
Hi Michael, 2017-03-17 9:15 GMT+09:00 Michael Davidson : > Add -no-integrated-as to KBUILD_AFLAGS and KBUILD_CFLAGS > for clang. >From the code-diff, it is apparent that you added -no-integrated-as. Rather, I'd like to see "why" in the git-log. Obviously, clang needs this patch to build the ke

Re: Linux 4.9.24

2017-04-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 0de75976cad5..50436f502d81 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 23 +SUBLEVEL = 24 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c index 0ddf3698b85d.

Linux 4.10.12

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

Re: Linux 4.10.12

2017-04-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 412f2a0a3814..9689d3f644ea 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 10 -SUBLEVEL = 11 +SUBLEVEL = 12 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c index 0ddf3698b85

[PATCH 5/5] Fix errata A-007728 for flextimer

2017-04-21 Thread ying.zhang22455
From: Meng Yi If the FTM counter reaches the FTM_MOD value between the reading of the TOF bit and the writing of 0 to the TOF bit, the process of clearing the TOF bit does not work as expected when FTMx_CONF[NUMTOF] != 0 and the current TOF count is less than FTMx_CONF[NUMTOF]. If the above condi

[PATCH 4/5] arm64: ls1043a: dts: add rcpm and ftm0 nodes

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Add rcpm and ftm0 nodes. The Power Management related features need these nodes. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.

[PATCH 1/5] soc: fsl: add support for arm64/Layerscape SOC specific drivers

2017-04-21 Thread ying.zhang22455
From: Stuart Yoder Signed-off-by: Zhang Ying-22455 --- drivers/soc/Kconfig | 13 + drivers/soc/fsl/Kconfig | 3 +++ drivers/soc/fsl/Kconfig.arm | 16 drivers/soc/fsl/Makefile| 1 + 4 files changed, 33 insertions(+) create mode 100644 drivers/soc/f

[PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
While working on graphics support for virtual machines on ppc64 (which exists in both little and big endian variants) I've figured the comments for various drm fourcc formats in the header file don't match reality. Comments says the RGB formats are little endian, but in practice they are native en

[PATCH 2/5] soc: fsl: add flextimer module alarm driver for Layerscape

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Signed-off-by: Zhang Ying-22455 --- drivers/soc/fsl/layerscape/Kconfig | 10 ++ drivers/soc/fsl/layerscape/Makefile| 1 + drivers/soc/fsl/layerscape/ftm_alarm.c | 274 + 3 files changed, 285 insertions(+) create mode 100644 driver

[PATCH 3/5] arm64: ls1021a: dts: add ftm0 nodes

2017-04-21 Thread ying.zhang22455
From: Wang Dongsheng Add rcpm and ftm0 nodes. The Power Management related features need these nodes. Signed-off-by: Zhang Ying-22455 --- arch/arm/boot/dts/ls1021a.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi

[PATCH] drm: fourcc byteorder: drop DRM_FORMAT_BIG_ENDIAN

2017-04-21 Thread Gerd Hoffmann
It's unused. Suggested-by: Daniel Vetter Signed-off-by: Gerd Hoffmann --- include/uapi/drm/drm_fourcc.h | 2 -- drivers/gpu/drm/drm_fourcc.c | 3 +-- drivers/gpu/drm/drm_framebuffer.c | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/uapi/drm/drm_fourcc.h b

Re: linux-next: build failure after merge of the arm tree

2017-04-21 Thread Mason
On 21/04/2017 00:40, Stephen Rothwell wrote: > After merging the arm tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from include/linux/bitops.h:36:0, > from include/linux/bitmap.h:7, > from drivers/dma/sun4i-dma.c

Re: [PATCH V2] scsi: mpt3sas: remove redundant wmb

2017-04-21 Thread Sreekanth Reddy
On Thu, Apr 20, 2017 at 7:58 AM, Martin K. Petersen wrote: > Sinan Kaya writes: > >> Due to relaxed ordering requirements on multiple architectures, >> drivers are required to use wmb/rmb/mb combinations when they need to >> guarantee observability between the memory and the HW. >> >> The mpt3sas

Re: [PATCH v3 net-next] mdio_bus: Issue GPIO RESET to PHYs.

2017-04-21 Thread Roger Quadros
Hi Florian, On 21/04/17 04:23, Florian Fainelli wrote: > Hi Roger, > > On 04/20/2017 07:11 AM, Roger Quadros wrote: >> Some boards [1] leave the PHYs at an invalid state >> during system power-up or reset thus causing unreliability >> issues with the PHY which manifests as PHY not being detected

[PATCH v2 5/5] scsi: pm8001: remove the SAS host after the SCSI host

2017-04-21 Thread Johannes Thumshirn
After commit bcdde7e ("sysfs: make __sysfs_remove_dir() recursive") changed the removal path of kernfs to make it recursive we have to remove the SAS host before the SCSI host or we will see sysfs warnings on not found sysfs groups for kobjects. Signed-off-by: Johannes Thumshirn Reviewed-by: Hann

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Pekka Paalanen
On Fri, 21 Apr 2017 09:58:24 +0200 Gerd Hoffmann wrote: > While working on graphics support for virtual machines on ppc64 (which > exists in both little and big endian variants) I've figured the comments > for various drm fourcc formats in the header file don't match reality. > > Comments says t

[PATCH] dmaengine: sun4i: fix invalid argument

2017-04-21 Thread Mason
The "pchans_used" field is an unsigned long array. for_each_clear_bit_from() expects an unsigned long pointer, not an array address. $ make C=2 drivers/dma/sun4i-dma.o CHECK drivers/dma/sun4i-dma.c drivers/dma/sun4i-dma.c:241:9: warning: incorrect type in argument 1 (different base types) dr

[PATCH v2 3/5] scsi: hisi_sas: remove the SAS host after the SCSI host

2017-04-21 Thread Johannes Thumshirn
After commit bcdde7e ("sysfs: make __sysfs_remove_dir() recursive") changed the removal path of kernfs to make it recursive we have to remove the SAS host before the SCSI host or we will see sysfs warnings on not found sysfs groups for kobjects. Signed-off-by: Johannes Thumshirn Reviewed-by: Hann

[PATCH v2 2/5] aic94xx: remove the SAS host after the SCSI host

2017-04-21 Thread Johannes Thumshirn
After commit bcdde7e ("sysfs: make __sysfs_remove_dir() recursive") changed the removal path of kernfs to make it recursive we have to remove the SAS host before the SCSI host or we will see sysfs warnings on not found sysfs groups for kobjects. Signed-off-by: Johannes Thumshirn Reviewed-by: Hann

[PATCH v2 4/5] mvsas: remove the SAS host after the SCSI host

2017-04-21 Thread Johannes Thumshirn
After commit bcdde7e ("sysfs: make __sysfs_remove_dir() recursive") changed the removal path of kernfs to make it recursive we have to remove the SAS host before the SCSI host or we will see sysfs warnings on not found sysfs groups for kobjects. Signed-off-by: Johannes Thumshirn Reviewed-by: Hann

[PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread Johannes Thumshirn
This series re-orders the calls to scsi_remove_host() and sas_remove_host() in all SAS HBA drivers (apart from mpt3sas which is doing it correctly). This is for two reasons: 1) After the change to recursive removal of sysfs entries, we're trying to remove already removed kobjects

[PATCH v2 1/5] scsi: isci: remove the SAS host after the SCSI host

2017-04-21 Thread Johannes Thumshirn
After commit bcdde7e ("sysfs: make __sysfs_remove_dir() recursive") changed the removal path of kernfs to make it recursive we have to remove the SAS host before the SCSI host or we will see sysfs warnings on not found sysfs groups for kobjects. Signed-off-by: Johannes Thumshirn Reviewed-by: Hann

Re: [PATCH] media: mtk-vcodec: remove informative log

2017-04-21 Thread Tiffany Lin
On Wed, 2017-04-19 at 07:56 -0300, Mauro Carvalho Chehab wrote: > Em Wed, 5 Apr 2017 19:09:59 +0800 > Tiffany Lin escreveu: > > > On Wed, 2017-04-05 at 18:54 +0800, Minghsiu Tsai wrote: > > > Driver is stable. Remove DEBUG definition from driver. > > > > > > There are debug message in /var/log/m

Re: [lkp-robot] 73821bb516: WARNING:at_mm/memblock.c:#memblock_virt_alloc_internal

2017-04-21 Thread Michal Hocko
On Fri 21-04-17 10:46:22, kernel test robot wrote: [...] > [0.00] WARNING: CPU: 0 PID: 0 at mm/memblock.c:1261 > memblock_virt_alloc_internal+0xa2/0x3bb > [0.00] Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead Your config doesn't hat CONFIG_NODES_SHIFT so MAX_NUMNODE

Re: [PATCH v5 08/11] mm: hwpoison: soft offline supports thp migration

2017-04-21 Thread Anshuman Khandual
On 04/21/2017 02:17 AM, Zi Yan wrote: > From: Naoya Horiguchi > > This patch enables thp migration for soft offline. > > Signed-off-by: Naoya Horiguchi > > ChangeLog: v1 -> v5: > - fix page isolation counting error > > Signed-off-by: Zi Yan > --- > mm/memory-failure.c | 35 ++---

Re: linux-next: build failure after merge of the arm tree

2017-04-21 Thread Stephen Rothwell
Hi Mason, On Fri, 21 Apr 2017 09:58:58 +0200 Mason wrote: > > Anyway, the fix is trivial. > > The "pchans_used" field is an unsigned long array. > for_each_clear_bit_from() expects an unsigned long pointer, > not an array address. > > I'll send a patch to the drivers/dma maintainers. The fix r

Re: [PATCH v4 06/11] drm/sun4i: add support for Allwinner DE2 mixers

2017-04-21 Thread icenowy
于 2017年4月20日 GMT+08:00 下午4:37:07, Maxime Ripard 写到: On Tue, Apr 18, 2017 at 06:47:56PM +0800, Icenowy Zheng wrote: >> + /* Get the physical address of the buffer in memory */ >> + gem = drm_fb_cma_get_gem_obj(fb, 0); >> + >> + DRM_DEBUG_DRIVER("Using GEM @ %pad\n", &gem->paddr)

Re: MMC block addressing mode.

2017-04-21 Thread Ulf Hansson
On 20 April 2017 at 23:28, Steven J. Hill wrote: > On 04/20/2017 04:24 PM, Steven J. Hill wrote: >> On 04/20/2017 12:12 PM, David Daney wrote: >>> >>> Steven and Jan: Can we get around this requirement by: >>> >>> - Always set MIO_EMM_DMA[MULTI] = 1; This way by SECTOR mode may be >>> unimporta

Re: [PATCH v2] kbuild: Add better clang cross build support

2017-04-21 Thread Masahiro Yamada
Hi Matthias, 2017-04-11 6:09 GMT+09:00 Matthias Kaehlcke : > COMPILER is previously set to "clang" if CC=clang was set from the > make command line. So -target and -gcc-toolchain can be added to CC, > since we already know that it is set. Can you reword or delete this paragraph? I think this

Re: [PATCH v5 09/11] mm: mempolicy: mbind and migrate_pages support thp migration

2017-04-21 Thread Anshuman Khandual
On 04/21/2017 02:17 AM, Zi Yan wrote: > From: Naoya Horiguchi > > This patch enables thp migration for mbind(2) and migrate_pages(2). > > Signed-off-by: Naoya Horiguchi > --- > ChangeLog v1 -> v2: > - support pte-mapped and doubly-mapped thp > --- > mm/mempolicy.c | 108 >

Re: [PATCH] dmaengine: sun4i: fix invalid argument

2017-04-21 Thread Maxime Ripard
On Fri, Apr 21, 2017 at 10:06:10AM +0200, Mason wrote: > The "pchans_used" field is an unsigned long array. > > for_each_clear_bit_from() expects an unsigned long pointer, > not an array address. > > $ make C=2 drivers/dma/sun4i-dma.o > CHECK drivers/dma/sun4i-dma.c > drivers/dma/sun4i-dma.c:

Re: linux-next: build failure after merge of the arm tree

2017-04-21 Thread Mason
On 21/04/2017 10:12, Stephen Rothwell wrote: > Mason wrote: > >> Anyway, the fix is trivial. >> >> The "pchans_used" field is an unsigned long array. >> for_each_clear_bit_from() expects an unsigned long pointer, >> not an array address. >> >> I'll send a patch to the drivers/dma maintainers. > >

[PATCH 0/5] KEYS: sanitize key payloads

2017-04-21 Thread Eric Biggers
From: Eric Biggers This patch series introduces more thorough sanitization of keys managed by the kernel key retention service. This helps keep sensitive key material from sticking around in the slab caches after keys are released. This series covers the syscall interface and several of the com

[PATCH 1/5] KEYS: sanitize add_key() and keyctl() key payloads

2017-04-21 Thread Eric Biggers
From: Eric Biggers Before returning from add_key() or one of the keyctl() commands that takes in a key payload, zero the temporary buffer that was allocated to hold the key payload copied from userspace. This may contain sensitive key material that should not be kept around in the slab caches.

[PATCH 2/5] KEYS: user_defined: sanitize key payloads

2017-04-21 Thread Eric Biggers
From: Eric Biggers Zero the payloads of user and logon keys before freeing them. This prevents sensitive key material from being kept around in the slab caches after a key is released. Signed-off-by: Eric Biggers --- security/keys/user_defined.c | 16 1 file changed, 12 inser

[PATCH 3/5] KEYS: encrypted: sanitize all key material

2017-04-21 Thread Eric Biggers
From: Eric Biggers For keys of type "encrypted", consistently zero sensitive key material before freeing it. This was already being done for the decrypted payloads of encrypted keys, but not for the master key and the keys derived from the master key. Out of an abundance of caution and because

[PATCH 5/5] KEYS: sanitize key structs before freeing

2017-04-21 Thread Eric Biggers
From: Eric Biggers While a 'struct key' itself normally does not contain sensitive information, Documentation/security/keys.txt actually encourages this: "Having a payload is not required; and the payload can, in fact, just be a value stored in the struct key itself." In case someone

[PATCH 4/5] KEYS: trusted: sanitize all key material

2017-04-21 Thread Eric Biggers
From: Eric Biggers As the previous patch did for encrypted-keys, zero sensitive any potentially sensitive data related to the "trusted" key type before it is freed. Notably, we were not zeroing the tpm_buf structures in which the actual key is stored for TPM seal and unseal, nor were we zeroing

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread John Garry
Thanks Johannes. @wangyijing, can you test this patchset please (specifically 3/5)? I know that you have the modified version of libsas which you dabbled with upstreaming. On 21/04/2017 09:04, Johannes Thumshirn wrote: This series re-orders the calls to scsi_remove_host() and sas_remove_host

Re: [PATCH] xen/pvh: Do not fill kernel's e820 map in init_pvh_bootparams()

2017-04-21 Thread Juergen Gross
On 20/04/17 19:32, Boris Ostrovsky wrote: > e820 map is updated with information from the zeropage (i.e. > pvh_bootparams) by default_machine_specific_memory_setup(). > With the way things are done now, we end up with a duplicated > e820 map. > > Signed-off-by: Boris Ostrovsky Reviewed-by: Juerg

[PATCH v2 9/9] ARM: dts: sun6i: Enable tcon0 by default

2017-04-21 Thread Chen-Yu Tsai
tcon0 contains a muxing register used to mux tcon output to downstream hdmi or mipi dsi encoders. tcon0 must be available for the mux to be configured. Whether the display subsystem is enabled or not is now solely controlled by the display-engine node. Signed-off-by: Chen-Yu Tsai --- arch/arm/b

[PATCH v2 0/9] drm/sun4i: Support multiple display pipelines

2017-04-21 Thread Chen-Yu Tsai
Hi, This is v2 of the series previously named "drm/sun4i: Support two display pipelines". As the name change suggests, the driver now supports any number of pipelines, though the hardware only has 2 or 3. Changes since v1: - Add component endpoint ID numbering scheme to device tree binding.

[PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme

2017-04-21 Thread Chen-Yu Tsai
The Allwinner display pipeline contains many hardware components, some of which can consume data from one of multiple upstream components. The numbering scheme of these components must be encoded into the device tree so the driver can figure out which component out of two or more of the same type i

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread Johannes Thumshirn
On Fri, Apr 21, 2017 at 09:34:18AM +0100, John Garry wrote: > Thanks Johannes. > > @wangyijing, can you test this patchset please (specifically 3/5)? I know > that you have the modified version of libsas which you dabbled with > upstreaming. > > On 21/04/2017 09:04, Johannes Thumshirn wrote: > >T

[PATCH v2 7/9] drm/sun4i: tcon: Copy ID from associated backend

2017-04-21 Thread Chen-Yu Tsai
The tcons and backends have a one-to-one relationship. Their IDs, or indexes in the documentation, are also the same. Copy the ID from the associated backend and save it in the tcon structure. This will later be used when we add support for the output data path muxes. Signed-off-by: Chen-Yu Tsai

[PATCH v2 0/5] Introduce the Atmel PTC subsystem

2017-04-21 Thread Ludovic Desroches
Hi, The Atmel Peripheral touch controller subsystem offers built-in hardware for capacitive touch measurement on sensors that function as buttons, sliders and wheels. It is available on SAMA5D2. A firmware and a configuration file describing the topology and the parameters of the sensor are loade

[PATCH v2 4/5] ARM: dts: at91: sama5d2: add PTC subsystem device

2017-04-21 Thread Ludovic Desroches
Add the Atmel Peripheral Touch Controller subsystem. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/sama5d2.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 8067c71..fa4ed56 100644 --- a/arch/

[PATCH v2 5/5] ARM: at91/defconfig: add PTC driver to sama5_defconfig

2017-04-21 Thread Ludovic Desroches
Add Peripheral Touch Controller driver to sama5_defconfig. Signed-off-by: Ludovic Desroches --- arch/arm/configs/sama5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index 777c9e9..7480665 100644 --- a/arch/arm/

Re: [PATCH v3] Staging: most: use __func__ instead of the function name

2017-04-21 Thread Greg KH
Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Apr 21, 2017 at 12:40:25AM -0700, Chandra Annamaneni wrote: > > Third Reminder. Please r

[PATCH v2 2/5] input: misc: introduce Atmel PTC driver

2017-04-21 Thread Ludovic Desroches
The Atmel Peripheral Touch Controller subsystem offers built-in hardware for capacitive touch measurement on sensors that function as buttons, sliders and wheels. Two files are loaded when probing the driver: - a firmware for the Pico Power Processor that computes raw data from the ADC front end

[PATCH v2 3/5] MAINTAINERS: add Atmel PTC entries

2017-04-21 Thread Ludovic Desroches
Add entries for the Atmel PTC Subsystem. Signed-off-by: Ludovic Desroches --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 860dacb..e1b8b0e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2323,6 +2323,13 @@ F: Documentation/devicetr

[PATCH v2] dmaengine: sun4i: fix invalid argument

2017-04-21 Thread Mason
From: Marc Gonzalez The "pchans_used" field is an unsigned long array. for_each_clear_bit_from() expects an unsigned long pointer, not an array address. $ make C=2 drivers/dma/sun4i-dma.o CHECK drivers/dma/sun4i-dma.c drivers/dma/sun4i-dma.c:241:9: warning: incorrect type in argument 1 (dif

[PATCH v2 1/5] dt-bindings: input: Add Atmel PTC subsystem bindings

2017-04-21 Thread Ludovic Desroches
Add description of the Atmel PTC subsystem bindings. Signed-off-by: Ludovic Desroches Acked-by: Rob Herring --- .../devicetree/bindings/input/atmel,ptc.txt| 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/atmel,ptc.

[PATCH v2 4/9] drm/sun4i: backend: Fetch backend ID from device tree

2017-04-21 Thread Chen-Yu Tsai
Some Allwinner SoCs have 2 display pipelines, as in 2 of each components, including the frontend, backend, TCON, and any other extras. As the backend and TCON are always paired together and form the CRTC, we need to know which backend or TCON we are currently probing, so we can pair them when init

[PATCH v2 3/9] drm/sun4i: backend: Drop trailing 0 from backend in error message

2017-04-21 Thread Chen-Yu Tsai
Now that we support multiple instances of backends, the trailing 0 implying only one backend no longer makes sense. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.c b/d

[PATCH v2 2/9] drm/sun4i: Use lists to track registered display backends and TCONs

2017-04-21 Thread Chen-Yu Tsai
To support multiple display pipelines, we need to keep track of the multiple display backends and TCONs registered with the driver. Switch to lists to track registered components. Components are only appended to their respective lists if the bind process was successful. The TCON bind function now

[PATCH v2 5/9] drm/sun4i: backend: Save pointer to device tree node

2017-04-21 Thread Chen-Yu Tsai
Save a pointer to the backend's underlying device tree node in its data structure. This will be used later for downstream tcons to find and match their respective upstream backends. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 1 + drivers/gpu/drm/sun4i/sun4i_backend.h

[PATCH v2 6/9] drm/sun4i: tcon: Find matching display backend by device node matching

2017-04-21 Thread Chen-Yu Tsai
With Allwinner's Display Engine 1.0, each TCON's input is tied to a specific display backend, and the 2 comprise what is known as a crtc in DRM KMS land: The layer, framebuffer, and compositing functions are provided by the backend, while the TCON provides the display timing signals and vblank inte

[PATCH v2 8/9] ARM: dts: sun6i: Add second display pipeline device nodes

2017-04-21 Thread Chen-Yu Tsai
The Allwinner A31/A31s SoCs have 2 display pipelines, as in 2 display frontends, backends, and tcons each. The relationship between the backends and tcons are 1:1, but the frontends can feed either backend. Add device nodes and of graph nodes describing this relationship. Signed-off-by: Chen-Yu T

Re: [PATCH 05/28] drm/bridge: fix include notation and remove -Iinclude/drm flag

2017-04-21 Thread Masahiro Yamada
2017-04-21 14:51 GMT+09:00 Andrzej Hajda : > Hi Masahiro, > > On 20.04.2017 11:56, Masahiro Yamada wrote: >> Include instead of relative path from include/drm, then >> remove the -Iinclude/drm compiler flag. >> >> Signed-off-by: Masahiro Yamada >> --- >> >> drivers/gpu/drm/bridge/Makefile

[PATCH] xen/blkback: fix disconnect while I/Os in flight

2017-04-21 Thread Juergen Gross
Today disconnecting xen-blkback is broken in case there are still I/Os in flight: xen_blkif_disconnect() will bail out early without releasing all resources in the hope it will be called again when the last request has terminated. This, however, won't happen as xen_blkif_free() won't be called on t

[PATCH 4.4-only] netlink: Allow direct reclaim for fallback allocation

2017-04-21 Thread Ross Lagerwall
The backport of d35c99ff77ec ("netlink: do not enter direct reclaim from netlink_dump()") to the 4.4 branch (first in 4.4.32) mistakenly removed direct claim from the initial large allocation and the fallback allocation which means that allocations can spuriously fail. Fix the issue by adding back

[GIT PULL] MMC fixes for v.4.11 rc8

2017-04-21 Thread Ulf Hansson
Hi Linus, Here are a couple of mmc fixes intended for v4.11 rc8. They are based on v4.11-rc7. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3: Linux 4.11-rc7 (2017-04-16 1

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread John Garry
On 21/04/2017 09:39, Johannes Thumshirn wrote: wangyijing already sent an RFC for fixing this issue (mentioned above), > which was a signifiagnt rewrite of some of libsas. > I am hoping that he would retry, and that community would support/shepherd > this activity, or at least say it will be acce

Re: [PATCH 01/28] drm/ttm: fix include notation and remove -Iinclude/drm flag

2017-04-21 Thread Michel Dänzer
On 20/04/17 06:56 PM, Masahiro Yamada wrote: > Include instead of relative path from include/drm, then > remove the -Iinclude/drm compiler flag. > > The fixes of include/drm/ttm/*.h will help driver Makefiles drop > -Iinclude/drm flag. > > Signed-off-by: Masahiro Yamada [...] > diff --git a/i

Re: [PATCH 02/28] drm/amd: fix include notation and remove -Iinclude/drm flag

2017-04-21 Thread Michel Dänzer
On 20/04/17 06:56 PM, Masahiro Yamada wrote: > Include instead of relative path from include/drm, then > remove the -Iinclude/drm compiler flag. > > Signed-off-by: Masahiro Yamada This patch and patch 12 are Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer |

[PATCH] iommu: arm-smmu: correct sid to mask

2017-04-21 Thread Peng Fan
>From code "SMR mask 0x%x out of range for SMMU", so, we need to use mask, not sid. Signed-off-by: Peng Fan Cc: Will Deacon Cc: Robin Murphy --- drivers/iommu/arm-smmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c inde

pull-request: wireless-drivers-next 2017-04-21

2017-04-21 Thread Kalle Valo
Hi Dave, here's most likely the last pull request to net-next for 4.12, unless Linus delayes the start of merge window. More info in the signed tag below and please let me know if there are any problems. Kalle The following changes since commit d92be7a41ef15463eb816a4a2d42bf094b56dfce: net: m

Re: Review request: draft ioctl_userfaultfd(2) manual page

2017-04-21 Thread Michael Kerrisk (man-pages)
Hello Mike, Hello Andrea (we need your help!), On 03/22/2017 02:54 PM, Mike Rapoport wrote: > Hello Michael, > > On Mon, Mar 20, 2017 at 09:11:07PM +0100, Michael Kerrisk (man-pages) wrote: >> Hello Andrea, Mike, and all, >> >> Mike: here's the split out page that describes the >> userfaultfd io

[PATCH] dm-crypt: run in a WQ_HIGHPRI workqueue

2017-04-21 Thread Enric Balletbo i Serra
From: Tim Murray Running dm-crypt in a standard workqueue results in IO competing for CPU time with standard user apps, which can lead to pipeline bubbles and seriously degraded performance. Move to a WQ_HIGHPRI workqueue to protect against that. Signed-off-by: Tim Murray Signed-off-by: Enric B

Re: [PATCH 1/3] arm64: extend ioremap for cacheable non-shareable memory

2017-04-21 Thread Mark Rutland
Hi, I notice you missed Catalin and Will from Cc. In future, please ensure that you Cc them when altering arm64 arch code. On Thu, Apr 20, 2017 at 03:34:16PM -0400, Haiying Wang wrote: > NXP arm64 based SoC needs to allocate cacheable and > non-shareable memory for the software portals of > Queue

Re: [PATCH] Documentation: DocBook: kgdb: update CONFIG_STRICT_KERNEL_RWX info

2017-04-21 Thread Daniel Thompson
On 21/04/17 03:26, Li Qiang wrote: @Daniel 2017-04-20 23:28 GMT+08:00 Daniel Thompson mailto:daniel.thomp...@linaro.org>>: On 19/04/17 02:58, Li Qiang wrote: CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures. Update this info to thedocumentatio

Re: [PATCH v5 1/4] gpio: mvebu: Add limited PWM support

2017-04-21 Thread Thomas Petazzoni
Hello, On Wed, 12 Apr 2017 17:19:32 +0200, Andrew Lunn wrote: > Yep. It was a compromise. By adding a new binding for the GPIO driver, > this might be possible. But it did not seem worth such a major change. > > The prime use of this feature is for controlling a fan. So far, i've > not seen any

Re: [PATCH 2/3] bus: fsl-mc: dpio: enable qbman CENA portal memory access

2017-04-21 Thread Mark Rutland
Hi, On Thu, Apr 20, 2017 at 03:34:17PM -0400, Haiying Wang wrote: > Once we enable the cacheable portal memory, we need to do > cache flush for enqueue, vdq, buffer release, and management > commands, as well as invalidate and prefetch for the valid bit > of management command response and next in

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: > While working on graphics support for virtual machines on ppc64 (which > exists in both little and big endian variants) I've figured the comments > for various drm fourcc formats in the header file don't match reality. > > Comments s

Re: [PATCH 3/3] bus: fsl-mc: dpio: change CENA regs to be cacheable

2017-04-21 Thread Mark Rutland
On Thu, Apr 20, 2017 at 03:34:18PM -0400, Haiying Wang wrote: > plus non-shareable to meet the performance requirement. > QMan's CENA region contains registers and structures that > are 64byte in size and are inteneded to be accessed using a > single 64 byte bus transaction, therefore this portal >

Re: linux-next: manual merge of the pm tree with the arm-soc tree

2017-04-21 Thread Arnd Bergmann
On Fri, Apr 21, 2017 at 8:39 AM, santosh.shilim...@oracle.com wrote: > On 4/20/17 10:53 PM, Arnd Bergmann wrote: >> >> On Fri, Apr 21, 2017 at 2:54 AM, Stephen Rothwell >> wrote: >>> >>> Hi all, >>> >>> Today's linux-next merge of the pm tree got a conflict in: >>> >>> include/dt-bindings/genpd

[cpu/hotplug] d215aab82d: [ INFO: possible circular locking dependency detected ]

2017-04-21 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug commit d215aab82d81974f438bfbc80aa437132f3c37c3 Author: Thomas Gleixner AuthorDate: Tue Apr 18 19:05:06 2017 +0200 Commit: Thomas

  1   2   3   4   5   6   7   8   9   >