Re: [PATCH v4 5/8] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-15 Thread kbuild test robot
Hi Roy, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20161215] [cannot apply to v4.9] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stuart-Yoder/staging

Re: default 0 if KASAN expression not working in kbuild

2016-12-15 Thread Nikolay Borisov
On 16.12.2016 09:50, Nikolay Borisov wrote: > > > On 15.12.2016 23:32, Randy Dunlap wrote: >> On 12/15/16 10:09, Nikolay Borisov wrote: >>> Hello, >>> >>> I was doing some kasan-related debugging and when I enabled it I started >>> getting warnings for large stackframes. So CONFIG_FRAME_WARN ha

Re: [PATCH v5 1/6] [media] rc-main: assign driver type during allocation

2016-12-15 Thread kbuild test robot
Hi Andi, [auto build test ERROR on linuxtv-media/master] [cannot apply to v4.9 next-20161215] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andi-Shyti/Add-support-for-IR-transmitters/20161216

[PATCH 2/2] arm64: dts: Add dts files for Hisilicon Hi3660 SoC

2016-12-15 Thread Chen Feng
Add initial dtsi file to support Hisilicon Hi3660 SoC with support of Octal core CPUs in two clusters(4 * A53 & 4 * A73). Also add dts file to support HiKey960 development board which based on Hi3660 SoC. The output console is earlycon "earlycon=pl011,0xfdf05000". And the con_init uart5 with a fix

Re: default 0 if KASAN expression not working in kbuild

2016-12-15 Thread Nikolay Borisov
On 15.12.2016 23:32, Randy Dunlap wrote: > On 12/15/16 10:09, Nikolay Borisov wrote: >> Hello, >> >> I was doing some kasan-related debugging and when I enabled it I started >> getting warnings for large stackframes. So CONFIG_FRAME_WARN has : >> >> int "Warn for stack frames larger than (needs g

Re: [RFC 01/10] kmod: add test driver to stress test the module loader

2016-12-15 Thread Luis R. Rodriguez
On Tue, Dec 13, 2016 at 10:10:41PM +0100, Luis R. Rodriguez wrote: > On Thu, Dec 08, 2016 at 12:24:35PM -0800, Kees Cook wrote: > > On Thu, Dec 8, 2016 at 10:47 AM, Luis R. Rodriguez > > wrote: > > > 3) finit_module() consumes quite a bit of memory. > > > > Is this due to reading the module into

Re: OOM: Better, but still there on 4.9

2016-12-15 Thread Michal Hocko
[CC linux-mm and btrfs guys] On Thu 15-12-16 23:57:04, Nils Holland wrote: [...] > Of course, none of this are workloads that are new / special in any > way - prior to 4.8, I never experienced any issues doing the exact > same things. > > Dec 15 19:02:16 teela kernel: kworker/u4:5 invoked oom-kil

Re: [PATCH] ARM: dts: Add missing CPU frequencies for Exynos5422/5800

