[PATCH v2 2/2] kbuild: fix asm-offset generation to work with clang

2017-04-21 Thread Masahiro Yamada
From: Jeroen Hofstee KBuild abuses the asm statement to write to a file and clang chokes about these invalid asm statements. Hack it even more by fooling this is actual valid asm code. [masahiro: Import Jeroen's work for U-Boot: http://patchwork.ozlabs.org/patch/375026/

[PATCH v2 0/2] kbuild: cleanup asm-offset generation, and make it work with clang

2017-04-21 Thread Masahiro Yamada
1/2 is a trivial cleanup of sed script 2/2 imports clang work-around from U-Boot. Changes in v2: - V1 did not work with LLVM's integrated assembler because it uses instead of around the .ascii string. Restore [:space:]. Jeroen Hofstee (1): kbuild: fix asm-offset generation to

[PATCH v2 1/2] kbuild: consolidate redundant sed script ASM offset generation

2017-04-21 Thread Masahiro Yamada
This part ended up in redundant code after touched by multiple people. [1] Commit 3234282f33b2 ("x86, asm: Fix CFI macro invocations to deal with shortcomings in gas") added parentheses for defined expressions to support old gas for x86. [2] Commit a22dcdb0032c ("x86, asm: Fix ancient-GAS

Re: [PATCH] checkpatch: add --typedefsfile

2017-04-21 Thread Jerome Forissier
On 04/20/2017 06:49 PM, Joe Perches wrote: > On Thu, 2017-04-20 at 17:39 +0200, Jerome Forissier wrote: >> When using checkpatch on out-of-tree code, it may occur that some >> project-specific types are used, which will cause spurious warnings. >> Add the --typedefsfile option as a way to extend

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

2017-04-21 Thread Michael Kerrisk (man-pages)
Hello Mike, On 03/21/2017 03:01 PM, Mike Rapoport wrote: > Hello Michael, > > On Mon, Mar 20, 2017 at 09:08:05PM +0100, Michael Kerrisk (man-pages) wrote: >> Hello Andrea, Mike, and all, >> >> Mike: thanks for the page that you sent. I've reworked it >> a bit, and also added a lot of further

Re: [PATCH 2/2] i2c: xgene-slimpro: Add ACPI support by using PCC mailbox

2017-04-21 Thread Wolfram Sang
> > I think it doesn't make sense to print a dev_err and return ENODEV which > > is treated by the driver core as a non-error. It means "not present, but > > OK". You probably want other error codes here. > > How about -EINVAL for these -ENODEV error codes? Do you have any suggestion? -EINVAL

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

2017-04-21 Thread santosh.shilim...@oracle.com
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/k2g.h between commit: 7cc119f29b19 ("dt-bindings: Add TI SCI PM

[PATCH] arcpgu: Simplify driver name

2017-04-21 Thread Alexey Brodkin
This very minor change is still useful because it aligns ARC PGU driver name with other DRM drivers and makes usage of that driver name a bit easier. For example in libdrm's test app we'll use "arcpgu" instead of a bit more ugly "drm-arcpgu". Signed-off-by: Alexey Brodkin

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

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__

[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

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

[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

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

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

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

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

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

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 >

[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

[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

[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

[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

[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

[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

[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

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

[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

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 1/2 v3 resend] video: fbdev: imxfb: support AUS mode

2017-04-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, April 21, 2017 09:45:52 AM Martin Kaiser wrote: > 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

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

2017-04-21 Thread Ludovic Desroches
On Fri, Apr 21, 2017 at 10:39:22AM +0200, Ludovic Desroches wrote: > 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 >

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

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); >> + >> +

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

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

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

[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

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

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

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

[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

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

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

[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

[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

Re: [RFC][PATCH] selftests: ftrace: Allow some tests to be run in a tracing instance

2017-04-21 Thread Masami Hiramatsu
On Thu, 20 Apr 2017 13:30:34 -0400 Steven Rostedt wrote: > > An tracing instance has several of the same capabilities as the top level > instance, but may be implemented slightly different. Instead of just writing > tests that duplicat the same test cases of the top level

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

2017-04-21 Thread Gerd Hoffmann
Hi, > > Leaving the yuv formats as-is. I have no idea if and how those are used > > on bigendian machines. > just an idea - since we are not sure how the remaining formats are being > used, should those be marked somehow uncertain whether they are little > or native endian? ATM the yuv don't

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

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Juri Lelli
Hi Luca, On 20/04/17 21:30, Luca Abeni wrote: > From: Luca Abeni > > When switching to -deadline, if the scheduling deadline of a task is > in the past then switched_to_dl() calls setup_new_entity() to properly > initialize the scheduling deadline and runtime. > >

Re: [PATCH v16 10/10] KVM: x86: virtualize cpuid faulting

2017-04-21 Thread Paolo Bonzini
On 20/03/2017 09:16, Kyle Huey wrote: > Hardware support for faulting on the cpuid instruction is not required to > emulate it, because cpuid triggers a VM exit anyways. KVM handles the relevant > MSRs (MSR_PLATFORM_INFO and MSR_MISC_FEATURES_ENABLE) and upon a > cpuid-induced VM exit checks the

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-21 Thread Paolo Bonzini
On 12/04/2017 18:29, Michael S. Tsirkin wrote: > I don't really agree we do not need the PV flag. mwait on kvm is > different from mwait on bare metal in that you are heavily penalized by > scheduler for polling unless you configure the host just so. > HLT lets you give up the host CPU if you

Re: [PATCH 4/5] Hot-remove implementation for arm64

2017-04-21 Thread Andrea Reale
Hi all, Thanks Mark, Ard and Laura for your comments. Replies in-line. On Tue, Apr 18, 2017 at 07:21:26PM +0100, Mark Rutland wrote: [...] > > > > The name direct is inherited directly from the x86_64 hot remove code. > > It serves to distinguish if we are removing either a pagetable page that

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-21 Thread Alexander Graf
On 21.04.17 12:02, Paolo Bonzini wrote: On 12/04/2017 18:29, Michael S. Tsirkin wrote: I don't really agree we do not need the PV flag. mwait on kvm is different from mwait on bare metal in that you are heavily penalized by scheduler for polling unless you configure the host just so. HLT

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

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

[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

[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

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

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

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:

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

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

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

[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

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

Re: [PATCH RFC] KVM: VMX: drop vmm_exclusive module parameter

2017-04-21 Thread Paolo Bonzini
On 10/03/2017 12:47, David Hildenbrand wrote: > vmm_exclusive=0 leads to KVM setting X86_CR4_VMXE always and calling > VMXON only when the vcpu is loaded. X86_CR4_VMXE is used as an > indication in cpu_emergency_vmxoff() (called on kdump) if VMXOFF has to be > called. This is obviously not the

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 10:39:26 +0100 Juri Lelli wrote: > Hi Luca, > > On 20/04/17 21:30, Luca Abeni wrote: > > From: Luca Abeni > > > > When switching to -deadline, if the scheduling deadline of a task is > > in the past then switched_to_dl()

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 11:38:28AM +0200, Gerd Hoffmann wrote: > Hi, > > > > Leaving the yuv formats as-is. I have no idea if and how those are used > > > on bigendian machines. > > > just an idea - since we are not sure how the remaining formats are being > > used, should those be marked

Re: [RFC][PATCH] selftests: ftrace: Allow some tests to be run in a tracing instance

2017-04-21 Thread Masami Hiramatsu
On Fri, 21 Apr 2017 18:36:17 +0900 Masami Hiramatsu wrote: > On Thu, 20 Apr 2017 13:30:34 -0400 > Steven Rostedt wrote: > > > > An tracing instance has several of the same capabilities as the top level > > instance, but may be implemented slightly

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 10:47:29 +0100 Juri Lelli wrote: [...] > > > > *dl_se, update_dl_entity(dl_se, pi_se); > > > > else if (flags & ENQUEUE_REPLENISH) > > > > replenish_dl_entity(dl_se, pi_se); > > > > + else if ((flags & ENQUEUE_RESTORE) && >

[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

[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

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

[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

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.

[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

[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

[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

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

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

2017-04-21 Thread Gerd Hoffmann
On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > 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

[RFC 2/2] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-04-21 Thread Jose Abreu
This is an initial submission for the Synopsys Designware HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that

[RFC 0/2] Synopsys Designware HDMI Video Capture Controller + PHY

2017-04-21 Thread Jose Abreu
Hi All, This is a RFC series that is intended to collect comments regarding the Synopsys Designware HDMI RX controller and Synopsys Designware HDMI RX e405 PHY drivers. The Synopsys Designware HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that

[RFC 1/2] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver

2017-04-21 Thread Jose Abreu
This adds support for the Synopsys Designware HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 11:42:40 +0200 luca abeni wrote: [...] > > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > > index a2ce590..ec53d24 100644 > > > --- a/kernel/sched/deadline.c > > > +++ b/kernel/sched/deadline.c > > > @@ -950,6 +950,10 @@

[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

[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

[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

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

[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

[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

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

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

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

[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

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 >

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 >: On 19/04/17 02:58, Li Qiang wrote: CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures.

  1   2   3   4   5   6   7   8   9   10   >