2016-12-15 Thread Krzysztof Kozlowski
On Thu, Dec 15, 2016 at 04:52:58PM -0800, Doug Anderson wrote: > > [ I added Arjun to Cc:, maybe he can help in explaining this issue > > (unfortunately Inderpal's email is no longer working). ] > > > > Please also note that on Exynos5422/5800 SoCs the same ARM rail > > voltage is used for 1.9 GH

Re: [PATCH] kref: prefer atomic_inc_not_zero to atomic_add_unless

2016-12-15 Thread Daniel Vetter
On Thu, Dec 15, 2016 at 11:10:49AM -0800, Greg KH wrote: > On Thu, Dec 15, 2016 at 07:55:54PM +0100, Jason A. Donenfeld wrote: > > On most platforms, there exists this ifdef: > > > > #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) > > > > This makes this patch functionally useless. H

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Juergen Gross
On 15/12/16 18:36, Borislav Petkov wrote: > On Thu, Dec 15, 2016 at 12:27:49PM -0500, Boris Ostrovsky wrote: >> It will probably fix it but I don't think we want this: it's a >> build-time solution. Most kernels have XEN on even though they are >> booted bare-metal. > > Lemme tell you want I want:

Re: wl1251 & mac address & calibration data

2016-12-15 Thread Daniel Wagner
On 12/16/2016 03:03 AM, Luis R. Rodriguez wrote: For the new API a solution for "fallback mechanisms" should be clean though and I am looking to stay as far as possible from the existing mess. A solution to help both the old API and new API is possible for the "fallback mechanism" though -- but f

Re: [PATCH v4 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-12-15 Thread Hari Bathini
On Friday 16 December 2016 12:16 AM, Peter Zijlstra wrote: On Fri, Dec 16, 2016 at 12:07:06AM +0530, Hari Bathini wrote: +struct perf_ns_link_info { + __u64 dev; + __u64 ino; +}; + +enum { + NET_NS_INDEX= 0, + UTS_NS_INDEX= 1, + IPC_NS_

[PATCH] fs: fix a typo in fs/compat.c

2016-12-15 Thread Yanchuan Nian
Fix a typo in fs/compat.c Signed-off-by: Yanchuan Nian --- fs/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/compat.c b/fs/compat.c index 6af20de..a6d6a4a 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -1,7 +1,7 @@ /* * linux/fs/compat.c * - * Kernel compat

[PATCH RFC] liquidio: make timeout HZ independent

2016-12-15 Thread Nicholas Mc Guire
schedule_timeout_* takes a timeout in jiffies but the code currently is passing in a constant which makes this timeout HZ dependent, so pass it through msecs_to_jiffies() to fix this up. Fixes: commit b0d66369edcd ("liquidio VF error handling") Signed-off-by: Nicholas Mc Guire --- Problem found

[GIT PULL] s390 patches for 4.10 merge window #2

2016-12-15 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Over 95% of the changes in this pull request are related to the zcrypt driver. There are five improvements for zcrypt: the ID for

[PATCH] Btrfs: add another missing end_page_writeback on submit_extent_page failure

2016-12-15 Thread Takafumi Kubota
This is actually inspired by Filipe's patch(55e3bd2e0c2e1). When submit_extent_page() in __extent_writepage_io() fails, Btrfs misses clearing a writeback bit of the failed page. This causes the false under-writeback page. Then, another sync task hangs in filemap_fdatawait_range(), because it waits

Re: jemalloc testsuite stalls in memset

2016-12-15 Thread Minchan Kim
Hello, On Thu, Dec 15, 2016 at 10:24:47AM +0100, Andreas Schwab wrote: > On Dez 15 2016, Minchan Kim wrote: > > > You mean program itself access the address(ie, 0xb740) is hang > > while access the address from the debugger is OK? > > Yes. > > > Can you reproduce it easily? > > 100% >

Re: [PATCH v2 2/5] ia64: reuse append_elf_note() and final_note() functions

2016-12-15 Thread Hari Bathini
On Saturday 03 December 2016 12:52 AM, Eric W. Biederman wrote: Hari Bathini writes: Hi Dave, Thanks for the review. On Thursday 01 December 2016 10:26 AM, Dave Young wrote: Hi Hari Personally I like V1 more, but split the patch 2 is easier for ia64 people to reivew. I did basic x86 t

[PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub

2016-12-15 Thread Kamalesh Babulal
commit 425595a7fc20 ("livepatch: reuse module loader code to write relocations") offloads livepatch module relocation write to arch specific module loader code. Remove unused klp_write_module_reloc() function stub. Signed-off-by: Kamalesh Babulal --- arch/powerpc/include/asm/livepatch.h | 7 ---

[PATCH v5 6/6] [media] rc: add support for IR LEDs driven through SPI

2016-12-15 Thread Andi Shyti
The ir-spi is a simple device driver which supports the connection between an IR LED and the MOSI line of an SPI device. The driver, indeed, uses the SPI framework to stream the raw data provided by userspace through an rc character device. The chardev is handled by the LIRC framework and its func

[PATCH v5 4/6] [media] rc-ir-raw: do not generate any receiving thread for raw transmitters

2016-12-15 Thread Andi Shyti
Raw IR transmitters do not need any thread listening for occurring events. Check the driver type before running the thread. Signed-off-by: Andi Shyti Reviewed-by: Sean Young --- drivers/media/rc/rc-ir-raw.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/d

[PATCH v5 5/6] Documentation: bindings: add documentation for ir-spi device driver

2016-12-15 Thread Andi Shyti
Document the ir-spi driver's binding which is a IR led driven through the SPI line. Signed-off-by: Andi Shyti Reviewed-by: Sean Young --- .../devicetree/bindings/leds/irled/spi-ir-led.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v5 2/6] [media] rc-main: split setup and unregister functions

2016-12-15 Thread Andi Shyti
Move the input device allocation, map and protocol handling to different functions. Signed-off-by: Andi Shyti Reviewed-by: Sean Young --- drivers/media/rc/rc-main.c | 143 + 1 file changed, 81 insertions(+), 62 deletions(-) diff --git a/drivers/media

[PATCH v5 3/6] [media] rc-core: add support for IR raw transmitters

2016-12-15 Thread Andi Shyti
IR raw transmitter driver type is specified in the enum rc_driver_type as RC_DRIVER_IR_RAW_TX which includes all those devices that transmit raw stream of bit to a receiver. The data are provided by userspace applications, therefore they don't need any input device allocation, but still they need

[PATCH v5 1/6] [media] rc-main: assign driver type during allocation

2016-12-15 Thread Andi Shyti
The driver type can be assigned immediately when an RC device requests to the framework to allocate the device. This is an 'enum rc_driver_type' data type and specifies whether the device is a raw receiver or scancode receiver. The type will be given as parameter to the rc_allocate_device device.

[PATCH v5 0/6] Add support for IR transmitters

2016-12-15 Thread Andi Shyti
Hi, The main goal is to add support in the rc framework for IR transmitters, which currently is only supported by lirc but that is not the preferred way. The last patch adds support for an IR transmitter driven by the MOSI line of an SPI controller, it's the case of the Samsung TM2(e) board which

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Joe Perches
On Thu, 2016-12-15 at 21:00 -0800, Junio C Hamano wrote: > Joe Perches writes: > > > grep 2.5.4 was the last version that supported the -P option to > > grep through for multiple lines. > > Does anybody know why it was dropped? perl compatible regexes in grep have always been "experimental" and

[PATCH] PM / devfreq: Fix the wrong description for userspace governor

2016-12-15 Thread Chanwoo Choi
This patch fixes the wrong description of governor_userspace.c and removes the unneeded blank line. Signed-off-by: Chanwoo Choi --- drivers/devfreq/governor_userspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/g

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2016-12-15 Thread Binoy Jayan
Hi Milan, On 13 December 2016 at 15:31, Milan Broz wrote: > I think that IV generators should not modify or read encrypted data directly, > it should only generate IV. I was trying to find more information about what you said and how a iv generator should be written. I saw two examples of IV ge

RE: [PATCH] USB3/DWC3: Enable undefined length INCR burst type

2016-12-15 Thread Jerry Huang
> -Original Message- > From: Changming Huang [mailto:jerry.hu...@nxp.com] > Sent: Tuesday, December 13, 2016 5:06 PM > To: ba...@kernel.org; gre...@linuxfoundation.org > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jerry Huang > ; Rajesh Bhagat > Subject: [PATCH] USB3/DWC3

Re: Big I/O requests are split into small ones due to unaligned ext4 partition boundary?

2016-12-15 Thread Ming Lei
On Thu, Dec 15, 2016 at 9:53 PM, Dexuan Cui wrote: >> From: Ming Lei [mailto:tom.leim...@gmail.com] >> Sent: Thursday, December 15, 2016 20:43 >> >> On Thu, Dec 15, 2016 at 7:47 PM, Dexuan Cui wrote: >> > Hi, when I run "mkfs.ext4 /dev/sdc2" in a Linux virtual machine on Hyper-V, >> > where a dis

Re: [PATCH v3 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-15 Thread Stéphane Marchesin
Reviewed-by: Stéphane Marchesin On Tue, Dec 13, 2016 at 7:19 PM, Caesar Wang wrote: > 10.1WXGA is a color active matrix TFT LCD module using amorphous silicon > TFT's as an active switching devices. It can be supported by the > simple-panel driver. > > Read the panel default edid information: >

Re: [alsa-devel] [PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-15 Thread Pierre-Louis Bossart
Hi Stephen, can you elaborate on the last comment? thanks, -Pierre On 12/13/2016 05:25 PM, Stephen Boyd wrote: + void __iomem *base, + const char **parent_names, + int num_pare

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Junio C Hamano
Joe Perches writes: > grep 2.5.4 was the last version that supported the -P option to > grep through for multiple lines. Does anybody know why it was dropped?

[PATCH] vivid: Enable 4k resolution for webcam capture device

2016-12-15 Thread Soren Brinkmann
Add 3840x2160 as valid resolution for the webcam capture input and adjust the webcam intervals accordingly. Signed-off-by: Soren Brinkmann --- Hi, we'd like to use the vivid webcam capture device with a 4k resolution. This basically seems to do the trick, though, I'm not sure if there is a parti

[ANNOUNCE]: SCST 3.2 released

2016-12-15 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce SCST 3.2 has just been released You can download it from http://scst.sourceforge.net/downloads.html SCST is alternative SCSI target stack for Linux. SCST allows creation of sophisticated storage devices, which can provide advanced functionality, like replication, t

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Henrique de Moraes Holschuh
On Fri, 16 Dec 2016, Borislav Petkov wrote: > What for? We don't want to run the microcode loader on xen at all. Or under KVM, or any other hypervisor, really. -- Henrique Holschuh

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Boris Ostrovsky
On 12/15/2016 06:04 PM, Borislav Petkov wrote: On Thu, Dec 15, 2016 at 05:56:44PM -0500, Boris Ostrovsky wrote: With CONFIG_PARAVIRT (which I suspect you don't have on) cpuid() is a call via a pointer, you can see it, for example, if you disassemble load_ucode_amd_bsp(). And we don't have pagi

Re: [PATCH] usb: musb: debugfs: allow forcing host mode together with speed in testmode

2016-12-15 Thread Bin Liu
On Wed, Dec 14, 2016 at 08:23:45PM +0100, Pali Rohár wrote: > Based on the musb ug, force_host bit is allowed to be set along with > force_hs or force_fs bit. > > It could help to implement forced host mode via testmode on Nokia N900. > > Signed-off-by: Pali Rohár > --- > drivers/usb/musb/musb_

linux-next: Tree for Dec 16

2016-12-15 Thread Stephen Rothwell
Hi all, Please do not add any material for v4.11 to your linux-next included branches until after v4.10-rc1 has been released. Changes since 20161215: The vhost tree gained a conflict against the vfs tree. The akpm tree lost a patch that turned up elsewhere. Non-merge commits (relative to

Re: [PATCH v5 1/4] siphash: add cryptographically secure PRF

2016-12-15 Thread George Spelvin
Jean-Philippe Aumasson wrote: > If a halved version of SipHash can bring significant performance boost > (with 32b words instead of 64b words) with an acceptable security level > (64-bit enough?) then we may design such a version. It would be fairly significant, a 2x speed benefit on a lot of 32-b

Re: [PATCH] watchdog: it87_wdt: add IT8620E ID

2016-12-15 Thread Guenter Roeck
On 12/15/2016 02:52 PM, Maciej S. Szmigiero wrote: This adds IT8620E chip ID to it87_wdt driver. Such chip is often found on current Gigabyte motherboards, it is allegedly custom made for this manufacturer. Upon testing it looks like it has a 16-bit timer and cannot be reset via game port (only

Re: [PATCH] hwmon: sch56xx: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Guenter Roeck
On 12/15/2016 10:08 AM, Corentin Labbe wrote: drivers/hwmon/sch56xx-common.c does not contain any miscdevice so the inclusion of linux/miscdevice.h is uncessary. Signed-off-by: Corentin Labbe Reviewed-by: Guenter Roeck --- drivers/hwmon/sch56xx-common.c | 1 - 1 file changed, 1 deletion(-

Re: [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Guenter Roeck
On 12/15/2016 10:03 AM, Corentin Labbe wrote: watchdog/mpc8xxx_wdt.c does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe Reviewed-by: Guenter Roeck --- drivers/watchdog/mpc8xxx_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/

Re: [PATCH] watchdog: octeon: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Guenter Roeck
On 12/15/2016 09:49 AM, Corentin Labbe wrote: watchdog/octeon-wdt-main.c does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe Reviewed-by: Guenter Roeck --- drivers/watchdog/octeon-wdt-main.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH v6 3/5] random: use SipHash in place of MD5

2016-12-15 Thread Jason A. Donenfeld
This duplicates the current algorithm for get_random_int/long, but uses siphash instead. This comes with several benefits. It's certainly faster and more cryptographically secure than MD5. This patch also separates hashed fields into three values instead of one, in order to increase diffusion. The

[PATCH v6 2/5] secure_seq: use SipHash in place of MD5

2016-12-15 Thread Jason A. Donenfeld
This gives a clear speed and security improvement. Siphash is both faster and is more solid crypto than the aging MD5. Rather than manually filling MD5 buffers, for IPv6, we simply create a layout by a simple anonymous struct, for which gcc generates rather efficient code. For IPv4, we pass the va

[PATCH v6 5/5] syncookies: use SipHash in place of SHA1

2016-12-15 Thread Jason A. Donenfeld
SHA1 is slower and less secure than SipHash, and so replacing syncookie generation with SipHash makes natural sense. Some BSDs have been doing this for several years in fact. Signed-off-by: Jason A. Donenfeld --- net/ipv4/syncookies.c | 20 net/ipv6/syncookies.c | 37 +++

[PATCH v6 1/5] siphash: add cryptographically secure PRF

2016-12-15 Thread Jason A. Donenfeld
SipHash is a 64-bit keyed hash function that is actually a cryptographically secure PRF, like HMAC. Except SipHash is super fast, and is meant to be used as a hashtable keyed lookup function, or as a general PRF for short input use cases, such as sequence numbers or RNG chaining. For the first usa

[PATCH v6 4/5] md5: remove from lib and only live in crypto

2016-12-15 Thread Jason A. Donenfeld
The md5_transform function is no longer used any where in the tree, except for the crypto api's actual implementation of md5, so we can drop the function from lib and put it as a static function of the crypto file, where it belongs. There should be no new users of md5_transform, anyway, since there

[PATCH v6 0/5] The SipHash Patchset

2016-12-15 Thread Jason A. Donenfeld
Hey again, This keeps getting more ambitious, which is good I suppose. If the frequency of new versioned patchsets is too high for LKML and not customary, please let me know. Otherwise, read on to see what's new this time... With Hannes' suggestion, there is now only one siphash() function, which

Re: [PATCH 0/8] device-dax: sub-division support

2016-12-15 Thread Dan Williams
On Thu, Dec 15, 2016 at 3:48 PM, Dan Williams wrote: > On Thu, Dec 15, 2016 at 8:50 AM, Jeff Moyer wrote: [..] > As for sub-division it was designed for the volatile case, I've heard > feedback that some want it for the pmem case. You and I agree that > it's *not* a good interface for the pmem ca

Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to kexec'ed kernel

2016-12-15 Thread Dave Young
On 12/15/16 at 12:28pm, Jean Delvare wrote: > Hi Andy, > > On Fri, 2 Dec 2016 21:54:16 +0200, Andy Shevchenko wrote: > > Until now kexec'ed kernel has no clue where to look for DMI entry point. > > > > Pass it via kernel command line parameter in the same way as it's done for > > ACPI > > RSDP.

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Joe Perches
On Thu, 2016-12-15 at 18:10 -0800, Linus Torvalds wrote: > On Thu, Dec 15, 2016 at 5:57 PM, Joe Perches wrote: > > > > > > In fact, I thought we already upped the check-patch limit to 100? > > > > Nope, CodingStyle neither. > > > > Last time I tried was awhile ago. > > Ok, it must have been ju

Re: [PULL] virtio, vhost: new device, fixes, speedups

2016-12-15 Thread Linus Torvalds
On Thu, Dec 15, 2016 at 3:05 PM, Michael S. Tsirkin wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus Pulled, but I wonder... > Documentation/translations/zh_CN/sparse.txt| 7 +- > arch/arm/plat-samsung/include/plat/gpio-cfg.h | 2 +- > dri

linux-next: manual merge of the vhost tree with the vfs tree

2016-12-15 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in: fs/logfs/logfs.h between commit: 6b4fbde3b979 ("logfs: remove from tree") from the vfs tree and commit: 378d5a40fa2c ("fs/logfs: drop __CHECK_ENDIAN__") from the vhost tree. I fixed it up (I just deleted the fil

Re: [PATCH v5 1/4] siphash: add cryptographically secure PRF

2016-12-15 Thread kbuild test robot
Hi Jason, [auto build test ERROR on linus/master] [also build test ERROR on v4.9 next-20161215] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jason-A-Donenfeld/siphash-add-cryptographically

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Linus Torvalds
On Thu, Dec 15, 2016 at 5:57 PM, Joe Perches wrote: >> >> In fact, I thought we already upped the check-patch limit to 100? > > Nope, CodingStyle neither. > > Last time I tried was awhile ago. Ok, it must have been just talked about, and with the exceptions for strings etc I may not have seen as

Re: wl1251 & mac address & calibration data

2016-12-15 Thread Luis R. Rodriguez
On Thu, Dec 15, 2016 at 2:12 PM, Arend Van Spriel wrote: > On 15-12-2016 16:33, Pali Rohár wrote: >> On Thu Dec 15 09:18:44 2016 Kalle Valo wrote: >>> (Adding Luis because he has been working on request_firmware() lately) >>> >>> Pali Rohár writes: >>> >> So no, there is no argument against.

Re: [PATCH V5 15/17] block: track request size in blk_issue_stat

2016-12-15 Thread kbuild test robot
Hi Shaohua, [auto build test WARNING on block/for-next] [also build test WARNING on next-20161215] [cannot apply to v4.9] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Shaohua-Li/blk-throttle

[PATCH V2] drm/i915: relax uncritical udelay_range() settings

2016-12-15 Thread Nicholas Mc Guire
inst 4.9.0 (localversion-next is next-20161215) drivers/gpu/drm/i915/intel_dsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c index 5b72c50..92b96fa 100644 --- a/drivers/gpu/drm/i915/intel_dsi.c +++ b/drivers/gp

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Sergey Senozhatsky
On (12/15/16 17:50), Linus Torvalds wrote: > On Thu, Dec 15, 2016 at 5:37 PM, Sergey Senozhatsky > wrote: > > > > basically I'm talking about a bunch of 80-cols fixups. > > Please don't. I was really going to ask "do we still follow the 80 cols rule?" as the first line in that email, but then I

[PATCH V2] drm/i915: relax uncritical udelay_range()

2016-12-15 Thread Nicholas Mc Guire
inst 4.9.0 (localversion-next is next-20161215) drivers/gpu/drm/i915/intel_dsi_pll.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dsi_pll.c b/drivers/gpu/drm/i915/intel_dsi_pll.c index 56eff60..d210bc4 100644 --- a/drivers/gpu/drm/i915/intel

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Joe Perches
On Thu, 2016-12-15 at 17:50 -0800, Linus Torvalds wrote: > On Thu, Dec 15, 2016 at 5:37 PM, Sergey Senozhatsky > wrote: > > > > basically I'm talking about a bunch of 80-cols fixups. > > Please don't. > > Nobody uses a vt100 terminal any more. The 80-column wrapping is > excessive, and makes th

Re: [PATCH 2/2] arm64: mm: enable CONFIG_HOLES_IN_ZONE for NUMA

2016-12-15 Thread Hanjun Guo
Hi Robert, On 2016/12/15 23:39, Robert Richter wrote: I was going to do some measurements but my kernel crashes now with a page fault in efi_rtc_probe(): [ 21.663393] Unable to handle kernel paging request at virtual address 20251000 [ 21.663396] pgd = 0909 [ 21.663401] [2025

Re: [PATCH] ARM: dts: Add missing CPU frequencies for Exynos5422/5800

2016-12-15 Thread Doug Anderson
Hi, On Wed, Dec 14, 2016 at 5:28 AM, Bartlomiej Zolnierkiewicz wrote: > > On Tuesday, December 13, 2016 04:18:05 PM Javier Martinez Canillas wrote: >> Hello Bartlomiej, > > Hi, > >> On 12/13/2016 01:52 PM, Bartlomiej Zolnierkiewicz wrote: >> > Add missing 2000MHz & 1900MHz OPPs (for A15 cores) an

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Linus Torvalds
On Thu, Dec 15, 2016 at 5:37 PM, Sergey Senozhatsky wrote: > > basically I'm talking about a bunch of 80-cols fixups. Please don't. Nobody uses a vt100 terminal any more. The 80-column wrapping is excessive, and makes things like "grep" not work as well. No, we still don't want excessively long

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Sergey Senozhatsky
On (12/15/16 17:39), Joe Perches wrote: > On Fri, 2016-12-16 at 10:37 +0900, Sergey Senozhatsky wrote: > > On (12/15/16 17:23), Petr Mladek wrote: > > > On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote: > > > > If CONFIG_PRINTK=n: > > > > > > > > kernel/printk/printk.c:1893: warning: ‘cont

Re: [PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf

2016-12-15 Thread Joe Stringer
On 15 December 2016 at 14:00, Joe Stringer wrote: > On 15 December 2016 at 10:34, Arnaldo Carvalho de Melo > wrote: >> Em Thu, Dec 15, 2016 at 03:29:18PM -0300, Arnaldo Carvalho de Melo escreveu: >>> Em Thu, Dec 15, 2016 at 12:50:22PM -0300, Arnaldo Carvalho de Melo escreveu: >>> > Em Wed, Dec 1

Re: [PATCHv2] perf/x86/intel: Account interrupts for PEBS errors

2016-12-15 Thread Vince Weaver
On Thu, 15 Dec 2016, Jiri Olsa wrote: > It's possible to setup PEBS events and get only errors and not > a single data, like on SNB-X (model 45) and IVB-EP (model 62) > via 2 perf commands running simultaneously: > > taskset -c 1 ./perf record -c 4 -e branches:pp -j any -C 10 > > This leads

RE: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Li, Liang Z
> On 12/15/2016 05:38 PM, Li, Liang Z wrote: > > > > Use 52 bits for 'pfn', 12 bits for 'length', when the 12 bits is not long > > enough > for the 'length' > > Set the 'length' to a special value to indicate the "actual length in next 8 > bytes". > > > > That will be much more simple. Right? > >

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Sergey Senozhatsky
On (12/15/16 17:23), Petr Mladek wrote: > On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote: > > If CONFIG_PRINTK=n: > > > > kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used > > > > Note that there are actually two different struct cont definitions and > > objects: the fir

Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Dave Hansen
On 12/15/2016 05:38 PM, Li, Liang Z wrote: > > Use 52 bits for 'pfn', 12 bits for 'length', when the 12 bits is not long > enough for the 'length' > Set the 'length' to a special value to indicate the "actual length in next 8 > bytes". > > That will be much more simple. Right? Sounds fine to m

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Joe Perches
On Fri, 2016-12-16 at 10:37 +0900, Sergey Senozhatsky wrote: > On (12/15/16 17:23), Petr Mladek wrote: > > On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote: > > > If CONFIG_PRINTK=n: > > > > > > kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used > > > > > > Note that there

RE: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Li, Liang Z
> On 12/15/2016 04:48 PM, Li, Liang Z wrote: > >>> It seems we leave too many bit for the pfn, and the bits leave for > >>> length is not enough, How about keep 45 bits for the pfn and 19 bits > >>> for length, 45 bits for pfn can cover 57 bits physical address, that > >>> should be > >> enough in

答复: [PATCH] fuse: freezing abort when use wait_event_killable{,_exclusive}().

2016-12-15 Thread 崔立飞
Hi Miklos, Please help to review the patch. Thanks. 发件人: 崔立飞 发送时间: 2016年12月8日 14:31 收件人: Rafael J. Wysocki 抄送: linux-kernel@vger.kernel.org; mik...@szeredi.hu; pa...@ucw.cz; len.br...@intel.com; linux-fsde...@vger.kernel.org; v...@zeniv.linux.org.uk; 朴英敏

Re: [RFC PATCH] Memory hotplug support for arm64 platform

2016-12-15 Thread Xishi Qiu
On 2016/12/16 2:31, Andrea Reale wrote: > Hi Xishi Qiu, > > thanks for your comments. > > The short anwser to your question is the following. As you hinted, > it is related to the way pfn_valid() is implemented in arm64 when > CONFIG_HAVE_ARCH_PFN_VALID is true (default), i.e., just a check fo

Re: [PATCH v2] ARM: dts: Add missing CPU frequencies for Exynos5422/5800

2016-12-15 Thread Doug Anderson
Hi, On Thu, Dec 15, 2016 at 3:55 AM, Bartlomiej Zolnierkiewicz wrote: > Add missing 2000MHz & 1900MHz OPPs (for A15 cores) and 1400MHz OPP > (for A7 cores). Also update common Odroid-XU3 Lite/XU3/XU4 thermal > cooling maps to account for new OPPs. > > Since new OPPs are not available on all Exyn

RE: [PATCH v3 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface

2016-12-15 Thread Stuart Yoder
> > +struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc) > > +{ > > + struct dpaa2_io *obj = kmalloc(sizeof(*obj), GFP_KERNEL); > > + > > + if (!obj) > > + return NULL; > > + > > + /* check if CPU is out of range (-1 means any cpu) */ > > + if (desc->cpu >= num_poss

Re: [PATCH 3/3] nfc: trf7970a: Prevent repeated polling from crashing the kernel

2016-12-15 Thread Mark Greer
On Thu, Dec 15, 2016 at 05:30:44PM -0500, Geoff Lansberry wrote: > From: Jaret Cantu > > Repeated polling attempts cause a NULL dereference error to occur. > This is because the curent state of the trf7970a is reading but > a request has been made to send a command. > > The solution is to proper

Re: [PATCH 2/3] NFC: trf7970a: Add device tree option of 1.8 Volt IO voltage

2016-12-15 Thread Mark Greer
On Thu, Dec 15, 2016 at 05:30:43PM -0500, Geoff Lansberry wrote: > From: Geoff Lansberry Missing commit description. > diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c > index 2d2a077..b4c37ab 100644 > --- a/drivers/nfc/trf7970a.c > +++ b/drivers/nfc/trf7970a.c > @@ -1048,6 +1049,11

RE: [PATCH 3/3] hv_netvsc: Implement VF matching based on serial numbers

2016-12-15 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Stephen Hemminger > Sent: Wednesday, December 14, 2016 3:52 PM > To: Greg KH > Cc: o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; > bjorn.helg...@gmail.com; a...@

RE: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Li, Liang Z
> On Thu, Dec 15, 2016 at 07:34:33AM -0800, Dave Hansen wrote: > > On 12/14/2016 12:59 AM, Li, Liang Z wrote: > > >> Subject: Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend > > >> virtio-balloon for fast (de)inflating & fast live migration > > >> > > >> On 12/08/2016 08:45 PM, Li, Liang Z wrote: > >

Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Dave Hansen
On 12/15/2016 04:48 PM, Li, Liang Z wrote: >>> It seems we leave too many bit for the pfn, and the bits leave for >>> length is not enough, How about keep 45 bits for the pfn and 19 bits >>> for length, 45 bits for pfn can cover 57 bits physical address, that should >>> be >> enough in the near f

Re: [PATCH 1/3] NFC: trf7970a: add device tree option for 27MHz clock

2016-12-15 Thread Mark Greer
Hi Geoff. On Thu, Dec 15, 2016 at 05:30:42PM -0500, Geoff Lansberry wrote: > From: Geoff Lansberry Please add an informative commit description to all of your commits. No matter how trivial this patch may seem to you now, it may not be to others (or to you in a few years). > diff --git a/driver

Re: [RFC 0/4] make call_usermodehelper a bit more "safe"

2016-12-15 Thread NeilBrown
On Thu, Dec 15 2016, Greg KH wrote: > Hi all, > > Here's a proof-of-concept patch series that tries to work to address the > issue of call_usermodehelper being abused to have the kernel call any > userspace binary with full root permissions. > > The issue is that if you end up getting write access

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-12-15 Thread Maciej W. Rozycki
On Tue, 13 Dec 2016, Ralf Baechle wrote: > > FYI, the error/warning still remains. > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 045169816b31b10faed984b01c390db1b32ee4c1 > > commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial

RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, December 15, 2016 6:32 AM > To: Olaf Hering > Cc: KY Srinivasan ; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org > Subject: Re: move hyperv CHANNELMSG_U

Re: RFC: capabilities(7): notes for kernel developers

2016-12-15 Thread Casey Schaufler
On 12/15/2016 4:31 PM, John Stultz wrote: > On Thu, Dec 15, 2016 at 12:40 PM, Casey Schaufler > wrote: >> On 12/15/2016 11:41 AM, Michael Kerrisk (man-pages) wrote: >>> On 12/15/2016 05:29 PM, Casey Schaufler wrote: CAP_WAKE_ALARM could readily be CAP_TIME. >>> Actually, I don't quite underst

RE: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-15 Thread Li, Liang Z
> Subject: Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon for > fast (de)inflating & fast live migration > > On 12/14/2016 12:59 AM, Li, Liang Z wrote: > >> Subject: Re: [Qemu-devel] [PATCH kernel v5 0/5] Extend virtio-balloon > >> for fast (de)inflating & fast live migration > >> >

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-15 Thread Gonglei (Arei)
Hi Michael, > > > > > > > > Subject: RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver > > > > > > On Thursday, December 15, 2016 8:45 AM, Gonglei (Arei) Wrote: > > > < > > diff --git a/drivers/crypto/virtio/virtio_crypto_core.c > > > < > b/drivers/crypto/virtio/virtio_crypto_core.c

Re: RFC: capabilities(7): notes for kernel developers

2016-12-15 Thread John Stultz
On Thu, Dec 15, 2016 at 12:40 PM, Casey Schaufler wrote: > On 12/15/2016 11:41 AM, Michael Kerrisk (man-pages) wrote: >> On 12/15/2016 05:29 PM, Casey Schaufler wrote: >>> CAP_WAKE_ALARM could readily be CAP_TIME. >> Actually, I don't quite understand what you mean with that sentence. >> Could you

[PATCH] Docs: dt: Be explicit and consistent in reference to IOMMU specifiers

2016-12-15 Thread Stuart Yoder
The generic IOMMU binding says that the meaning of an 'IOMMU specifier' is defined by the binding of a specific SMMU. The ARM SMMU binding never explicitly uses the term 'specifier' at all. Update implicit references to use the explicit term. In the iommu-map binding change references to iommu-s

Re: [RFC/PATCH] tracing: show total NMI time in hwlat tracer

2016-12-15 Thread Namhyung Kim
On Wed, Dec 14, 2016 at 11:17:16AM -0500, Steven Rostedt wrote: > > [ added the forgotten LKML ;-) ] > > On Wed, 14 Dec 2016 09:53:01 -0500 > Steven Rostedt wrote: > > > On Wed, 14 Dec 2016 16:13:51 +0900 > > Namhyung Kim wrote: > > > > > Hi Steve, > > > > > > While looking at the code I fou

[PATCH v4 5/8] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2

2016-12-15 Thread Stuart Yoder
From: Roy Pledge Add QBman APIs for frame queue and buffer pool operations. Signed-off-by: Roy Pledge Signed-off-by: Haiying Wang Signed-off-by: Stuart Yoder --- Notes: -v4 -adjust file location to be in drivers/staging -updated copyright -added definition for static

Re: [kernel-hardening] [PATCH 3/4] Make static usermode helper binaries constant

2016-12-15 Thread Daniel Micay
> So for statics, I think `static const char *` wins due to allowing > merging (although it doesn't matter here). For non-statics, you end up > with extra pointer constants. Those could get removed, but Linux > doesn't > have -fvisibility=hidden and I'm not sure how clever linkers are. > Maybe > se

[PATCH v4 0/8] staging: fsl-mc: add dpio driver

2016-12-15 Thread Stuart Yoder
This patch series adds the driver for the DPIO object which is a step to addressing the final item in the staging TODO list-- adding a functional driver on top of the bus driver. The DPIO driver is a dependency for other functional drivers such as Ethernet. An overview of the DPIO object and dri

[PATCH v4 7/8] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-12-15 Thread Stuart Yoder
From: Roy Pledge The DPIO driver registers with the fsl-mc bus to handle bus-related events for DPIO objects. Key responsibility is mapping I/O regions, setting up interrupt handlers, and calling the DPIO service initialization during probe. Signed-off-by: Roy Pledge Signed-off-by: Haiying Wan

[PATCH v4 8/8] bus: fsl-mc: dpio: add maintainer for DPIO

2016-12-15 Thread Stuart Yoder
From: Roy Pledge add Roy Pledge as maintainer of DPIO Signed-off-by: Roy Pledge Signed-off-by: Stuart Yoder --- Notes: -v4 -adjust file location to be in drivers/staging -v3 -no changes -v2 -corrected location of maintainer entry MAINTAINERS | 6 ++ 1 fi

RE: [PATCH v3 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs

2016-12-15 Thread Stuart Yoder
> -Original Message- > From: Laurentiu Tudor > Sent: Friday, December 02, 2016 6:12 AM > To: Stuart Yoder ; gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; ag...@suse.de; > a...@arndb.de; Leo Li > ; Ioana Ciornei ; Catalin Horghidan > ; Ruxandra

  1   2   3   4   5   6   7   8   >